From d3dac07d8a81c1e74b9cb679e316e3cd33aae246 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 3 Feb 2024 17:41:43 +0000 Subject: [PATCH] deploy: c75b84c5122c7c4941064537bf381ba3688dd02d --- 404.html | 8 ++++---- about/index.html | 8 ++++---- assets/js/01a85c17.086b4dac.js | 1 + assets/js/01a85c17.281c83a6.js | 1 - assets/js/1be78505.56337a56.js | 1 - assets/js/1be78505.ba377b3c.js | 1 + assets/js/1df93b7f.9b32cb89.js | 1 + assets/js/1df93b7f.c1062eab.js | 1 - assets/js/6875c492.50934532.js | 1 + assets/js/6875c492.582d125f.js | 1 - assets/js/a6aa9e1f.ca102858.js | 1 - assets/js/a6aa9e1f.e14ca9f4.js | 1 + assets/js/b455e532.da0907a3.js | 1 + assets/js/b455e532.dbad765f.js | 1 - assets/js/c1d171ff.3acd9f6a.js | 1 + assets/js/c1d171ff.47ad1dd7.js | 1 - assets/js/ccc49370.335dc7ef.js | 1 - assets/js/ccc49370.bc7c60ae.js | 1 + assets/js/{main.7e4711c5.js => main.3e450b68.js} | 4 ++-- ...4711c5.js.LICENSE.txt => main.3e450b68.js.LICENSE.txt} | 0 assets/js/runtime~main.23a2aabb.js | 1 + assets/js/runtime~main.6b489573.js | 1 - blog/author/AkashSingh3031/index.html | 8 ++++---- blog/bharatvarsha/index.html | 8 ++++---- blog/index.html | 8 ++++---- blog/tags/ajnabhavarsh/index.html | 8 ++++---- blog/tags/aryavarta/index.html | 8 ++++---- blog/tags/bharat/index.html | 8 ++++---- blog/tags/bharatkhand/index.html | 8 ++++---- blog/tags/bharatvarsha/index.html | 8 ++++---- blog/tags/hindustan/index.html | 8 ++++---- blog/tags/index.html | 8 ++++---- blog/tags/india/index.html | 8 ++++---- blog/tags/jambudweep/index.html | 8 ++++---- blog/tags/tenjiku/index.html | 8 ++++---- blog/tags/universe/index.html | 8 ++++---- blog/universe/index.html | 8 ++++---- docs/getting-started/quickstart/index.html | 8 ++++---- docs/index.html | 8 ++++---- index.html | 8 ++++---- search/index.html | 8 ++++---- 41 files changed, 95 insertions(+), 95 deletions(-) create mode 100644 assets/js/01a85c17.086b4dac.js delete mode 100644 assets/js/01a85c17.281c83a6.js delete mode 100644 assets/js/1be78505.56337a56.js create mode 100644 assets/js/1be78505.ba377b3c.js create mode 100644 assets/js/1df93b7f.9b32cb89.js delete mode 100644 assets/js/1df93b7f.c1062eab.js create mode 100644 assets/js/6875c492.50934532.js delete mode 100644 assets/js/6875c492.582d125f.js delete mode 100644 assets/js/a6aa9e1f.ca102858.js create mode 100644 assets/js/a6aa9e1f.e14ca9f4.js create mode 100644 assets/js/b455e532.da0907a3.js delete mode 100644 assets/js/b455e532.dbad765f.js create mode 100644 assets/js/c1d171ff.3acd9f6a.js delete mode 100644 assets/js/c1d171ff.47ad1dd7.js delete mode 100644 assets/js/ccc49370.335dc7ef.js create mode 100644 assets/js/ccc49370.bc7c60ae.js rename assets/js/{main.7e4711c5.js => main.3e450b68.js} (99%) rename assets/js/{main.7e4711c5.js.LICENSE.txt => main.3e450b68.js.LICENSE.txt} (100%) create mode 100644 assets/js/runtime~main.23a2aabb.js delete mode 100644 assets/js/runtime~main.6b489573.js diff --git a/404.html b/404.html index 8fc9b3a4..d11e72fd 100644 --- a/404.html +++ b/404.html @@ -21,13 +21,13 @@ - - + +
Skip to main content

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.

- - + + \ No newline at end of file diff --git a/about/index.html b/about/index.html index 1f333551..3b8f84bf 100644 --- a/about/index.html +++ b/about/index.html @@ -21,13 +21,13 @@ - - + +
Skip to main content
Skip to main content

I am Akash Singh.

Hello, I'm Akash Singh, a 2022 graduate in Computer Science and Engineering from Sagar Institute of Research Technology and Science (SIRTS), Bhopal. Passionate about web development and Machine Learning, I'm driven by curiosity to explore new technologies.
I thrive on learning and growth opportunities, continually enhancing my skills. Committed to excellence, I aim to contribute meaningfully in web development and Machine Learning.

"Face the challenge, Fight through the obstacles, Finish what you started."

Projects

Age Calculator
Age Calculator

Age Calculator is a simple app that calculates your age based on the year you were born.

CSS Variables With JS
CSS Variables With JS

CSS Variables With JS Is A Simple App That Can Change Radius Of Image, Blur Effect On Image And Border Color Of Image.

Countdown Timer
Countdown Timer

Countdown Timer Is A Simple App That Can Count Down From A Given Time.

- - + + \ No newline at end of file diff --git a/assets/js/01a85c17.086b4dac.js b/assets/js/01a85c17.086b4dac.js new file mode 100644 index 00000000..84485419 --- /dev/null +++ b/assets/js/01a85c17.086b4dac.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4013],{5319:(e,t,r)=>{r.d(t,{k:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-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",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:{}}},3812:(e,t,r)=>{r.d(t,{U:()=>g});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),c=r(7092),i=r(961),s=r(3380),m=r(506);const u=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",icon:l.createElement(m.nm,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:l.createElement(m.nm,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],d=[{icon:c.I,href:"https://github.com/AkashSingh3031"},{icon:s.p,href:"https://twitter.com/akashsingh3031"},{icon:i._,href:"https://www.linkedin.com/in/akashsingh3031"}];var f=r(6204),p=r(4813);const g=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(p.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},"Thank you for visiting, Connect with me over socials."),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},u.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(f.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},d.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{r.d(t,{f:()=>Y});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},h=({item:e,isPermanentDark:t})=>{const[r,l]=(0,i.useState)(null);(0,i.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?p.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var y=r(6775),w=r(2280),v=r(4080),x=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),l=i.useRef(null),o=i.useRef(null),c=(0,y.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(w.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(w.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(x.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(v.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(w.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(p.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,g.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(p.Bh,null),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},i.createElement(p.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(p.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(p.Zm,null)))))):i.createElement(h,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var C=r(2560),k=r(8368),j=r(9526),P=r(4837);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.Z,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,y.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(F,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(H,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(v.u,{appear:!0,show:e,as:i.Fragment},i.createElement(C.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(v.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.T,null),i.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),i.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(P.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(v.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),F=e=>i.createElement("div",{className:(0,a.Z)(e.className)},g.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(R,{id:"tablet"}),i.createElement(T,{id:"tablet"})),H=e=>i.createElement("div",{className:(0,a.Z)(e.className)},i.createElement("div",{className:"flex-grow"},g.map((e=>e.isPopover?i.createElement(k.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:k.p.Button,label:e.label,open:t}),i.createElement(k.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(R,{id:"phone"}),i.createElement(T,{id:"phone"})),T=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(p.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},R=e=>i.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(p.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(p.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(p.Zm,{className:"h-10 w-10"})))),_=()=>{const{colorMode:e,setColorMode:t}=(0,j.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(A.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(D.c,null),"Dark"))};var I=r(41),U=r(4695),z=r(7990),G=r(2045);const $=()=>{const{loading:e,githubStarCountText:t}=(0,U.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(z.E,{className:(0,a.Z)("w-5 h-5")}),i.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?i.createElement(G.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):i.createElement("span",null,t)))},Y=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.v)(),f=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.T,null),i.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:u.Q},i.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement($,null),i.createElement(I.m,null)),i.createElement(V,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:f}}))))}},41:(e,t,r)=>{r.d(t,{L:()=>m,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},1526:(e,t,r)=>{r.d(t,{L:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{I:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{_:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{p:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{O2:()=>B,v4:()=>k,XC:()=>O,Kj:()=>u,TA:()=>l,ET:()=>h,Bh:()=>g,wI:()=>c,nI:()=>w,dd:()=>f,nm:()=>T,t2:()=>D,ty:()=>s,Zm:()=>x,wW:()=>P});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",M(function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;t{const{colorMode:t}=(0,F.I)();return n.createElement("div",{className:(0,S.Z)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,S.Z)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{z:()=>s});var n=r(7294),a=r(6010),l=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const s=e=>{var{children:t,href:r,className:s,onClick:m,buttonClassname:u}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const f=r?l.Z:"button";return n.createElement(f,c(function(e){for(var t=1;t{r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(m,null)),m=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2892:(e,t,r)=>{r.d(t,{Z:()=>j});var n=r(7294),a=r(7915),l=r(859),o=r(3812),c=r(6010),i=r(1984),s=r(1526),m=r(9658);const u="Struggling with internal tools?",d="Explore refine\u2019s limitless possibilities in crafting CRUD apps, CRM solutions, HR dashboards, and more!",f="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/app-crm.png",p=({shouldShowBanner:e})=>(n.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&window.gtag("event","view_banner",{banner_name:"banner-sidebar",banner_text:u,banner_description:d,banner_image:f})}),[e]),n.createElement("div",{className:(0,c.Z)("flex","flex-col","gap-6","py-6","px-4","rounded-2xl","bg-banner-examples-sider-purple","not-prose")},n.createElement(i.Z,{to:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","w-full h-auto xl:h-[152px]","flex-shrink-0","rounded-md","overflow-hidden")},n.createElement("img",{src:f,alt:"refine App screenshot",loading:"lazy"})),n.createElement("h2",{className:(0,c.Z)("text-2xl font-semibold","text-gray-0")},u),n.createElement("p",{className:(0,c.Z)("text-base","text-gray-100")},d),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-2"),href:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},"Try online"),n.createElement(s.L,{className:(0,c.Z)("ml-2","w-4","h-4")}))));var g=r(4080),b=r(2560),h=r(4837);function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>v(w({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(v(w({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},E=(e,t)=>{const[r,a]=(0,n.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};var O=r(6775);const C=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,u,d;const{pathname:f}=(0,O.TH)(),[p,y]=(0,n.useState)(!1),[w,v]=E("banner-modal",null),C=(0,n.useRef)(!1),k=x();var j,P;return(0,n.useEffect)((()=>{"/blog/"!==f&&"/blog"!==f&&(C.current||p||k.scrollY>79&&k.scrollY<100&&(C.current=!0,9===w||null===w?(y(!0),v(0)):(v(w+1),C.current=!0)))}),[k.scrollY]),(0,n.useEffect)((()=>{p&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[p]),n.createElement(g.u,{appear:!0,show:p,as:n.Fragment},n.createElement(b.V,{as:"div",className:"relative z-modal",onClose:()=>y(!1)},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(b.V.Panel,{className:(0,c.Z)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,c.Z)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},n.createElement("div",{className:(0,c.Z)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(i.Z,{to:null!==(j=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==j?j:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,c.Z)("object-contain"),src:null===(u=r)||void 0===u?void 0:u.src,alt:null!==(P=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==P?P:e,loading:"lazy"})),n.createElement("p",{className:(0,c.Z)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},a.text),n.createElement(s.L,{className:(0,c.Z)("w-4","h-4")}))),n.createElement("button",{className:(0,c.Z)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>y(!1)},n.createElement(h.T,{className:"w-4 h-4"})))))))))};function k(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const j=e=>{const[t,r]=(0,n.useState)(!1),{children:i,toc:s}=e,m=k(e,["children","toc"]),{pathname:u}=(0,O.TH)(),d=x();return(0,n.useEffect)((()=>{t&&"/blog/"!==u&&"/blog"!==u&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY]),n.createElement(a.j,m,n.createElement(l.f,{hasSticky:!0,trackProgress:!!s}),n.createElement("div",{className:(0,c.Z)("flex","justify-center","mx-auto","max-w-screen-blog-max","w-full")},n.createElement("div",{className:(0,c.Z)("relative","w-[264px]","pl-4","py-10 blog-sm:py-12 blog-md:py-16","hidden xl:block",t&&"opacity-100",!t&&"opacity-0","transition-opacity duration-300 ease-in-out")},n.createElement("div",{className:(0,c.Z)("sticky","w-[264px]","z-[1]","top-32","left-0")},n.createElement(p,{shouldShowBanner:t}))),n.createElement("div",{className:(0,c.Z)("refine-prose","flex-1","min-w-0","xl:px-8")},i),s&&n.createElement("div",{className:(0,c.Z)("w-[280px]","hidden blog-md:block","flex-shrink-0")},s)),n.createElement(o.U,null),n.createElement(C,null))}},8173:(e,t,r)=>{r.r(t),r.d(t,{default:()=>u});var n=r(7294),a=r(6010),l=r(2210);var o=r(9712),c=r(5319),i=r(2892),s=r(3149),m=r(6894);function u({tags:e,sidebar:t}){const r=(0,l.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});return n.createElement(o.FG,{className:(0,a.Z)(c.k.wrapper.blogPages,c.k.page.blogTagsListPage)},n.createElement(o.d,{title:r}),n.createElement(m.Z,{tag:"blog_tags_list"}),n.createElement(i.Z,{sidebar:t},n.createElement("h1",{className:""},r),n.createElement(s.Z,{tags:e})))}},9527:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(7294),a=r(6010),l=r(1984);function o({permalink:e,label:t,isActive:r}){return n.createElement(l.Z,{href:e,className:(0,a.Z)("no-underline hover:no-underline","text-xs",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","rounded","py-1","px-2",r&&"bg-gray-200 text-gray-500",r&&"dark-bg-gray-700 text-gray-300")},t)}},3149:(e,t,r)=>{r.d(t,{Z:()=>x});var n=r(7294),a=r(9527),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(6010),u=r(8368),d=r(4080),f=r(4642);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;tn.createElement("svg",{width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.292893 0.792893C0.683417 0.402369 1.31658 0.402369 1.70711 0.792893L4 3.08579L6.29289 0.792893C6.68342 0.402369 7.31658 0.402369 7.70711 0.792893C8.09763 1.18342 8.09763 1.81658 7.70711 2.20711L4.70711 5.20711C4.31658 5.59763 3.68342 5.59763 3.29289 5.20711L0.292893 2.20711C-0.0976311 1.81658 -0.0976311 1.18342 0.292893 0.792893Z",fill:"currentColor"})),y=e=>{e=e.replace(/-/g," ");return[["typescript","TypeScript"],["javascript","JavaScript"],["chakra ui","Chakra UI"],["material ui","Material UI"],["nextjs","Next.js"],["nestjs","NestJS"],["css","CSS"]].forEach((t=>{e=e.replace(t[0],t[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)},w=({tags:e,collapsed:t,onShowMoreClick:r})=>n.createElement("div",{className:(0,m.Z)("hidden lg:flex","not-prose","justify-between","items-start","bg-gray-50 dark:bg-gray-800","rounded-xl p-4 2xl:p-6")},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1",t&&"h-8"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:y(e.label)})))))),n.createElement("label",{onClick:()=>r(!t),className:(0,m.Z)("flex","items-center","gap-1","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","bg-gray-100 dark:bg-gray-600","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","mt-1")},"Show More ",n.createElement(h,null))),v=({tags:e})=>n.createElement("div",{className:"mb-10 block w-full lg:hidden"},n.createElement(u.p,null,(({open:t})=>n.createElement("div",{className:(0,m.Z)("rounded-[4px]","border border-gray-100 dark:border-gray-700")},n.createElement(u.p.Button,{className:(0,m.Z)("bg-gray-50 dark:bg-gray-800","border-b border-gray-100 dark:border-gray-700","w-full","flex items-center gap-3","px-2 py-2")},n.createElement(f.A,{className:(0,m.Z)("h-5 w-5","text-gray-400 dark:text-gray-500","transition-transform duration-200 ease-in-out",{"-rotate-90 transform":!t})}),n.createElement("span",{className:(0,m.Z)("text-sm","dark:text-gray-0 text-gray-900")},"Blog Post Tags")),n.createElement(d.u,{show:t,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(u.p.Panel,{className:"h-[200px] overflow-auto p-2 sm:h-[232px] sm:p-6"},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:y(e.label)}))))))))))));function x({tags:e}){const[t,r]=n.useState(!0),a=["refine","react","nextjs","typescript","tutorial","material-ui","ant-design","docker","comparison"],l=(null!=e?e:[]).sort(((e,t)=>{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(w,{collapsed:t,tags:l,onShowMoreClick:e=>r(e)}),n.createElement(v,{tags:l}))}},3799:(e,t,r)=>{r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/01a85c17.281c83a6.js b/assets/js/01a85c17.281c83a6.js deleted file mode 100644 index 95d1088e..00000000 --- a/assets/js/01a85c17.281c83a6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4013],{5319:(e,t,r)=>{r.d(t,{k:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-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",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:{}}},1117:(e,t,r)=>{r.d(t,{U:()=>m});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),c=r(8166),i=r(6204),s=r(4813);const m=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(s.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},c.i),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},c.pO.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(i.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},c.KT.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{r.d(t,{f:()=>Y});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},y=({item:e,isPermanentDark:t})=>{const[r,l]=(0,i.useState)(null);(0,i.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?f.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var h=r(6775),w=r(2280),v=r(4080),x=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),l=i.useRef(null),o=i.useRef(null),c=(0,h.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(w.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(w.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(x.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(v.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(w.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(f.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,g.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(f.Bh,null),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},i.createElement(f.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,null)))))):i.createElement(y,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var C=r(2560),k=r(8368),j=r(9526),P=r(4837);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.Z,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,h.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(V,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(T,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(v.u,{appear:!0,show:e,as:i.Fragment},i.createElement(C.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(v.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.T,null),i.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),i.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(P.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(v.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),V=e=>i.createElement("div",{className:(0,a.Z)(e.className)},g.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(R,{id:"tablet"}),i.createElement(H,{id:"tablet"})),T=e=>i.createElement("div",{className:(0,a.Z)(e.className)},i.createElement("div",{className:"flex-grow"},g.map((e=>e.isPopover?i.createElement(k.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:k.p.Button,label:e.label,open:t}),i.createElement(k.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(R,{id:"phone"}),i.createElement(H,{id:"phone"})),H=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},R=e=>i.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(f.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,{className:"h-10 w-10"})))),_=()=>{const{colorMode:e,setColorMode:t}=(0,j.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(A.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(D.c,null),"Dark"))};var I=r(41),U=r(4695),z=r(7990),G=r(2045);const $=()=>{const{loading:e,githubStarCountText:t}=(0,U.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(z.E,{className:(0,a.Z)("w-5 h-5")}),i.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?i.createElement(G.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):i.createElement("span",null,t)))},Y=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.v)(),p=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.T,null),i.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:u.Q},i.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement($,null),i.createElement(I.m,null)),i.createElement(F,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:p}}))))}},41:(e,t,r)=>{r.d(t,{L:()=>m,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},8166:(e,t,r)=>{r.d(t,{i:()=>i,pO:()=>c,KT:()=>s});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],i="Thank you for visiting, Connect with me over socials.",s=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{L:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{O2:()=>B,v4:()=>k,XC:()=>O,Kj:()=>u,TA:()=>l,ET:()=>y,Bh:()=>g,wI:()=>c,nI:()=>w,dd:()=>p,t2:()=>D,ty:()=>s,Zm:()=>x,wW:()=>P});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",M(function(e){for(var t=1;tn.createElement("svg",F(function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{z:()=>s});var n=r(7294),a=r(6010),l=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const s=e=>{var{children:t,href:r,className:s,onClick:m,buttonClassname:u}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.Z:"button";return n.createElement(p,c(function(e){for(var t=1;t{r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(m,null)),m=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2892:(e,t,r)=>{r.d(t,{Z:()=>j});var n=r(7294),a=r(7915),l=r(859),o=r(1117),c=r(6010),i=r(1984),s=r(1526),m=r(9658);const u="Struggling with internal tools?",d="Explore refine\u2019s limitless possibilities in crafting CRUD apps, CRM solutions, HR dashboards, and more!",p="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/app-crm.png",f=({shouldShowBanner:e})=>(n.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&window.gtag("event","view_banner",{banner_name:"banner-sidebar",banner_text:u,banner_description:d,banner_image:p})}),[e]),n.createElement("div",{className:(0,c.Z)("flex","flex-col","gap-6","py-6","px-4","rounded-2xl","bg-banner-examples-sider-purple","not-prose")},n.createElement(i.Z,{to:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","w-full h-auto xl:h-[152px]","flex-shrink-0","rounded-md","overflow-hidden")},n.createElement("img",{src:p,alt:"refine App screenshot",loading:"lazy"})),n.createElement("h2",{className:(0,c.Z)("text-2xl font-semibold","text-gray-0")},u),n.createElement("p",{className:(0,c.Z)("text-base","text-gray-100")},d),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-2"),href:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},"Try online"),n.createElement(s.L,{className:(0,c.Z)("ml-2","w-4","h-4")}))));var g=r(4080),b=r(2560),y=r(4837);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>v(w({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(v(w({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},E=(e,t)=>{const[r,a]=(0,n.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};var O=r(6775);const C=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,u,d;const{pathname:p}=(0,O.TH)(),[f,h]=(0,n.useState)(!1),[w,v]=E("banner-modal",null),C=(0,n.useRef)(!1),k=x();var j,P;return(0,n.useEffect)((()=>{"/blog/"!==p&&"/blog"!==p&&(C.current||f||k.scrollY>79&&k.scrollY<100&&(C.current=!0,9===w||null===w?(h(!0),v(0)):(v(w+1),C.current=!0)))}),[k.scrollY]),(0,n.useEffect)((()=>{f&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[f]),n.createElement(g.u,{appear:!0,show:f,as:n.Fragment},n.createElement(b.V,{as:"div",className:"relative z-modal",onClose:()=>h(!1)},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(b.V.Panel,{className:(0,c.Z)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,c.Z)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},n.createElement("div",{className:(0,c.Z)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(i.Z,{to:null!==(j=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==j?j:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,c.Z)("object-contain"),src:null===(u=r)||void 0===u?void 0:u.src,alt:null!==(P=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==P?P:e,loading:"lazy"})),n.createElement("p",{className:(0,c.Z)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},a.text),n.createElement(s.L,{className:(0,c.Z)("w-4","h-4")}))),n.createElement("button",{className:(0,c.Z)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>h(!1)},n.createElement(y.T,{className:"w-4 h-4"})))))))))};function k(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const j=e=>{const[t,r]=(0,n.useState)(!1),{children:i,toc:s}=e,m=k(e,["children","toc"]),{pathname:u}=(0,O.TH)(),d=x();return(0,n.useEffect)((()=>{t&&"/blog/"!==u&&"/blog"!==u&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY]),n.createElement(a.j,m,n.createElement(l.f,{hasSticky:!0,trackProgress:!!s}),n.createElement("div",{className:(0,c.Z)("flex","justify-center","mx-auto","max-w-screen-blog-max","w-full")},n.createElement("div",{className:(0,c.Z)("relative","w-[264px]","pl-4","py-10 blog-sm:py-12 blog-md:py-16","hidden xl:block",t&&"opacity-100",!t&&"opacity-0","transition-opacity duration-300 ease-in-out")},n.createElement("div",{className:(0,c.Z)("sticky","w-[264px]","z-[1]","top-32","left-0")},n.createElement(f,{shouldShowBanner:t}))),n.createElement("div",{className:(0,c.Z)("refine-prose","flex-1","min-w-0","xl:px-8")},i),s&&n.createElement("div",{className:(0,c.Z)("w-[280px]","hidden blog-md:block","flex-shrink-0")},s)),n.createElement(o.U,null),n.createElement(C,null))}},8173:(e,t,r)=>{r.r(t),r.d(t,{default:()=>u});var n=r(7294),a=r(6010),l=r(2210);var o=r(9712),c=r(5319),i=r(2892),s=r(3149),m=r(6894);function u({tags:e,sidebar:t}){const r=(0,l.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});return n.createElement(o.FG,{className:(0,a.Z)(c.k.wrapper.blogPages,c.k.page.blogTagsListPage)},n.createElement(o.d,{title:r}),n.createElement(m.Z,{tag:"blog_tags_list"}),n.createElement(i.Z,{sidebar:t},n.createElement("h1",{className:""},r),n.createElement(s.Z,{tags:e})))}},9527:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(7294),a=r(6010),l=r(1984);function o({permalink:e,label:t,isActive:r}){return n.createElement(l.Z,{href:e,className:(0,a.Z)("no-underline hover:no-underline","text-xs",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","rounded","py-1","px-2",r&&"bg-gray-200 text-gray-500",r&&"dark-bg-gray-700 text-gray-300")},t)}},3149:(e,t,r)=>{r.d(t,{Z:()=>x});var n=r(7294),a=r(9527),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(6010),u=r(8368),d=r(4080),p=r(4642);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;tn.createElement("svg",{width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.292893 0.792893C0.683417 0.402369 1.31658 0.402369 1.70711 0.792893L4 3.08579L6.29289 0.792893C6.68342 0.402369 7.31658 0.402369 7.70711 0.792893C8.09763 1.18342 8.09763 1.81658 7.70711 2.20711L4.70711 5.20711C4.31658 5.59763 3.68342 5.59763 3.29289 5.20711L0.292893 2.20711C-0.0976311 1.81658 -0.0976311 1.18342 0.292893 0.792893Z",fill:"currentColor"})),h=e=>{e=e.replace(/-/g," ");return[["typescript","TypeScript"],["javascript","JavaScript"],["chakra ui","Chakra UI"],["material ui","Material UI"],["nextjs","Next.js"],["nestjs","NestJS"],["css","CSS"]].forEach((t=>{e=e.replace(t[0],t[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)},w=({tags:e,collapsed:t,onShowMoreClick:r})=>n.createElement("div",{className:(0,m.Z)("hidden lg:flex","not-prose","justify-between","items-start","bg-gray-50 dark:bg-gray-800","rounded-xl p-4 2xl:p-6")},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1",t&&"h-8"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:h(e.label)})))))),n.createElement("label",{onClick:()=>r(!t),className:(0,m.Z)("flex","items-center","gap-1","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","bg-gray-100 dark:bg-gray-600","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","mt-1")},"Show More ",n.createElement(y,null))),v=({tags:e})=>n.createElement("div",{className:"mb-10 block w-full lg:hidden"},n.createElement(u.p,null,(({open:t})=>n.createElement("div",{className:(0,m.Z)("rounded-[4px]","border border-gray-100 dark:border-gray-700")},n.createElement(u.p.Button,{className:(0,m.Z)("bg-gray-50 dark:bg-gray-800","border-b border-gray-100 dark:border-gray-700","w-full","flex items-center gap-3","px-2 py-2")},n.createElement(p.A,{className:(0,m.Z)("h-5 w-5","text-gray-400 dark:text-gray-500","transition-transform duration-200 ease-in-out",{"-rotate-90 transform":!t})}),n.createElement("span",{className:(0,m.Z)("text-sm","dark:text-gray-0 text-gray-900")},"Blog Post Tags")),n.createElement(d.u,{show:t,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(u.p.Panel,{className:"h-[200px] overflow-auto p-2 sm:h-[232px] sm:p-6"},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:h(e.label)}))))))))))));function x({tags:e}){const[t,r]=n.useState(!0),a=["refine","react","nextjs","typescript","tutorial","material-ui","ant-design","docker","comparison"],l=(null!=e?e:[]).sort(((e,t)=>{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(w,{collapsed:t,tags:l,onShowMoreClick:e=>r(e)}),n.createElement(v,{tags:l}))}},3799:(e,t,r)=>{r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/1be78505.56337a56.js b/assets/js/1be78505.56337a56.js deleted file mode 100644 index 86d459cd..00000000 --- a/assets/js/1be78505.56337a56.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9514],{1774:(e,t,r)=>{r.d(t,{S:()=>a});var n=r(8241);r(7294);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.Z)(),{tutorial:t}=e;return t}},41:(e,t,r)=>{r.d(t,{L:()=>u,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},8166:(e,t,r)=>{r.d(t,{i:()=>i,pO:()=>c,KT:()=>s});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],i="Thank you for visiting, Connect with me over socials.",s=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(m,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(f,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(f,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(u,null)),u=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),m=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},8014:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Te});var n=r(7294),a=r(6010),l=r(9712),o=r(5319),c=r(6391),i=r(3964),s=r(7391),u=r(5682),m=r(8894),f=r(8166),p=r(6204);const d=()=>n.createElement("footer",{className:(0,a.Z)("py-4","px-4","dark:bg-gray-800 bg-gray-0","border-t dark:border-t-gray-700 border-t-gray-300")},n.createElement("div",{className:(0,a.Z)("mx-auto","flex w-full items-center justify-between","flex-col-reverse sm:flex-row gap-8")},n.createElement("div",{className:(0,a.Z)("text-sm","leading-6","dark:text-gray-400 text-gray-500")},"Copyright \xa9 2023 PrepVerse"," ",n.createElement(p.y,{className:"text-refine-red ml-2 inline leading-6"})," ",n.createElement("br",null),"Built with Docusaurus & refine."),n.createElement("div",{className:(0,a.Z)("flex flex-col sm:flex-row justify-center items-center")},n.createElement("div",{className:(0,a.Z)("dark:text-gray-100 text-gray-800","text-sm leading-6","sm:mr-4")},"Join us on"),n.createElement("div",{className:(0,a.Z)("flex gap-4","dark:text-gray-400 text-gray-500","mt-4 sm:mt-0")},f.KT.map((({href:e,icon:t},r)=>n.createElement("a",{key:r,href:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex items-center no-underline")},n.createElement(t,{className:(0,a.Z)("w-9 h-9 sm:w-6 sm:h-6")}))))))));var g=r(7052),b=r(1098),y=r(1984),h=r(6775),v=r(958),x=r(8168),w=r(888),O=r(8576),E=r(2210),k=r(8241);function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Z=e=>n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const S=n.forwardRef((function(e,t){var{iconOnly:r=!1,iconClassName:l,className:o,placeholder:c,isPermanentDark:i}=e,s=C(e,["iconOnly","iconClassName","className","placeholder","isPermanentDark"]);return n.createElement("button",N(function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}let F=null;function V({hit:e,children:t}){return n.createElement(y.Z,{to:e.url},t)}function T({state:e,onClose:t}){const r=(0,v.M)();return n.createElement(y.Z,{to:r(e.query),onClick:t},n.createElement(E.Z,{id:"theme.SearchBar.seeAll",values:{count:e.context.nbHits}},"See all {count} results"))}function I(e){var t,{contextualSearch:a,externalUrlRegex:l,CustomButton:o}=e,c=R(e,["contextualSearch","externalUrlRegex","CustomButton"]);const{siteMetadata:i}=(0,k.Z)(),s=(0,w.l)(),u=(0,O.r)();var m;const f=null!==(m=null===(t=c.searchParameters)||void 0===t?void 0:t.facetFilters)&&void 0!==m?m:[],p=a?function(e,t){const r=e=>"string"==typeof e?[e]:e;return[...r(e),...r(t)]}(u,f):f,d=B(L({},c.searchParameters),{facetFilters:p}),y=(0,h.k6)(),v=(0,n.useRef)(null),E=(0,n.useRef)(null),[j,Z]=(0,n.useState)(!1),[P,N]=(0,n.useState)(void 0),C=(0,n.useCallback)((async()=>F?Promise.resolve():Promise.all([r.e(781).then(r.bind(r,781)),Promise.all([r.e(532),r.e(6945)]).then(r.bind(r,6945)),Promise.all([r.e(532),r.e(9846)]).then(r.bind(r,9846))]).then((([{DocSearchModal:e}])=>{F=e}))),[]),M=(0,n.useCallback)((()=>{C().then((()=>{v.current=document.createElement("div"),document.body.insertBefore(v.current,document.body.firstChild),Z(!0)}))}),[C,Z]),I=(0,n.useCallback)((()=>{var e,t;Z(!1),null===(t=v.current)||void 0===t||null===(e=t.remove)||void 0===e||e.call(t)}),[Z]),H=(0,n.useCallback)((e=>{C().then((()=>{Z(!0),N(e.key)}))}),[C,Z,N]),$=(0,n.useRef)({navigate({itemUrl:e}){(0,x.F)(l,e)?window.location.href=e:y.push(e)}}).current,z=(0,n.useRef)((e=>c.transformItems?c.transformItems(e):e.map((e=>B(L({},e),{url:s(e.url)}))))).current,_=(0,n.useMemo)((()=>function(e){return n.createElement(T,B(L({},e),{onClose:I}))}),[I]),U=(0,n.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",i.docusaurusVersion),e)),[i.docusaurusVersion]);(0,g.D)({isOpen:j,onOpen:M,onClose:I,onInput:H,searchButtonRef:E});const G=null!=o?o:S,{apiKey:K,appId:q,searchPagePath:Q,indexName:W,searchParameters:Y}=c,J=R(c,["apiKey","appId","searchPagePath","indexName","searchParameters"]);return n.createElement(n.Fragment,null,n.createElement(b.Z,null,n.createElement("link",{rel:"preconnect",href:`https://${c.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),n.createElement(G,L({onTouchStart:C,onFocus:C,onMouseOver:C,onClick:M,ref:E},J)),j&&F&&v.current&&(0,A.createPortal)(n.createElement(F,B(L({onClose:I,initialScrollY:window.scrollY,initialQuery:P,navigator:$,transformItems:z,hitComponent:V,transformSearchClient:U},c.searchPagePath&&{resultsFooterComponent:_},c),{searchParameters:d,placeholder:D.Z.placeholder,translations:D.Z.modal})),v.current))}function H({CustomButton:e}){const{siteConfig:t}=(0,k.Z)();return n.createElement(I,B(L({},t.themeConfig.algolia),{CustomButton:e}))}var $=r(4695),z=r(7990),_=r(2045);const U=({className:e})=>{const{githubStarCountText:t,loading:r}=(0,$.h)();return n.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center","py-2 pl-2.5 pr-4","no-underline",e)},n.createElement(z.E,{className:(0,a.Z)("w-5 h-5")}),n.createElement("div",{className:(0,a.Z)("flex items-center","min-w-[76px] h-6")},"Star:\xa0",r?n.createElement(_.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):n.createElement("span",{className:(0,a.Z)("tabular-nums text-gray-800 dark:text-gray-100")},t)))};var G=r(3833),K=r(4837);const q=({active:e,className:t,onClick:r})=>n.createElement("button",{className:(0,a.Z)("w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-800 dark:text-gray-100","rounded-full","hover:bg-gray-200 hover:dark:bg-gray-700","transition-[background-color]","duration-200","ease-in-out",t),onClick:r},e?n.createElement(K.T,null):n.createElement(G.U,null));var Q=r(41),W=r(4080),Y=r(2560);const J=({className:e})=>n.createElement(y.Z,{href:"/",className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400","no-underline","transition-colors","duration-200","ease-in-out","whitespace-nowrap",e)},"PrepVerse Home");var X=r(7275),ee=r(1412);function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const re=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("div",{className:(0,a.Z)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-refine-enterprise-purple bg-refine-enterprise-purple/30",e),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,a.Z)("z-[1]","absolute","inset-0","dark:bg-purple-new-badge-border-dark bg-purple-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:31,height:14,viewBox:"0 0 31 14",fill:"none",className:(0,a.Z)("z-[2]","bg-gray-0 dark:bg-refine-enterprise-purple-4","text-refine-enterprise-purple dark:text-refine-enterprise-purple-3","rounded-full")},n.createElement("rect",{width:31,height:14,x:0,y:0,fill:"currentColor",fillOpacity:.15,rx:6.5}),n.createElement("path",{fill:"currentColor",stroke:"0",d:"M11.433 4.182V10h-.937L7.754 6.037h-.048V10H6.652V4.182h.943l2.739 3.966h.05V4.182h1.05ZM12.582 10V4.182h3.784v.883h-2.73v1.58h2.534v.883h-2.534v1.588h2.753V10h-3.807Zm6.084 0-1.643-5.818h1.134l1.048 4.275h.054l1.12-4.275h1.03l1.123 4.278h.051l1.048-4.278h1.134L23.123 10h-1.04l-1.165-4.082h-.045L19.705 10h-1.04Z"})));function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function le(e){for(var t=1;t/gi,ie=({item:e,path:t,line:r,variant:l,onLinkClick:o,deferred:c})=>{var s,u,m;const f=null===(u=e.className)||void 0===u||null===(s=u.includes)||void 0===s?void 0:s.call(u,"category-as-header"),p=(0,i._F)(e,t),d=(0,X.Mg)(e.href,t),{collapsible:g}=e,b=!f&&!p&&e.collapsed,[h,v]=n.useState(!1!==g&&b),[x,w]=n.useState(!1);n.useEffect((()=>{const e=setTimeout((()=>{w(!0)}),210);return()=>{clearTimeout(e)}}),[h]);const O=f||!e.href||d?"button":y.Z;var E;return n.createElement("div",{className:(0,a.Z)(!r&&"pl-0",r&&"pl-2",r&&"ml-[12px]","relative")},n.createElement(O,oe(le({type:"button",onClick:f?()=>0:()=>{!1!==g&&(v(!h),w(!1))}},"button"===O?{}:{isNavLink:!0}),{href:e.href,className:(0,a.Z)(f&&"cursor-default","w-full","min-h-[28px]","border-0","appearance-none","focus:outline-none",!f&&"text-gray-400 dark:text-gray-300",f&&"text-gray-500 dark:text-gray-400",f&&"font-semibold",!f&&"hover:text-gray-600 dark:hover:text-gray-300","font-normal","flex items-center",f?"pt-2 pb-4":"py-2","pr-2",f&&"pl-2",!f&&"pl-0.5",f?"text-base":"text-sm","relative",!f&&"group","transition-colors duration-200 ease-in-out",!f&&"no-underline")}),!f&&n.createElement(ee.v,{className:(0,a.Z)("opacity-70","text-gray-500 dark:text-gray-400","h-5 w-5","flex-shrink-0","z-[1]","transition-transform duration-200 ease-in-out","group-hover:text-gray-600 dark:group-hover:text-gray-300",{"-rotate-90 transform":h})}),n.createElement("span",{className:"z-[1]"},e.label),n.createElement("div",{className:(0,a.Z)("absolute","rounded-[18px]","transition-opacity","duration-200 ease-in-out","top-0",{"group-hover:bg-gray-100 dark:group-hover:bg-gray-700":!p&&!d,"bg-refine-blue-2-light dark:bg-gray-700/80 dark:bg-opacity-10":p&&d,"right-0":"desktop"===l,"-left-2":"mobile"===l},"h-full"),style:{width:"desktop"===l?"calc(260px - 32px)":"calc(100% + 16px)"}})),r&&n.createElement("div",{className:"z-[1] absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}),n.createElement("div",{className:(0,a.Z)(h&&"max-h-0 opacity-0",h&&"overflow-hidden",!h&&"opacity-100",!h&&!x&&"max-h-screen",!h&&x&&"max-h-max")},(!c||!h)&&pe({items:null!==(E=null===(m=e)||void 0===m?void 0:m.items)&&void 0!==E?E:[],path:t,line:!f,fromHeader:f,variant:l,onLinkClick:o,deferred:c})))},se=({item:e,onClick:t})=>n.createElement(y.Z,{href:e.href,isNavLink:!0,onClick:t,className:(0,a.Z)("flex-shrink-0","relative","min-h-[28px]","rounded-[18px]","bg-refine-enterprise-purple-2 bg-opacity-10","dark-bg-refine-enterprise-purple-2 dark:bg-opacity-30","text-refine-enterprise-purple","dark:text-refine-enterprise-purple-3","pl-6 pr-3 py-2","text-sm font-normal","flex items-start justify-start","group","transition-colors duration-200 ease-in-out","no-underline",e.className)},n.createElement("div",{className:"flex items-center flex-1"},n.createElement("span",{className:"z-[1] flex-shrink-0"},e.label),n.createElement(ne,{className:"flex-shrink-0 ml-auto"}))),ue=e=>n.createElement("svg",le({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none"},e),n.createElement("g",{fill:"currentColor"},n.createElement("path",{d:"M1 2.65C1 1.739 1.739 1 2.65 1H5.5a.5.5 0 0 0 0-1H2.65A2.65 2.65 0 0 0 0 2.65v6.7A2.65 2.65 0 0 0 2.65 12h6.7A2.65 2.65 0 0 0 12 9.35V6.5a.5.5 0 0 0-1 0v2.85A1.65 1.65 0 0 1 9.35 11h-6.7A1.65 1.65 0 0 1 1 9.35v-6.7Z"}),n.createElement("path",{d:"M8.5 0a.5.5 0 0 0 0 1h1.793L5.646 5.646a.5.5 0 1 0 .708.708L11 1.707V3.5a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 10.5 0h-2Z"}))),me=({item:e,path:t,dashed:r,line:l,variant:o,onClick:c})=>{var s,u,m;const f=n.useRef(!1),p=n.useRef(null),d=(0,i._F)(e,t),g=(0,X.Mg)(e.href,t),b=(null===(u=e.className)||void 0===u||null===(s=u.includes)||void 0===s?void 0:s.call(u,"enterprise-badge"))||!1;if(n.useEffect((()=>{if(d&&!f.current){const r=document.querySelector("#refine-docs-sidebar");var e,t;if(r&&p.current)r.scrollTop=(null===(e=p.current)||void 0===e?void 0:e.offsetTop)-r.clientHeight/2+(null===(t=p.current)||void 0===t?void 0:t.clientHeight)/2}f.current=!0}),[d]),b)return n.createElement(se,{item:e,onClick:c});const h=ce.test(e.label);return n.createElement(y.Z,{ref:p,href:e.href,isNavLink:!0,onClick:c,className:(0,a.Z)("relative","min-h-[28px]",!d&&"text-gray-600 dark:text-gray-300",!d&&"hover:text-gray-600 dark:hover:text-gray-300",d&&"text-refine-react-light-link dark:text-refine-react-dark-link","px-4 py-2","text-sm font-normal","flex items-start justify-start",r&&!l&&"pl-0.5",l&&r&&"pl-2",l&&"ml-[12px]","group","transition-colors duration-200 ease-in-out","no-underline",e.className)},r&&n.createElement(re,{className:(0,a.Z)("z-[1] h-5 w-5 flex-shrink-0","text-gray-300 dark:text-gray-600",d&&"text-refine-react-light-link dark:text-refine-react-dark-link text-opacity-50 dark:text-opacity-50")}),n.createElement("div",{className:(0,a.Z)("flex items-center",h&&"break-all")},n.createElement("span",{className:"z-[1]"},e.label)),(null===(m=e.customProps)||void 0===m?void 0:m.external)&&n.createElement(ue,{className:(0,a.Z)("z-[1]","text-inherit","w-5 h-5","p-1","ml-1")}),n.createElement("div",{className:(0,a.Z)("absolute","rounded-[18px]","transition-opacity","duration-200 ease-in-out",{"group-hover:bg-gray-100 dark:group-hover:bg-gray-700":!d&&!g,"bg-refine-blue-2-light dark:bg-gray-700/80 dark:bg-opacity-10":d&&g,"right-0":"desktop"===o,"-left-2":"mobile"===o},"top-0","h-full"),style:{width:"desktop"===o?"calc(260px - 32px)":"calc(100% + 16px)"}}),l&&n.createElement("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}))},fe=({item:e,line:t})=>n.createElement("div",{className:(0,a.Z)("relative","text-xs","flex items-start justify-start","px-0.5 py-1",t&&"pl-2",t&&"ml-[12px]","group","transition-colors duration-200 ease-in-out","no-underline","text-gray-500 dark:text-gray-400","after:content-['']","after:w-[calc(100%)]","after:h-px","after:bg-gray-300","dark:after:bg-gray-600","after:absolute","after:left-0","after:top-1/2","after:-translate-y-1/2")},t&&n.createElement("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}),n.createElement("span",{className:(0,a.Z)("z-[1]","-ml-1","px-1","bg-gray-0","dark:bg-gray-900"),dangerouslySetInnerHTML:{__html:e.value}})),pe=({items:e=[],path:t,root:r,line:a,variant:l,onLinkClick:o,deferred:c})=>{var i,s,u,m;const f=null===(s=e)||void 0===s||null===(i=s.some)||void 0===i?void 0:i.call(s,(e=>"category"===e.type)),p=!r&&f;var d;return null!==(d=null===(m=e)||void 0===m||null===(u=m.map)||void 0===u?void 0:u.call(m,((e,r)=>{switch(e.type){case"category":return n.createElement(ie,{key:`${e.label}:${e.href}:${e.type}`,item:e,path:t,line:!!a,variant:l,onLinkClick:o,deferred:c});case"html":return n.createElement(fe,{key:`${e.type}:${e.value}`,item:e,path:t,line:!!a,variant:l});case"link":return n.createElement(me,{key:`${e.label}:${e.href}:${e.type}`,item:e,path:t,dashed:p,line:!!a,variant:l,onClick:o});default:return null}})))&&void 0!==d?d:[]},de=()=>{var e;const t=(0,u.V)(),{pathname:r}=(0,h.TH)();return n.createElement("div",{id:"refine-docs-sidebar",className:(0,a.Z)("hidden lg:block","sticky","left-0","overflow-auto","w-full"),style:{maxWidth:"260px",top:`${Ce}px`,height:`calc(100vh - ${Ce}px)`}},n.createElement("div",{className:(0,a.Z)("px-4","py-4","border-r border-r-gray-300 dark:border-r-gray-700","flex flex-col gap-6")},pe({items:null===(e=t)||void 0===e?void 0:e.items,path:r,root:!0,variant:"desktop"})))};var ge=r(3799);const be=({className:e})=>n.createElement("div",{className:(0,a.Z)("flex","items-center justify-start","gap-2","no-underline",e)},n.createElement(y.Z,{to:"/",className:(0,a.Z)("no-underline","flex items-center gap-2"),onContextMenu:ge.Q},n.createElement("span",{className:(0,a.Z)("text-gray-1000 dark:text-gray-0","text-base","font-semibold")},"PrepVerse")),n.createElement("span",{className:(0,a.Z)("block","h-6","w-px","mx-1","bg-gray-300 dark:bg-gray-600")}),n.createElement(y.Z,{to:"/docs",className:(0,a.Z)("no-underline")},n.createElement("span",{className:(0,a.Z)("text-gray-1000 dark:text-gray-0","text-base font-normal")},"Docs")));var ye=r(4642),he=r(5995),ve=r(4604);const xe=()=>{const{search:e,hash:t}=(0,h.TH)(),r=(0,he.Iw)(),n=(0,he.gB)();return{links:n.map((n=>{var a;const l=null!==(a=r.alternateDocVersions[n.name])&&void 0!==a?a:(e=>e.docs.find((t=>t.id===e.mainDocId)))(n);return{to:`${l.path}${e}${t}`,label:n.label}}))}};function we(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Oe=e=>n.createElement("svg",function(e){for(var t=1;t{const r=(0,he.Iw)(),{links:l}=xe();return n.createElement("div",{className:t},n.createElement(ve.v,null,(({open:t})=>n.createElement(n.Fragment,null,n.createElement(ve.v.Button,{className:(0,a.Z)("appearance-none","focus:outline-none","border border-solid border-gray-300 dark:border-gray-600 lg:dark:border-gray-700","rounded-[32px]","py-1.5","pl-3","pr-2","bg-gray-0 dark:bg-gray-800","lg:bg-transparent lg:dark:bg-transparent","lg:pl-4 lg:pr-3","lg:py-[9px]","flex","items-center","justify-center","gap-1","lg:gap-2","select-none",e)},n.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-100","text-sm leading-5","block")},r.activeVersion.label),n.createElement(ye.A,{className:"text-gray-400 w-4 h-4"})),n.createElement(W.u,{show:t,className:"relative z-10",enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(Oe,{className:(0,a.Z)("absolute right-[11px] top-1 origin-bottom-right","text-gray-700 dark:text-white")}),n.createElement(ve.v.Items,{static:!0,className:(0,a.Z)("absolute right-0 top-2 origin-bottom-right","flex flex-col gap-2","w-[112px]","p-2","bg-gray-700 dark:bg-white","rounded-lg")},l.map((e=>n.createElement(ve.v.Item,{key:e.label},(()=>{const t=e.label===r.activeVersion.label;return n.createElement(y.Z,{to:e.to,className:(0,a.Z)("px-2 py-1","rounded-[4px]","no-underline",{"text-white hover:text-white":t,"bg-refine-blue":t,"text-gray-300 dark:text-gray-700":!t,"hover:bg-gray-600 hover:dark:bg-gray-100 hover:text-gray-300 dark:hover:text-gray-700":!t})},e.label)}))))))))))},ke=({isOpen:e,onClose:t})=>{const{items:r}=(({variant:e,onLinkClick:t,deferred:r})=>{var n;const a=(0,u.V)(),{pathname:l}=(0,h.TH)();return{items:pe({items:null===(n=a)||void 0===n?void 0:n.items,path:l,root:!0,variant:e,onLinkClick:t,deferred:r})}})({variant:"mobile",onLinkClick:t,deferred:!0});return n.createElement(W.u,{appear:!0,show:e,as:n.Fragment},n.createElement(Y.V,{as:"div",className:"relative z-mobileNavbar",onClose:t},n.createElement(W.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-0 dark:bg-gray-800"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(W.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(Y.V.Panel,{className:(0,a.Z)("w-full h-[100dvh]","flex flex-col","px-2")},n.createElement("div",{className:(0,a.Z)("py-4","px-2","w-full h-16","flex items-center justify-between")},n.createElement(be,null),n.createElement("div",{className:(0,a.Z)("flex items-center gap-4")},n.createElement(q,{onClick:t,active:!0}))),n.createElement("div",{className:(0,a.Z)("relative","w-full max-w-[480px]","flex","flex-col","flex-1","mx-auto","rounded-lg","border border-gray-300 dark:border-gray-600")},n.createElement("div",{className:(0,a.Z)("h-12","rounded-tl-lg rounded-tr-lg","bg-gray-100 dark:bg-gray-700","border-b border-gray-300 dark:border-gray-600","flex items-center gap-2","px-4 py-2","justify-end")},n.createElement(Ee,null)),n.createElement("div",{className:(0,a.Z)("flex-1","overflow-hidden","relative")},n.createElement("div",{className:(0,a.Z)("inset-0","overflow-scroll","h-full","px-8","absolute","flex flex-col gap-6","py-6")},r))),n.createElement("div",{className:(0,a.Z)("flex","flex-col","gap-0")},n.createElement("div",{className:(0,a.Z)("flex items-center justify-start","gap-10","px-2","py-4")},n.createElement("span",{className:(0,a.Z)("text-sm","text-gray-800","dark:text-gray-100")},"Appearance"),n.createElement(Q.L,null)),n.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-300 dark:border-t-gray-700","px-4","py-2","flex","items-center","justify-between")},n.createElement(J,null),n.createElement(U,null)))))))))};var je=r(2496);function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pe(e){for(var t=1;tn.createElement("div",{className:(0,a.Z)("w-full","hidden lg:flex items-center","mx-auto")},n.createElement(be,{className:(0,a.Z)("lg:min-w-[256px]")}),n.createElement("div",{className:(0,a.Z)("flex-1","flex","justify-end","items-center","gap-4")},n.createElement("div",{className:(0,a.Z)("hidden lg:flex items-center justify-start")},n.createElement(H,null)),n.createElement("div",{className:(0,a.Z)("lg:hidden flex")},n.createElement(H,{CustomButton:n.forwardRef((function(e,t){return n.createElement(S,Ne(Pe({ref:t},e),{iconOnly:!0}))}))})),n.createElement(Ee,null),n.createElement(U,null),n.createElement(Q.m,{className:(0,a.Z)("scale-75","sm:scale-100")}))),De=()=>{const[e,t]=(0,n.useState)(!1);return n.createElement("div",{className:(0,a.Z)("w-full","flex lg:hidden items-center justify-between")},n.createElement(be,null),n.createElement("div",{className:(0,a.Z)("flex items-center gap-4")},n.createElement(H,{CustomButton:n.forwardRef((function(e,t){return n.createElement(S,Ne(Pe({ref:t},e),{iconOnly:!0}))}))}),n.createElement(q,{onClick:()=>t(!0),active:e})),n.createElement(ke,{isOpen:e,onClose:()=>t(!1)}))},Ae=()=>n.createElement(n.Fragment,null,n.createElement(je.T,null),n.createElement("div",{className:(0,a.Z)("flex items-center","h-16","z-10","sticky","top-0","py-4 sm:py-3 px-4 sm:px-6","bg-gray-0 dark:bg-gray-800","border-b border-gray-300 dark:border-gray-700")},n.createElement(Se,null),n.createElement(De,null))),Me=({children:e})=>n.createElement(n.Fragment,null,n.createElement(Ae,null),n.createElement("div",{className:(0,a.Z)("flex items-start justify-start","w-full flex-1","mx-auto")},n.createElement(de,null),e),n.createElement(d,null));function Le({children:e}){return n.createElement(m.Z,null,n.createElement(Me,null,e))}var Be=r(889),Re=r(6894),Fe=r(1774);function Ve(e){const{versionMetadata:t}=e;return n.createElement(n.Fragment,null,n.createElement(Re.Z,{version:t.version,tag:(0,c.os)(t.pluginId,t.version)}),n.createElement(l.d,null,t.noIndex&&n.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function Te(e){const{versionMetadata:t}=e,r=(0,i.hI)(e),{tutorial:{path_prefix:c}}=(0,Fe.S)();if(!r)return n.createElement(Be.default,null);const m=Object.keys(t.docsSidebars)[0],f=t.docsSidebars[m],{docElement:p,sidebarName:d,sidebarItems:g}=(e.location.pathname.startsWith(c),r);return n.createElement(n.Fragment,null,n.createElement(Ve,e),n.createElement(l.FG,{className:(0,a.Z)(o.k.wrapper.docsPages,o.k.page.docsDocPage,e.versionMetadata.className)},n.createElement(s.q,{version:t},n.createElement(u.b,{name:null!=d?d:m,items:null!=g?g:f},n.createElement(Le,null,p)))))}},3799:(e,t,r)=>{r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/1be78505.ba377b3c.js b/assets/js/1be78505.ba377b3c.js new file mode 100644 index 00000000..6b4b65ac --- /dev/null +++ b/assets/js/1be78505.ba377b3c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9514],{1774:(e,t,r)=>{r.d(t,{S:()=>a});var n=r(8241);r(7294);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.Z)(),{tutorial:t}=e;return t}},41:(e,t,r)=>{r.d(t,{L:()=>u,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},1412:(e,t,r)=>{r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{I:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{_:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{p:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(m,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(f,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(f,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(u,null)),u=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),m=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),f=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},7571:(e,t,r)=>{r.r(t),r.d(t,{default:()=>$e});var n=r(7294),a=r(6010),l=r(9712),o=r(5319),c=r(6391),i=r(3964),s=r(7391),u=r(5682),m=r(8894),f=r(7092),p=r(961),d=r(3380);const g=[{icon:f.I,href:"https://github.com/AkashSingh3031"},{icon:d.p,href:"https://twitter.com/akashsingh3031"},{icon:p._,href:"https://www.linkedin.com/in/akashsingh3031"}];var b=r(6204);const y=()=>n.createElement("footer",{className:(0,a.Z)("py-4","px-4","dark:bg-gray-800 bg-gray-0","border-t dark:border-t-gray-700 border-t-gray-300")},n.createElement("div",{className:(0,a.Z)("mx-auto","flex w-full items-center justify-between","flex-col-reverse sm:flex-row gap-8")},n.createElement("div",{className:(0,a.Z)("text-sm","leading-6","dark:text-gray-400 text-gray-500")},"Copyright \xa9 2023 PrepVerse"," ",n.createElement(b.y,{className:"text-refine-red ml-2 inline leading-6"})," ",n.createElement("br",null),"Built with Docusaurus & refine."),n.createElement("div",{className:(0,a.Z)("flex flex-col sm:flex-row justify-center items-center")},n.createElement("div",{className:(0,a.Z)("dark:text-gray-100 text-gray-800","text-sm leading-6","sm:mr-4")},"Join us on"),n.createElement("div",{className:(0,a.Z)("flex gap-4","dark:text-gray-400 text-gray-500","mt-4 sm:mt-0")},g.map((({href:e,icon:t},r)=>n.createElement("a",{key:r,href:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex items-center no-underline")},n.createElement(t,{className:(0,a.Z)("w-9 h-9 sm:w-6 sm:h-6")}))))))));var h=r(7052),v=r(1098),x=r(1984),w=r(6775),O=r(958),E=r(8168),k=r(888),j=r(8576),Z=r(2210),P=r(8241);function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>n.createElement("svg",function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const A=n.forwardRef((function(e,t){var{iconOnly:r=!1,iconClassName:l,className:o,placeholder:c,isPermanentDark:i}=e,s=M(e,["iconOnly","iconClassName","className","placeholder","isPermanentDark"]);return n.createElement("button",D(function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}let T=null;function H({hit:e,children:t}){return n.createElement(x.Z,{to:e.url},t)}function $({state:e,onClose:t}){const r=(0,O.M)();return n.createElement(x.Z,{to:r(e.query),onClick:t},n.createElement(Z.Z,{id:"theme.SearchBar.seeAll",values:{count:e.context.nbHits}},"See all {count} results"))}function z(e){var t,{contextualSearch:a,externalUrlRegex:l,CustomButton:o}=e,c=I(e,["contextualSearch","externalUrlRegex","CustomButton"]);const{siteMetadata:i}=(0,P.Z)(),s=(0,k.l)(),u=(0,j.r)();var m;const f=null!==(m=null===(t=c.searchParameters)||void 0===t?void 0:t.facetFilters)&&void 0!==m?m:[],p=a?function(e,t){const r=e=>"string"==typeof e?[e]:e;return[...r(e),...r(t)]}(u,f):f,d=V(F({},c.searchParameters),{facetFilters:p}),g=(0,w.k6)(),b=(0,n.useRef)(null),y=(0,n.useRef)(null),[x,O]=(0,n.useState)(!1),[Z,N]=(0,n.useState)(void 0),C=(0,n.useCallback)((async()=>T?Promise.resolve():Promise.all([r.e(781).then(r.bind(r,781)),Promise.all([r.e(532),r.e(6945)]).then(r.bind(r,6945)),Promise.all([r.e(532),r.e(9846)]).then(r.bind(r,9846))]).then((([{DocSearchModal:e}])=>{T=e}))),[]),S=(0,n.useCallback)((()=>{C().then((()=>{b.current=document.createElement("div"),document.body.insertBefore(b.current,document.body.firstChild),O(!0)}))}),[C,O]),D=(0,n.useCallback)((()=>{var e,t;O(!1),null===(t=b.current)||void 0===t||null===(e=t.remove)||void 0===e||e.call(t)}),[O]),M=(0,n.useCallback)((e=>{C().then((()=>{O(!0),N(e.key)}))}),[C,O,N]),R=(0,n.useRef)({navigate({itemUrl:e}){(0,E.F)(l,e)?window.location.href=e:g.push(e)}}).current,z=(0,n.useRef)((e=>c.transformItems?c.transformItems(e):e.map((e=>V(F({},e),{url:s(e.url)}))))).current,_=(0,n.useMemo)((()=>function(e){return n.createElement($,V(F({},e),{onClose:D}))}),[D]),U=(0,n.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",i.docusaurusVersion),e)),[i.docusaurusVersion]);(0,h.D)({isOpen:x,onOpen:S,onClose:D,onInput:M,searchButtonRef:y});const G=null!=o?o:A,{apiKey:q,appId:Q,searchPagePath:K,indexName:W,searchParameters:Y}=c,J=I(c,["apiKey","appId","searchPagePath","indexName","searchParameters"]);return n.createElement(n.Fragment,null,n.createElement(v.Z,null,n.createElement("link",{rel:"preconnect",href:`https://${c.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})),n.createElement(G,F({onTouchStart:C,onFocus:C,onMouseOver:C,onClick:S,ref:y},J)),x&&T&&b.current&&(0,B.createPortal)(n.createElement(T,V(F({onClose:D,initialScrollY:window.scrollY,initialQuery:Z,navigator:R,transformItems:z,hitComponent:H,transformSearchClient:U},c.searchPagePath&&{resultsFooterComponent:_},c),{searchParameters:d,placeholder:L.Z.placeholder,translations:L.Z.modal})),b.current))}function _({CustomButton:e}){const{siteConfig:t}=(0,P.Z)();return n.createElement(z,V(F({},t.themeConfig.algolia),{CustomButton:e}))}var U=r(4695),G=r(7990),q=r(2045);const Q=({className:e})=>{const{githubStarCountText:t,loading:r}=(0,U.h)();return n.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-sm","text-gray-500 dark:text-gray-400","rounded-[32px]","border border-solid border-gray-300 dark:border-gray-700","flex gap-2 items-center","py-2 pl-2.5 pr-4","no-underline",e)},n.createElement(G.E,{className:(0,a.Z)("w-5 h-5")}),n.createElement("div",{className:(0,a.Z)("flex items-center","min-w-[76px] h-6")},"Star:\xa0",r?n.createElement(q.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):n.createElement("span",{className:(0,a.Z)("tabular-nums text-gray-800 dark:text-gray-100")},t)))};var K=r(3833),W=r(4837);const Y=({active:e,className:t,onClick:r})=>n.createElement("button",{className:(0,a.Z)("w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-800 dark:text-gray-100","rounded-full","hover:bg-gray-200 hover:dark:bg-gray-700","transition-[background-color]","duration-200","ease-in-out",t),onClick:r},e?n.createElement(W.T,null):n.createElement(K.U,null));var J=r(41),X=r(4080),ee=r(2560);const te=({className:e})=>n.createElement(x.Z,{href:"/",className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400","no-underline","transition-colors","duration-200","ease-in-out","whitespace-nowrap",e)},"PrepVerse Home");var re=r(7275),ne=r(1412);function ae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const le=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("div",{className:(0,a.Z)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-refine-enterprise-purple bg-refine-enterprise-purple/30",e),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,a.Z)("z-[1]","absolute","inset-0","dark:bg-purple-new-badge-border-dark bg-purple-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:31,height:14,viewBox:"0 0 31 14",fill:"none",className:(0,a.Z)("z-[2]","bg-gray-0 dark:bg-refine-enterprise-purple-4","text-refine-enterprise-purple dark:text-refine-enterprise-purple-3","rounded-full")},n.createElement("rect",{width:31,height:14,x:0,y:0,fill:"currentColor",fillOpacity:.15,rx:6.5}),n.createElement("path",{fill:"currentColor",stroke:"0",d:"M11.433 4.182V10h-.937L7.754 6.037h-.048V10H6.652V4.182h.943l2.739 3.966h.05V4.182h1.05ZM12.582 10V4.182h3.784v.883h-2.73v1.58h2.534v.883h-2.534v1.588h2.753V10h-3.807Zm6.084 0-1.643-5.818h1.134l1.048 4.275h.054l1.12-4.275h1.03l1.123 4.278h.051l1.048-4.278h1.134L23.123 10h-1.04l-1.165-4.082h-.045L19.705 10h-1.04Z"})));function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ie(e){for(var t=1;t/gi,me=({item:e,path:t,line:r,variant:l,onLinkClick:o,deferred:c})=>{var s,u,m;const f=null===(u=e.className)||void 0===u||null===(s=u.includes)||void 0===s?void 0:s.call(u,"category-as-header"),p=(0,i._F)(e,t),d=(0,re.Mg)(e.href,t),{collapsible:g}=e,b=!f&&!p&&e.collapsed,[y,h]=n.useState(!1!==g&&b),[v,w]=n.useState(!1);n.useEffect((()=>{const e=setTimeout((()=>{w(!0)}),210);return()=>{clearTimeout(e)}}),[y]);const O=f||!e.href||d?"button":x.Z;var E;return n.createElement("div",{className:(0,a.Z)(!r&&"pl-0",r&&"pl-2",r&&"ml-[12px]","relative")},n.createElement(O,se(ie({type:"button",onClick:f?()=>0:()=>{!1!==g&&(h(!y),w(!1))}},"button"===O?{}:{isNavLink:!0}),{href:e.href,className:(0,a.Z)(f&&"cursor-default","w-full","min-h-[28px]","border-0","appearance-none","focus:outline-none",!f&&"text-gray-400 dark:text-gray-300",f&&"text-gray-500 dark:text-gray-400",f&&"font-semibold",!f&&"hover:text-gray-600 dark:hover:text-gray-300","font-normal","flex items-center",f?"pt-2 pb-4":"py-2","pr-2",f&&"pl-2",!f&&"pl-0.5",f?"text-base":"text-sm","relative",!f&&"group","transition-colors duration-200 ease-in-out",!f&&"no-underline")}),!f&&n.createElement(ne.v,{className:(0,a.Z)("opacity-70","text-gray-500 dark:text-gray-400","h-5 w-5","flex-shrink-0","z-[1]","transition-transform duration-200 ease-in-out","group-hover:text-gray-600 dark:group-hover:text-gray-300",{"-rotate-90 transform":y})}),n.createElement("span",{className:"z-[1]"},e.label),n.createElement("div",{className:(0,a.Z)("absolute","rounded-[18px]","transition-opacity","duration-200 ease-in-out","top-0",{"group-hover:bg-gray-100 dark:group-hover:bg-gray-700":!p&&!d,"bg-refine-blue-2-light dark:bg-gray-700/80 dark:bg-opacity-10":p&&d,"right-0":"desktop"===l,"-left-2":"mobile"===l},"h-full"),style:{width:"desktop"===l?"calc(260px - 32px)":"calc(100% + 16px)"}})),r&&n.createElement("div",{className:"z-[1] absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}),n.createElement("div",{className:(0,a.Z)(y&&"max-h-0 opacity-0",y&&"overflow-hidden",!y&&"opacity-100",!y&&!v&&"max-h-screen",!y&&v&&"max-h-max")},(!c||!y)&&be({items:null!==(E=null===(m=e)||void 0===m?void 0:m.items)&&void 0!==E?E:[],path:t,line:!f,fromHeader:f,variant:l,onLinkClick:o,deferred:c})))},fe=({item:e,onClick:t})=>n.createElement(x.Z,{href:e.href,isNavLink:!0,onClick:t,className:(0,a.Z)("flex-shrink-0","relative","min-h-[28px]","rounded-[18px]","bg-refine-enterprise-purple-2 bg-opacity-10","dark-bg-refine-enterprise-purple-2 dark:bg-opacity-30","text-refine-enterprise-purple","dark:text-refine-enterprise-purple-3","pl-6 pr-3 py-2","text-sm font-normal","flex items-start justify-start","group","transition-colors duration-200 ease-in-out","no-underline",e.className)},n.createElement("div",{className:"flex items-center flex-1"},n.createElement("span",{className:"z-[1] flex-shrink-0"},e.label),n.createElement(oe,{className:"flex-shrink-0 ml-auto"}))),pe=e=>n.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",fill:"none"},e),n.createElement("g",{fill:"currentColor"},n.createElement("path",{d:"M1 2.65C1 1.739 1.739 1 2.65 1H5.5a.5.5 0 0 0 0-1H2.65A2.65 2.65 0 0 0 0 2.65v6.7A2.65 2.65 0 0 0 2.65 12h6.7A2.65 2.65 0 0 0 12 9.35V6.5a.5.5 0 0 0-1 0v2.85A1.65 1.65 0 0 1 9.35 11h-6.7A1.65 1.65 0 0 1 1 9.35v-6.7Z"}),n.createElement("path",{d:"M8.5 0a.5.5 0 0 0 0 1h1.793L5.646 5.646a.5.5 0 1 0 .708.708L11 1.707V3.5a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 10.5 0h-2Z"}))),de=({item:e,path:t,dashed:r,line:l,variant:o,onClick:c})=>{var s,u,m;const f=n.useRef(!1),p=n.useRef(null),d=(0,i._F)(e,t),g=(0,re.Mg)(e.href,t),b=(null===(u=e.className)||void 0===u||null===(s=u.includes)||void 0===s?void 0:s.call(u,"enterprise-badge"))||!1;if(n.useEffect((()=>{if(d&&!f.current){const r=document.querySelector("#refine-docs-sidebar");var e,t;if(r&&p.current)r.scrollTop=(null===(e=p.current)||void 0===e?void 0:e.offsetTop)-r.clientHeight/2+(null===(t=p.current)||void 0===t?void 0:t.clientHeight)/2}f.current=!0}),[d]),b)return n.createElement(fe,{item:e,onClick:c});const y=ue.test(e.label);return n.createElement(x.Z,{ref:p,href:e.href,isNavLink:!0,onClick:c,className:(0,a.Z)("relative","min-h-[28px]",!d&&"text-gray-600 dark:text-gray-300",!d&&"hover:text-gray-600 dark:hover:text-gray-300",d&&"text-refine-react-light-link dark:text-refine-react-dark-link","px-4 py-2","text-sm font-normal","flex items-start justify-start",r&&!l&&"pl-0.5",l&&r&&"pl-2",l&&"ml-[12px]","group","transition-colors duration-200 ease-in-out","no-underline",e.className)},r&&n.createElement(le,{className:(0,a.Z)("z-[1] h-5 w-5 flex-shrink-0","text-gray-300 dark:text-gray-600",d&&"text-refine-react-light-link dark:text-refine-react-dark-link text-opacity-50 dark:text-opacity-50")}),n.createElement("div",{className:(0,a.Z)("flex items-center",y&&"break-all")},n.createElement("span",{className:"z-[1]"},e.label)),(null===(m=e.customProps)||void 0===m?void 0:m.external)&&n.createElement(pe,{className:(0,a.Z)("z-[1]","text-inherit","w-5 h-5","p-1","ml-1")}),n.createElement("div",{className:(0,a.Z)("absolute","rounded-[18px]","transition-opacity","duration-200 ease-in-out",{"group-hover:bg-gray-100 dark:group-hover:bg-gray-700":!d&&!g,"bg-refine-blue-2-light dark:bg-gray-700/80 dark:bg-opacity-10":d&&g,"right-0":"desktop"===o,"-left-2":"mobile"===o},"top-0","h-full"),style:{width:"desktop"===o?"calc(260px - 32px)":"calc(100% + 16px)"}}),l&&n.createElement("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}))},ge=({item:e,line:t})=>n.createElement("div",{className:(0,a.Z)("relative","text-xs","flex items-start justify-start","px-0.5 py-1",t&&"pl-2",t&&"ml-[12px]","group","transition-colors duration-200 ease-in-out","no-underline","text-gray-500 dark:text-gray-400","after:content-['']","after:w-[calc(100%)]","after:h-px","after:bg-gray-300","dark:after:bg-gray-600","after:absolute","after:left-0","after:top-1/2","after:-translate-y-1/2")},t&&n.createElement("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 border-l border-l-gray-300 dark:border-l-gray-600 h-full w-px"}),n.createElement("span",{className:(0,a.Z)("z-[1]","-ml-1","px-1","bg-gray-0","dark:bg-gray-900"),dangerouslySetInnerHTML:{__html:e.value}})),be=({items:e=[],path:t,root:r,line:a,variant:l,onLinkClick:o,deferred:c})=>{var i,s,u,m;const f=null===(s=e)||void 0===s||null===(i=s.some)||void 0===i?void 0:i.call(s,(e=>"category"===e.type)),p=!r&&f;var d;return null!==(d=null===(m=e)||void 0===m||null===(u=m.map)||void 0===u?void 0:u.call(m,((e,r)=>{switch(e.type){case"category":return n.createElement(me,{key:`${e.label}:${e.href}:${e.type}`,item:e,path:t,line:!!a,variant:l,onLinkClick:o,deferred:c});case"html":return n.createElement(ge,{key:`${e.type}:${e.value}`,item:e,path:t,line:!!a,variant:l});case"link":return n.createElement(de,{key:`${e.label}:${e.href}:${e.type}`,item:e,path:t,dashed:p,line:!!a,variant:l,onClick:o});default:return null}})))&&void 0!==d?d:[]},ye=()=>{var e;const t=(0,u.V)(),{pathname:r}=(0,w.TH)();return n.createElement("div",{id:"refine-docs-sidebar",className:(0,a.Z)("hidden lg:block","sticky","left-0","overflow-auto","w-full"),style:{maxWidth:"260px",top:`${Me}px`,height:`calc(100vh - ${Me}px)`}},n.createElement("div",{className:(0,a.Z)("px-4","py-4","border-r border-r-gray-300 dark:border-r-gray-700","flex flex-col gap-6")},be({items:null===(e=t)||void 0===e?void 0:e.items,path:r,root:!0,variant:"desktop"})))};var he=r(3799);const ve=({className:e})=>n.createElement("div",{className:(0,a.Z)("flex","items-center justify-start","gap-2","no-underline",e)},n.createElement(x.Z,{to:"/",className:(0,a.Z)("no-underline","flex items-center gap-2"),onContextMenu:he.Q},n.createElement("span",{className:(0,a.Z)("text-gray-1000 dark:text-gray-0","text-base","font-semibold")},"PrepVerse")),n.createElement("span",{className:(0,a.Z)("block","h-6","w-px","mx-1","bg-gray-300 dark:bg-gray-600")}),n.createElement(x.Z,{to:"/docs",className:(0,a.Z)("no-underline")},n.createElement("span",{className:(0,a.Z)("text-gray-1000 dark:text-gray-0","text-base font-normal")},"Docs")));var xe=r(4642),we=r(5995),Oe=r(4604);const Ee=()=>{const{search:e,hash:t}=(0,w.TH)(),r=(0,we.Iw)(),n=(0,we.gB)();return{links:n.map((n=>{var a;const l=null!==(a=r.alternateDocVersions[n.name])&&void 0!==a?a:(e=>e.docs.find((t=>t.id===e.mainDocId)))(n);return{to:`${l.path}${e}${t}`,label:n.label}}))}};function ke(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const je=e=>n.createElement("svg",function(e){for(var t=1;t{const r=(0,we.Iw)(),{links:l}=Ee();return n.createElement("div",{className:t},n.createElement(Oe.v,null,(({open:t})=>n.createElement(n.Fragment,null,n.createElement(Oe.v.Button,{className:(0,a.Z)("appearance-none","focus:outline-none","border border-solid border-gray-300 dark:border-gray-600 lg:dark:border-gray-700","rounded-[32px]","py-1.5","pl-3","pr-2","bg-gray-0 dark:bg-gray-800","lg:bg-transparent lg:dark:bg-transparent","lg:pl-4 lg:pr-3","lg:py-[9px]","flex","items-center","justify-center","gap-1","lg:gap-2","select-none",e)},n.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-100","text-sm leading-5","block")},r.activeVersion.label),n.createElement(xe.A,{className:"text-gray-400 w-4 h-4"})),n.createElement(X.u,{show:t,className:"relative z-10",enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(je,{className:(0,a.Z)("absolute right-[11px] top-1 origin-bottom-right","text-gray-700 dark:text-white")}),n.createElement(Oe.v.Items,{static:!0,className:(0,a.Z)("absolute right-0 top-2 origin-bottom-right","flex flex-col gap-2","w-[112px]","p-2","bg-gray-700 dark:bg-white","rounded-lg")},l.map((e=>n.createElement(Oe.v.Item,{key:e.label},(()=>{const t=e.label===r.activeVersion.label;return n.createElement(x.Z,{to:e.to,className:(0,a.Z)("px-2 py-1","rounded-[4px]","no-underline",{"text-white hover:text-white":t,"bg-refine-blue":t,"text-gray-300 dark:text-gray-700":!t,"hover:bg-gray-600 hover:dark:bg-gray-100 hover:text-gray-300 dark:hover:text-gray-700":!t})},e.label)}))))))))))},Pe=({isOpen:e,onClose:t})=>{const{items:r}=(({variant:e,onLinkClick:t,deferred:r})=>{var n;const a=(0,u.V)(),{pathname:l}=(0,w.TH)();return{items:be({items:null===(n=a)||void 0===n?void 0:n.items,path:l,root:!0,variant:e,onLinkClick:t,deferred:r})}})({variant:"mobile",onLinkClick:t,deferred:!0});return n.createElement(X.u,{appear:!0,show:e,as:n.Fragment},n.createElement(ee.V,{as:"div",className:"relative z-mobileNavbar",onClose:t},n.createElement(X.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-0 dark:bg-gray-800"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(X.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(ee.V.Panel,{className:(0,a.Z)("w-full h-[100dvh]","flex flex-col","px-2")},n.createElement("div",{className:(0,a.Z)("py-4","px-2","w-full h-16","flex items-center justify-between")},n.createElement(ve,null),n.createElement("div",{className:(0,a.Z)("flex items-center gap-4")},n.createElement(Y,{onClick:t,active:!0}))),n.createElement("div",{className:(0,a.Z)("relative","w-full max-w-[480px]","flex","flex-col","flex-1","mx-auto","rounded-lg","border border-gray-300 dark:border-gray-600")},n.createElement("div",{className:(0,a.Z)("h-12","rounded-tl-lg rounded-tr-lg","bg-gray-100 dark:bg-gray-700","border-b border-gray-300 dark:border-gray-600","flex items-center gap-2","px-4 py-2","justify-end")},n.createElement(Ze,null)),n.createElement("div",{className:(0,a.Z)("flex-1","overflow-hidden","relative")},n.createElement("div",{className:(0,a.Z)("inset-0","overflow-scroll","h-full","px-8","absolute","flex flex-col gap-6","py-6")},r))),n.createElement("div",{className:(0,a.Z)("flex","flex-col","gap-0")},n.createElement("div",{className:(0,a.Z)("flex items-center justify-start","gap-10","px-2","py-4")},n.createElement("span",{className:(0,a.Z)("text-sm","text-gray-800","dark:text-gray-100")},"Appearance"),n.createElement(J.L,null)),n.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-300 dark:border-t-gray-700","px-4","py-2","flex","items-center","justify-between")},n.createElement(te,null),n.createElement(Q,null)))))))))};var Ne=r(2496);function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e){for(var t=1;tn.createElement("div",{className:(0,a.Z)("w-full","hidden lg:flex items-center","mx-auto")},n.createElement(ve,{className:(0,a.Z)("lg:min-w-[256px]")}),n.createElement("div",{className:(0,a.Z)("flex-1","flex","justify-end","items-center","gap-4")},n.createElement("div",{className:(0,a.Z)("hidden lg:flex items-center justify-start")},n.createElement(_,null)),n.createElement("div",{className:(0,a.Z)("lg:hidden flex")},n.createElement(_,{CustomButton:n.forwardRef((function(e,t){return n.createElement(A,De(Se({ref:t},e),{iconOnly:!0}))}))})),n.createElement(Ze,null),n.createElement(Q,null),n.createElement(J.m,{className:(0,a.Z)("scale-75","sm:scale-100")}))),Le=()=>{const[e,t]=(0,n.useState)(!1);return n.createElement("div",{className:(0,a.Z)("w-full","flex lg:hidden items-center justify-between")},n.createElement(ve,null),n.createElement("div",{className:(0,a.Z)("flex items-center gap-4")},n.createElement(_,{CustomButton:n.forwardRef((function(e,t){return n.createElement(A,De(Se({ref:t},e),{iconOnly:!0}))}))}),n.createElement(Y,{onClick:()=>t(!0),active:e})),n.createElement(Pe,{isOpen:e,onClose:()=>t(!1)}))},Be=()=>n.createElement(n.Fragment,null,n.createElement(Ne.T,null),n.createElement("div",{className:(0,a.Z)("flex items-center","h-16","z-10","sticky","top-0","py-4 sm:py-3 px-4 sm:px-6","bg-gray-0 dark:bg-gray-800","border-b border-gray-300 dark:border-gray-700")},n.createElement(Ae,null),n.createElement(Le,null))),Re=({children:e})=>n.createElement(n.Fragment,null,n.createElement(Be,null),n.createElement("div",{className:(0,a.Z)("flex items-start justify-start","w-full flex-1","mx-auto")},n.createElement(ye,null),e),n.createElement(y,null));function Fe({children:e}){return n.createElement(m.Z,null,n.createElement(Re,null,e))}var Ve=r(889),Ie=r(6894),Te=r(1774);function He(e){const{versionMetadata:t}=e;return n.createElement(n.Fragment,null,n.createElement(Ie.Z,{version:t.version,tag:(0,c.os)(t.pluginId,t.version)}),n.createElement(l.d,null,t.noIndex&&n.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function $e(e){const{versionMetadata:t}=e,r=(0,i.hI)(e),{tutorial:{path_prefix:c}}=(0,Te.S)();if(!r)return n.createElement(Ve.default,null);const m=Object.keys(t.docsSidebars)[0],f=t.docsSidebars[m],{docElement:p,sidebarName:d,sidebarItems:g}=(e.location.pathname.startsWith(c),r);return n.createElement(n.Fragment,null,n.createElement(He,e),n.createElement(l.FG,{className:(0,a.Z)(o.k.wrapper.docsPages,o.k.page.docsDocPage,e.versionMetadata.className)},n.createElement(s.q,{version:t},n.createElement(u.b,{name:null!=d?d:m,items:null!=g?g:f},n.createElement(Fe,null,p)))))}},3799:(e,t,r)=>{r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.9b32cb89.js b/assets/js/1df93b7f.9b32cb89.js new file mode 100644 index 00000000..b72f53c3 --- /dev/null +++ b/assets/js/1df93b7f.9b32cb89.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3237],{8552:(e,t,r)=>{r.r(t),r.d(t,{default:()=>A});var n=r(1098),l=r(6010),a=r(7294),o=r(7915),c=r(859),i=r(3812),s=r(9658),m=r(1984);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement(m.Z,{href:"/docs",className:(0,l.Z)("relative","text-gray-0","hover:no-underline","hover:text-gray-0","z-[1]","group")},a.createElement("div",{className:(0,l.Z)("absolute","-left-[1.5px]","-top-[1.5px]","overflow-hidden","rounded-lg","w-[calc(100%+2.5px)] h-[calc(100%+2.5px)]","z-[-1]")},a.createElement("div",{className:(0,l.Z)("absolute","w-[125%] aspect-square h-auto","left-[-12.5%]","top-[-100px]","bg-landing-ghost","animate-spin-slow","animation-slow-speed")})),a.createElement("div",{className:(0,l.Z)("bg-refine-bg","rounded-lg","px-10 py-3")},a.createElement("div",{className:(0,l.Z)("gap-2","flex items-center justify-center","group-hover:scale-105","duration-100 ease-in-out transition-transform")},a.createElement(d,null),a.createElement("span",{className:"text-base font-semibold"},"Get started")))),g=()=>a.createElement("div",{className:(0,l.Z)("pt-10","landing-sm:pt-4","landing-lg:pt-6","flex flex-col","justify-center","gap-10","landing-md:gap-16","landing-lg:gap-8","mt-4")},a.createElement("div",null,a.createElement("h1",{className:(0,l.Z)("flex items-center justify-center","flex-col","gap-2","text-[24px] leading-[32px]","landing-md:gap-0","landing-md:text-[32px] landing-md:leading-[40px]","landing-lg:gap-2","landing-lg:text-[40px] landing-lg:leading-[48px]")},a.createElement("span",{className:(0,l.Z)("text-center","block bg-landing-text-bg bg-clip-text text-transparent","font-semibold")},a.createElement("span",{className:(0,l.Z)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.3)]","text-refine-blue drop-shadow-[0_0_30px_rgba(0,128,255,0.3)]")},"Computer Science"," ",a.createElement("br",{className:"inline landing-md:hidden"})),a.createElement("span",{className:(0,l.Z)("font-semibold","dark:text-transparent bg-clip-text bg-gradient-to-r text-gradient-to-r from-[#FF9933] to-[#FF4C4D]","text-refine-purple drop-shadow-[0_0_30px_rgba(128,0,255,0.3)]")},"Preparations")),a.createElement("span",{className:(0,l.Z)("text-base sm:text-xl xl:text-2xl","max-w-[328px] sm:max-w-[480px] xl:max-w-max","text-center","block bg-landing-text-bg bg-clip-text text-transparent","font-light")}))),a.createElement("div",{className:(0,l.Z)("flex items-center justify-center","flex-col landing-sm:flex-row","gap-6","landing-sm:gap-8","landing-lg:gap-10")},a.createElement(p,null),a.createElement(s.z,{href:"/about"}))),f=()=>a.createElement("div",{className:"relative pointer-events-none"},a.createElement("div",{className:(0,l.Z)("w-full","h-[200px]","landing-lg:h-[150px]","absolute","-bottom-[125px]","landing-lg:-bottom-[120px]","bg-landing-linear-spectrum","bg-center","bg-no-repeat","bg-[length:1920px]","blur-[75px]","landing-lg:blur-[125px]","opacity-50","landing-sm:opacity-25","landing-lg:opacity-25"),style:{transform:"translateZ(0)"}}),a.createElement("div",{className:(0,l.Z)("mt-16","landing-md:mt-20","mb-6","landing-sm:mb-10","landing-md:mb-16","block landing-lg:hidden","mx-auto","max-w-[300px]","landing-sm:max-w-[208px]","landing-md:max-w-[592px]","max-h-[100px]","aspect-[592/100]","w-full h-full","z-[1]","relative","animation-parent")}),a.createElement("div",{className:(0,l.Z)("hidden landing-lg:block","z-[1]","-mt-16","max-w-[948px]","max-h-[248px]","w-full h-full","mx-auto","bg-contain bg-no-repeat bg-center","relative","animation-parent")},a.createElement("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,controls:!1,className:"w-full h-full mt-auto opacity-[0.99]"})));var b=r(4827),h=r(1899),y=r(4960),x=r(2064);function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const o=(0,b.H)(n,[e-1,e,e+1],[0,1,0]);return a.createElement(h.E.div,{key:e,className:(0,l.Z)("text-center text-transparent","bg-landing-sliding-highlight-bg bg-clip-text","font-bold","absolute left-0","h-full w-full","flex items-center justify-center gap-3"),style:{top:100*e+"%",opacity:o}},a.createElement(r,{className:"w-4 h-4 md:w-6 md:h-6"}),a.createElement("span",null,t))},N=()=>{const e=(0,y.c)(0),t=(0,b.H)(e,[0,j.length-1],["0%",100*-(j.length-1)+"%"]);return a.useEffect((()=>{const t=setInterval((async()=>{const t=e.get()+1,r=t>j.length-1?0:t,n=r===j.length-1;await(0,x.j)(e,r,{duration:.3,type:"spring",bounce:.5,stiffness:100,onComplete:()=>{n&&(e.stop(),e.set(0))}})}),4200);return()=>{clearInterval(t)}}),[e]),a.createElement("div",{className:(0,l.Z)("h-8 md:h-12 overflow-hidden w-full max-w-[300px]","animation-parent")},a.createElement(h.E.div,{style:{translateY:t},className:(0,l.Z)("h-8 md:h-12 w-full relative")},j.map((({title:t,icon:r},n)=>a.createElement(Z,{key:n,index:n,title:t,Icon:r,y:e})))))},P=()=>a.createElement("div",{className:"relative min-h-[288px] animation-parent"},a.createElement("div",{className:(0,l.Z)("hidden landing-lg:block","w-full","h-[288px]","-mt-[14px]","bg-refine-bg dark:bg-landing-stars","landing-mask-image-bg")}),a.createElement("div",{className:(0,l.Z)("block landing-lg:hidden","w-full","h-[288px]","-mt-[14px]","bg-refine-bg dark:bg-landing-stars","landing-image-bottom-mobile-bg","bg-[length:620px_350px]","landing-sm:bg-[length:720px_316px]","landing-md:bg-[length:1080px_474px]","bg-top")}),a.createElement("div",{className:(0,l.Z)("hidden landing-lg:block","absolute","left-0","bg-landing-video-bottom-line","bg-[length:1920px_327px]","bg-top","top-[-7px]","w-full","h-[288px]","-mt-[14px]")}),a.createElement("div",{className:(0,l.Z)("hidden landing-lg:block","absolute","left-0","bg-landing-video-bottom-line-glow","bg-[length:1920px_327px]","bg-top","top-[-7px]","w-full","h-[288px]","-mt-[14px]","animate-beat","will-change-[opacity]")}),a.createElement("div",{className:(0,l.Z)("z-[1]","block","w-full","-mt-[290px]","landing-sm:-mt-[304px]","landing-lg:-mt-[288px]","relative")},a.createElement("div",{className:(0,l.Z)("flex items-center justify-center","flex-col","text-gray-0 text-2xl pt-9")},a.createElement("div",{className:(0,l.Z)("text-base","landing-md:text-2xl","font-normal","bg-landing-text-bg bg-clip-text","text-transparent","mb-2","landing-md:mb-0")},"Resources for Computer Science Preparations"),a.createElement("div",{className:"relative w-[300px]"},a.createElement(N,null))))),S=()=>a.createElement(a.Fragment,null,a.createElement(g,null),a.createElement(f,null),a.createElement(P,null));var M=r(7990),L=r(506),F=r(9526);const D=()=>{const{colorMode:e}=(0,F.I)();return a.createElement("div",null,a.createElement("div",{className:(0,l.Z)("max-w-[344px] sm:max-w-[620px] lg:max-w-[944px] mx-auto","text-start lg:text-center","text-[32px] leading-[40px] font-bold","text-gray-700 dark:text-gray-300")},"My Social Network Profiles"),a.createElement("div",{className:(0,l.Z)("no-prose","flex flex-wrap gap-4 justify-center items-center","mt-6 lg:mt-10")},a.createElement("a",{target:"_blank",href:"https://github.com/AkashSingh3031",className:(0,l.Z)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","border border-gray-200 dark:border-gray-700","rounded-xl p-4","no-underline hover:no-underline"),rel:"noreferrer"},a.createElement("div",null,a.createElement(M.E,{className:"text-2xl text-gray-900 dark:text-gray-0",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Visit our"),a.createElement("div",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"GitHub Profile"))),a.createElement("a",{target:"_blank",href:"https://www.linkedin.com/in/akashsingh3031/",rel:"noreferrer",className:(0,l.Z)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null,a.createElement(L.nI,{className:"text-2xl",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("div",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"LinkedIn"))),a.createElement("a",{target:"_blank",href:"https://www.instagram.com/akash.singh3031",rel:"noreferrer",className:(0,l.Z)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("div",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"Instagram"))),a.createElement("a",{target:"_blank",href:"https://twitter.com/akashsingh3031",rel:"noreferrer",className:(0,l.Z)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null,a.createElement(L.Zm,{className:"text-2xl",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("div",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"Twitter")))))},A=function(){const e="PrepVerse";return a.createElement(a.Fragment,null,a.createElement(n.Z,null,a.createElement("html",{"data-active-page":"index"}),a.createElement("title",null,e),a.createElement("meta",{property:"og:title",content:e}),a.createElement("link",{rel:"preload",href:"https://prepverse.github.io",as:"document"})),a.createElement(o.j,{description:""},a.createElement("div",{className:(0,l.Z)()},a.createElement(c.f,null),a.createElement("div",{className:(0,l.Z)("top-section","mb-12 -mt-[100px] md:-mt-[110px] lg:-mt-[90px] xl:-mt-[110px]","pt-[100px] lg:pt-[90px] xl:-pt-[110px]","landing-mask-image-hero-wide")},a.createElement(S,null)),a.createElement(D,null),a.createElement("div",{className:"h-[96px] landing-lg:h-[160px]"}),a.createElement(i.U,null))))}},3812:(e,t,r)=>{r.d(t,{U:()=>f});var n=r(9526),l=r(6010),a=r(7294),o=r(3799),c=r(7092),i=r(961),s=r(3380),m=r(506);const u=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",icon:a.createElement(m.nm,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:a.createElement(m.nm,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],d=[{icon:c.I,href:"https://github.com/AkashSingh3031"},{icon:s.p,href:"https://twitter.com/akashsingh3031"},{icon:i._,href:"https://www.linkedin.com/in/akashsingh3031"}];var p=r(6204),g=r(4813);const f=()=>{const{colorMode:e}=(0,n.I)();return a.createElement(a.Fragment,null,a.createElement("div",{className:(0,l.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},a.createElement("div",{className:(0,l.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},a.createElement("div",{className:(0,l.Z)("flex items-center justify-between")},a.createElement(g.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),a.createElement("div",{className:(0,l.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},a.createElement("div",{className:(0,l.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},"Thank you for visiting, Connect with me over socials."),a.createElement("div",{className:(0,l.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},u.map((e=>a.createElement("div",{className:(0,l.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},a.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),a.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>a.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,l.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),a.createElement("div",{className:(0,l.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},a.createElement("div",{className:(0,l.Z)("flex flex-col gap-4")},a.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),a.createElement("div",{className:(0,l.Z)("text-base","text-gray-700 dark:text-gray-400")},a.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,l.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),a.createElement("div",{className:(0,l.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},a.createElement("div",{className:(0,l.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},a.createElement("div",{className:(0,l.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",a.createElement(p.y,{className:"text-refine-red ml-2 inline leading-6"})," ",a.createElement("br",null),"Built with Docusaurus & refine."),a.createElement("div",{className:(0,l.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},a.createElement("span",{className:(0,l.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),a.createElement("div",{className:(0,l.Z)("flex","flex-row","items-center","gap-4","justify-between")},d.map((({href:e,icon:t})=>a.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,l.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},a.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{r.d(t,{f:()=>W});var n=r(1984),l=r(6010),a=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,l.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},h=({item:e,isPermanentDark:t})=>{const[r,a]=(0,i.useState)(null);(0,i.useEffect)((()=>(a(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{a(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?g.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,l.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var y=r(6775),x=r(2280),v=r(4080),w=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),a=i.useRef(null),o=i.useRef(null),c=(0,y.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(x.J,{id:`popover-${e.label}`,key:e.label,className:(0,l.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(a.current)},onMouseLeave:()=>{a.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(x.J.Button,{className:(0,l.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(w.v,{"aria-hidden":"true",className:(0,l.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(v.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(x.J.Panel,{className:(0,l.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(g.t2,{className:(0,l.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,f.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(g.Bh,null),i.createElement("div",{className:(0,l.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,l.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,l.Z)("no-underline","hover:text-inherit")},i.createElement(g.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(g.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(g.Zm,null)))))):i.createElement(h,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var C=r(2560),k=r(8368),j=r(9526),Z=r(4837);function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.Z,u=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,y.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(V,{isModalOpen:e,setIsModalOpen:t},i.createElement(H,{className:(0,l.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(B,{className:(0,l.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},V=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(v.u,{appear:!0,show:e,as:i.Fragment},i.createElement(C.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(v.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(L.T,null),i.createElement("div",{className:(0,l.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),i.createElement("button",{type:"button",className:(0,l.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(Z.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(v.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),H=e=>i.createElement("div",{className:(0,l.Z)(e.className)},f.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,l.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(I,null),i.createElement(_,{id:"tablet"}),i.createElement(R,{id:"tablet"})),B=e=>i.createElement("div",{className:(0,l.Z)(e.className)},i.createElement("div",{className:"flex-grow"},f.map((e=>e.isPopover?i.createElement(k.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(M,{component:k.p.Button,label:e.label,open:t}),i.createElement(k.p.Panel,{className:(0,l.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(M,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(I,null),i.createElement(_,{id:"phone"}),i.createElement(R,{id:"phone"})),R=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(g.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},_=e=>i.createElement("div",{className:(0,l.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(g.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(g.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(g.Zm,{className:"h-10 w-10"})))),I=()=>{const{colorMode:e,setColorMode:t}=(0,j.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(D.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(F.c,null),"Dark"))};var U=r(41),G=r(4695),T=r(7990),z=r(2045);const $=()=>{const{loading:e,githubStarCountText:t}=(0,G.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(T.E,{className:(0,l.Z)("w-5 h-5")}),i.createElement("div",{className:(0,l.Z)("flex items-center","w-10 h-6")},e?i.createElement(z.$,{className:(0,l.Z)("w-5 h-5"),wrapperProps:{className:(0,l.Z)("mx-auto")}}):i.createElement("span",null,t)))},W=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,a.v)(),p=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(L.T,null),i.createElement("header",{className:(0,l.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:u.Q},i.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,l.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,l.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement($,null),i.createElement(U.m,null)),i.createElement(A,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,l.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,l.Z)("h-full","bg-refine-blue"),style:{width:p}}))))}},41:(e,t,r)=>{r.d(t,{L:()=>m,m:()=>i});var n=r(7294),l=r(6010),a=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.I)();return n.createElement("button",{type:"button",className:(0,l.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,l.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.I)();return n.createElement("div",{className:(0,l.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,l.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,l.Z)("w-4 h-4")}),n.createElement("span",{className:(0,l.Z)("text-sm")},a)))))}},1412:(e,t,r)=>{r.d(t,{v:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{I:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{_:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{p:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{r.d(t,{U:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{x:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{O2:()=>V,v4:()=>k,XC:()=>O,Kj:()=>u,TA:()=>a,ET:()=>h,Bh:()=>f,wI:()=>c,nI:()=>x,dd:()=>p,nm:()=>R,t2:()=>F,ty:()=>s,Zm:()=>w,wW:()=>Z});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",L(function(e){for(var t=1;tn.createElement("svg",A(function(e){for(var t=1;t{const{colorMode:t}=(0,H.I)();return n.createElement("div",{className:(0,S.Z)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,S.Z)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{z:()=>s});var n=r(7294),l=r(6010),a=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const s=e=>{var{children:t,href:r,className:s,onClick:m,buttonClassname:u}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.Z:"button";return n.createElement(p,c(function(e){for(var t=1;t{r.d(t,{$:()=>i});var n=r(6010),l=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=c(e,["className","wrapperProps"]);return l.createElement("div",o({role:"status"},r),l.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(6010),l=r(7294),a=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),l.createElement(m,null)),m=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",l.createElement("b",null,"GitHub")," "),"and",l.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",l.createElement("b",null,"LinkedIn")," "),". ",l.createElement("br",null)," ",l.createElement(a.y,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",l.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>l.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>l.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},3799:(e,t,r)=>{r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.c1062eab.js b/assets/js/1df93b7f.c1062eab.js deleted file mode 100644 index 7f997999..00000000 --- a/assets/js/1df93b7f.c1062eab.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3237],{8552:(e,t,r)=>{r.r(t),r.d(t,{default:()=>A});var n=r(1098),l=r(6010),a=r(7294),o=r(7915),i=r(859),c=r(1117),s=r(9658),m=r(1984);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement(m.Z,{href:"/docs",className:(0,l.Z)("relative","text-gray-0","hover:no-underline","hover:text-gray-0","z-[1]","group")},a.createElement("div",{className:(0,l.Z)("absolute","-left-[1.5px]","-top-[1.5px]","overflow-hidden","rounded-lg","w-[calc(100%+2.5px)] h-[calc(100%+2.5px)]","z-[-1]")},a.createElement("div",{className:(0,l.Z)("absolute","w-[125%] aspect-square h-auto","left-[-12.5%]","top-[-100px]","bg-landing-ghost","animate-spin-slow","animation-slow-speed")})),a.createElement("div",{className:(0,l.Z)("bg-refine-bg","rounded-lg","px-10 py-3")},a.createElement("div",{className:(0,l.Z)("gap-2","flex items-center justify-center","group-hover:scale-105","duration-100 ease-in-out transition-transform")},a.createElement(d,null),a.createElement("span",{className:"text-base font-semibold"},"Get started")))),g=()=>a.createElement("div",{className:(0,l.Z)("pt-10","landing-sm:pt-4","landing-lg:pt-6","flex flex-col","justify-center","gap-10","landing-md:gap-16","landing-lg:gap-8","mt-4")},a.createElement("div",null,a.createElement("h1",{className:(0,l.Z)("flex items-center justify-center","flex-col","gap-2","text-[24px] leading-[32px]","landing-md:gap-0","landing-md:text-[32px] landing-md:leading-[40px]","landing-lg:gap-2","landing-lg:text-[40px] landing-lg:leading-[48px]")},a.createElement("span",{className:(0,l.Z)("text-center","block bg-landing-text-bg bg-clip-text text-transparent","font-semibold")},a.createElement("span",{className:(0,l.Z)("font-semibold","dark:text-refine-green-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.3)]","text-refine-blue drop-shadow-[0_0_30px_rgba(0,128,255,0.3)]")},"Computer Science"," ",a.createElement("br",{className:"inline landing-md:hidden"})),a.createElement("span",{className:(0,l.Z)("font-semibold","dark:text-transparent bg-clip-text bg-gradient-to-r text-gradient-to-r from-[#FF9933] to-[#FF4C4D]","text-refine-purple drop-shadow-[0_0_30px_rgba(128,0,255,0.3)]")},"Preparations")),a.createElement("span",{className:(0,l.Z)("text-base sm:text-xl xl:text-2xl","max-w-[328px] sm:max-w-[480px] xl:max-w-max","text-center","block bg-landing-text-bg bg-clip-text text-transparent","font-light")}))),a.createElement("div",{className:(0,l.Z)("flex items-center justify-center","flex-col landing-sm:flex-row","gap-6","landing-sm:gap-8","landing-lg:gap-10")},a.createElement(p,null),a.createElement(s.z,{href:"/about"}))),f=()=>a.createElement("div",{className:"relative pointer-events-none"},a.createElement("div",{className:(0,l.Z)("w-full","h-[200px]","landing-lg:h-[150px]","absolute","-bottom-[125px]","landing-lg:-bottom-[120px]","bg-landing-linear-spectrum","bg-center","bg-no-repeat","bg-[length:1920px]","blur-[75px]","landing-lg:blur-[125px]","opacity-50","landing-sm:opacity-25","landing-lg:opacity-25"),style:{transform:"translateZ(0)"}}),a.createElement("div",{className:(0,l.Z)("mt-16","landing-md:mt-20","mb-6","landing-sm:mb-10","landing-md:mb-16","block landing-lg:hidden","mx-auto","max-w-[300px]","landing-sm:max-w-[208px]","landing-md:max-w-[592px]","max-h-[100px]","aspect-[592/100]","w-full h-full","z-[1]","relative","animation-parent")}),a.createElement("div",{className:(0,l.Z)("hidden landing-lg:block","z-[1]","-mt-16","max-w-[948px]","max-h-[248px]","w-full h-full","mx-auto","bg-contain bg-no-repeat bg-center","relative","animation-parent")},a.createElement("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,controls:!1,className:"w-full h-full mt-auto opacity-[0.99]"})));var b=r(4827),h=r(1899),y=r(4960),x=r(2064);function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;t{const o=(0,b.H)(n,[e-1,e,e+1],[0,1,0]);return a.createElement(h.E.div,{key:e,className:(0,l.Z)("text-center text-transparent","bg-landing-sliding-highlight-bg bg-clip-text","font-bold","absolute left-0","h-full w-full","flex items-center justify-center gap-3"),style:{top:100*e+"%",opacity:o}},a.createElement(r,{className:"w-4 h-4 md:w-6 md:h-6"}),a.createElement("span",null,t))},N=()=>{const e=(0,y.c)(0),t=(0,b.H)(e,[0,j.length-1],["0%",100*-(j.length-1)+"%"]);return a.useEffect((()=>{const t=setInterval((async()=>{const t=e.get()+1,r=t>j.length-1?0:t,n=r===j.length-1;await(0,x.j)(e,r,{duration:.3,type:"spring",bounce:.5,stiffness:100,onComplete:()=>{n&&(e.stop(),e.set(0))}})}),4200);return()=>{clearInterval(t)}}),[e]),a.createElement("div",{className:(0,l.Z)("h-8 md:h-12 overflow-hidden w-full max-w-[300px]","animation-parent")},a.createElement(h.E.div,{style:{translateY:t},className:(0,l.Z)("h-8 md:h-12 w-full relative")},j.map((({title:t,icon:r},n)=>a.createElement(Z,{key:n,index:n,title:t,Icon:r,y:e})))))},P=()=>a.createElement("div",{className:"relative min-h-[288px] animation-parent"},a.createElement("div",{className:(0,l.Z)("hidden landing-lg:block","w-full","h-[288px]","-mt-[14px]","bg-refine-bg dark:bg-landing-stars","landing-mask-image-bg")}),a.createElement("div",{className:(0,l.Z)("block landing-lg:hidden","w-full","h-[288px]","-mt-[14px]","bg-refine-bg dark:bg-landing-stars","landing-image-bottom-mobile-bg","bg-[length:620px_350px]","landing-sm:bg-[length:720px_316px]","landing-md:bg-[length:1080px_474px]","bg-top")}),a.createElement("div",{className:(0,l.Z)("hidden landing-lg:block","absolute","left-0","bg-landing-video-bottom-line","bg-[length:1920px_327px]","bg-top","top-[-7px]","w-full","h-[288px]","-mt-[14px]")}),a.createElement("div",{className:(0,l.Z)("hidden landing-lg:block","absolute","left-0","bg-landing-video-bottom-line-glow","bg-[length:1920px_327px]","bg-top","top-[-7px]","w-full","h-[288px]","-mt-[14px]","animate-beat","will-change-[opacity]")}),a.createElement("div",{className:(0,l.Z)("z-[1]","block","w-full","-mt-[290px]","landing-sm:-mt-[304px]","landing-lg:-mt-[288px]","relative")},a.createElement("div",{className:(0,l.Z)("flex items-center justify-center","flex-col","text-gray-0 text-2xl pt-9")},a.createElement("div",{className:(0,l.Z)("text-base","landing-md:text-2xl","font-normal","bg-landing-text-bg bg-clip-text","text-transparent","mb-2","landing-md:mb-0")},"Resources for Computer Science Preparations"),a.createElement("div",{className:"relative w-[300px]"},a.createElement(N,null))))),S=()=>a.createElement(a.Fragment,null,a.createElement(g,null),a.createElement(f,null),a.createElement(P,null));var M=r(7990),L=r(506),F=r(9526);const D=()=>{const{colorMode:e}=(0,F.I)();return a.createElement("div",null,a.createElement("div",{className:(0,l.Z)("max-w-[344px] sm:max-w-[620px] lg:max-w-[944px] mx-auto","text-start lg:text-center","text-[32px] leading-[40px] font-bold","text-gray-700 dark:text-gray-300")},"My Social Network Profiles"),a.createElement("div",{className:(0,l.Z)("no-prose","flex flex-wrap gap-4 justify-center items-center","mt-6 lg:mt-10")},a.createElement("a",{target:"_blank",href:"https://github.com/AkashSingh3031",className:(0,l.Z)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","border border-gray-200 dark:border-gray-700","rounded-xl p-4","no-underline hover:no-underline"),rel:"noreferrer"},a.createElement("div",null,a.createElement(M.E,{className:"text-2xl text-gray-900 dark:text-gray-0",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Visit our"),a.createElement("div",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"GitHub Profile"))),a.createElement("a",{target:"_blank",href:"https://www.linkedin.com/in/akashsingh3031/",rel:"noreferrer",className:(0,l.Z)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null,a.createElement(L.nI,{className:"text-2xl",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("div",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"LinkedIn"))),a.createElement("a",{target:"_blank",href:"https://www.instagram.com/akash.singh3031",rel:"noreferrer",className:(0,l.Z)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("div",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"Instagram"))),a.createElement("a",{target:"_blank",href:"https://twitter.com/akashsingh3031",rel:"noreferrer",className:(0,l.Z)("flex h-max flex-row justify-start gap-3","dark:bg-gray-900","border border-gray-200 dark:border-gray-700","p-4 rounded-xl","no-underline hover:no-underline")},a.createElement("div",null,a.createElement(L.Zm,{className:"text-2xl",width:"24px",height:"24px"})),a.createElement("div",{className:"text-xs md:text-base"},a.createElement("div",{className:"mb-0 text-gray-500 dark:text-gray-400"},"Follow me on"),a.createElement("div",{className:"font-semibold text-gray-900 dark:text-gray-0 no-underline hover:no-underline"},"Twitter")))))},A=function(){const e="PrepVerse";return a.createElement(a.Fragment,null,a.createElement(n.Z,null,a.createElement("html",{"data-active-page":"index"}),a.createElement("title",null,e),a.createElement("meta",{property:"og:title",content:e}),a.createElement("link",{rel:"preload",href:"https://prepverse.github.io",as:"document"})),a.createElement(o.j,{description:""},a.createElement("div",{className:(0,l.Z)()},a.createElement(i.f,null),a.createElement("div",{className:(0,l.Z)("top-section","mb-12 -mt-[100px] md:-mt-[110px] lg:-mt-[90px] xl:-mt-[110px]","pt-[100px] lg:pt-[90px] xl:-pt-[110px]","landing-mask-image-hero-wide")},a.createElement(S,null)),a.createElement(D,null),a.createElement("div",{className:"h-[96px] landing-lg:h-[160px]"}),a.createElement(c.U,null))))}},1117:(e,t,r)=>{r.d(t,{U:()=>m});var n=r(9526),l=r(6010),a=r(7294),o=r(3799),i=r(8166),c=r(6204),s=r(4813);const m=()=>{const{colorMode:e}=(0,n.I)();return a.createElement(a.Fragment,null,a.createElement("div",{className:(0,l.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},a.createElement("div",{className:(0,l.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},a.createElement("div",{className:(0,l.Z)("flex items-center justify-between")},a.createElement(s.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),a.createElement("div",{className:(0,l.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},a.createElement("div",{className:(0,l.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},i.i),a.createElement("div",{className:(0,l.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},i.pO.map((e=>a.createElement("div",{className:(0,l.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},a.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),a.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>a.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,l.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),a.createElement("div",{className:(0,l.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},a.createElement("div",{className:(0,l.Z)("flex flex-col gap-4")},a.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),a.createElement("div",{className:(0,l.Z)("text-base","text-gray-700 dark:text-gray-400")},a.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,l.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),a.createElement("div",{className:(0,l.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},a.createElement("div",{className:(0,l.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},a.createElement("div",{className:(0,l.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",a.createElement(c.y,{className:"text-refine-red ml-2 inline leading-6"})," ",a.createElement("br",null),"Built with Docusaurus & refine."),a.createElement("div",{className:(0,l.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},a.createElement("span",{className:(0,l.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),a.createElement("div",{className:(0,l.Z)("flex","flex-row","items-center","gap-4","justify-between")},i.KT.map((({href:e,icon:t})=>a.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,l.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},a.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{r.d(t,{f:()=>W});var n=r(1984),l=r(6010),a=r(1768),o=r(4827),i=r(1899),c=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>c.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return c.createElement(n.Z,{to:e.link,className:"no-underline"},c.createElement("div",{className:(0,l.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},c.createElement("div",{className:"shrink-0"},c.createElement(r,null)),c.createElement("div",{className:"ml-2"},c.createElement("div",{className:(0,l.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),c.createElement("div",{className:(0,l.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},h=({item:e,isPermanentDark:t})=>{const[r,a]=(0,c.useState)(null);(0,c.useEffect)((()=>(a(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{a(localStorage.getItem("theme")||null)};let i=e.icon;return"Cloud"===e.label&&(i="light"===r?g.wW:e.icon),c.createElement(n.Z,{key:e.label,to:e.href,className:(0,l.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&c.createElement(i,null),e.label)};var y=r(6775),x=r(2280),v=r(4080),w=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,c.useState)(!1),a=c.useRef(null),o=c.useRef(null),i=(0,y.TH)();return c.useEffect((()=>{n(!1)}),[i]),c.createElement(x.J,{id:`popover-${e.label}`,key:e.label,className:(0,l.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(a.current)},onMouseLeave:()=>{a.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>c.createElement(c.Fragment,null,c.createElement(x.J.Button,{className:(0,l.Z)("inline-flex items-center","text-sm leading-6","font-normal")},c.createElement("span",{className:(0,l.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),c.createElement(w.v,{"aria-hidden":"true",className:(0,l.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),c.createElement(v.u,{as:c.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},c.createElement(x.J.Panel,{className:(0,l.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},c.createElement(g.t2,{className:(0,l.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),c.createElement("div",{className:(0,l.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>c.createElement(c.Fragment,null,f.map((t=>t.isPopover?c.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&c.createElement(c.Fragment,null,c.createElement("div",{className:(0,l.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>c.createElement(b,{key:e.label,item:e})))),c.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},c.createElement("div",{className:(0,l.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},c.createElement(g.Bh,null),c.createElement("div",{className:(0,l.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&c.createElement(c.Fragment,null,c.createElement("div",{className:(0,l.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>c.createElement(b,{key:e.label,item:e})))),c.createElement("div",{className:(0,l.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},c.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),c.createElement("div",{className:"flex gap-4"},c.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,l.Z)("no-underline","hover:text-inherit")},c.createElement(g.ET,{className:"dark:text-gray-400 text-gray-500"})),c.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},c.createElement(g.nI,null)),c.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},c.createElement(g.Zm,null)))))):c.createElement(h,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var C=r(2560),k=r(8368),j=r(9526),Z=r(4837);function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>c.createElement("svg",function(e){for(var t=1;t{const[i,s]=(0,c.useState)(null),m=null!=r?r:n.Z,u=void 0!==a&&void 0===t;return(0,c.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),c.createElement(m,function(e){for(var t=1;t{const r=(0,y.TH)();return c.useEffect((()=>{t(!1)}),[r]),c.createElement(V,{isModalOpen:e,setIsModalOpen:t},c.createElement(H,{className:(0,l.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),c.createElement(B,{className:(0,l.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},V=({isModalOpen:e,setIsModalOpen:t,children:r})=>c.createElement(v.u,{appear:!0,show:e,as:c.Fragment},c.createElement(C.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},c.createElement(v.u.Child,{as:c.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},c.createElement("div",{className:(0,l.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},c.createElement(L.T,null),c.createElement("div",{className:(0,l.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},c.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),c.createElement("button",{type:"button",className:(0,l.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},c.createElement(Z.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),c.createElement(v.u.Child,{as:c.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},c.createElement("div",{className:(0,l.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),H=e=>c.createElement("div",{className:(0,l.Z)(e.className)},f.map(((e,t)=>{const r="icon"in e&&e.icon;return c.createElement("div",{key:t,className:(0,l.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},c.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,l.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},c.createElement("div",{className:(0,l.Z)("flex items-center gap-2")},c.createElement("div",null,e.label),r&&c.createElement(r,null))),"items"in e&&c.createElement("div",{className:(0,l.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>c.createElement(b,{key:e.label,item:e})))))})),c.createElement(U,null),c.createElement(_,{id:"tablet"}),c.createElement(R,{id:"tablet"})),B=e=>c.createElement("div",{className:(0,l.Z)(e.className)},c.createElement("div",{className:"flex-grow"},f.map((e=>e.isPopover?c.createElement(k.p,{key:`modal-${e.label}`},(({open:t})=>c.createElement(c.Fragment,null,c.createElement(M,{component:k.p.Button,label:e.label,open:t}),c.createElement(k.p.Panel,{className:(0,l.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>c.createElement(b,{key:e.label,item:e}))))))):c.createElement(M,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),c.createElement(U,null),c.createElement(_,{id:"phone"}),c.createElement(R,{id:"phone"})),R=e=>{var t;return c.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},c.createElement("div",{className:(0,l.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},c.createElement(g.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),c.createElement("div",{className:(0,l.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},_=e=>c.createElement("div",{className:(0,l.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},c.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),c.createElement("div",{className:"flex gap-4"},c.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},c.createElement(g.ET,{className:"h-10 w-10"})),c.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},c.createElement(g.nI,{className:"h-10 w-10"})),c.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},c.createElement(g.Zm,{className:"h-10 w-10"})))),U=()=>{const{colorMode:e,setColorMode:t}=(0,j.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return c.createElement("div",{className:(0,l.Z)("not-prose","p-4","flex items-center")},c.createElement("div",{className:(0,l.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),c.createElement("button",{onClick:r,className:(0,l.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},c.createElement(D.x,null),"Light"),c.createElement("button",{onClick:r,className:(0,l.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},c.createElement(F.c,null),"Dark"))};var I=r(41),T=r(4695),G=r(7990),z=r(2045);const $=()=>{const{loading:e,githubStarCountText:t}=(0,T.h)();return c.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},c.createElement(G.E,{className:(0,l.Z)("w-5 h-5")}),c.createElement("div",{className:(0,l.Z)("flex items-center","w-10 h-6")},e?c.createElement(z.$,{className:(0,l.Z)("w-5 h-5"),wrapperProps:{className:(0,l.Z)("mx-auto")}}):c.createElement("span",null,t)))},W=({trackProgress:e})=>{const[t,r]=(0,c.useState)(!1),{scrollYProgress:d}=(0,a.v)(),p=(0,o.H)(d,[.03,.95],["0%","100%"]);return c.createElement(c.Fragment,null,c.createElement(L.T,null),c.createElement("header",{className:(0,l.Z)("sticky","top-0","z-10")},c.createElement("div",{className:(0,l.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),c.createElement("div",{className:(0,l.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},c.createElement("div",{className:(0,l.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},c.createElement("div",{className:(0,l.Z)("w-[130px]","landing-lg:w-[200px]")},c.createElement(n.Z,{to:"/",onContextMenu:u.Q},c.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),c.createElement("button",{type:"button",className:(0,l.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},c.createElement(s.U,null)),c.createElement("div",{className:(0,l.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},c.createElement(O,null)),c.createElement("div",{className:(0,l.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},c.createElement($,null),c.createElement(I.m,null)),c.createElement(A,{isModalOpen:t,setIsModalOpen:r}))),e&&c.createElement("div",{className:(0,l.Z)("w-full","h-0.5","translate")},c.createElement(i.E.div,{className:(0,l.Z)("h-full","bg-refine-blue"),style:{width:p}}))))}},41:(e,t,r)=>{r.d(t,{L:()=>m,m:()=>c});var n=r(7294),l=r(6010),a=r(9526),o=r(5214),i=r(7109);const c=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.I)();return n.createElement("button",{type:"button",className:(0,l.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,l.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(i.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:i.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.I)();return n.createElement("div",{className:(0,l.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,l.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,l.Z)("w-4 h-4")}),n.createElement("span",{className:(0,l.Z)("text-sm")},a)))))}},8166:(e,t,r)=>{r.d(t,{i:()=>c,pO:()=>i,KT:()=>s});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],c="Thank you for visiting, Connect with me over socials.",s=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{v:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>o,L:()=>i});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),i=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{r.d(t,{U:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{x:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{O2:()=>V,v4:()=>k,XC:()=>O,Kj:()=>u,TA:()=>a,ET:()=>h,Bh:()=>f,wI:()=>i,nI:()=>x,dd:()=>p,t2:()=>F,ty:()=>s,Zm:()=>w,wW:()=>Z});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",L(function(e){for(var t=1;tn.createElement("svg",A(function(e){for(var t=1;t{r.d(t,{A:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{z:()=>s});var n=r(7294),l=r(6010),a=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function c(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const s=e=>{var{children:t,href:r,className:s,onClick:m,buttonClassname:u}=e,d=c(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.Z:"button";return n.createElement(p,i(function(e){for(var t=1;t{r.d(t,{$:()=>c});var n=r(6010),l=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const c=e=>{var{className:t,wrapperProps:r}=e,a=i(e,["className","wrapperProps"]);return l.createElement("div",o({role:"status"},r),l.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(6010),l=r(7294),a=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){for(var t=1;tl.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},l.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),l.createElement(m,null)),m=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",l.createElement("b",null,"GitHub")," "),"and",l.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",l.createElement("b",null,"LinkedIn")," "),". ",l.createElement("br",null)," ",l.createElement(a.y,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",l.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>l.createElement("svg",c(i({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>l.createElement("svg",c(i({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},3799:(e,t,r)=>{r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/6875c492.50934532.js b/assets/js/6875c492.50934532.js new file mode 100644 index 00000000..c28c1c07 --- /dev/null +++ b/assets/js/6875c492.50934532.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8610],{5506:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(7294),a=r(676),l=r(4185);function o({children:e,className:t}){const{frontMatter:r,assets:o}=(0,l.C)(),{withBaseUrl:c}=(0,a.C)();var i;const s=null!==(i=o.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:c(s,{absolute:!0})}),e)}},4185:(e,t,r)=>{r.d(t,{C:()=>c,n:()=>o});var n=r(7294),a=r(7806);const l=n.createContext(null);function o({children:e,content:t,isBlogPostPage:r=!1}){const a=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(l.Provider,{value:a},e)}function c(){const e=(0,n.useContext)(l);if(null===e)throw new a.i6("BlogPostProvider");return e}},5319:(e,t,r)=>{r.d(t,{k:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-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",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:{}}},60:(e,t,r)=>{r.d(t,{c:()=>s});var n=r(7294),a=r(8241);const l=["zero","one","two","few","many","other"];function o(e){return l.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,a.Z)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const a=r.select(t),l=r.pluralForms.indexOf(a);return n[Math.min(l,n.length-1)]}(r,t,e)}}},6987:(e,t,r)=>{r.d(t,{Ej:()=>a,OV:()=>c});var n=r(7294);function a({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var l=r(60),o=r(2210);function c({readingTime:e}){const t=function(){const{selectMessage:e}=(0,l.c)();return t=>{const r=Math.ceil(t);return e(r,(0,o.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},3812:(e,t,r)=>{r.d(t,{U:()=>f});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),c=r(7092),i=r(961),s=r(3380),m=r(506);const u=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",icon:l.createElement(m.nm,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:l.createElement(m.nm,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],d=[{icon:c.I,href:"https://github.com/AkashSingh3031"},{icon:s.p,href:"https://twitter.com/akashsingh3031"},{icon:i._,href:"https://www.linkedin.com/in/akashsingh3031"}];var g=r(6204),p=r(4813);const f=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(p.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},"Thank you for visiting, Connect with me over socials."),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},u.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(g.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},d.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{r.d(t,{f:()=>Y});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},h=({item:e,isPermanentDark:t})=>{const[r,l]=(0,i.useState)(null);(0,i.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?p.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var y=r(6775),x=r(2280),v=r(4080),w=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),l=i.useRef(null),o=i.useRef(null),c=(0,y.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(x.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(x.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(w.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(v.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(x.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(p.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,f.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(p.Bh,null),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},i.createElement(p.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(p.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(p.Zm,null)))))):i.createElement(h,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var C=r(2560),k=r(8368),P=r(9526),j=r(4837);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.Z,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,y.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(V,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(T,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(v.u,{appear:!0,show:e,as:i.Fragment},i.createElement(C.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(v.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.T,null),i.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),i.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(j.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(v.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),V=e=>i.createElement("div",{className:(0,a.Z)(e.className)},f.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(R,{id:"tablet"}),i.createElement(H,{id:"tablet"})),T=e=>i.createElement("div",{className:(0,a.Z)(e.className)},i.createElement("div",{className:"flex-grow"},f.map((e=>e.isPopover?i.createElement(k.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:k.p.Button,label:e.label,open:t}),i.createElement(k.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(R,{id:"phone"}),i.createElement(H,{id:"phone"})),H=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(p.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},R=e=>i.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(p.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(p.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(p.Zm,{className:"h-10 w-10"})))),_=()=>{const{colorMode:e,setColorMode:t}=(0,P.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(D.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(A.c,null),"Dark"))};var I=r(41),$=r(4695),U=r(7990),z=r(2045);const G=()=>{const{loading:e,githubStarCountText:t}=(0,$.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(U.E,{className:(0,a.Z)("w-5 h-5")}),i.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?i.createElement(z.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):i.createElement("span",null,t)))},Y=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.v)(),g=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.T,null),i.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:u.Q},i.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(G,null),i.createElement(I.m,null)),i.createElement(F,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:g}}))))}},41:(e,t,r)=>{r.d(t,{L:()=>m,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},1526:(e,t,r)=>{r.d(t,{L:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{I:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{_:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{p:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{O2:()=>B,v4:()=>k,XC:()=>O,Kj:()=>u,TA:()=>l,ET:()=>h,Bh:()=>f,wI:()=>c,nI:()=>x,dd:()=>g,nm:()=>H,t2:()=>A,ty:()=>s,Zm:()=>w,wW:()=>j});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",M(function(e){for(var t=1;tn.createElement("svg",F(function(e){for(var t=1;t{const{colorMode:t}=(0,V.I)();return n.createElement("div",{className:(0,S.Z)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,S.Z)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{z:()=>s});var n=r(7294),a=r(6010),l=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const s=e=>{var{children:t,href:r,className:s,onClick:m,buttonClassname:u}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const g=r?l.Z:"button";return n.createElement(g,c(function(e){for(var t=1;t{r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(m,null)),m=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2892:(e,t,r)=>{r.d(t,{Z:()=>P});var n=r(7294),a=r(7915),l=r(859),o=r(3812),c=r(6010),i=r(1984),s=r(1526),m=r(9658);const u="Struggling with internal tools?",d="Explore refine\u2019s limitless possibilities in crafting CRUD apps, CRM solutions, HR dashboards, and more!",g="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/app-crm.png",p=({shouldShowBanner:e})=>(n.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&window.gtag("event","view_banner",{banner_name:"banner-sidebar",banner_text:u,banner_description:d,banner_image:g})}),[e]),n.createElement("div",{className:(0,c.Z)("flex","flex-col","gap-6","py-6","px-4","rounded-2xl","bg-banner-examples-sider-purple","not-prose")},n.createElement(i.Z,{to:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","w-full h-auto xl:h-[152px]","flex-shrink-0","rounded-md","overflow-hidden")},n.createElement("img",{src:g,alt:"refine App screenshot",loading:"lazy"})),n.createElement("h2",{className:(0,c.Z)("text-2xl font-semibold","text-gray-0")},u),n.createElement("p",{className:(0,c.Z)("text-base","text-gray-100")},d),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-2"),href:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},"Try online"),n.createElement(s.L,{className:(0,c.Z)("ml-2","w-4","h-4")}))));var f=r(4080),b=r(2560),h=r(4837);function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>v(x({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(v(x({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},E=(e,t)=>{const[r,a]=(0,n.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};var O=r(6775);const C=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,u,d;const{pathname:g}=(0,O.TH)(),[p,y]=(0,n.useState)(!1),[x,v]=E("banner-modal",null),C=(0,n.useRef)(!1),k=w();var P,j;return(0,n.useEffect)((()=>{"/blog/"!==g&&"/blog"!==g&&(C.current||p||k.scrollY>79&&k.scrollY<100&&(C.current=!0,9===x||null===x?(y(!0),v(0)):(v(x+1),C.current=!0)))}),[k.scrollY]),(0,n.useEffect)((()=>{p&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[p]),n.createElement(f.u,{appear:!0,show:p,as:n.Fragment},n.createElement(b.V,{as:"div",className:"relative z-modal",onClose:()=>y(!1)},n.createElement(f.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(f.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(b.V.Panel,{className:(0,c.Z)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,c.Z)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},n.createElement("div",{className:(0,c.Z)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(i.Z,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,c.Z)("object-contain"),src:null===(u=r)||void 0===u?void 0:u.src,alt:null!==(j=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==j?j:e,loading:"lazy"})),n.createElement("p",{className:(0,c.Z)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},a.text),n.createElement(s.L,{className:(0,c.Z)("w-4","h-4")}))),n.createElement("button",{className:(0,c.Z)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>y(!1)},n.createElement(h.T,{className:"w-4 h-4"})))))))))};function k(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const P=e=>{const[t,r]=(0,n.useState)(!1),{children:i,toc:s}=e,m=k(e,["children","toc"]),{pathname:u}=(0,O.TH)(),d=w();return(0,n.useEffect)((()=>{t&&"/blog/"!==u&&"/blog"!==u&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY]),n.createElement(a.j,m,n.createElement(l.f,{hasSticky:!0,trackProgress:!!s}),n.createElement("div",{className:(0,c.Z)("flex","justify-center","mx-auto","max-w-screen-blog-max","w-full")},n.createElement("div",{className:(0,c.Z)("relative","w-[264px]","pl-4","py-10 blog-sm:py-12 blog-md:py-16","hidden xl:block",t&&"opacity-100",!t&&"opacity-0","transition-opacity duration-300 ease-in-out")},n.createElement("div",{className:(0,c.Z)("sticky","w-[264px]","z-[1]","top-32","left-0")},n.createElement(p,{shouldShowBanner:t}))),n.createElement("div",{className:(0,c.Z)("refine-prose","flex-1","min-w-0","xl:px-8")},i),s&&n.createElement("div",{className:(0,c.Z)("w-[280px]","hidden blog-md:block","flex-shrink-0")},s)),n.createElement(o.U,null),n.createElement(C,null))}},1743:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(7294),a=r(2210),l=r(1984),o=r(6250);const c="...",i=(e,t)=>{const r=t-e+1;return Array.from({length:r},((t,r)=>r+e))};var s=r(6010);function m(e){const{metadata:t,basePath:r="/blog"}=e,{totalPages:m,page:u}=t,d=(({totalPages:e,siblingCount:t=1,currentPage:r})=>(0,n.useMemo)((()=>{if(t+5>=e)return i(1,e);const n=Math.max(r-t,1),a=Math.min(r+t,e),l=n>2,o=ae===c?n.createElement("li",{key:`page:${e}`,className:(0,s.Z)("flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded","hover:no-underline","no-underline","h-[32px] w-[32px]")},"\u2026"):n.createElement("li",{key:e},n.createElement(l.Z,{to:1===e?r:`${r}/page/${e}`,className:(0,s.Z)("text-sm","flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded","hover:no-underline","h-[32px] w-[32px]","no-underline",e===u&&"bg-gray-100 dark:bg-gray-700")},e)))),n.createElement("li",null,n.createElement(l.Z,{to:u===g?void 0:`${r}/page/${u+1}`,className:(0,s.Z)("text-gray-500 dark:text-gray-400","rounded","hover:no-underline",{"pointer-events-none opacity-20":u===g})},n.createElement(o._Q,null)))))}},797:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(7294),a=r(4185),l=r(3149),o=r(1984),c=r(5506),i=r(6987),s=r(6010);function m({className:e}){var t,r;const{metadata:l}=(0,a.C)(),{permalink:m,title:u,date:d,formattedDate:g,frontMatter:p,description:f,tags:b}=l,h=l.authors[0];return n.createElement(c.Z,{className:e},n.createElement("div",null,n.createElement(o.Z,{itemProp:"url",to:m})),n.createElement("div",{className:"p-4"},n.createElement("div",{className:(0,s.Z)("mb-2 flex gap-1 md:mb-4","flex flex-wrap items-center")},b.map((e=>n.createElement(o.Z,{className:(0,s.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(o.Z,{itemProp:"url",to:m,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.Z)("text-xs sm:text-sm md:text-2xl lg:text-base 2xl:text-xl","text-gray-700 dark:text-gray-200","font-lg","font-bold","leading-6")},u)),n.createElement("div",{className:(0,s.Z)("text-xs md:text-base lg:text-sm 2xl:text-lg","mt-2 md:mt-4","line-clamp-3 text-gray-700 dark:text-gray-300")},f)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.Z,{href:`/blog/author/${null===(t=h)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=h)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},n.createElement(i.Ej,{date:d,formattedDate:g})))))}function u({items:e,tags:t,component:r=m,isAuthorPage:o,isTagsPage:c}){return n.createElement("div",{className:(0,s.Z)("px-4","blog-md:px-7","blog-2xl:px-0",!o&&!c&&"blog-sm:pb-16 blog-md:pb-8 blog-2xl:pb-12 pb-10",!o&&!c&&"blog-md:pt-16 blog-2xl:pt-20",(o||c)&&"py-8","max-w-[512px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},!o&&!c&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.Z)("flex flex-col blog-md:flex-row items-start lg:items-center justify-between","mb-4 lg:mb-8","px-0 blog-sm:px-6","not-prose")},n.createElement("h2",{className:(0,s.Z)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","font-semibold")},"All Posts"),n.createElement("p",{className:(0,s.Z)("text-sm blog-md:text-base blog-lg:text-xl","blog-md:max-w-[624px]","mt-6 lg:mt-0","text-gray-500 dark:text-gray-400")},n.createElement("b",null,"PrepVerse blog")," - contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")),n.createElement(l.Z,{tags:t})),n.createElement("div",{className:(0,s.Z)("grid","grid-cols-1 blog-md:grid-cols-3","gap-4 blog-lg:gap-12","pt-6",o?"blog-md:pt-0":"blog-md:pt-12")},e.map((({content:e})=>n.createElement(a.n,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null)))))))}},5345:(e,t,r)=>{r.r(t),r.d(t,{default:()=>h});var n=r(7294),a=r(6010),l=r(2210),o=r(60),c=r(9712),i=r(5319),s=r(2892),m=r(1743),u=r(6894),d=r(797),g=r(3149);function p(e){const t=function(){const{selectMessage:e}=(0,o.c)();return t=>e(t,(0,l.I)({id:"theme.blog.post.plurals",description:'Pluralized label for "{count} posts". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One post|{count} posts"},{count:t}))}();return(0,l.I)({id:"theme.blog.tagTitle",description:"The title of the page for a blog tag",message:'{nPosts} tagged with "{tagName}"'},{nPosts:t(e.count),tagName:e.label})}function f({tag:e}){const t=p(e);return n.createElement(n.Fragment,null,n.createElement(c.d,{title:t}),n.createElement(u.Z,{tag:"blog_tags_posts"}))}function b({tags:e,tag:t,items:r,sidebar:l,listMetadata:o}){return n.createElement(s.Z,{sidebar:l},n.createElement("div",{className:(0,a.Z)("py-8","blog-md:py-16","px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},n.createElement(g.Z,{tags:e}),n.createElement("div",{className:(0,a.Z)("pt-0 blog-md:pt-16")},n.createElement("div",{className:"text-gray-500 dark:text-gray-400"},"Posts tagged with"),n.createElement("h1",{className:"!mb-0"},t.label)),n.createElement(d.Z,{items:r,showTitle:!1,isTagsPage:!0}),n.createElement("div",{className:"blog-md:border-t border-t-gray-200 dark:border-t-gray-700"},n.createElement(m.Z,{metadata:o,basePath:`/blog/tags/${t.label}`}))))}function h(e){return n.createElement(c.FG,{className:(0,a.Z)(i.k.wrapper.blogPages,i.k.page.blogTagPostListPage)},n.createElement(f,e),n.createElement(b,e))}},9527:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(7294),a=r(6010),l=r(1984);function o({permalink:e,label:t,isActive:r}){return n.createElement(l.Z,{href:e,className:(0,a.Z)("no-underline hover:no-underline","text-xs",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","rounded","py-1","px-2",r&&"bg-gray-200 text-gray-500",r&&"dark-bg-gray-700 text-gray-300")},t)}},3149:(e,t,r)=>{r.d(t,{Z:()=>w});var n=r(7294),a=r(9527),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(6010),u=r(8368),d=r(4080),g=r(4642);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){for(var t=1;tn.createElement("svg",{width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.292893 0.792893C0.683417 0.402369 1.31658 0.402369 1.70711 0.792893L4 3.08579L6.29289 0.792893C6.68342 0.402369 7.31658 0.402369 7.70711 0.792893C8.09763 1.18342 8.09763 1.81658 7.70711 2.20711L4.70711 5.20711C4.31658 5.59763 3.68342 5.59763 3.29289 5.20711L0.292893 2.20711C-0.0976311 1.81658 -0.0976311 1.18342 0.292893 0.792893Z",fill:"currentColor"})),y=e=>{e=e.replace(/-/g," ");return[["typescript","TypeScript"],["javascript","JavaScript"],["chakra ui","Chakra UI"],["material ui","Material UI"],["nextjs","Next.js"],["nestjs","NestJS"],["css","CSS"]].forEach((t=>{e=e.replace(t[0],t[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)},x=({tags:e,collapsed:t,onShowMoreClick:r})=>n.createElement("div",{className:(0,m.Z)("hidden lg:flex","not-prose","justify-between","items-start","bg-gray-50 dark:bg-gray-800","rounded-xl p-4 2xl:p-6")},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1",t&&"h-8"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(f({},e),{label:y(e.label)})))))),n.createElement("label",{onClick:()=>r(!t),className:(0,m.Z)("flex","items-center","gap-1","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","bg-gray-100 dark:bg-gray-600","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","mt-1")},"Show More ",n.createElement(h,null))),v=({tags:e})=>n.createElement("div",{className:"mb-10 block w-full lg:hidden"},n.createElement(u.p,null,(({open:t})=>n.createElement("div",{className:(0,m.Z)("rounded-[4px]","border border-gray-100 dark:border-gray-700")},n.createElement(u.p.Button,{className:(0,m.Z)("bg-gray-50 dark:bg-gray-800","border-b border-gray-100 dark:border-gray-700","w-full","flex items-center gap-3","px-2 py-2")},n.createElement(g.A,{className:(0,m.Z)("h-5 w-5","text-gray-400 dark:text-gray-500","transition-transform duration-200 ease-in-out",{"-rotate-90 transform":!t})}),n.createElement("span",{className:(0,m.Z)("text-sm","dark:text-gray-0 text-gray-900")},"Blog Post Tags")),n.createElement(d.u,{show:t,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(u.p.Panel,{className:"h-[200px] overflow-auto p-2 sm:h-[232px] sm:p-6"},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(f({},e),{label:y(e.label)}))))))))))));function w({tags:e}){const[t,r]=n.useState(!0),a=["refine","react","nextjs","typescript","tutorial","material-ui","ant-design","docker","comparison"],l=(null!=e?e:[]).sort(((e,t)=>{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(x,{collapsed:t,tags:l,onShowMoreClick:e=>r(e)}),n.createElement(v,{tags:l}))}},3799:(e,t,r)=>{r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/6875c492.582d125f.js b/assets/js/6875c492.582d125f.js deleted file mode 100644 index 91683a0a..00000000 --- a/assets/js/6875c492.582d125f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8610],{5506:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(7294),a=r(676),l=r(4185);function o({children:e,className:t}){const{frontMatter:r,assets:o}=(0,l.C)(),{withBaseUrl:c}=(0,a.C)();var i;const s=null!==(i=o.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:c(s,{absolute:!0})}),e)}},4185:(e,t,r)=>{r.d(t,{C:()=>c,n:()=>o});var n=r(7294),a=r(7806);const l=n.createContext(null);function o({children:e,content:t,isBlogPostPage:r=!1}){const a=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(l.Provider,{value:a},e)}function c(){const e=(0,n.useContext)(l);if(null===e)throw new a.i6("BlogPostProvider");return e}},5319:(e,t,r)=>{r.d(t,{k:()=>n});const n={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-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",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:{}}},60:(e,t,r)=>{r.d(t,{c:()=>s});var n=r(7294),a=r(8241);const l=["zero","one","two","few","many","other"];function o(e){return l.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,a.Z)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const a=r.select(t),l=r.pluralForms.indexOf(a);return n[Math.min(l,n.length-1)]}(r,t,e)}}},6987:(e,t,r)=>{r.d(t,{Ej:()=>a,OV:()=>c});var n=r(7294);function a({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var l=r(60),o=r(2210);function c({readingTime:e}){const t=function(){const{selectMessage:e}=(0,l.c)();return t=>{const r=Math.ceil(t);return e(r,(0,o.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},1117:(e,t,r)=>{r.d(t,{U:()=>m});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),c=r(8166),i=r(6204),s=r(4813);const m=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(s.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},c.i),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},c.pO.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(i.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},c.KT.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{r.d(t,{f:()=>Y});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},y=({item:e,isPermanentDark:t})=>{const[r,l]=(0,i.useState)(null);(0,i.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?p.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var h=r(6775),x=r(2280),w=r(4080),v=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),l=i.useRef(null),o=i.useRef(null),c=(0,h.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(x.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(x.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(v.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(w.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(x.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(p.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,f.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(p.Bh,null),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},i.createElement(p.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(p.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(p.Zm,null)))))):i.createElement(y,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var C=r(2560),k=r(8368),P=r(9526),j=r(4837);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.Z,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,h.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(T,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(V,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(w.u,{appear:!0,show:e,as:i.Fragment},i.createElement(C.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(w.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.T,null),i.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),i.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(j.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(w.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),T=e=>i.createElement("div",{className:(0,a.Z)(e.className)},f.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(R,{id:"tablet"}),i.createElement(H,{id:"tablet"})),V=e=>i.createElement("div",{className:(0,a.Z)(e.className)},i.createElement("div",{className:"flex-grow"},f.map((e=>e.isPopover?i.createElement(k.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(L,{component:k.p.Button,label:e.label,open:t}),i.createElement(k.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(R,{id:"phone"}),i.createElement(H,{id:"phone"})),H=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(p.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},R=e=>i.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(p.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(p.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(p.Zm,{className:"h-10 w-10"})))),_=()=>{const{colorMode:e,setColorMode:t}=(0,P.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(D.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(A.c,null),"Dark"))};var I=r(41),$=r(4695),U=r(7990),z=r(2045);const G=()=>{const{loading:e,githubStarCountText:t}=(0,$.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(U.E,{className:(0,a.Z)("w-5 h-5")}),i.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?i.createElement(z.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):i.createElement("span",null,t)))},Y=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.v)(),g=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.T,null),i.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:u.Q},i.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(G,null),i.createElement(I.m,null)),i.createElement(F,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:g}}))))}},41:(e,t,r)=>{r.d(t,{L:()=>m,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},8166:(e,t,r)=>{r.d(t,{i:()=>i,pO:()=>c,KT:()=>s});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],i="Thank you for visiting, Connect with me over socials.",s=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{L:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{O2:()=>B,v4:()=>k,XC:()=>O,Kj:()=>u,TA:()=>l,ET:()=>y,Bh:()=>f,wI:()=>c,nI:()=>x,dd:()=>g,t2:()=>A,ty:()=>s,Zm:()=>v,wW:()=>j});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",M(function(e){for(var t=1;tn.createElement("svg",F(function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{z:()=>s});var n=r(7294),a=r(6010),l=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const s=e=>{var{children:t,href:r,className:s,onClick:m,buttonClassname:u}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const g=r?l.Z:"button";return n.createElement(g,c(function(e){for(var t=1;t{r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(m,null)),m=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},2892:(e,t,r)=>{r.d(t,{Z:()=>P});var n=r(7294),a=r(7915),l=r(859),o=r(1117),c=r(6010),i=r(1984),s=r(1526),m=r(9658);const u="Struggling with internal tools?",d="Explore refine\u2019s limitless possibilities in crafting CRUD apps, CRM solutions, HR dashboards, and more!",g="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/app-crm.png",p=({shouldShowBanner:e})=>(n.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&window.gtag("event","view_banner",{banner_name:"banner-sidebar",banner_text:u,banner_description:d,banner_image:g})}),[e]),n.createElement("div",{className:(0,c.Z)("flex","flex-col","gap-6","py-6","px-4","rounded-2xl","bg-banner-examples-sider-purple","not-prose")},n.createElement(i.Z,{to:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","w-full h-auto xl:h-[152px]","flex-shrink-0","rounded-md","overflow-hidden")},n.createElement("img",{src:g,alt:"refine App screenshot",loading:"lazy"})),n.createElement("h2",{className:(0,c.Z)("text-2xl font-semibold","text-gray-0")},u),n.createElement("p",{className:(0,c.Z)("text-base","text-gray-100")},d),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-2"),href:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},"Try online"),n.createElement(s.L,{className:(0,c.Z)("ml-2","w-4","h-4")}))));var f=r(4080),b=r(2560),y=r(4837);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>w(x({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(w(x({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},E=(e,t)=>{const[r,a]=(0,n.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};var O=r(6775);const C=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,u,d;const{pathname:g}=(0,O.TH)(),[p,h]=(0,n.useState)(!1),[x,w]=E("banner-modal",null),C=(0,n.useRef)(!1),k=v();var P,j;return(0,n.useEffect)((()=>{"/blog/"!==g&&"/blog"!==g&&(C.current||p||k.scrollY>79&&k.scrollY<100&&(C.current=!0,9===x||null===x?(h(!0),w(0)):(w(x+1),C.current=!0)))}),[k.scrollY]),(0,n.useEffect)((()=>{p&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[p]),n.createElement(f.u,{appear:!0,show:p,as:n.Fragment},n.createElement(b.V,{as:"div",className:"relative z-modal",onClose:()=>h(!1)},n.createElement(f.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(f.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(b.V.Panel,{className:(0,c.Z)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,c.Z)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},n.createElement("div",{className:(0,c.Z)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(i.Z,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,c.Z)("object-contain"),src:null===(u=r)||void 0===u?void 0:u.src,alt:null!==(j=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==j?j:e,loading:"lazy"})),n.createElement("p",{className:(0,c.Z)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},a.text),n.createElement(s.L,{className:(0,c.Z)("w-4","h-4")}))),n.createElement("button",{className:(0,c.Z)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>h(!1)},n.createElement(y.T,{className:"w-4 h-4"})))))))))};function k(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const P=e=>{const[t,r]=(0,n.useState)(!1),{children:i,toc:s}=e,m=k(e,["children","toc"]),{pathname:u}=(0,O.TH)(),d=v();return(0,n.useEffect)((()=>{t&&"/blog/"!==u&&"/blog"!==u&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY]),n.createElement(a.j,m,n.createElement(l.f,{hasSticky:!0,trackProgress:!!s}),n.createElement("div",{className:(0,c.Z)("flex","justify-center","mx-auto","max-w-screen-blog-max","w-full")},n.createElement("div",{className:(0,c.Z)("relative","w-[264px]","pl-4","py-10 blog-sm:py-12 blog-md:py-16","hidden xl:block",t&&"opacity-100",!t&&"opacity-0","transition-opacity duration-300 ease-in-out")},n.createElement("div",{className:(0,c.Z)("sticky","w-[264px]","z-[1]","top-32","left-0")},n.createElement(p,{shouldShowBanner:t}))),n.createElement("div",{className:(0,c.Z)("refine-prose","flex-1","min-w-0","xl:px-8")},i),s&&n.createElement("div",{className:(0,c.Z)("w-[280px]","hidden blog-md:block","flex-shrink-0")},s)),n.createElement(o.U,null),n.createElement(C,null))}},1743:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(7294),a=r(2210),l=r(1984),o=r(6250);const c="...",i=(e,t)=>{const r=t-e+1;return Array.from({length:r},((t,r)=>r+e))};var s=r(6010);function m(e){const{metadata:t,basePath:r="/blog"}=e,{totalPages:m,page:u}=t,d=(({totalPages:e,siblingCount:t=1,currentPage:r})=>(0,n.useMemo)((()=>{if(t+5>=e)return i(1,e);const n=Math.max(r-t,1),a=Math.min(r+t,e),l=n>2,o=ae===c?n.createElement("li",{key:`page:${e}`,className:(0,s.Z)("flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded","hover:no-underline","no-underline","h-[32px] w-[32px]")},"\u2026"):n.createElement("li",{key:e},n.createElement(l.Z,{to:1===e?r:`${r}/page/${e}`,className:(0,s.Z)("text-sm","flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded","hover:no-underline","h-[32px] w-[32px]","no-underline",e===u&&"bg-gray-100 dark:bg-gray-700")},e)))),n.createElement("li",null,n.createElement(l.Z,{to:u===g?void 0:`${r}/page/${u+1}`,className:(0,s.Z)("text-gray-500 dark:text-gray-400","rounded","hover:no-underline",{"pointer-events-none opacity-20":u===g})},n.createElement(o._Q,null)))))}},797:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(7294),a=r(4185),l=r(3149),o=r(1984),c=r(5506),i=r(6987),s=r(6010);function m({className:e}){var t,r;const{metadata:l}=(0,a.C)(),{permalink:m,title:u,date:d,formattedDate:g,frontMatter:p,description:f,tags:b}=l,y=l.authors[0];return n.createElement(c.Z,{className:e},n.createElement("div",null,n.createElement(o.Z,{itemProp:"url",to:m})),n.createElement("div",{className:"p-4"},n.createElement("div",{className:(0,s.Z)("mb-2 flex gap-1 md:mb-4","flex flex-wrap items-center")},b.map((e=>n.createElement(o.Z,{className:(0,s.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(o.Z,{itemProp:"url",to:m,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.Z)("text-xs sm:text-sm md:text-2xl lg:text-base 2xl:text-xl","text-gray-700 dark:text-gray-200","font-lg","font-bold","leading-6")},u)),n.createElement("div",{className:(0,s.Z)("text-xs md:text-base lg:text-sm 2xl:text-lg","mt-2 md:mt-4","line-clamp-3 text-gray-700 dark:text-gray-300")},f)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.Z,{href:`/blog/author/${null===(t=y)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=y)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},n.createElement(i.Ej,{date:d,formattedDate:g})))))}function u({items:e,tags:t,component:r=m,isAuthorPage:o,isTagsPage:c}){return n.createElement("div",{className:(0,s.Z)("px-4","blog-md:px-7","blog-2xl:px-0",!o&&!c&&"blog-sm:pb-16 blog-md:pb-8 blog-2xl:pb-12 pb-10",!o&&!c&&"blog-md:pt-16 blog-2xl:pt-20",(o||c)&&"py-8","max-w-[512px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},!o&&!c&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.Z)("flex flex-col blog-md:flex-row items-start lg:items-center justify-between","mb-4 lg:mb-8","px-0 blog-sm:px-6","not-prose")},n.createElement("h2",{className:(0,s.Z)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","font-semibold")},"All Posts"),n.createElement("p",{className:(0,s.Z)("text-sm blog-md:text-base blog-lg:text-xl","blog-md:max-w-[624px]","mt-6 lg:mt-0","text-gray-500 dark:text-gray-400")},n.createElement("b",null,"PrepVerse blog")," - contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")),n.createElement(l.Z,{tags:t})),n.createElement("div",{className:(0,s.Z)("grid","grid-cols-1 blog-md:grid-cols-3","gap-4 blog-lg:gap-12","pt-6",o?"blog-md:pt-0":"blog-md:pt-12")},e.map((({content:e})=>n.createElement(a.n,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null)))))))}},5345:(e,t,r)=>{r.r(t),r.d(t,{default:()=>y});var n=r(7294),a=r(6010),l=r(2210),o=r(60),c=r(9712),i=r(5319),s=r(2892),m=r(1743),u=r(6894),d=r(797),g=r(3149);function p(e){const t=function(){const{selectMessage:e}=(0,o.c)();return t=>e(t,(0,l.I)({id:"theme.blog.post.plurals",description:'Pluralized label for "{count} posts". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One post|{count} posts"},{count:t}))}();return(0,l.I)({id:"theme.blog.tagTitle",description:"The title of the page for a blog tag",message:'{nPosts} tagged with "{tagName}"'},{nPosts:t(e.count),tagName:e.label})}function f({tag:e}){const t=p(e);return n.createElement(n.Fragment,null,n.createElement(c.d,{title:t}),n.createElement(u.Z,{tag:"blog_tags_posts"}))}function b({tags:e,tag:t,items:r,sidebar:l,listMetadata:o}){return n.createElement(s.Z,{sidebar:l},n.createElement("div",{className:(0,a.Z)("py-8","blog-md:py-16","px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},n.createElement(g.Z,{tags:e}),n.createElement("div",{className:(0,a.Z)("pt-0 blog-md:pt-16")},n.createElement("div",{className:"text-gray-500 dark:text-gray-400"},"Posts tagged with"),n.createElement("h1",{className:"!mb-0"},t.label)),n.createElement(d.Z,{items:r,showTitle:!1,isTagsPage:!0}),n.createElement("div",{className:"blog-md:border-t border-t-gray-200 dark:border-t-gray-700"},n.createElement(m.Z,{metadata:o,basePath:`/blog/tags/${t.label}`}))))}function y(e){return n.createElement(c.FG,{className:(0,a.Z)(i.k.wrapper.blogPages,i.k.page.blogTagPostListPage)},n.createElement(f,e),n.createElement(b,e))}},9527:(e,t,r)=>{r.d(t,{Z:()=>o});var n=r(7294),a=r(6010),l=r(1984);function o({permalink:e,label:t,isActive:r}){return n.createElement(l.Z,{href:e,className:(0,a.Z)("no-underline hover:no-underline","text-xs",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","rounded","py-1","px-2",r&&"bg-gray-200 text-gray-500",r&&"dark-bg-gray-700 text-gray-300")},t)}},3149:(e,t,r)=>{r.d(t,{Z:()=>v});var n=r(7294),a=r(9527),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(6010),u=r(8368),d=r(4080),g=r(4642);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){for(var t=1;tn.createElement("svg",{width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.292893 0.792893C0.683417 0.402369 1.31658 0.402369 1.70711 0.792893L4 3.08579L6.29289 0.792893C6.68342 0.402369 7.31658 0.402369 7.70711 0.792893C8.09763 1.18342 8.09763 1.81658 7.70711 2.20711L4.70711 5.20711C4.31658 5.59763 3.68342 5.59763 3.29289 5.20711L0.292893 2.20711C-0.0976311 1.81658 -0.0976311 1.18342 0.292893 0.792893Z",fill:"currentColor"})),h=e=>{e=e.replace(/-/g," ");return[["typescript","TypeScript"],["javascript","JavaScript"],["chakra ui","Chakra UI"],["material ui","Material UI"],["nextjs","Next.js"],["nestjs","NestJS"],["css","CSS"]].forEach((t=>{e=e.replace(t[0],t[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)},x=({tags:e,collapsed:t,onShowMoreClick:r})=>n.createElement("div",{className:(0,m.Z)("hidden lg:flex","not-prose","justify-between","items-start","bg-gray-50 dark:bg-gray-800","rounded-xl p-4 2xl:p-6")},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1",t&&"h-8"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(f({},e),{label:h(e.label)})))))),n.createElement("label",{onClick:()=>r(!t),className:(0,m.Z)("flex","items-center","gap-1","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","bg-gray-100 dark:bg-gray-600","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","mt-1")},"Show More ",n.createElement(y,null))),w=({tags:e})=>n.createElement("div",{className:"mb-10 block w-full lg:hidden"},n.createElement(u.p,null,(({open:t})=>n.createElement("div",{className:(0,m.Z)("rounded-[4px]","border border-gray-100 dark:border-gray-700")},n.createElement(u.p.Button,{className:(0,m.Z)("bg-gray-50 dark:bg-gray-800","border-b border-gray-100 dark:border-gray-700","w-full","flex items-center gap-3","px-2 py-2")},n.createElement(g.A,{className:(0,m.Z)("h-5 w-5","text-gray-400 dark:text-gray-500","transition-transform duration-200 ease-in-out",{"-rotate-90 transform":!t})}),n.createElement("span",{className:(0,m.Z)("text-sm","dark:text-gray-0 text-gray-900")},"Blog Post Tags")),n.createElement(d.u,{show:t,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(u.p.Panel,{className:"h-[200px] overflow-auto p-2 sm:h-[232px] sm:p-6"},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(f({},e),{label:h(e.label)}))))))))))));function v({tags:e}){const[t,r]=n.useState(!0),a=["refine","react","nextjs","typescript","tutorial","material-ui","ant-design","docker","comparison"],l=(null!=e?e:[]).sort(((e,t)=>{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(x,{collapsed:t,tags:l,onShowMoreClick:e=>r(e)}),n.createElement(w,{tags:l}))}},3799:(e,t,r)=>{r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/a6aa9e1f.ca102858.js b/assets/js/a6aa9e1f.ca102858.js deleted file mode 100644 index 0ed574c1..00000000 --- a/assets/js/a6aa9e1f.ca102858.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3089],{9624:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[2181,2181]};function a(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=9624,e.exports=a},5506:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(7294),a=r(676),l=r(4185);function o({children:e,className:t}){const{frontMatter:r,assets:o}=(0,l.C)(),{withBaseUrl:c}=(0,a.C)();var i;const s=null!==(i=o.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:c(s,{absolute:!0})}),e)}},4185:(e,t,r)=>{"use strict";r.d(t,{C:()=>c,n:()=>o});var n=r(7294),a=r(7806);const l=n.createContext(null);function o({children:e,content:t,isBlogPostPage:r=!1}){const a=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(l.Provider,{value:a},e)}function c(){const e=(0,n.useContext)(l);if(null===e)throw new a.i6("BlogPostProvider");return e}},60:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var n=r(7294),a=r(8241);const l=["zero","one","two","few","many","other"];function o(e){return l.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,a.Z)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const a=r.select(t),l=r.pluralForms.indexOf(a);return n[Math.min(l,n.length-1)]}(r,t,e)}}},6987:(e,t,r)=>{"use strict";r.d(t,{Ej:()=>a,OV:()=>c});var n=r(7294);function a({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var l=r(60),o=r(2210);function c({readingTime:e}){const t=function(){const{selectMessage:e}=(0,l.c)();return t=>{const r=Math.ceil(t);return e(r,(0,o.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},1915:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(7294),a=r(1984);const l=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(a.Z,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7328:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(7294),a=r(1984);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(a.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(i,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(o,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},7886:(e,t,r)=>{"use strict";r.d(t,{Ag:()=>v,zS:()=>h,rg:()=>m,gZ:()=>E,$G:()=>w});var n=r(7294),a=r(1984),l=r(4185),o=r(5506),c=r(6987),i=r(6010);const s=()=>{var e,t;const{metadata:r}=(0,l.C)(),{permalink:s,title:m,date:u,formattedDate:d,frontMatter:p,description:f,tags:g}=r,b=r.authors[0];return n.createElement(o.Z,null,n.createElement(a.Z,{itemProp:"url",to:s}),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,i.Z)("mb-2 gap-1 md:mb-4 2xl:mb-6","flex flex-wrap items-center")},g.map((e=>n.createElement(a.Z,{className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4 2xl:mb-6"},n.createElement(a.Z,{itemProp:"url",to:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.Z)("mb-2 md:mb-4 2xl:mb-6","text-gray-700 dark:text-gray-200","text-sm sm:text-2xl 2xl:text-[32px] 2xl:leading-10","font-lg","font-bold")},m)),n.createElement("div",{className:(0,i.Z)("line-clamp-3","text-gray-700 dark:text-gray-300","text-xs md:text-base 2xl:text-xl")},f)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.Z,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,i.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","leading-6","no-underline")},n.createElement(c.Ej,{date:u,formattedDate:d})))))},m=({items:e})=>n.createElement("div",{className:(0,i.Z)("py-10","px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto","not-prose")},n.createElement("h2",{className:(0,i.Z)("m-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-10","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","px-0 blog-sm:px-6","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-lg:gap-12 gap-8"},e.map((({content:e})=>n.createElement(l.n,{key:e.metadata.permalink,content:e},n.createElement(s,null))))));var u=r(5750),d=r(9387),p=r(8241),f=r(3597),g=r(7332),b=r(6616),y=r(6250);const h=({children:e})=>{var t,r,s,m,h,v;const{metadata:x,isBlogPostPage:w}=(0,l.C)(),{permalink:E,title:O,date:k,formattedDate:j,readingTime:P,frontMatter:Z,tags:C,description:N,authors:S}=x,D=S[0],{siteConfig:{url:M}}=(0,p.Z)();return n.createElement(o.Z,{className:(0,i.Z)("py-10","px-4 sm:px-0","blog-sm:py-12","blog-md:py-16","w-full","mx-auto","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center","blog-sm:px-6")},n.createElement(a.Z,{to:"/blog",className:(0,i.Z)("!text-gray-500 text-sm no-underline")},"\u2190 Back to blog"),n.createElement("div",{className:"flex items-center space-x-2 px-2 py-1"},n.createElement("span",{className:"text-gray-500 text-sm"},"Share on"),n.createElement(f.Z,{url:M+E,title:O,source:M,summary:N,className:"flex"},n.createElement(g.Z,{size:26,round:!0})),n.createElement(b.Z,{windowWidth:750,windowHeight:800,url:M+E,className:"flex",title:O,hashtags:C.map((e=>e.label))},n.createElement(y.tL,{width:26,height:26})))),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mb-6 text-sm"},n.createElement("div",{className:(0,i.Z)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.Z,{to:`/blog/author/${null===(t=D)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=D)||void 0===r?void 0:r.imageURL,alt:null===(s=D)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.Z,{to:`/blog/author/${null===(m=D)||void 0===m?void 0:m.key}`,itemProp:"url",className:(0,i.Z)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=D)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(v=D)||void 0===v?void 0:v.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.Ej,{date:k,formattedDate:j}),void 0!==P&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.OV,{readingTime:P}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},w?O:n.createElement(a.Z,{itemProp:"url",to:E},O)),n.createElement("div",{id:u.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.Z,null,e))))},v=({author:e,className:t})=>n.createElement(x,{author:e,className:t}),x=({author:e})=>{var t,r,l,o,c,s,m,u,d,p,f;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.Z)("px-4","blog-md:px-7","blog-2xl:px-0","max-w-[640px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.Z)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.Z)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.Z,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.Z)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,i.Z)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.Z)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.Z)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.Z,{to:null===(m=e)||void 0===m?void 0:m.github},n.createElement(y.Ey,{className:"h-6 w-6"})),(null===(u=e)||void 0===u?void 0:u.twitter)&&n.createElement(a.Z,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(y.tL,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.Z,{to:null===(f=e)||void 0===f?void 0:f.linkedin},n.createElement(y.n6,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(1915),r(7328),r(6534);const w=()=>{const{metadata:e}=(0,l.C)();return n.createElement("div",{className:"flex flex-wrap gap-2 pb-6 pl-1"},e.tags.map((e=>n.createElement(a.Z,{to:e.permalink,className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","no-underline hover:no-underline","whitespace-nowrap"),key:e.permalink},e.label))))},E=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.Z)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-gray-900 dark:text-gray-200"},t),n.createElement("div",{className:"flex flex-col"},e.map((e=>n.createElement("div",{key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,i.Z)("flex","flex-col","p-5","mb-5","rounded-md","bg-gray-50 dark:bg-gray-800")},n.createElement(a.Z,{to:e.permalink,rel:"dofollow",className:(0,i.Z)("font-bold","text-gray-800 dark:text-gray-200","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,i.Z)("font-sm","text-gray-700 dark:text-gray-400")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400"},n.createElement(a.Z,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.Ej,{date:e.date,formattedDate:e.formattedDate}))))))))}},6534:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(7294),a=r(1984);const l=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(a.Z,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},2068:(e,t,r)=>{"use strict";r.d(t,{M:()=>c,e:()=>o});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},4368:(e,t,r)=>{"use strict";r.d(t,{KZ:()=>i,lu:()=>s,V1:()=>l});var n=r(7294),a=r(6895);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.k)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const m=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&m(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:m,current:r||l}},e)}},1446:(e,t,r)=>{"use strict";r.d(t,{x:()=>f});var n=r(6895),a=r(7391),l=(r(7294),r(1261));function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t{var e,t,r,o;const u=(0,n.k)(),{docs:f}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=u,{tutorial:{units:y}}=(0,m.S)(),{current:h}=(0,l.n)(),v=e=>{const t=e.id.split("/"),r=s.V1.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},x=!!(null===(e=g)||void 0===e?void 0:e.tutorial),w=b.split("/")[1],E=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.n)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:m,prev:u}=null!=s?s:{},d=m?n(m):void 0,p=t[u?n(u):void 0],f=t[d];return{previous:p?i(c({},p),{permalink:o(p.id)}):void 0,next:f?i(c({},f),{permalink:o(f.id)}):void 0}}(u),O=Object.entries(f).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),k=Object.entries(O).map((([e,r])=>p(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===w&&x&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&x&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return x?{id:b,isTutorial:x,unit:w,pagination:E,units:k}:void 0}},7790:(e,t,r)=>{"use strict";r.d(t,{eW:()=>s,wG:()=>m});var n=r(7294);const a={items:[]};var l=r(2068);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tt.filter((t=>t.unit===e));function m(){const{store:e,toggle:t}=n.useContext(l.e);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},1774:(e,t,r)=>{"use strict";r.d(t,{S:()=>a});var n=r(8241);r(7294);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.Z)(),{tutorial:t}=e;return t}},1261:(e,t,r)=>{"use strict";r.d(t,{n:()=>l});var n=r(7294),a=r(4368);const l=()=>n.useContext(a.KZ)},1117:(e,t,r)=>{"use strict";r.d(t,{U:()=>m});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),c=r(8166),i=r(6204),s=r(4813);const m=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(s.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},c.i),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},c.pO.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(i.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},c.KT.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{"use strict";r.d(t,{f:()=>W});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},y=({item:e,isPermanentDark:t})=>{const[r,l]=(0,i.useState)(null);(0,i.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?f.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var h=r(6775),v=r(2280),x=r(4080),w=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),l=i.useRef(null),o=i.useRef(null),c=(0,h.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(v.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(v.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(w.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(x.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(v.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(f.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,g.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(f.Bh,null),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},i.createElement(f.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,null)))))):i.createElement(y,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var k=r(2560),j=r(8368),P=r(9526),Z=r(4837);function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.Z,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,h.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(F,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(T,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(x.u,{appear:!0,show:e,as:i.Fragment},i.createElement(k.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(x.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.T,null),i.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),i.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(Z.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(x.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),F=e=>i.createElement("div",{className:(0,a.Z)(e.className)},g.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(H,null),i.createElement(_,{id:"tablet"}),i.createElement(V,{id:"tablet"})),T=e=>i.createElement("div",{className:(0,a.Z)(e.className)},i.createElement("div",{className:"flex-grow"},g.map((e=>e.isPopover?i.createElement(j.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(D,{component:j.p.Button,label:e.label,open:t}),i.createElement(j.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(D,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(H,null),i.createElement(_,{id:"phone"}),i.createElement(V,{id:"phone"})),V=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},_=e=>i.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(f.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,{className:"h-10 w-10"})))),H=()=>{const{colorMode:e,setColorMode:t}=(0,P.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(L.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(A.c,null),"Dark"))};var $=r(41),I=r(4695),U=r(7990),G=r(2045);const z=()=>{const{loading:e,githubStarCountText:t}=(0,I.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(U.E,{className:(0,a.Z)("w-5 h-5")}),i.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?i.createElement(G.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):i.createElement("span",null,t)))},W=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.v)(),p=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.T,null),i.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:u.Q},i.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(z,null),i.createElement($.m,null)),i.createElement(R,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:p}}))))}},3280:(e,t,r)=>{"use strict";r.d(t,{Xm:()=>c,ae:()=>l,iA:()=>o});var n=r(6010),a=r(7294);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.Z)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},41:(e,t,r)=>{"use strict";r.d(t,{L:()=>m,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},8166:(e,t,r)=>{"use strict";r.d(t,{i:()=>i,pO:()=>c,KT:()=>s});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],i="Thank you for visiting, Connect with me over socials.",s=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{L:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{O2:()=>B,v4:()=>j,XC:()=>O,Kj:()=>u,TA:()=>l,ET:()=>y,Bh:()=>g,wI:()=>c,nI:()=>v,dd:()=>p,t2:()=>A,ty:()=>s,Zm:()=>w,wW:()=>Z});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",M(function(e){for(var t=1;tn.createElement("svg",R(function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{F:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{z:()=>s});var n=r(7294),a=r(6010),l=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const s=e=>{var{children:t,href:r,className:s,onClick:m,buttonClassname:u}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.Z:"button";return n.createElement(p,c(function(e){for(var t=1;t{"use strict";r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{"use strict";r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(m,null)),m=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},8029:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),a=r(6010);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var l;const o=null!==(l=p[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=f[e])&&void 0!==c?c:"tex-inherit";var s;const m=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",m)},n.createElement("div",{className:(0,a.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||b[e])&&n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(u=null!=t?t:b[e])&&void 0!==u?u:"")),n.createElement("div",{className:(0,a.Z)("text-gray-0","text-base","last:mb-0")},r)));var u},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=f[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.Z)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.Z)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.Z)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return w(x({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,w(x({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,w(x({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,w(x({},e),{type:"caution",icon:n.createElement(O,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},2892:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),a=r(7915),l=r(859),o=r(1117),c=r(6010),i=r(1984),s=r(1526),m=r(9658);const u="Struggling with internal tools?",d="Explore refine\u2019s limitless possibilities in crafting CRUD apps, CRM solutions, HR dashboards, and more!",p="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/app-crm.png",f=({shouldShowBanner:e})=>(n.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&window.gtag("event","view_banner",{banner_name:"banner-sidebar",banner_text:u,banner_description:d,banner_image:p})}),[e]),n.createElement("div",{className:(0,c.Z)("flex","flex-col","gap-6","py-6","px-4","rounded-2xl","bg-banner-examples-sider-purple","not-prose")},n.createElement(i.Z,{to:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","w-full h-auto xl:h-[152px]","flex-shrink-0","rounded-md","overflow-hidden")},n.createElement("img",{src:p,alt:"refine App screenshot",loading:"lazy"})),n.createElement("h2",{className:(0,c.Z)("text-2xl font-semibold","text-gray-0")},u),n.createElement("p",{className:(0,c.Z)("text-base","text-gray-100")},d),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-2"),href:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},"Try online"),n.createElement(s.L,{className:(0,c.Z)("ml-2","w-4","h-4")}))));var g=r(4080),b=r(2560),y=r(4837);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>x(v({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(x(v({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},E=(e,t)=>{const[r,a]=(0,n.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};var O=r(6775);const k=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,u,d;const{pathname:p}=(0,O.TH)(),[f,h]=(0,n.useState)(!1),[v,x]=E("banner-modal",null),k=(0,n.useRef)(!1),j=w();var P,Z;return(0,n.useEffect)((()=>{"/blog/"!==p&&"/blog"!==p&&(k.current||f||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===v||null===v?(h(!0),x(0)):(x(v+1),k.current=!0)))}),[j.scrollY]),(0,n.useEffect)((()=>{f&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[f]),n.createElement(g.u,{appear:!0,show:f,as:n.Fragment},n.createElement(b.V,{as:"div",className:"relative z-modal",onClose:()=>h(!1)},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(b.V.Panel,{className:(0,c.Z)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,c.Z)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},n.createElement("div",{className:(0,c.Z)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(i.Z,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,c.Z)("object-contain"),src:null===(u=r)||void 0===u?void 0:u.src,alt:null!==(Z=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==Z?Z:e,loading:"lazy"})),n.createElement("p",{className:(0,c.Z)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},a.text),n.createElement(s.L,{className:(0,c.Z)("w-4","h-4")}))),n.createElement("button",{className:(0,c.Z)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>h(!1)},n.createElement(y.T,{className:"w-4 h-4"})))))))))};function j(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const P=e=>{const[t,r]=(0,n.useState)(!1),{children:i,toc:s}=e,m=j(e,["children","toc"]),{pathname:u}=(0,O.TH)(),d=w();return(0,n.useEffect)((()=>{t&&"/blog/"!==u&&"/blog"!==u&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY]),n.createElement(a.j,m,n.createElement(l.f,{hasSticky:!0,trackProgress:!!s}),n.createElement("div",{className:(0,c.Z)("flex","justify-center","mx-auto","max-w-screen-blog-max","w-full")},n.createElement("div",{className:(0,c.Z)("relative","w-[264px]","pl-4","py-10 blog-sm:py-12 blog-md:py-16","hidden xl:block",t&&"opacity-100",!t&&"opacity-0","transition-opacity duration-300 ease-in-out")},n.createElement("div",{className:(0,c.Z)("sticky","w-[264px]","z-[1]","top-32","left-0")},n.createElement(f,{shouldShowBanner:t}))),n.createElement("div",{className:(0,c.Z)("refine-prose","flex-1","min-w-0","xl:px-8")},i),s&&n.createElement("div",{className:(0,c.Z)("w-[280px]","hidden blog-md:block","flex-shrink-0")},s)),n.createElement(o.U,null),n.createElement(k,null))}},5503:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(7294),a=r(6010),l=r(8241),o=r(9712),c=r(5319),i=r(2892),s=r(6894),m=r(797),u=r(1743),d=r(7886);function p(e){const{metadata:t}=e,{siteConfig:{title:r}}=(0,l.Z)(),{blogDescription:a,blogTitle:c,permalink:i}=t,m="/"===i?r:c;return n.createElement(n.Fragment,null,n.createElement(o.d,{title:m,description:a}),n.createElement(s.Z,{tag:"blog_posts_list"}))}function f(e){const{metadata:t,tags:r,items:l}=e,o=1===t.page,c=l.filter((e=>!0===e.content.metadata.frontMatter.is_featured)),s=l.filter((e=>!0!==e.content.metadata.frontMatter.is_featured));return n.createElement(i.Z,null,o&&n.createElement(d.rg,{items:c}),n.createElement("div",{className:(0,a.Z)("px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto","blog-md:block hidden")},n.createElement("div",{className:"border-b border-gray-100 dark:border-gray-700"})),n.createElement(m.Z,{items:s,tags:r,metadata:t}),n.createElement("div",{className:(0,a.Z)("max-w-[512px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto","blog-md:border-t border-t-gray-200 dark:border-t-gray-700","blog-sm:mb-16 blog-2xl:mb-20 mb-10")},n.createElement(u.Z,{metadata:t})))}function g(e){return n.createElement(o.FG,{className:(0,a.Z)(c.k.wrapper.blogPages,c.k.page.blogListPage)},n.createElement(p,e),n.createElement(f,e))}},1743:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(7294),a=r(2210),l=r(1984),o=r(6250);const c="...",i=(e,t)=>{const r=t-e+1;return Array.from({length:r},((t,r)=>r+e))};var s=r(6010);function m(e){const{metadata:t,basePath:r="/blog"}=e,{totalPages:m,page:u}=t,d=(({totalPages:e,siblingCount:t=1,currentPage:r})=>(0,n.useMemo)((()=>{if(t+5>=e)return i(1,e);const n=Math.max(r-t,1),a=Math.min(r+t,e),l=n>2,o=ae===c?n.createElement("li",{key:`page:${e}`,className:(0,s.Z)("flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded","hover:no-underline","no-underline","h-[32px] w-[32px]")},"\u2026"):n.createElement("li",{key:e},n.createElement(l.Z,{to:1===e?r:`${r}/page/${e}`,className:(0,s.Z)("text-sm","flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded","hover:no-underline","h-[32px] w-[32px]","no-underline",e===u&&"bg-gray-100 dark:bg-gray-700")},e)))),n.createElement("li",null,n.createElement(l.Z,{to:u===p?void 0:`${r}/page/${u+1}`,className:(0,s.Z)("text-gray-500 dark:text-gray-400","rounded","hover:no-underline",{"pointer-events-none opacity-20":u===p})},n.createElement(o._Q,null)))))}},797:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(7294),a=r(4185),l=r(3149),o=r(1984),c=r(5506),i=r(6987),s=r(6010);function m({className:e}){var t,r;const{metadata:l}=(0,a.C)(),{permalink:m,title:u,date:d,formattedDate:p,frontMatter:f,description:g,tags:b}=l,y=l.authors[0];return n.createElement(c.Z,{className:e},n.createElement("div",null,n.createElement(o.Z,{itemProp:"url",to:m})),n.createElement("div",{className:"p-4"},n.createElement("div",{className:(0,s.Z)("mb-2 flex gap-1 md:mb-4","flex flex-wrap items-center")},b.map((e=>n.createElement(o.Z,{className:(0,s.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(o.Z,{itemProp:"url",to:m,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.Z)("text-xs sm:text-sm md:text-2xl lg:text-base 2xl:text-xl","text-gray-700 dark:text-gray-200","font-lg","font-bold","leading-6")},u)),n.createElement("div",{className:(0,s.Z)("text-xs md:text-base lg:text-sm 2xl:text-lg","mt-2 md:mt-4","line-clamp-3 text-gray-700 dark:text-gray-300")},g)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.Z,{href:`/blog/author/${null===(t=y)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=y)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},n.createElement(i.Ej,{date:d,formattedDate:p})))))}function u({items:e,tags:t,component:r=m,isAuthorPage:o,isTagsPage:c}){return n.createElement("div",{className:(0,s.Z)("px-4","blog-md:px-7","blog-2xl:px-0",!o&&!c&&"blog-sm:pb-16 blog-md:pb-8 blog-2xl:pb-12 pb-10",!o&&!c&&"blog-md:pt-16 blog-2xl:pt-20",(o||c)&&"py-8","max-w-[512px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},!o&&!c&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.Z)("flex flex-col blog-md:flex-row items-start lg:items-center justify-between","mb-4 lg:mb-8","px-0 blog-sm:px-6","not-prose")},n.createElement("h2",{className:(0,s.Z)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","font-semibold")},"All Posts"),n.createElement("p",{className:(0,s.Z)("text-sm blog-md:text-base blog-lg:text-xl","blog-md:max-w-[624px]","mt-6 lg:mt-0","text-gray-500 dark:text-gray-400")},n.createElement("b",null,"PrepVerse blog")," - contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")),n.createElement(l.Z,{tags:t})),n.createElement("div",{className:(0,s.Z)("grid","grid-cols-1 blog-md:grid-cols-3","gap-4 blog-lg:gap-12","pt-6",o?"blog-md:pt-0":"blog-md:pt-12")},e.map((({content:e})=>n.createElement(a.n,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null)))))))}},923:(e,t,r)=>{"use strict";r.d(t,{d:()=>A});var n=r(7294),a=r(358),l=r(5468),o=r(6016),c=r(3151),i=r(5489),s=r(3533),m=r(9238),u=r(6010),d=r(3746);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function g(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const b=e=>{var{as:t}=e,r=g(e,["as"]);return n.createElement(t,f(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,u.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:o},n.createElement(h,{className:(0,u.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:O;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,u.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,u.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){for(var t=1;tn.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),N=({children:e,icon:t=n.createElement(C,null)})=>n.createElement("div",{className:(0,u.Z)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:a,showLineNumbers:l,language:p,icon:f,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.L)();var x;const w=null!==(x=null!=p?p:(0,i.Vo)(t))&&void 0!==x?x:y,E=(0,c.p)(),O=(0,s.F)(),j=(0,i.bc)(r)||a,{lineClassNames:C,code:S}=(0,i.nZ)(e,{metastring:r,language:w,magicComments:h}),D=null!=l?l:(0,i.nt)(r);return n.createElement(b,{as:"div",className:(0,u.Z)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-800","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(N,{icon:f},j),n.createElement("div",{className:(0,u.Z)("relative","pt-3","pb-0","not-prose")},n.createElement(d.ZP,Z(P({},d.lG),{theme:E,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:O.codeBlockRef,className:(0,u.Z)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,u.Z)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(m.Z,{key:t,line:e,getLineProps:r,getTokenProps:a,classNames:(0,u.Z)(C[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:D})))))))),n.createElement("div",{className:(0,u.Z)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(O.isEnabled||O.isCodeScrollable)&&n.createElement(k,{onClick:O.toggle,isEnabled:O.isEnabled}),n.createElement(v,{className:(0,u.Z)(),code:S})))};function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const A=e=>{var{children:t}=e,r=M(e,["children"]);const o=(0,a.Z)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?S:l.Z;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>C});var n=r(7294),a=r(923),l=r(6010),o=r(8241),c=r(5772),i=r.n(c),s=r(7391);const m="playgroundPreview_jwe9";function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.Z)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.Z)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(p,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.Z)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.Z)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const p=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var g=r(6822),b=r(8764);function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||b.lW;const h=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.Z)(),[l,c]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&c(`${a.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},v=n.memo(h,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),x=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(x,{className:(0,l.Z)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.Z)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.Z)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.Z)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.Z)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(C,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:u=!1})=>{const p=String(e),{shared:b,sharedCss:y}=(0,g.dD)(),{visible:h}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+t.length:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=b?b:""}\n ${p}\n `.replace(/\n$/,"")),x=n.useRef(null),E=((e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r})(x),{siteConfig:{customFields:O}}=(0,o.Z)(),{isLast:k}=(0,s.E)();return n.createElement("div",{className:(0,l.Z)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.Z)(m,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:x},k?n.createElement(f,{if:E,maxWait:3e3},(()=>n.createElement(v,{code:`\n${null!=b?b:""}\n${p}\n `,css:y,query:`${t?"&disableScroll=true":""}${u?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(w,{hidden:a,code:h})))},O=n.memo(E,((e,t)=>String(e.children)===String(t.children))),k=({children:e})=>{const{setShared:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},j=n.memo(k,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setSharedCss:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},Z=n.memo(P,((e,t)=>String(e.children)===String(t.children)));function C(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(Z,e):e.shared&&e.live?n.createElement(j,e):e.live?n.createElement(O,e):n.createElement(a.d,e)}},258:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(7294),a=r(1984),l=r(7785);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e){var t;const r=(e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.Z)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i})(null===(t=e)||void 0===t?void 0:t.href);return n.createElement(a.Z,c(function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>Fe});var n=r(7693),a=r(7294),l=r(6010),o=r(9658);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=e=>a.createElement("svg",function(e){for(var t=1;t{var d,p,f,g,b,y;return a.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),a.createElement("div",{className:(0,l.Z)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},a.createElement(m.Z,{to:null!==(b=null===(d=r)||void 0===d?void 0:d.href)&&void 0!==b?b:null===(p=c)||void 0===p?void 0:p.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.Z)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(y=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==y?y:e,loading:"lazy"})),a.createElement("div",{className:(0,l.Z)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.Z)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.Z)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.z,{className:(0,l.Z)("w-max"),buttonClassname:(0,l.Z)("!px-4","!py-2"),href:c.href,onClick:c.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.Z)("text-gray-900","text-sm md:text-base","font-bold")},c.text),a.createElement(s.L,{className:(0,l.Z)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))),a.createElement(i,{className:(0,l.Z)("absolute","bottom-2","right-2")}))},d=({title:e="Open-source Retool alternative for enterprise",description:t="Build React-based internal tools, dashboards & B2B apps with unmatched flexibility",button:r={text:"Discover Refine",href:"https://s.refine.dev/blog-retool?ref=banner-retool-alternative",onClick:void 0}})=>(a.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),a.createElement("div",{className:(0,l.Z)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.Z)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.Z)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.z,{className:(0,l.Z)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.Z)("text-gray-900","text-base","font-bold")},r.text)),a.createElement(i,{className:(0,l.Z)("absolute","bottom-2","right-2")})));var p=r(950);const f=[{description:"Refine is a React Framework used by over monthly 15K developers for building enterprise internal tools, dashboards, and B2B apps",image:{src:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/banner-tweet.jpg",alt:"X tweet about Refine",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},button:{text:"Learn more",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},bannerName:"banner-twitter"}],g=Math.floor(Math.random()*(f.length+1));var b=r(1915),y=r(7328);const h=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var v=r(6534),x=r(2076),w=r(1446),E=r(7790);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,w.x)(),[i,s]=a.useState(!1),{items:m}=(0,E.wG)(),{reward:u}=(0,x.w5)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=m.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),u())}),[d,i]),a.createElement("div",{className:(0,l.Z)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.Z)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(k,{className:(0,l.Z)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.Z)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Z=e=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,w.x)(),{items:s,toggle:m}=(0,E.wG)(),u=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.Z)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{m(i,t)},className:(0,l.Z)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!u,"border-refine-react-dark-link dark:border-refine-react-dark-link":u,"bg-refine-react-dark-link":u})},u&&a.createElement(Z,null))),a.createElement("div",{className:(0,l.Z)(u&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!u&&"text-gray-800 dark:text-gray-100")},e))};var N=r(923),S=r(5904);const D=({path:e})=>a.createElement(N.d,{language:"bash",title:"Run on your local",icon:a.createElement(S.F,null)},`npm create refine-app@latest -- --example ${e}`);var M=r(7990);const A=({path:e})=>a.createElement("div",{className:(0,l.Z)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},a.createElement(M.E,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.Z)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),L=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(A,{path:t})},R=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(L,{path:e}),!r&&a.createElement(D,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var B=r(8029),F=r(6153);const T=()=>a.createElement("div",null,a.createElement(B.Z,{type:"simple",title:"Good to know"},a.createElement(F.D,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),V=({children:e,content:t})=>a.createElement("div",{className:(0,l.Z)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.Z)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},a.createElement("div",{className:(0,l.Z)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),_=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.Z)("orange"===r&&(0,l.Z)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,l.Z)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,l.Z)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return a.createElement(V,{content:o},a.createElement(m.Z,{to:`/docs/${e}`,className:(0,l.Z)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",c)},t,n&&a.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const $=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.Z)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.Z)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:c},e):null,z="tooltip__Ymd",W="tooltipContainer_l6r7",Y="tooltipContent_UeXm",q="tooltipArrow_mOyh",J=({label:e,children:t})=>e?a.createElement("div",{className:`${z} group`},t,a.createElement("div",{className:`${W} group-hover:visible`},a.createElement("span",{className:Y},e),a.createElement("div",{className:q}))):a.createElement(a.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const X=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,m;const u=null!==(m=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==m?m:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),p=(0,a.useMemo)((()=>u?a.createElement(F.D,null,u):null),[e,t]);var f;return a.createElement(J,{label:p},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(f=t[`${e.name}-name`])&&void 0!==f?f:e.name),o&&a.createElement(G,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(F.D,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(F.D,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(F.D,null,n)))},ee=({prop:e,overrides:t})=>{var r,n;return a.createElement(F.D,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},te=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(F.D,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(F.D,null,i)):null)},re=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(X,{prop:e,overrides:t}))),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),ae=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(ee,{prop:e,overrides:t})),le=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(te,{prop:e,overrides:t})),oe=e=>{var{module:t,hideDefaults:n,children:l}=e,o=K(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(9624)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(re,{prop:e,overrides:o}),a.createElement(ne,{prop:e,overrides:o}),a.createElement(ae,{prop:e,overrides:o}),i?null:a.createElement(le,{prop:e,overrides:o})))))),l)};function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ie=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,se.n)();return e&&r===e?a.createElement(a.Fragment,null,t):null};var ue=r(6928);function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const fe=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(ue.P,pe(function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const he=e=>{var{children:t,className:r}=e,n=ye(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(m(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.Z)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",ke(Oe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:u},n),{className:(0,l.Z)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function Pe({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.Z)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function Ze(e){const t=(0,xe.Y)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.Z)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(je,Oe({},e,t)),a.createElement(Pe,Oe({},e,t)))}function Ce(e){const t=(0,we.Z)();return a.createElement(Ze,Oe({key:String(t)},e))}function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Me(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var Ae;var Le=r(3280),Re=r(551);function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Fe=(Te=function(e){for(var t=1;t{var{className:t}=e,r=Se(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tg===f.length?a.createElement(p.Z,null,(()=>a.createElement(d,null))):a.createElement(p.Z,null,(()=>a.createElement(u,f[g]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(_,{id:e,color:"green",icon:a.createElement(U,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>a.createElement(_,{id:e,color:"orange",text:r,icon:a.createElement(ie,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>a.createElement(_,{color:"purple",icon:a.createElement($,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Me(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return a.createElement(Ce,null,a.createElement(Re.Z,{value:"npm",label:"npm",default:!0},a.createElement(N.d,{className:"language-bash"},r.npm)),a.createElement(Re.Z,{value:"pnpm",label:"pnpm"},a.createElement(N.d,{className:"language-bash"},r.pnpm)),a.createElement(Re.Z,{value:"yarn",label:"yarn"},a.createElement(N.d,{className:"language-bash"},r.yarn),a.createElement(F.D,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return a.createElement(Ce,null,a.createElement(Re.Z,{value:"npm",label:"npm",default:!0},a.createElement(N.d,{className:"language-bash"},r.npm),t),a.createElement(Re.Z,{value:"pnpm",label:"pnpm"},a.createElement(N.d,{className:"language-bash"},r.pnpm),t),a.createElement(Re.Z,{value:"yarn",label:"yarn"},a.createElement(N.d,{className:"language-bash"},r.yarn),t))},FullTable:Le.Xm},Ve=null!=Ve?Ve:{},Object.getOwnPropertyDescriptors?Object.defineProperties(Te,Object.getOwnPropertyDescriptors(Ve)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(Ve)).forEach((function(e){Object.defineProperty(Te,e,Object.getOwnPropertyDescriptor(Ve,e))})),Te);var Te,Ve},9527:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(7294),a=r(6010),l=r(1984);function o({permalink:e,label:t,isActive:r}){return n.createElement(l.Z,{href:e,className:(0,a.Z)("no-underline hover:no-underline","text-xs",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","rounded","py-1","px-2",r&&"bg-gray-200 text-gray-500",r&&"dark-bg-gray-700 text-gray-300")},t)}},3149:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var n=r(7294),a=r(9527),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(6010),u=r(8368),d=r(4080),p=r(4642);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;tn.createElement("svg",{width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.292893 0.792893C0.683417 0.402369 1.31658 0.402369 1.70711 0.792893L4 3.08579L6.29289 0.792893C6.68342 0.402369 7.31658 0.402369 7.70711 0.792893C8.09763 1.18342 8.09763 1.81658 7.70711 2.20711L4.70711 5.20711C4.31658 5.59763 3.68342 5.59763 3.29289 5.20711L0.292893 2.20711C-0.0976311 1.81658 -0.0976311 1.18342 0.292893 0.792893Z",fill:"currentColor"})),h=e=>{e=e.replace(/-/g," ");return[["typescript","TypeScript"],["javascript","JavaScript"],["chakra ui","Chakra UI"],["material ui","Material UI"],["nextjs","Next.js"],["nestjs","NestJS"],["css","CSS"]].forEach((t=>{e=e.replace(t[0],t[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)},v=({tags:e,collapsed:t,onShowMoreClick:r})=>n.createElement("div",{className:(0,m.Z)("hidden lg:flex","not-prose","justify-between","items-start","bg-gray-50 dark:bg-gray-800","rounded-xl p-4 2xl:p-6")},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1",t&&"h-8"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:h(e.label)})))))),n.createElement("label",{onClick:()=>r(!t),className:(0,m.Z)("flex","items-center","gap-1","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","bg-gray-100 dark:bg-gray-600","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","mt-1")},"Show More ",n.createElement(y,null))),x=({tags:e})=>n.createElement("div",{className:"mb-10 block w-full lg:hidden"},n.createElement(u.p,null,(({open:t})=>n.createElement("div",{className:(0,m.Z)("rounded-[4px]","border border-gray-100 dark:border-gray-700")},n.createElement(u.p.Button,{className:(0,m.Z)("bg-gray-50 dark:bg-gray-800","border-b border-gray-100 dark:border-gray-700","w-full","flex items-center gap-3","px-2 py-2")},n.createElement(p.A,{className:(0,m.Z)("h-5 w-5","text-gray-400 dark:text-gray-500","transition-transform duration-200 ease-in-out",{"-rotate-90 transform":!t})}),n.createElement("span",{className:(0,m.Z)("text-sm","dark:text-gray-0 text-gray-900")},"Blog Post Tags")),n.createElement(d.u,{show:t,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(u.p.Panel,{className:"h-[200px] overflow-auto p-2 sm:h-[232px] sm:p-6"},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:h(e.label)}))))))))))));function w({tags:e}){const[t,r]=n.useState(!0),a=["refine","react","nextjs","typescript","tutorial","material-ui","ant-design","docker","comparison"],l=(null!=e?e:[]).sort(((e,t)=>{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(v,{collapsed:t,tags:l,onShowMoreClick:e=>r(e)}),n.createElement(x,{tags:l}))}},3799:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/a6aa9e1f.e14ca9f4.js b/assets/js/a6aa9e1f.e14ca9f4.js new file mode 100644 index 00000000..11276737 --- /dev/null +++ b/assets/js/a6aa9e1f.e14ca9f4.js @@ -0,0 +1 @@ +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3089],{9624:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[2181,2181]};function a(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=9624,e.exports=a},5506:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(7294),a=r(676),l=r(4185);function o({children:e,className:t}){const{frontMatter:r,assets:o}=(0,l.C)(),{withBaseUrl:c}=(0,a.C)();var i;const s=null!==(i=o.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:c(s,{absolute:!0})}),e)}},4185:(e,t,r)=>{"use strict";r.d(t,{C:()=>c,n:()=>o});var n=r(7294),a=r(7806);const l=n.createContext(null);function o({children:e,content:t,isBlogPostPage:r=!1}){const a=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(l.Provider,{value:a},e)}function c(){const e=(0,n.useContext)(l);if(null===e)throw new a.i6("BlogPostProvider");return e}},60:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var n=r(7294),a=r(8241);const l=["zero","one","two","few","many","other"];function o(e){return l.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,a.Z)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const a=r.select(t),l=r.pluralForms.indexOf(a);return n[Math.min(l,n.length-1)]}(r,t,e)}}},6987:(e,t,r)=>{"use strict";r.d(t,{Ej:()=>a,OV:()=>c});var n=r(7294);function a({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var l=r(60),o=r(2210);function c({readingTime:e}){const t=function(){const{selectMessage:e}=(0,l.c)();return t=>{const r=Math.ceil(t);return e(r,(0,o.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},1915:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(7294),a=r(1984);const l=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(a.Z,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7328:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(7294),a=r(1984);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(a.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(i,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(o,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},7886:(e,t,r)=>{"use strict";r.d(t,{Ag:()=>v,zS:()=>h,rg:()=>m,gZ:()=>E,$G:()=>w});var n=r(7294),a=r(1984),l=r(4185),o=r(5506),c=r(6987),i=r(6010);const s=()=>{var e,t;const{metadata:r}=(0,l.C)(),{permalink:s,title:m,date:u,formattedDate:d,frontMatter:p,description:f,tags:g}=r,b=r.authors[0];return n.createElement(o.Z,null,n.createElement(a.Z,{itemProp:"url",to:s}),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,i.Z)("mb-2 gap-1 md:mb-4 2xl:mb-6","flex flex-wrap items-center")},g.map((e=>n.createElement(a.Z,{className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4 2xl:mb-6"},n.createElement(a.Z,{itemProp:"url",to:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.Z)("mb-2 md:mb-4 2xl:mb-6","text-gray-700 dark:text-gray-200","text-sm sm:text-2xl 2xl:text-[32px] 2xl:leading-10","font-lg","font-bold")},m)),n.createElement("div",{className:(0,i.Z)("line-clamp-3","text-gray-700 dark:text-gray-300","text-xs md:text-base 2xl:text-xl")},f)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.Z,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,i.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","leading-6","no-underline")},n.createElement(c.Ej,{date:u,formattedDate:d})))))},m=({items:e})=>n.createElement("div",{className:(0,i.Z)("py-10","px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto","not-prose")},n.createElement("h2",{className:(0,i.Z)("m-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-10","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","px-0 blog-sm:px-6","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-lg:gap-12 gap-8"},e.map((({content:e})=>n.createElement(l.n,{key:e.metadata.permalink,content:e},n.createElement(s,null))))));var u=r(5750),d=r(9387),p=r(8241),f=r(3597),g=r(7332),b=r(6616),y=r(6250);const h=({children:e})=>{var t,r,s,m,h,v;const{metadata:x,isBlogPostPage:w}=(0,l.C)(),{permalink:E,title:O,date:k,formattedDate:j,readingTime:P,frontMatter:Z,tags:N,description:C,authors:S}=x,D=S[0],{siteConfig:{url:M}}=(0,p.Z)();return n.createElement(o.Z,{className:(0,i.Z)("py-10","px-4 sm:px-0","blog-sm:py-12","blog-md:py-16","w-full","mx-auto","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center","blog-sm:px-6")},n.createElement(a.Z,{to:"/blog",className:(0,i.Z)("!text-gray-500 text-sm no-underline")},"\u2190 Back to blog"),n.createElement("div",{className:"flex items-center space-x-2 px-2 py-1"},n.createElement("span",{className:"text-gray-500 text-sm"},"Share on"),n.createElement(f.Z,{url:M+E,title:O,source:M,summary:C,className:"flex"},n.createElement(g.Z,{size:26,round:!0})),n.createElement(b.Z,{windowWidth:750,windowHeight:800,url:M+E,className:"flex",title:O,hashtags:N.map((e=>e.label))},n.createElement(y.tL,{width:26,height:26})))),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mb-6 text-sm"},n.createElement("div",{className:(0,i.Z)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.Z,{to:`/blog/author/${null===(t=D)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=D)||void 0===r?void 0:r.imageURL,alt:null===(s=D)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.Z,{to:`/blog/author/${null===(m=D)||void 0===m?void 0:m.key}`,itemProp:"url",className:(0,i.Z)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=D)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(v=D)||void 0===v?void 0:v.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.Ej,{date:k,formattedDate:j}),void 0!==P&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.OV,{readingTime:P}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},w?O:n.createElement(a.Z,{itemProp:"url",to:E},O)),n.createElement("div",{id:u.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.Z,null,e))))},v=({author:e,className:t})=>n.createElement(x,{author:e,className:t}),x=({author:e})=>{var t,r,l,o,c,s,m,u,d,p,f;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.Z)("px-4","blog-md:px-7","blog-2xl:px-0","max-w-[640px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.Z)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.Z)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.Z,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.Z)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,i.Z)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.Z)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.Z)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.Z,{to:null===(m=e)||void 0===m?void 0:m.github},n.createElement(y.Ey,{className:"h-6 w-6"})),(null===(u=e)||void 0===u?void 0:u.twitter)&&n.createElement(a.Z,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(y.tL,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.Z,{to:null===(f=e)||void 0===f?void 0:f.linkedin},n.createElement(y.n6,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(1915),r(7328),r(6534);const w=()=>{const{metadata:e}=(0,l.C)();return n.createElement("div",{className:"flex flex-wrap gap-2 pb-6 pl-1"},e.tags.map((e=>n.createElement(a.Z,{to:e.permalink,className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","no-underline hover:no-underline","whitespace-nowrap"),key:e.permalink},e.label))))},E=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.Z)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-gray-900 dark:text-gray-200"},t),n.createElement("div",{className:"flex flex-col"},e.map((e=>n.createElement("div",{key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,i.Z)("flex","flex-col","p-5","mb-5","rounded-md","bg-gray-50 dark:bg-gray-800")},n.createElement(a.Z,{to:e.permalink,rel:"dofollow",className:(0,i.Z)("font-bold","text-gray-800 dark:text-gray-200","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,i.Z)("font-sm","text-gray-700 dark:text-gray-400")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400"},n.createElement(a.Z,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.Ej,{date:e.date,formattedDate:e.formattedDate}))))))))}},6534:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(7294),a=r(1984);const l=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(a.Z,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},2068:(e,t,r)=>{"use strict";r.d(t,{M:()=>c,e:()=>o});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},4368:(e,t,r)=>{"use strict";r.d(t,{KZ:()=>i,lu:()=>s,V1:()=>l});var n=r(7294),a=r(6895);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.k)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const m=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&m(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:m,current:r||l}},e)}},1446:(e,t,r)=>{"use strict";r.d(t,{x:()=>f});var n=r(6895),a=r(7391),l=(r(7294),r(1261));function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t{var e,t,r,o;const u=(0,n.k)(),{docs:f}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=u,{tutorial:{units:y}}=(0,m.S)(),{current:h}=(0,l.n)(),v=e=>{const t=e.id.split("/"),r=s.V1.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},x=!!(null===(e=g)||void 0===e?void 0:e.tutorial),w=b.split("/")[1],E=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.n)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:m,prev:u}=null!=s?s:{},d=m?n(m):void 0,p=t[u?n(u):void 0],f=t[d];return{previous:p?i(c({},p),{permalink:o(p.id)}):void 0,next:f?i(c({},f),{permalink:o(f.id)}):void 0}}(u),O=Object.entries(f).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),k=Object.entries(O).map((([e,r])=>p(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===w&&x&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&x&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return x?{id:b,isTutorial:x,unit:w,pagination:E,units:k}:void 0}},7790:(e,t,r)=>{"use strict";r.d(t,{eW:()=>s,wG:()=>m});var n=r(7294);const a={items:[]};var l=r(2068);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tt.filter((t=>t.unit===e));function m(){const{store:e,toggle:t}=n.useContext(l.e);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},1774:(e,t,r)=>{"use strict";r.d(t,{S:()=>a});var n=r(8241);r(7294);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.Z)(),{tutorial:t}=e;return t}},1261:(e,t,r)=>{"use strict";r.d(t,{n:()=>l});var n=r(7294),a=r(4368);const l=()=>n.useContext(a.KZ)},3812:(e,t,r)=>{"use strict";r.d(t,{U:()=>g});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),c=r(7092),i=r(961),s=r(3380),m=r(506);const u=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",icon:l.createElement(m.nm,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:l.createElement(m.nm,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],d=[{icon:c.I,href:"https://github.com/AkashSingh3031"},{icon:s.p,href:"https://twitter.com/akashsingh3031"},{icon:i._,href:"https://www.linkedin.com/in/akashsingh3031"}];var p=r(6204),f=r(4813);const g=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(f.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},"Thank you for visiting, Connect with me over socials."),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},u.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(p.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},d.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{"use strict";r.d(t,{f:()=>W});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},y=({item:e,isPermanentDark:t})=>{const[r,l]=(0,i.useState)(null);(0,i.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?f.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var h=r(6775),v=r(2280),x=r(4080),w=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),l=i.useRef(null),o=i.useRef(null),c=(0,h.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(v.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(v.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(w.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(x.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(v.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(f.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,g.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(f.Bh,null),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},i.createElement(f.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,null)))))):i.createElement(y,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var k=r(2560),j=r(8368),P=r(9526),Z=r(4837);function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.Z,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,h.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(F,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(T,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(x.u,{appear:!0,show:e,as:i.Fragment},i.createElement(k.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(x.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.T,null),i.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),i.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(Z.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(x.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),F=e=>i.createElement("div",{className:(0,a.Z)(e.className)},g.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(H,null),i.createElement(_,{id:"tablet"}),i.createElement(V,{id:"tablet"})),T=e=>i.createElement("div",{className:(0,a.Z)(e.className)},i.createElement("div",{className:"flex-grow"},g.map((e=>e.isPopover?i.createElement(j.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(D,{component:j.p.Button,label:e.label,open:t}),i.createElement(j.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(D,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(H,null),i.createElement(_,{id:"phone"}),i.createElement(V,{id:"phone"})),V=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},_=e=>i.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(f.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,{className:"h-10 w-10"})))),H=()=>{const{colorMode:e,setColorMode:t}=(0,P.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(A.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(L.c,null),"Dark"))};var $=r(41),I=r(4695),U=r(7990),G=r(2045);const z=()=>{const{loading:e,githubStarCountText:t}=(0,I.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(U.E,{className:(0,a.Z)("w-5 h-5")}),i.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?i.createElement(G.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):i.createElement("span",null,t)))},W=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.v)(),p=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.T,null),i.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:u.Q},i.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(z,null),i.createElement($.m,null)),i.createElement(R,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:p}}))))}},3280:(e,t,r)=>{"use strict";r.d(t,{Xm:()=>c,ae:()=>l,iA:()=>o});var n=r(6010),a=r(7294);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.Z)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},41:(e,t,r)=>{"use strict";r.d(t,{L:()=>m,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},1526:(e,t,r)=>{"use strict";r.d(t,{L:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{I:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{_:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{p:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{O2:()=>B,v4:()=>j,XC:()=>O,Kj:()=>u,TA:()=>l,ET:()=>y,Bh:()=>g,wI:()=>c,nI:()=>v,dd:()=>p,nm:()=>V,t2:()=>L,ty:()=>s,Zm:()=>w,wW:()=>Z});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",M(function(e){for(var t=1;tn.createElement("svg",R(function(e){for(var t=1;t{const{colorMode:t}=(0,F.I)();return n.createElement("div",{className:(0,S.Z)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,S.Z)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{F:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{z:()=>s});var n=r(7294),a=r(6010),l=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const s=e=>{var{children:t,href:r,className:s,onClick:m,buttonClassname:u}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.Z:"button";return n.createElement(p,c(function(e){for(var t=1;t{"use strict";r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{"use strict";r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(m,null)),m=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},8029:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),a=r(6010);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var l;const o=null!==(l=p[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=f[e])&&void 0!==c?c:"tex-inherit";var s;const m=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",m)},n.createElement("div",{className:(0,a.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||b[e])&&n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(u=null!=t?t:b[e])&&void 0!==u?u:"")),n.createElement("div",{className:(0,a.Z)("text-gray-0","text-base","last:mb-0")},r)));var u},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=f[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.Z)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.Z)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.Z)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return w(x({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,w(x({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,w(x({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,w(x({},e),{type:"caution",icon:n.createElement(O,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},2892:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),a=r(7915),l=r(859),o=r(3812),c=r(6010),i=r(1984),s=r(1526),m=r(9658);const u="Struggling with internal tools?",d="Explore refine\u2019s limitless possibilities in crafting CRUD apps, CRM solutions, HR dashboards, and more!",p="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/app-crm.png",f=({shouldShowBanner:e})=>(n.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&window.gtag("event","view_banner",{banner_name:"banner-sidebar",banner_text:u,banner_description:d,banner_image:p})}),[e]),n.createElement("div",{className:(0,c.Z)("flex","flex-col","gap-6","py-6","px-4","rounded-2xl","bg-banner-examples-sider-purple","not-prose")},n.createElement(i.Z,{to:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","w-full h-auto xl:h-[152px]","flex-shrink-0","rounded-md","overflow-hidden")},n.createElement("img",{src:p,alt:"refine App screenshot",loading:"lazy"})),n.createElement("h2",{className:(0,c.Z)("text-2xl font-semibold","text-gray-0")},u),n.createElement("p",{className:(0,c.Z)("text-base","text-gray-100")},d),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-2"),href:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},"Try online"),n.createElement(s.L,{className:(0,c.Z)("ml-2","w-4","h-4")}))));var g=r(4080),b=r(2560),y=r(4837);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>x(v({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(x(v({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},E=(e,t)=>{const[r,a]=(0,n.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};var O=r(6775);const k=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,u,d;const{pathname:p}=(0,O.TH)(),[f,h]=(0,n.useState)(!1),[v,x]=E("banner-modal",null),k=(0,n.useRef)(!1),j=w();var P,Z;return(0,n.useEffect)((()=>{"/blog/"!==p&&"/blog"!==p&&(k.current||f||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===v||null===v?(h(!0),x(0)):(x(v+1),k.current=!0)))}),[j.scrollY]),(0,n.useEffect)((()=>{f&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[f]),n.createElement(g.u,{appear:!0,show:f,as:n.Fragment},n.createElement(b.V,{as:"div",className:"relative z-modal",onClose:()=>h(!1)},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(b.V.Panel,{className:(0,c.Z)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,c.Z)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},n.createElement("div",{className:(0,c.Z)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(i.Z,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,c.Z)("object-contain"),src:null===(u=r)||void 0===u?void 0:u.src,alt:null!==(Z=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==Z?Z:e,loading:"lazy"})),n.createElement("p",{className:(0,c.Z)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},a.text),n.createElement(s.L,{className:(0,c.Z)("w-4","h-4")}))),n.createElement("button",{className:(0,c.Z)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>h(!1)},n.createElement(y.T,{className:"w-4 h-4"})))))))))};function j(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const P=e=>{const[t,r]=(0,n.useState)(!1),{children:i,toc:s}=e,m=j(e,["children","toc"]),{pathname:u}=(0,O.TH)(),d=w();return(0,n.useEffect)((()=>{t&&"/blog/"!==u&&"/blog"!==u&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY]),n.createElement(a.j,m,n.createElement(l.f,{hasSticky:!0,trackProgress:!!s}),n.createElement("div",{className:(0,c.Z)("flex","justify-center","mx-auto","max-w-screen-blog-max","w-full")},n.createElement("div",{className:(0,c.Z)("relative","w-[264px]","pl-4","py-10 blog-sm:py-12 blog-md:py-16","hidden xl:block",t&&"opacity-100",!t&&"opacity-0","transition-opacity duration-300 ease-in-out")},n.createElement("div",{className:(0,c.Z)("sticky","w-[264px]","z-[1]","top-32","left-0")},n.createElement(f,{shouldShowBanner:t}))),n.createElement("div",{className:(0,c.Z)("refine-prose","flex-1","min-w-0","xl:px-8")},i),s&&n.createElement("div",{className:(0,c.Z)("w-[280px]","hidden blog-md:block","flex-shrink-0")},s)),n.createElement(o.U,null),n.createElement(k,null))}},5503:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>g});var n=r(7294),a=r(6010),l=r(8241),o=r(9712),c=r(5319),i=r(2892),s=r(6894),m=r(797),u=r(1743),d=r(7886);function p(e){const{metadata:t}=e,{siteConfig:{title:r}}=(0,l.Z)(),{blogDescription:a,blogTitle:c,permalink:i}=t,m="/"===i?r:c;return n.createElement(n.Fragment,null,n.createElement(o.d,{title:m,description:a}),n.createElement(s.Z,{tag:"blog_posts_list"}))}function f(e){const{metadata:t,tags:r,items:l}=e,o=1===t.page,c=l.filter((e=>!0===e.content.metadata.frontMatter.is_featured)),s=l.filter((e=>!0!==e.content.metadata.frontMatter.is_featured));return n.createElement(i.Z,null,o&&n.createElement(d.rg,{items:c}),n.createElement("div",{className:(0,a.Z)("px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto","blog-md:block hidden")},n.createElement("div",{className:"border-b border-gray-100 dark:border-gray-700"})),n.createElement(m.Z,{items:s,tags:r,metadata:t}),n.createElement("div",{className:(0,a.Z)("max-w-[512px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto","blog-md:border-t border-t-gray-200 dark:border-t-gray-700","blog-sm:mb-16 blog-2xl:mb-20 mb-10")},n.createElement(u.Z,{metadata:t})))}function g(e){return n.createElement(o.FG,{className:(0,a.Z)(c.k.wrapper.blogPages,c.k.page.blogListPage)},n.createElement(p,e),n.createElement(f,e))}},1743:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(7294),a=r(2210),l=r(1984),o=r(6250);const c="...",i=(e,t)=>{const r=t-e+1;return Array.from({length:r},((t,r)=>r+e))};var s=r(6010);function m(e){const{metadata:t,basePath:r="/blog"}=e,{totalPages:m,page:u}=t,d=(({totalPages:e,siblingCount:t=1,currentPage:r})=>(0,n.useMemo)((()=>{if(t+5>=e)return i(1,e);const n=Math.max(r-t,1),a=Math.min(r+t,e),l=n>2,o=ae===c?n.createElement("li",{key:`page:${e}`,className:(0,s.Z)("flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded","hover:no-underline","no-underline","h-[32px] w-[32px]")},"\u2026"):n.createElement("li",{key:e},n.createElement(l.Z,{to:1===e?r:`${r}/page/${e}`,className:(0,s.Z)("text-sm","flex items-center justify-center","text-gray-500 dark:text-gray-400","rounded","hover:no-underline","h-[32px] w-[32px]","no-underline",e===u&&"bg-gray-100 dark:bg-gray-700")},e)))),n.createElement("li",null,n.createElement(l.Z,{to:u===p?void 0:`${r}/page/${u+1}`,className:(0,s.Z)("text-gray-500 dark:text-gray-400","rounded","hover:no-underline",{"pointer-events-none opacity-20":u===p})},n.createElement(o._Q,null)))))}},797:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(7294),a=r(4185),l=r(3149),o=r(1984),c=r(5506),i=r(6987),s=r(6010);function m({className:e}){var t,r;const{metadata:l}=(0,a.C)(),{permalink:m,title:u,date:d,formattedDate:p,frontMatter:f,description:g,tags:b}=l,y=l.authors[0];return n.createElement(c.Z,{className:e},n.createElement("div",null,n.createElement(o.Z,{itemProp:"url",to:m})),n.createElement("div",{className:"p-4"},n.createElement("div",{className:(0,s.Z)("mb-2 flex gap-1 md:mb-4","flex flex-wrap items-center")},b.map((e=>n.createElement(o.Z,{className:(0,s.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(o.Z,{itemProp:"url",to:m,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.Z)("text-xs sm:text-sm md:text-2xl lg:text-base 2xl:text-xl","text-gray-700 dark:text-gray-200","font-lg","font-bold","leading-6")},u)),n.createElement("div",{className:(0,s.Z)("text-xs md:text-base lg:text-sm 2xl:text-lg","mt-2 md:mt-4","line-clamp-3 text-gray-700 dark:text-gray-300")},g)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.Z,{href:`/blog/author/${null===(t=y)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=y)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},n.createElement(i.Ej,{date:d,formattedDate:p})))))}function u({items:e,tags:t,component:r=m,isAuthorPage:o,isTagsPage:c}){return n.createElement("div",{className:(0,s.Z)("px-4","blog-md:px-7","blog-2xl:px-0",!o&&!c&&"blog-sm:pb-16 blog-md:pb-8 blog-2xl:pb-12 pb-10",!o&&!c&&"blog-md:pt-16 blog-2xl:pt-20",(o||c)&&"py-8","max-w-[512px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},!o&&!c&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.Z)("flex flex-col blog-md:flex-row items-start lg:items-center justify-between","mb-4 lg:mb-8","px-0 blog-sm:px-6","not-prose")},n.createElement("h2",{className:(0,s.Z)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","font-semibold")},"All Posts"),n.createElement("p",{className:(0,s.Z)("text-sm blog-md:text-base blog-lg:text-xl","blog-md:max-w-[624px]","mt-6 lg:mt-0","text-gray-500 dark:text-gray-400")},n.createElement("b",null,"PrepVerse blog")," - contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")),n.createElement(l.Z,{tags:t})),n.createElement("div",{className:(0,s.Z)("grid","grid-cols-1 blog-md:grid-cols-3","gap-4 blog-lg:gap-12","pt-6",o?"blog-md:pt-0":"blog-md:pt-12")},e.map((({content:e})=>n.createElement(a.n,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null)))))))}},923:(e,t,r)=>{"use strict";r.d(t,{d:()=>L});var n=r(7294),a=r(358),l=r(5468),o=r(6016),c=r(3151),i=r(5489),s=r(3533),m=r(9238),u=r(6010),d=r(3746);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function g(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const b=e=>{var{as:t}=e,r=g(e,["as"]);return n.createElement(t,f(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,u.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:o},n.createElement(h,{className:(0,u.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:O;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,u.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,u.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){for(var t=1;tn.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),C=({children:e,icon:t=n.createElement(N,null)})=>n.createElement("div",{className:(0,u.Z)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:a,showLineNumbers:l,language:p,icon:f,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.L)();var x;const w=null!==(x=null!=p?p:(0,i.Vo)(t))&&void 0!==x?x:y,E=(0,c.p)(),O=(0,s.F)(),j=(0,i.bc)(r)||a,{lineClassNames:N,code:S}=(0,i.nZ)(e,{metastring:r,language:w,magicComments:h}),D=null!=l?l:(0,i.nt)(r);return n.createElement(b,{as:"div",className:(0,u.Z)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-800","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(C,{icon:f},j),n.createElement("div",{className:(0,u.Z)("relative","pt-3","pb-0","not-prose")},n.createElement(d.ZP,Z(P({},d.lG),{theme:E,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:O.codeBlockRef,className:(0,u.Z)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,u.Z)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(m.Z,{key:t,line:e,getLineProps:r,getTokenProps:a,classNames:(0,u.Z)(N[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:D})))))))),n.createElement("div",{className:(0,u.Z)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(O.isEnabled||O.isCodeScrollable)&&n.createElement(k,{onClick:O.toggle,isEnabled:O.isEnabled}),n.createElement(v,{className:(0,u.Z)(),code:S})))};function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const L=e=>{var{children:t}=e,r=M(e,["children"]);const o=(0,a.Z)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?S:l.Z;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>N});var n=r(7294),a=r(923),l=r(6010),o=r(8241),c=r(5772),i=r.n(c),s=r(7391);const m="playgroundPreview_jwe9";function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.Z)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.Z)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(p,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.Z)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.Z)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const p=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var g=r(6822),b=r(8764);function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||b.lW;const h=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.Z)(),[l,c]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&c(`${a.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},v=n.memo(h,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),x=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(x,{className:(0,l.Z)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.Z)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.Z)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.Z)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.Z)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(N,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:u=!1})=>{const p=String(e),{shared:b,sharedCss:y}=(0,g.dD)(),{visible:h}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+t.length:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=b?b:""}\n ${p}\n `.replace(/\n$/,"")),x=n.useRef(null),E=((e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r})(x),{siteConfig:{customFields:O}}=(0,o.Z)(),{isLast:k}=(0,s.E)();return n.createElement("div",{className:(0,l.Z)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.Z)(m,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:x},k?n.createElement(f,{if:E,maxWait:3e3},(()=>n.createElement(v,{code:`\n${null!=b?b:""}\n${p}\n `,css:y,query:`${t?"&disableScroll=true":""}${u?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(w,{hidden:a,code:h})))},O=n.memo(E,((e,t)=>String(e.children)===String(t.children))),k=({children:e})=>{const{setShared:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},j=n.memo(k,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setSharedCss:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},Z=n.memo(P,((e,t)=>String(e.children)===String(t.children)));function N(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(Z,e):e.shared&&e.live?n.createElement(j,e):e.live?n.createElement(O,e):n.createElement(a.d,e)}},258:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(7294),a=r(1984),l=r(7785);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e){var t;const r=(e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.Z)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i})(null===(t=e)||void 0===t?void 0:t.href);return n.createElement(a.Z,c(function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>Fe});var n=r(7693),a=r(7294),l=r(6010),o=r(9658);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=e=>a.createElement("svg",function(e){for(var t=1;t{var d,p,f,g,b,y;return a.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),a.createElement("div",{className:(0,l.Z)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},a.createElement(m.Z,{to:null!==(b=null===(d=r)||void 0===d?void 0:d.href)&&void 0!==b?b:null===(p=c)||void 0===p?void 0:p.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.Z)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(y=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==y?y:e,loading:"lazy"})),a.createElement("div",{className:(0,l.Z)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.Z)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.Z)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.z,{className:(0,l.Z)("w-max"),buttonClassname:(0,l.Z)("!px-4","!py-2"),href:c.href,onClick:c.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.Z)("text-gray-900","text-sm md:text-base","font-bold")},c.text),a.createElement(s.L,{className:(0,l.Z)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))),a.createElement(i,{className:(0,l.Z)("absolute","bottom-2","right-2")}))},d=({title:e="Open-source Retool alternative for enterprise",description:t="Build React-based internal tools, dashboards & B2B apps with unmatched flexibility",button:r={text:"Discover Refine",href:"https://s.refine.dev/blog-retool?ref=banner-retool-alternative",onClick:void 0}})=>(a.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),a.createElement("div",{className:(0,l.Z)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.Z)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.Z)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.z,{className:(0,l.Z)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.Z)("text-gray-900","text-base","font-bold")},r.text)),a.createElement(i,{className:(0,l.Z)("absolute","bottom-2","right-2")})));var p=r(950);const f=[{description:"Refine is a React Framework used by over monthly 15K developers for building enterprise internal tools, dashboards, and B2B apps",image:{src:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/banner-tweet.jpg",alt:"X tweet about Refine",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},button:{text:"Learn more",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},bannerName:"banner-twitter"}],g=Math.floor(Math.random()*(f.length+1));var b=r(1915),y=r(7328);const h=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var v=r(6534),x=r(2076),w=r(1446),E=r(7790);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,w.x)(),[i,s]=a.useState(!1),{items:m}=(0,E.wG)(),{reward:u}=(0,x.w5)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=m.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),u())}),[d,i]),a.createElement("div",{className:(0,l.Z)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.Z)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(k,{className:(0,l.Z)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.Z)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Z=e=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,w.x)(),{items:s,toggle:m}=(0,E.wG)(),u=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.Z)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{m(i,t)},className:(0,l.Z)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!u,"border-refine-react-dark-link dark:border-refine-react-dark-link":u,"bg-refine-react-dark-link":u})},u&&a.createElement(Z,null))),a.createElement("div",{className:(0,l.Z)(u&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!u&&"text-gray-800 dark:text-gray-100")},e))};var C=r(923),S=r(5904);const D=({path:e})=>a.createElement(C.d,{language:"bash",title:"Run on your local",icon:a.createElement(S.F,null)},`npm create refine-app@latest -- --example ${e}`);var M=r(7990);const L=({path:e})=>a.createElement("div",{className:(0,l.Z)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},a.createElement(M.E,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.Z)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),A=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(L,{path:t})},R=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(A,{path:e}),!r&&a.createElement(D,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var B=r(8029),F=r(6153);const T=()=>a.createElement("div",null,a.createElement(B.Z,{type:"simple",title:"Good to know"},a.createElement(F.D,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),V=({children:e,content:t})=>a.createElement("div",{className:(0,l.Z)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.Z)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},a.createElement("div",{className:(0,l.Z)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),_=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.Z)("orange"===r&&(0,l.Z)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,l.Z)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,l.Z)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return a.createElement(V,{content:o},a.createElement(m.Z,{to:`/docs/${e}`,className:(0,l.Z)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",c)},t,n&&a.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const $=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.Z)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.Z)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:c},e):null,z="tooltip__Ymd",W="tooltipContainer_l6r7",Y="tooltipContent_UeXm",q="tooltipArrow_mOyh",J=({label:e,children:t})=>e?a.createElement("div",{className:`${z} group`},t,a.createElement("div",{className:`${W} group-hover:visible`},a.createElement("span",{className:Y},e),a.createElement("div",{className:q}))):a.createElement(a.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const X=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,m;const u=null!==(m=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==m?m:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),p=(0,a.useMemo)((()=>u?a.createElement(F.D,null,u):null),[e,t]);var f;return a.createElement(J,{label:p},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(f=t[`${e.name}-name`])&&void 0!==f?f:e.name),o&&a.createElement(G,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(F.D,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(F.D,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(F.D,null,n)))},ee=({prop:e,overrides:t})=>{var r,n;return a.createElement(F.D,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},te=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(F.D,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(F.D,null,i)):null)},re=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(X,{prop:e,overrides:t}))),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),ae=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(ee,{prop:e,overrides:t})),le=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(te,{prop:e,overrides:t})),oe=e=>{var{module:t,hideDefaults:n,children:l}=e,o=K(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(9624)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(re,{prop:e,overrides:o}),a.createElement(ne,{prop:e,overrides:o}),a.createElement(ae,{prop:e,overrides:o}),i?null:a.createElement(le,{prop:e,overrides:o})))))),l)};function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ie=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,se.n)();return e&&r===e?a.createElement(a.Fragment,null,t):null};var ue=r(6928);function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const fe=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(ue.P,pe(function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const he=e=>{var{children:t,className:r}=e,n=ye(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(m(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.Z)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",ke(Oe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:u},n),{className:(0,l.Z)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function Pe({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.Z)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function Ze(e){const t=(0,xe.Y)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.Z)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(je,Oe({},e,t)),a.createElement(Pe,Oe({},e,t)))}function Ne(e){const t=(0,we.Z)();return a.createElement(Ze,Oe({key:String(t)},e))}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Me(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var Le;var Ae=r(3280),Re=r(551);function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Fe=(Te=function(e){for(var t=1;t{var{className:t}=e,r=Se(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tg===f.length?a.createElement(p.Z,null,(()=>a.createElement(d,null))):a.createElement(p.Z,null,(()=>a.createElement(u,f[g]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(_,{id:e,color:"green",icon:a.createElement(U,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>a.createElement(_,{id:e,color:"orange",text:r,icon:a.createElement(ie,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>a.createElement(_,{color:"purple",icon:a.createElement($,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Me(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return a.createElement(Ne,null,a.createElement(Re.Z,{value:"npm",label:"npm",default:!0},a.createElement(C.d,{className:"language-bash"},r.npm)),a.createElement(Re.Z,{value:"pnpm",label:"pnpm"},a.createElement(C.d,{className:"language-bash"},r.pnpm)),a.createElement(Re.Z,{value:"yarn",label:"yarn"},a.createElement(C.d,{className:"language-bash"},r.yarn),a.createElement(F.D,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return a.createElement(Ne,null,a.createElement(Re.Z,{value:"npm",label:"npm",default:!0},a.createElement(C.d,{className:"language-bash"},r.npm),t),a.createElement(Re.Z,{value:"pnpm",label:"pnpm"},a.createElement(C.d,{className:"language-bash"},r.pnpm),t),a.createElement(Re.Z,{value:"yarn",label:"yarn"},a.createElement(C.d,{className:"language-bash"},r.yarn),t))},FullTable:Ae.Xm},Ve=null!=Ve?Ve:{},Object.getOwnPropertyDescriptors?Object.defineProperties(Te,Object.getOwnPropertyDescriptors(Ve)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(Ve)).forEach((function(e){Object.defineProperty(Te,e,Object.getOwnPropertyDescriptor(Ve,e))})),Te);var Te,Ve},9527:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(7294),a=r(6010),l=r(1984);function o({permalink:e,label:t,isActive:r}){return n.createElement(l.Z,{href:e,className:(0,a.Z)("no-underline hover:no-underline","text-xs",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","rounded","py-1","px-2",r&&"bg-gray-200 text-gray-500",r&&"dark-bg-gray-700 text-gray-300")},t)}},3149:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var n=r(7294),a=r(9527),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(6010),u=r(8368),d=r(4080),p=r(4642);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;tn.createElement("svg",{width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.292893 0.792893C0.683417 0.402369 1.31658 0.402369 1.70711 0.792893L4 3.08579L6.29289 0.792893C6.68342 0.402369 7.31658 0.402369 7.70711 0.792893C8.09763 1.18342 8.09763 1.81658 7.70711 2.20711L4.70711 5.20711C4.31658 5.59763 3.68342 5.59763 3.29289 5.20711L0.292893 2.20711C-0.0976311 1.81658 -0.0976311 1.18342 0.292893 0.792893Z",fill:"currentColor"})),h=e=>{e=e.replace(/-/g," ");return[["typescript","TypeScript"],["javascript","JavaScript"],["chakra ui","Chakra UI"],["material ui","Material UI"],["nextjs","Next.js"],["nestjs","NestJS"],["css","CSS"]].forEach((t=>{e=e.replace(t[0],t[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)},v=({tags:e,collapsed:t,onShowMoreClick:r})=>n.createElement("div",{className:(0,m.Z)("hidden lg:flex","not-prose","justify-between","items-start","bg-gray-50 dark:bg-gray-800","rounded-xl p-4 2xl:p-6")},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1",t&&"h-8"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:h(e.label)})))))),n.createElement("label",{onClick:()=>r(!t),className:(0,m.Z)("flex","items-center","gap-1","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","bg-gray-100 dark:bg-gray-600","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","mt-1")},"Show More ",n.createElement(y,null))),x=({tags:e})=>n.createElement("div",{className:"mb-10 block w-full lg:hidden"},n.createElement(u.p,null,(({open:t})=>n.createElement("div",{className:(0,m.Z)("rounded-[4px]","border border-gray-100 dark:border-gray-700")},n.createElement(u.p.Button,{className:(0,m.Z)("bg-gray-50 dark:bg-gray-800","border-b border-gray-100 dark:border-gray-700","w-full","flex items-center gap-3","px-2 py-2")},n.createElement(p.A,{className:(0,m.Z)("h-5 w-5","text-gray-400 dark:text-gray-500","transition-transform duration-200 ease-in-out",{"-rotate-90 transform":!t})}),n.createElement("span",{className:(0,m.Z)("text-sm","dark:text-gray-0 text-gray-900")},"Blog Post Tags")),n.createElement(d.u,{show:t,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(u.p.Panel,{className:"h-[200px] overflow-auto p-2 sm:h-[232px] sm:p-6"},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:h(e.label)}))))))))))));function w({tags:e}){const[t,r]=n.useState(!0),a=["refine","react","nextjs","typescript","tutorial","material-ui","ant-design","docker","comparison"],l=(null!=e?e:[]).sort(((e,t)=>{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(v,{collapsed:t,tags:l,onShowMoreClick:e=>r(e)}),n.createElement(x,{tags:l}))}},3799:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/b455e532.da0907a3.js b/assets/js/b455e532.da0907a3.js new file mode 100644 index 00000000..ca2dfbfe --- /dev/null +++ b/assets/js/b455e532.da0907a3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1659],{950:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(7294),a=r(358);function l({children:e,fallback:t}){var r;return(0,a.Z)()?n.createElement(n.Fragment,null,null===(r=e)||void 0===r?void 0:r()):null!=t?t:null}},9537:(e,t,r)=>{r.r(t),r.d(t,{default:()=>V});var n=r(1098),a=r(6010),l=r(7294),o=r(3812),i=r(859),c=r(7915),s=r(9526),m=r(1984);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const g=e=>l.createElement("div",{className:(0,a.Z)("flex","items-center","justify-start","gap-4","landing-lg:gap-6",e.className)},l.createElement(m.Z,{href:"/blog",target:"_blank",rel:"noopener noreferrer",className:(0,a.Z)("self-start","rounded-full","!text-gray-0 dark:!text-gray-900","bg-refine-blue dark:bg-refine-cyan-alt","transition-[filter]","duration-150","ease-in-out","hover:brightness-110","py-3","pl-7 pr-8","landing-md:px-8","landing-lg:pl-7 landing-lg:pr-8","flex","items-center","justify-center","gap-2","hover:!no-underline",e.linkClassName)},l.createElement(p,null),l.createElement("span",{className:(0,a.Z)("text-base","font-semibold")},"Read Blogs"))),p=e=>l.createElement("svg",d(function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const x=e=>{var{srcDark:t,srcLight:r,srcSetDark:n,srcSetLight:a}=e,o=y(e,["srcDark","srcLight","srcSetDark","srcSetLight"]);const{colorMode:i}=(0,s.I)(),c="dark"===i?t:r,m="dark"===i?n:a;return l.createElement(f.Z,null,(()=>l.createElement("img",h(function(e){for(var t=1;tl.createElement("div",{className:(0,a.Z)("flex flex-col","landing-md:grid landing-md:grid-cols-12","not-prose",e)},l.createElement("div",{className:(0,a.Z)("flex flex-col","col-start-2 col-end-8")},l.createElement("h1",{className:(0,a.Z)("max-w-xl landing-md:max-w-[408px] landing-lg:max-w-non landing-lg:whitespace-nowrap","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]","tracking-tight","text-start","pl-4 landing-sm:pl-6 landing-md:pl-10","dark:text-gray-0 text-gray-900","landing-lg:pt-8")},"I am"," ",l.createElement("span",{className:(0,a.Z)("font-semibold","dark:text-refine-cyan-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]")},"Akash Singh"),"."),l.createElement("p",{className:(0,a.Z)("max-w-[446px]","mt-6","pl-4 landing-sm:pl-6 landing-md:pl-10","dark:text-gray-400 text-gray-600")},"Hello, I'm Akash Singh, a 2022 graduate in Computer Science and Engineering from Sagar Institute of Research Technology and Science (SIRTS), Bhopal. Passionate about web development and Machine Learning, I'm driven by curiosity to explore new technologies.",l.createElement("br",null),"I thrive on learning and growth opportunities, continually enhancing my skills. Committed to excellence, I aim to contribute meaningfully in web development and Machine Learning.",l.createElement("br",null),l.createElement("br",null),'"Face the challenge, Fight through the obstacles, Finish what you started."'),l.createElement(g,{className:(0,a.Z)("pl-4 landing-sm:pl-6 landing-md:pl-10","mt-6 landing-lg:mt-16")})),l.createElement("div",{className:(0,a.Z)("flex","justify-start","col-start-8","col-end-13","mt-12 landing-sm:mt-16 landing-md:mt-0")},l.createElement(x,{className:(0,a.Z)("landing-md:h-[400px] landing-md:w-[400px]","rounded-full"),srcDark:"https://avatars.githubusercontent.com/u/60146338",srcLight:"https://avatars.githubusercontent.com/u/60146338",alt:"Akash Singh"})));var v=r(6775);r(8368),r(4080);const E=JSON.parse('{"examples":[],"tags":[]}');function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement(C,e)}],source:"https://github.com/AkashSingh3031/Age-Calculator"},{title:"CSS Variables With JS",description:"CSS Variables With JS Is A Simple App That Can Change Radius Of Image, Blur Effect On Image And Border Color Of Image.",image:"/examples/CSS_Variables_with_JS.png",image2x:"/examples/CSS_Variables_with_JS.png",buttons:[{text:"Demo",link:"https://akashsingh3031.github.io/CSS-Variables-with-JS",icon:e=>l.createElement(C,e)}],source:"https://github.com/AkashSingh3031/CSS-Variables-with-JS"},{title:"Countdown Timer",description:"Countdown Timer Is A Simple App That Can Count Down From A Given Time.",image:"/examples/Countdown_Timer.png",image2x:"/examples/Countdown_Timer.png",buttons:[{text:"Demo",link:"https://akashsingh3031.github.io/Countdown-Timer",icon:e=>l.createElement(C,e)}],source:"https://github.com/AkashSingh3031/Countdown-Timer"}],j=[{title:"Web Drum Kit",description:"Web Drum Kit Is A Simple App That Can Play A Drum Sound When A Key Is Pressed.",image:"/examples/Web_Drum_Kit.png",image2x:"/examples/Web_Drum_Kit.png",buttons:[{text:"Demo",link:"https://akashsingh3031.github.io/Web-Drum-Kit",icon:e=>l.createElement(C,e)}],source:"https://github.com/AkashSingh3031/Web-Drum-Kit"},{title:"Calculator With Voice Recognition",description:"Calculator With Voice Recognition Is A Simple App That Can Perform Basic Arithmetic Operations.",image:"/examples/Calculator_with_Voice_Recognition.png",image2x:"/examples/Calculator_with_Voice_Recognition.png",buttons:[{text:"Demo",link:"https://akashsingh3031.github.io/Calculator-with-Voice-Recognition",icon:e=>l.createElement(C,e)}],source:"https://github.com/AkashSingh3031/Calculator-with-Voice-Recognition"},{title:"Color Flipper",description:"Color Flipper Is A Simple App That Can Change The Background Color Of The Page.",image:"/examples/Color_Flipper.png",image2x:"/examples/Color_Flipper.png",buttons:[{text:"Demo",link:"https://akashsingh3031.github.io/Color-Flipper",icon:e=>l.createElement(C,e)}],source:"https://github.com/AkashSingh3031/Color-Flipper"}];var P=r(7990);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>l.createElement("svg",function(e){for(var t=1;t{const r=A.indexOf(e.name),n=A.indexOf(t.name);return-1===r?-1===n?0:1:-1===n?-1:r-n})),()=>{const[e,t]=l.useState(!1),[r]=l.useState(""),[n,o]=l.useState(new Set(L.map((({name:e})=>e)))),{search:i,hash:c}=(0,v.TH)(),{replace:s}=(0,v.k6)(),m=l.useCallback((()=>{const e=document.getElementById("other-examples");e&&e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}),[]);l.useEffect((()=>{"#other-examples"===c&&setTimeout((()=>{m()}),200)}),[c]),l.useEffect((()=>{const e=new URLSearchParams(i).get("tags");if(e){const t=e.split(",").filter((t=>e.includes(t)));o(new Set(t))}}),[]);S.filter((e=>{const t=`${e.displayTitle.replace("antd","Ant Design").replace("mui","Material UI")} ${e.displayTitle} ${e.description}`.toLowerCase().includes((null!=r?r:"").toLowerCase());if(n.size===L.length)return t;const a=Array.from(n).every((t=>e.tags.includes(t)));return t&&a}));return l.createElement("div",{className:"text-center"},l.createElement("div",{className:(0,a.Z)("text-2xl landing-sm:text-[32px] landing-sm:leading-[40px]")},l.createElement("h2",{className:(0,a.Z)("font-semibold","dark:text-gray-400 text-gray-600")},"Projects")),l.createElement("div",{className:"mt-10"},(()=>{const r=e?[...k,...j]:k;return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("grid grid-cols-1 md:grid-cols-3","gap-4 2xl:gap-8")},r.map((e=>(e=>l.createElement("div",{key:e.title,className:(0,a.Z)("max-w-[100%] 2xl:max-w-[416px]","flex flex-col","mx-auto","px-2 pb-4 pt-2 2xl:px-4 2xl:py-4","bg-gray-50 dark:bg-gray-800","rounded-lg")},l.createElement("div",{className:(0,a.Z)("not-prose","mb-0 mt-0","text-sm sm:text-base 2xl:text-xl font-semibold","text-gray-900 dark:text-gray-200","px-2 lg:px-2 xl:px-0")},e.title),l.createElement("img",{className:(0,a.Z)("mb-0 mt-2 2xl:mt-4","w-full max-h-[456px] md:h-[192px] 2xl:h-[242px]","object-cover","rounded-[2px]"),src:e.image,srcSet:e.image2x,alt:e.title}),l.createElement("p",{className:(0,a.Z)("not-prose","text-xs sm:text-sm 2xl:text-base","px-2 mb-0","text-gray-700 dark:text-gray-400","mt-4 2xl:mt-6"),style:{marginBottom:"0rem"},dangerouslySetInnerHTML:{__html:e.description}}),l.createElement("div",{className:(0,a.Z)("flex justify-between items-center","px-2 2xl:px-0 pt-4 2xl:pt-6 2xl:pb-2 mt-auto","text-sm 2xl:text-base")},l.createElement("a",{href:e.source,className:(0,a.Z)("flex items-center gap-2","no-underline"),target:"_blank",rel:"noreferrer"},l.createElement(P.L,{className:(0,a.Z)("w-4 h-4 2xl:w-6 2xl:h-6")}),l.createElement("span",null,"Code")),e.buttons.map(((e,t)=>l.createElement("a",{key:t,href:e.link,className:(0,a.Z)("flex items-center gap-2","no-underline"),target:"_blank",rel:"noreferrer"},e.icon({className:(0,a.Z)("w-4 h-4 2xl:w-6 2xl:h-6")}),l.createElement("span",null,e.text)))))))(e)))),l.createElement("button",{className:(0,a.Z)("w-full h-12 2xl:h-16","flex justify-center items-center gap-4","bg-gray-100 dark:bg-gray-700","rounded-lg","mt-4 sm:mt-8 2xl:mt-10 py-2"),onClick:()=>{t((e=>!e))}},l.createElement("div",{className:(0,a.Z)("flex justify-center items-center","w-8 h-8","text-gray-500","bg-gray-0 dark:bg-gray-800","rounded-[4px]")},l.createElement(N,{className:(0,a.Z)("w-3 h-3",{"transform rotate-180":!e})})),l.createElement("span",{className:(0,a.Z)("text-gray-700 dark:text-gray-400","text-sm 2xl:text-base font-semibold")},e?"Show Less":"Show More")))})()))}),D=()=>{const{colorMode:e}=(0,s.I)();return l.createElement(l.Fragment,null,l.createElement(n.Z,{title:"About | AkashSingh3031"},l.createElement("html",{"data-page":"about","data-customized":"true"})),l.createElement(c.j,{description:"Build React-based internal tools, admin panels, dashboards & B2B apps with unmatched flexibility."},l.createElement("div",{className:(0,a.Z)()},l.createElement(i.f,null),l.createElement("div",{className:(0,a.Z)("flex flex-col","gap-12 landing-sm:gap-20 landing-md:gap-28 landing-lg:gap-40","pb-12 landing-sm:pb-16 landing-md:pb-20 landing-lg:pb-40","mx-auto")},l.createElement(w,{className:(0,a.Z)("h-auto landing-md:h-[432px]","mt-4 landing-sm:mt-8 landing-lg:mt-8","px-4 landing-sm:px-0","landing-lg:pr-12")}),l.createElement(M,null)),l.createElement(o.U,null))))};function V(){return l.createElement(c.j,null,l.createElement(D,null))}},3812:(e,t,r)=>{r.d(t,{U:()=>f});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),i=r(7092),c=r(961),s=r(3380),m=r(506);const u=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",icon:l.createElement(m.nm,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:l.createElement(m.nm,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],d=[{icon:i.I,href:"https://github.com/AkashSingh3031"},{icon:s.p,href:"https://twitter.com/akashsingh3031"},{icon:c._,href:"https://www.linkedin.com/in/akashsingh3031"}];var g=r(6204),p=r(4813);const f=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(p.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},"Thank you for visiting, Connect with me over socials."),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},u.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(g.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},d.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{r.d(t,{f:()=>W});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),i=r(1899),c=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=e=>c.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return c.createElement(n.Z,{to:e.link,className:"no-underline"},c.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},c.createElement("div",{className:"shrink-0"},c.createElement(r,null)),c.createElement("div",{className:"ml-2"},c.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),c.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},h=({item:e,isPermanentDark:t})=>{const[r,l]=(0,c.useState)(null);(0,c.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let i=e.icon;return"Cloud"===e.label&&(i="light"===r?p.wW:e.icon),c.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&c.createElement(i,null),e.label)};var y=r(6775),x=r(2280),w=r(4080),v=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,c.useState)(!1),l=c.useRef(null),o=c.useRef(null),i=(0,y.TH)();return c.useEffect((()=>{n(!1)}),[i]),c.createElement(x.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>c.createElement(c.Fragment,null,c.createElement(x.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},c.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),c.createElement(v.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),c.createElement(w.u,{as:c.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},c.createElement(x.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},c.createElement(p.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),c.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>c.createElement(c.Fragment,null,f.map((t=>t.isPopover?c.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&c.createElement(c.Fragment,null,c.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>c.createElement(b,{key:e.label,item:e})))),c.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},c.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},c.createElement(p.Bh,null),c.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&c.createElement(c.Fragment,null,c.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>c.createElement(b,{key:e.label,item:e})))),c.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},c.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),c.createElement("div",{className:"flex gap-4"},c.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},c.createElement(p.ET,{className:"dark:text-gray-400 text-gray-500"})),c.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},c.createElement(p.nI,null)),c.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},c.createElement(p.Zm,null)))))):c.createElement(h,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var C=r(2560),k=r(8368),j=r(9526),P=r(4837);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>c.createElement("svg",function(e){for(var t=1;t{const[i,s]=(0,c.useState)(null),m=null!=r?r:n.Z,u=void 0!==l&&void 0===t;return(0,c.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),c.createElement(m,function(e){for(var t=1;t{const r=(0,y.TH)();return c.useEffect((()=>{t(!1)}),[r]),c.createElement(R,{isModalOpen:e,setIsModalOpen:t},c.createElement(B,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),c.createElement(_,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},R=({isModalOpen:e,setIsModalOpen:t,children:r})=>c.createElement(w.u,{appear:!0,show:e,as:c.Fragment},c.createElement(C.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},c.createElement(w.u.Child,{as:c.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},c.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},c.createElement(A.T,null),c.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},c.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),c.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},c.createElement(P.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),c.createElement(w.u.Child,{as:c.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},c.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),B=e=>c.createElement("div",{className:(0,a.Z)(e.className)},f.map(((e,t)=>{const r="icon"in e&&e.icon;return c.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},c.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},c.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},c.createElement("div",null,e.label),r&&c.createElement(r,null))),"items"in e&&c.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>c.createElement(b,{key:e.label,item:e})))))})),c.createElement(I,null),c.createElement(H,{id:"tablet"}),c.createElement(F,{id:"tablet"})),_=e=>c.createElement("div",{className:(0,a.Z)(e.className)},c.createElement("div",{className:"flex-grow"},f.map((e=>e.isPopover?c.createElement(k.p,{key:`modal-${e.label}`},(({open:t})=>c.createElement(c.Fragment,null,c.createElement(L,{component:k.p.Button,label:e.label,open:t}),c.createElement(k.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>c.createElement(b,{key:e.label,item:e}))))))):c.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),c.createElement(I,null),c.createElement(H,{id:"phone"}),c.createElement(F,{id:"phone"})),F=e=>{var t;return c.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},c.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},c.createElement(p.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),c.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},H=e=>c.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},c.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),c.createElement("div",{className:"flex gap-4"},c.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},c.createElement(p.ET,{className:"h-10 w-10"})),c.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},c.createElement(p.nI,{className:"h-10 w-10"})),c.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},c.createElement(p.Zm,{className:"h-10 w-10"})))),I=()=>{const{colorMode:e,setColorMode:t}=(0,j.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return c.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},c.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),c.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},c.createElement(D.x,null),"Light"),c.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},c.createElement(M.c,null),"Dark"))};var T=r(41),U=r(4695),G=r(7990),z=r(2045);const $=()=>{const{loading:e,githubStarCountText:t}=(0,U.h)();return c.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},c.createElement(G.E,{className:(0,a.Z)("w-5 h-5")}),c.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?c.createElement(z.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):c.createElement("span",null,t)))},W=({trackProgress:e})=>{const[t,r]=(0,c.useState)(!1),{scrollYProgress:d}=(0,l.v)(),g=(0,o.H)(d,[.03,.95],["0%","100%"]);return c.createElement(c.Fragment,null,c.createElement(A.T,null),c.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},c.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),c.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},c.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},c.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},c.createElement(n.Z,{to:"/",onContextMenu:u.Q},c.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),c.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},c.createElement(s.U,null)),c.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},c.createElement(O,null)),c.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},c.createElement($,null),c.createElement(T.m,null)),c.createElement(V,{isModalOpen:t,setIsModalOpen:r}))),e&&c.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},c.createElement(i.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:g}}))))}},41:(e,t,r)=>{r.d(t,{L:()=>m,m:()=>c});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),i=r(7109);const c=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(i.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:i.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},1412:(e,t,r)=>{r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{I:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{_:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{p:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>o,L:()=>i});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),i=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{O2:()=>R,v4:()=>k,XC:()=>O,Kj:()=>u,TA:()=>l,ET:()=>h,Bh:()=>f,wI:()=>i,nI:()=>x,dd:()=>g,nm:()=>F,t2:()=>M,ty:()=>s,Zm:()=>v,wW:()=>P});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",A(function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;t{const{colorMode:t}=(0,B.I)();return n.createElement("div",{className:(0,S.Z)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,S.Z)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{$:()=>c});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const c=e=>{var{className:t,wrapperProps:r}=e,l=i(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(m,null)),m=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>a.createElement("svg",c(i({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",c(i({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},3799:(e,t,r)=>{r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}},1190:(e,t,r)=>{r.d(t,{M:()=>h});var n=r(655),a=r(7294),l=r(9304),o=r(4735),i=r(8868);function c(){var e=(0,a.useRef)(!1);return(0,i.L)((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var s=r(240),m=r(6681),u=r(6316),d=function(e){var t=e.children,r=e.initial,l=e.isPresent,o=e.onExitComplete,i=e.custom,c=e.presenceAffectsLayout,d=(0,m.h)(g),p=(0,u.M)(),f=(0,a.useMemo)((function(){return{id:p,initial:r,isPresent:l,custom:i,onExitComplete:function(e){var t,r;d.set(e,!0);try{for(var a=(0,n.XA)(d.values()),l=a.next();!l.done;l=a.next()){if(!l.value)return}}catch(i){t={error:i}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}null==o||o()},register:function(e){return d.set(e,!1),function(){return d.delete(e)}}}}),c?void 0:[l]);return(0,a.useMemo)((function(){d.forEach((function(e,t){return d.set(t,!1)}))}),[l]),a.useEffect((function(){!l&&!d.size&&(null==o||o())}),[l]),a.createElement(s.O.Provider,{value:f},t)};function g(){return new Map}var p=r(5364),f=r(5411),b=function(e){return e.key||""};var h=function(e){var t=e.children,r=e.custom,s=e.initial,m=void 0===s||s,u=e.onExitComplete,g=e.exitBeforeEnter,h=e.presenceAffectsLayout,y=void 0===h||h,x=(0,n.CR)(function(){var e=c(),t=(0,n.CR)((0,a.useState)(0),2),r=t[0],l=t[1],i=(0,a.useCallback)((function(){e.current&&l(r+1)}),[r]);return[(0,a.useCallback)((function(){return o.ZP.postRender(i)}),[i]),r]}(),1),w=x[0],v=(0,a.useContext)(p.p).forceRender;v&&(w=v);var E=c(),O=function(e){var t=[];return a.Children.forEach(e,(function(e){(0,a.isValidElement)(e)&&t.push(e)})),t}(t),C=O,k=new Set,j=(0,a.useRef)(C),P=(0,a.useRef)(new Map).current,Z=(0,a.useRef)(!0);if((0,i.L)((function(){Z.current=!1,function(e,t){e.forEach((function(e){var r=b(e);t.set(r,e)}))}(O,P),j.current=C})),(0,f.z)((function(){Z.current=!0,P.clear(),k.clear()})),Z.current)return a.createElement(a.Fragment,null,C.map((function(e){return a.createElement(d,{key:b(e),isPresent:!0,initial:!!m&&void 0,presenceAffectsLayout:y},e)})));C=(0,n.ev)([],(0,n.CR)(C),!1);for(var N=j.current.map(b),S=O.map(b),L=N.length,A=0;A1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),a.createElement(a.Fragment,null,k.size?C:C.map((function(e){return(0,a.cloneElement)(e)})))}}}]); \ No newline at end of file diff --git a/assets/js/b455e532.dbad765f.js b/assets/js/b455e532.dbad765f.js deleted file mode 100644 index 34179e74..00000000 --- a/assets/js/b455e532.dbad765f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1659],{950:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(7294),a=r(358);function l({children:e,fallback:t}){var r;return(0,a.Z)()?n.createElement(n.Fragment,null,null===(r=e)||void 0===r?void 0:r()):null!=t?t:null}},9537:(e,t,r)=>{r.r(t),r.d(t,{default:()=>V});var n=r(1098),a=r(6010),l=r(7294),o=r(1117),i=r(859),c=r(7915),s=r(9526),m=r(1984);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const d=e=>l.createElement("div",{className:(0,a.Z)("flex","items-center","justify-start","gap-4","landing-lg:gap-6",e.className)},l.createElement(m.Z,{href:"/blog",target:"_blank",rel:"noopener noreferrer",className:(0,a.Z)("self-start","rounded-full","!text-gray-0 dark:!text-gray-900","bg-refine-blue dark:bg-refine-cyan-alt","transition-[filter]","duration-150","ease-in-out","hover:brightness-110","py-3","pl-7 pr-8","landing-md:px-8","landing-lg:pl-7 landing-lg:pr-8","flex","items-center","justify-center","gap-2","hover:!no-underline",e.linkClassName)},l.createElement(g,null),l.createElement("span",{className:(0,a.Z)("text-base","font-semibold")},"Read Blogs"))),g=e=>l.createElement("svg",p(function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const x=e=>{var{srcDark:t,srcLight:r,srcSetDark:n,srcSetLight:a}=e,o=y(e,["srcDark","srcLight","srcSetDark","srcSetLight"]);const{colorMode:i}=(0,s.I)(),c="dark"===i?t:r,m="dark"===i?n:a;return l.createElement(f.Z,null,(()=>l.createElement("img",h(function(e){for(var t=1;tl.createElement("div",{className:(0,a.Z)("flex flex-col","landing-md:grid landing-md:grid-cols-12","not-prose",e)},l.createElement("div",{className:(0,a.Z)("flex flex-col","col-start-2 col-end-8")},l.createElement("h1",{className:(0,a.Z)("max-w-xl landing-md:max-w-[408px] landing-lg:max-w-non landing-lg:whitespace-nowrap","text-[32px] leading-[40px] landing-sm:text-[56px] landing-sm:leading-[72px]","tracking-tight","text-start","pl-4 landing-sm:pl-6 landing-md:pl-10","dark:text-gray-0 text-gray-900","landing-lg:pt-8")},"I am"," ",l.createElement("span",{className:(0,a.Z)("font-semibold","dark:text-refine-cyan-alt dark:drop-shadow-[0_0_30px_rgba(71,235,235,0.25)]","text-refine-blue drop-shadow-[0_0_30px_rgba(51,51,255,0.3)]")},"Akash Singh"),"."),l.createElement("p",{className:(0,a.Z)("max-w-[446px]","mt-6","pl-4 landing-sm:pl-6 landing-md:pl-10","dark:text-gray-400 text-gray-600")},"Hello, I'm Akash Singh, a 2022 graduate in Computer Science and Engineering from Sagar Institute of Research Technology and Science (SIRTS), Bhopal. Passionate about web development and Machine Learning, I'm driven by curiosity to explore new technologies.",l.createElement("br",null),"I thrive on learning and growth opportunities, continually enhancing my skills. Committed to excellence, I aim to contribute meaningfully in web development and Machine Learning.",l.createElement("br",null),l.createElement("br",null),'"Face the challenge, Fight through the obstacles, Finish what you started."'),l.createElement(d,{className:(0,a.Z)("pl-4 landing-sm:pl-6 landing-md:pl-10","mt-6 landing-lg:mt-16")})),l.createElement("div",{className:(0,a.Z)("flex","justify-start","col-start-8","col-end-13","mt-12 landing-sm:mt-16 landing-md:mt-0")},l.createElement(x,{className:(0,a.Z)("landing-md:h-[400px] landing-md:w-[400px]","rounded-full"),srcDark:"https://avatars.githubusercontent.com/u/60146338",srcLight:"https://avatars.githubusercontent.com/u/60146338",alt:"Akash Singh"})));var v=r(6775);r(8368),r(4080);const E=JSON.parse('{"examples":[],"tags":[]}');function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement(C,e)}],source:"https://github.com/AkashSingh3031/Age-Calculator"},{title:"CSS Variables With JS",description:"CSS Variables With JS Is A Simple App That Can Change Radius Of Image, Blur Effect On Image And Border Color Of Image.",image:"/examples/CSS_Variables_with_JS.png",image2x:"/examples/CSS_Variables_with_JS.png",buttons:[{text:"Demo",link:"https://akashsingh3031.github.io/CSS-Variables-with-JS",icon:e=>l.createElement(C,e)}],source:"https://github.com/AkashSingh3031/CSS-Variables-with-JS"},{title:"Countdown Timer",description:"Countdown Timer Is A Simple App That Can Count Down From A Given Time.",image:"/examples/Countdown_Timer.png",image2x:"/examples/Countdown_Timer.png",buttons:[{text:"Demo",link:"https://akashsingh3031.github.io/Countdown-Timer",icon:e=>l.createElement(C,e)}],source:"https://github.com/AkashSingh3031/Countdown-Timer"}],j=[{title:"Web Drum Kit",description:"Web Drum Kit Is A Simple App That Can Play A Drum Sound When A Key Is Pressed.",image:"/examples/Web_Drum_Kit.png",image2x:"/examples/Web_Drum_Kit.png",buttons:[{text:"Demo",link:"https://akashsingh3031.github.io/Web-Drum-Kit",icon:e=>l.createElement(C,e)}],source:"https://github.com/AkashSingh3031/Web-Drum-Kit"},{title:"Calculator With Voice Recognition",description:"Calculator With Voice Recognition Is A Simple App That Can Perform Basic Arithmetic Operations.",image:"/examples/Calculator_with_Voice_Recognition.png",image2x:"/examples/Calculator_with_Voice_Recognition.png",buttons:[{text:"Demo",link:"https://akashsingh3031.github.io/Calculator-with-Voice-Recognition",icon:e=>l.createElement(C,e)}],source:"https://github.com/AkashSingh3031/Calculator-with-Voice-Recognition"},{title:"Color Flipper",description:"Color Flipper Is A Simple App That Can Change The Background Color Of The Page.",image:"/examples/Color_Flipper.png",image2x:"/examples/Color_Flipper.png",buttons:[{text:"Demo",link:"https://akashsingh3031.github.io/Color-Flipper",icon:e=>l.createElement(C,e)}],source:"https://github.com/AkashSingh3031/Color-Flipper"}];var P=r(7990);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>l.createElement("svg",function(e){for(var t=1;t{const r=A.indexOf(e.name),n=A.indexOf(t.name);return-1===r?-1===n?0:1:-1===n?-1:r-n})),()=>{const[e,t]=l.useState(!1),[r]=l.useState(""),[n,o]=l.useState(new Set(L.map((({name:e})=>e)))),{search:i,hash:c}=(0,v.TH)(),{replace:s}=(0,v.k6)(),m=l.useCallback((()=>{const e=document.getElementById("other-examples");e&&e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}),[]);l.useEffect((()=>{"#other-examples"===c&&setTimeout((()=>{m()}),200)}),[c]),l.useEffect((()=>{const e=new URLSearchParams(i).get("tags");if(e){const t=e.split(",").filter((t=>e.includes(t)));o(new Set(t))}}),[]);S.filter((e=>{const t=`${e.displayTitle.replace("antd","Ant Design").replace("mui","Material UI")} ${e.displayTitle} ${e.description}`.toLowerCase().includes((null!=r?r:"").toLowerCase());if(n.size===L.length)return t;const a=Array.from(n).every((t=>e.tags.includes(t)));return t&&a}));return l.createElement("div",{className:"text-center"},l.createElement("div",{className:(0,a.Z)("text-2xl landing-sm:text-[32px] landing-sm:leading-[40px]")},l.createElement("h2",{className:(0,a.Z)("font-semibold","dark:text-gray-400 text-gray-600")},"Projects")),l.createElement("div",{className:"mt-10"},(()=>{const r=e?[...k,...j]:k;return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("grid grid-cols-1 md:grid-cols-3","gap-4 2xl:gap-8")},r.map((e=>(e=>l.createElement("div",{key:e.title,className:(0,a.Z)("max-w-[100%] 2xl:max-w-[416px]","flex flex-col","mx-auto","px-2 pb-4 pt-2 2xl:px-4 2xl:py-4","bg-gray-50 dark:bg-gray-800","rounded-lg")},l.createElement("div",{className:(0,a.Z)("not-prose","mb-0 mt-0","text-sm sm:text-base 2xl:text-xl font-semibold","text-gray-900 dark:text-gray-200","px-2 lg:px-2 xl:px-0")},e.title),l.createElement("img",{className:(0,a.Z)("mb-0 mt-2 2xl:mt-4","w-full max-h-[456px] md:h-[192px] 2xl:h-[242px]","object-cover","rounded-[2px]"),src:e.image,srcSet:e.image2x,alt:e.title}),l.createElement("p",{className:(0,a.Z)("not-prose","text-xs sm:text-sm 2xl:text-base","px-2 mb-0","text-gray-700 dark:text-gray-400","mt-4 2xl:mt-6"),style:{marginBottom:"0rem"},dangerouslySetInnerHTML:{__html:e.description}}),l.createElement("div",{className:(0,a.Z)("flex justify-between items-center","px-2 2xl:px-0 pt-4 2xl:pt-6 2xl:pb-2 mt-auto","text-sm 2xl:text-base")},l.createElement("a",{href:e.source,className:(0,a.Z)("flex items-center gap-2","no-underline"),target:"_blank",rel:"noreferrer"},l.createElement(P.L,{className:(0,a.Z)("w-4 h-4 2xl:w-6 2xl:h-6")}),l.createElement("span",null,"Code")),e.buttons.map(((e,t)=>l.createElement("a",{key:t,href:e.link,className:(0,a.Z)("flex items-center gap-2","no-underline"),target:"_blank",rel:"noreferrer"},e.icon({className:(0,a.Z)("w-4 h-4 2xl:w-6 2xl:h-6")}),l.createElement("span",null,e.text)))))))(e)))),l.createElement("button",{className:(0,a.Z)("w-full h-12 2xl:h-16","flex justify-center items-center gap-4","bg-gray-100 dark:bg-gray-700","rounded-lg","mt-4 sm:mt-8 2xl:mt-10 py-2"),onClick:()=>{t((e=>!e))}},l.createElement("div",{className:(0,a.Z)("flex justify-center items-center","w-8 h-8","text-gray-500","bg-gray-0 dark:bg-gray-800","rounded-[4px]")},l.createElement(N,{className:(0,a.Z)("w-3 h-3",{"transform rotate-180":!e})})),l.createElement("span",{className:(0,a.Z)("text-gray-700 dark:text-gray-400","text-sm 2xl:text-base font-semibold")},e?"Show Less":"Show More")))})()))}),D=()=>{const{colorMode:e}=(0,s.I)();return l.createElement(l.Fragment,null,l.createElement(n.Z,{title:"About | AkashSingh3031"},l.createElement("html",{"data-page":"about","data-customized":"true"})),l.createElement(c.j,{description:"Build React-based internal tools, admin panels, dashboards & B2B apps with unmatched flexibility."},l.createElement("div",{className:(0,a.Z)()},l.createElement(i.f,null),l.createElement("div",{className:(0,a.Z)("flex flex-col","gap-12 landing-sm:gap-20 landing-md:gap-28 landing-lg:gap-40","pb-12 landing-sm:pb-16 landing-md:pb-20 landing-lg:pb-40","mx-auto")},l.createElement(w,{className:(0,a.Z)("h-auto landing-md:h-[432px]","mt-4 landing-sm:mt-8 landing-lg:mt-8","px-4 landing-sm:px-0","landing-lg:pr-12")}),l.createElement(M,null)),l.createElement(o.U,null))))};function V(){return l.createElement(c.j,null,l.createElement(D,null))}},1117:(e,t,r)=>{r.d(t,{U:()=>m});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),i=r(8166),c=r(6204),s=r(4813);const m=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(s.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},i.i),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},i.pO.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(c.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},i.KT.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{r.d(t,{f:()=>W});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),i=r(1899),c=r(7294),s=r(3833),m=r(4813),u=r(3799);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>c.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return c.createElement(n.Z,{to:e.link,className:"no-underline"},c.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},c.createElement("div",{className:"shrink-0"},c.createElement(r,null)),c.createElement("div",{className:"ml-2"},c.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),c.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},h=({item:e,isPermanentDark:t})=>{const[r,l]=(0,c.useState)(null);(0,c.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let i=e.icon;return"Cloud"===e.label&&(i="light"===r?g.wW:e.icon),c.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&c.createElement(i,null),e.label)};var y=r(6775),x=r(2280),w=r(4080),v=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,c.useState)(!1),l=c.useRef(null),o=c.useRef(null),i=(0,y.TH)();return c.useEffect((()=>{n(!1)}),[i]),c.createElement(x.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>c.createElement(c.Fragment,null,c.createElement(x.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},c.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),c.createElement(v.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),c.createElement(w.u,{as:c.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},c.createElement(x.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},c.createElement(g.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),c.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>c.createElement(c.Fragment,null,f.map((t=>t.isPopover?c.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&c.createElement(c.Fragment,null,c.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>c.createElement(b,{key:e.label,item:e})))),c.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},c.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},c.createElement(g.Bh,null),c.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&c.createElement(c.Fragment,null,c.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>c.createElement(b,{key:e.label,item:e})))),c.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},c.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),c.createElement("div",{className:"flex gap-4"},c.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},c.createElement(g.ET,{className:"dark:text-gray-400 text-gray-500"})),c.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},c.createElement(g.nI,null)),c.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},c.createElement(g.Zm,null)))))):c.createElement(h,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var C=r(2560),k=r(8368),j=r(9526),P=r(4837);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>c.createElement("svg",function(e){for(var t=1;t{const[i,s]=(0,c.useState)(null),m=null!=r?r:n.Z,u=void 0!==l&&void 0===t;return(0,c.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),c.createElement(m,function(e){for(var t=1;t{const r=(0,y.TH)();return c.useEffect((()=>{t(!1)}),[r]),c.createElement(R,{isModalOpen:e,setIsModalOpen:t},c.createElement(B,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),c.createElement(_,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},R=({isModalOpen:e,setIsModalOpen:t,children:r})=>c.createElement(w.u,{appear:!0,show:e,as:c.Fragment},c.createElement(C.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},c.createElement(w.u.Child,{as:c.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},c.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},c.createElement(A.T,null),c.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},c.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),c.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},c.createElement(P.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),c.createElement(w.u.Child,{as:c.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},c.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),B=e=>c.createElement("div",{className:(0,a.Z)(e.className)},f.map(((e,t)=>{const r="icon"in e&&e.icon;return c.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},c.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},c.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},c.createElement("div",null,e.label),r&&c.createElement(r,null))),"items"in e&&c.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>c.createElement(b,{key:e.label,item:e})))))})),c.createElement(T,null),c.createElement(H,{id:"tablet"}),c.createElement(F,{id:"tablet"})),_=e=>c.createElement("div",{className:(0,a.Z)(e.className)},c.createElement("div",{className:"flex-grow"},f.map((e=>e.isPopover?c.createElement(k.p,{key:`modal-${e.label}`},(({open:t})=>c.createElement(c.Fragment,null,c.createElement(L,{component:k.p.Button,label:e.label,open:t}),c.createElement(k.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>c.createElement(b,{key:e.label,item:e}))))))):c.createElement(L,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),c.createElement(T,null),c.createElement(H,{id:"phone"}),c.createElement(F,{id:"phone"})),F=e=>{var t;return c.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},c.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},c.createElement(g.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),c.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},H=e=>c.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},c.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),c.createElement("div",{className:"flex gap-4"},c.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},c.createElement(g.ET,{className:"h-10 w-10"})),c.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},c.createElement(g.nI,{className:"h-10 w-10"})),c.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},c.createElement(g.Zm,{className:"h-10 w-10"})))),T=()=>{const{colorMode:e,setColorMode:t}=(0,j.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return c.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},c.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),c.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},c.createElement(D.x,null),"Light"),c.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},c.createElement(M.c,null),"Dark"))};var I=r(41),U=r(4695),G=r(7990),$=r(2045);const z=()=>{const{loading:e,githubStarCountText:t}=(0,U.h)();return c.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},c.createElement(G.E,{className:(0,a.Z)("w-5 h-5")}),c.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?c.createElement($.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):c.createElement("span",null,t)))},W=({trackProgress:e})=>{const[t,r]=(0,c.useState)(!1),{scrollYProgress:p}=(0,l.v)(),d=(0,o.H)(p,[.03,.95],["0%","100%"]);return c.createElement(c.Fragment,null,c.createElement(A.T,null),c.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},c.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),c.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},c.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},c.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},c.createElement(n.Z,{to:"/",onContextMenu:u.Q},c.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),c.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},c.createElement(s.U,null)),c.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},c.createElement(O,null)),c.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},c.createElement(z,null),c.createElement(I.m,null)),c.createElement(V,{isModalOpen:t,setIsModalOpen:r}))),e&&c.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},c.createElement(i.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:d}}))))}},41:(e,t,r)=>{r.d(t,{L:()=>m,m:()=>c});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),i=r(7109);const c=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(i.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:i.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},8166:(e,t,r)=>{r.d(t,{i:()=>c,pO:()=>i,KT:()=>s});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],c="Thank you for visiting, Connect with me over socials.",s=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{E:()=>o,L:()=>i});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),i=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{O2:()=>R,v4:()=>k,XC:()=>O,Kj:()=>u,TA:()=>l,ET:()=>h,Bh:()=>f,wI:()=>i,nI:()=>x,dd:()=>d,t2:()=>M,ty:()=>s,Zm:()=>v,wW:()=>P});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",A(function(e){for(var t=1;tn.createElement("svg",V(function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{r.d(t,{$:()=>c});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const c=e=>{var{className:t,wrapperProps:r}=e,l=i(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(p,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(p,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(m,null)),m=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>a.createElement("svg",c(i({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),p=e=>a.createElement("svg",c(i({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},3799:(e,t,r)=>{r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}},1190:(e,t,r)=>{r.d(t,{M:()=>h});var n=r(655),a=r(7294),l=r(9304),o=r(4735),i=r(8868);function c(){var e=(0,a.useRef)(!1);return(0,i.L)((function(){return e.current=!0,function(){e.current=!1}}),[]),e}var s=r(240),m=r(6681),u=r(6316),p=function(e){var t=e.children,r=e.initial,l=e.isPresent,o=e.onExitComplete,i=e.custom,c=e.presenceAffectsLayout,p=(0,m.h)(d),g=(0,u.M)(),f=(0,a.useMemo)((function(){return{id:g,initial:r,isPresent:l,custom:i,onExitComplete:function(e){var t,r;p.set(e,!0);try{for(var a=(0,n.XA)(p.values()),l=a.next();!l.done;l=a.next()){if(!l.value)return}}catch(i){t={error:i}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}null==o||o()},register:function(e){return p.set(e,!1),function(){return p.delete(e)}}}}),c?void 0:[l]);return(0,a.useMemo)((function(){p.forEach((function(e,t){return p.set(t,!1)}))}),[l]),a.useEffect((function(){!l&&!p.size&&(null==o||o())}),[l]),a.createElement(s.O.Provider,{value:f},t)};function d(){return new Map}var g=r(5364),f=r(5411),b=function(e){return e.key||""};var h=function(e){var t=e.children,r=e.custom,s=e.initial,m=void 0===s||s,u=e.onExitComplete,d=e.exitBeforeEnter,h=e.presenceAffectsLayout,y=void 0===h||h,x=(0,n.CR)(function(){var e=c(),t=(0,n.CR)((0,a.useState)(0),2),r=t[0],l=t[1],i=(0,a.useCallback)((function(){e.current&&l(r+1)}),[r]);return[(0,a.useCallback)((function(){return o.ZP.postRender(i)}),[i]),r]}(),1),w=x[0],v=(0,a.useContext)(g.p).forceRender;v&&(w=v);var E=c(),O=function(e){var t=[];return a.Children.forEach(e,(function(e){(0,a.isValidElement)(e)&&t.push(e)})),t}(t),C=O,k=new Set,j=(0,a.useRef)(C),P=(0,a.useRef)(new Map).current,Z=(0,a.useRef)(!0);if((0,i.L)((function(){Z.current=!1,function(e,t){e.forEach((function(e){var r=b(e);t.set(r,e)}))}(O,P),j.current=C})),(0,f.z)((function(){Z.current=!0,P.clear(),k.clear()})),Z.current)return a.createElement(a.Fragment,null,C.map((function(e){return a.createElement(p,{key:b(e),isPresent:!0,initial:!!m&&void 0,presenceAffectsLayout:y},e)})));C=(0,n.ev)([],(0,n.CR)(C),!1);for(var N=j.current.map(b),S=O.map(b),L=N.length,A=0;A1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),a.createElement(a.Fragment,null,k.size?C:C.map((function(e){return(0,a.cloneElement)(e)})))}}}]); \ No newline at end of file diff --git a/assets/js/c1d171ff.3acd9f6a.js b/assets/js/c1d171ff.3acd9f6a.js new file mode 100644 index 00000000..6014ed59 --- /dev/null +++ b/assets/js/c1d171ff.3acd9f6a.js @@ -0,0 +1 @@ +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1025],{9624:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[2181,2181]};function a(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=9624,e.exports=a},5506:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(7294),a=r(676),l=r(4185);function o({children:e,className:t}){const{frontMatter:r,assets:o}=(0,l.C)(),{withBaseUrl:c}=(0,a.C)();var i;const s=null!==(i=o.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:c(s,{absolute:!0})}),e)}},4185:(e,t,r)=>{"use strict";r.d(t,{C:()=>c,n:()=>o});var n=r(7294),a=r(7806);const l=n.createContext(null);function o({children:e,content:t,isBlogPostPage:r=!1}){const a=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(l.Provider,{value:a},e)}function c(){const e=(0,n.useContext)(l);if(null===e)throw new a.i6("BlogPostProvider");return e}},60:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var n=r(7294),a=r(8241);const l=["zero","one","two","few","many","other"];function o(e){return l.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,a.Z)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const a=r.select(t),l=r.pluralForms.indexOf(a);return n[Math.min(l,n.length-1)]}(r,t,e)}}},6040:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(7294),a=r(2892),l=r(8241),o=r(9712),c=r(6894),i=r(797),s=r(7886),m=r(6010);const u=()=>{const{siteConfig:{title:e,tagline:t}}=(0,l.Z)();return n.createElement(n.Fragment,null,n.createElement(o.d,{title:e,description:t}),n.createElement(c.Z,{tag:"author_blog_posts_list"}))},d=e=>{const{items:t}=e,r=t[0].content.metadata.authors[0];return n.createElement(n.Fragment,null,n.createElement(u,null),n.createElement(a.Z,{showSidebarBanner:!1},n.createElement("div",{className:"h-12"}),n.createElement(s.Ag,{author:r}),n.createElement("div",{className:(0,m.Z)("px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},n.createElement("h1",{className:"text-4xl !mb-0 px-0 lg:px-4"},"Posts")),n.createElement("div",{className:(0,m.Z)("px-4","blog-md:px-7","blog-2xl:px-0")},n.createElement(i.Z,{items:t,showTitle:!1,isAuthorPage:!0}))))}},6987:(e,t,r)=>{"use strict";r.d(t,{Ej:()=>a,OV:()=>c});var n=r(7294);function a({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var l=r(60),o=r(2210);function c({readingTime:e}){const t=function(){const{selectMessage:e}=(0,l.c)();return t=>{const r=Math.ceil(t);return e(r,(0,o.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},1915:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(7294),a=r(1984);const l=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(a.Z,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7328:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(7294),a=r(1984);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(a.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(i,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(o,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},7886:(e,t,r)=>{"use strict";r.d(t,{Ag:()=>v,zS:()=>h,rg:()=>m,gZ:()=>E,$G:()=>w});var n=r(7294),a=r(1984),l=r(4185),o=r(5506),c=r(6987),i=r(6010);const s=()=>{var e,t;const{metadata:r}=(0,l.C)(),{permalink:s,title:m,date:u,formattedDate:d,frontMatter:p,description:f,tags:g}=r,b=r.authors[0];return n.createElement(o.Z,null,n.createElement(a.Z,{itemProp:"url",to:s}),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,i.Z)("mb-2 gap-1 md:mb-4 2xl:mb-6","flex flex-wrap items-center")},g.map((e=>n.createElement(a.Z,{className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4 2xl:mb-6"},n.createElement(a.Z,{itemProp:"url",to:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.Z)("mb-2 md:mb-4 2xl:mb-6","text-gray-700 dark:text-gray-200","text-sm sm:text-2xl 2xl:text-[32px] 2xl:leading-10","font-lg","font-bold")},m)),n.createElement("div",{className:(0,i.Z)("line-clamp-3","text-gray-700 dark:text-gray-300","text-xs md:text-base 2xl:text-xl")},f)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.Z,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,i.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","leading-6","no-underline")},n.createElement(c.Ej,{date:u,formattedDate:d})))))},m=({items:e})=>n.createElement("div",{className:(0,i.Z)("py-10","px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto","not-prose")},n.createElement("h2",{className:(0,i.Z)("m-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-10","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","px-0 blog-sm:px-6","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-lg:gap-12 gap-8"},e.map((({content:e})=>n.createElement(l.n,{key:e.metadata.permalink,content:e},n.createElement(s,null))))));var u=r(5750),d=r(9387),p=r(8241),f=r(3597),g=r(7332),b=r(6616),y=r(6250);const h=({children:e})=>{var t,r,s,m,h,v;const{metadata:x,isBlogPostPage:w}=(0,l.C)(),{permalink:E,title:O,date:k,formattedDate:j,readingTime:P,frontMatter:Z,tags:C,description:N,authors:S}=x,D=S[0],{siteConfig:{url:M}}=(0,p.Z)();return n.createElement(o.Z,{className:(0,i.Z)("py-10","px-4 sm:px-0","blog-sm:py-12","blog-md:py-16","w-full","mx-auto","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center","blog-sm:px-6")},n.createElement(a.Z,{to:"/blog",className:(0,i.Z)("!text-gray-500 text-sm no-underline")},"\u2190 Back to blog"),n.createElement("div",{className:"flex items-center space-x-2 px-2 py-1"},n.createElement("span",{className:"text-gray-500 text-sm"},"Share on"),n.createElement(f.Z,{url:M+E,title:O,source:M,summary:N,className:"flex"},n.createElement(g.Z,{size:26,round:!0})),n.createElement(b.Z,{windowWidth:750,windowHeight:800,url:M+E,className:"flex",title:O,hashtags:C.map((e=>e.label))},n.createElement(y.tL,{width:26,height:26})))),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mb-6 text-sm"},n.createElement("div",{className:(0,i.Z)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.Z,{to:`/blog/author/${null===(t=D)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=D)||void 0===r?void 0:r.imageURL,alt:null===(s=D)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.Z,{to:`/blog/author/${null===(m=D)||void 0===m?void 0:m.key}`,itemProp:"url",className:(0,i.Z)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=D)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(v=D)||void 0===v?void 0:v.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.Ej,{date:k,formattedDate:j}),void 0!==P&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.OV,{readingTime:P}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},w?O:n.createElement(a.Z,{itemProp:"url",to:E},O)),n.createElement("div",{id:u.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.Z,null,e))))},v=({author:e,className:t})=>n.createElement(x,{author:e,className:t}),x=({author:e})=>{var t,r,l,o,c,s,m,u,d,p,f;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.Z)("px-4","blog-md:px-7","blog-2xl:px-0","max-w-[640px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.Z)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.Z)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.Z,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.Z)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,i.Z)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.Z)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.Z)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.Z,{to:null===(m=e)||void 0===m?void 0:m.github},n.createElement(y.Ey,{className:"h-6 w-6"})),(null===(u=e)||void 0===u?void 0:u.twitter)&&n.createElement(a.Z,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(y.tL,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.Z,{to:null===(f=e)||void 0===f?void 0:f.linkedin},n.createElement(y.n6,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(1915),r(7328),r(6534);const w=()=>{const{metadata:e}=(0,l.C)();return n.createElement("div",{className:"flex flex-wrap gap-2 pb-6 pl-1"},e.tags.map((e=>n.createElement(a.Z,{to:e.permalink,className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","no-underline hover:no-underline","whitespace-nowrap"),key:e.permalink},e.label))))},E=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.Z)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-gray-900 dark:text-gray-200"},t),n.createElement("div",{className:"flex flex-col"},e.map((e=>n.createElement("div",{key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,i.Z)("flex","flex-col","p-5","mb-5","rounded-md","bg-gray-50 dark:bg-gray-800")},n.createElement(a.Z,{to:e.permalink,rel:"dofollow",className:(0,i.Z)("font-bold","text-gray-800 dark:text-gray-200","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,i.Z)("font-sm","text-gray-700 dark:text-gray-400")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400"},n.createElement(a.Z,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.Ej,{date:e.date,formattedDate:e.formattedDate}))))))))}},6534:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(7294),a=r(1984);const l=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(a.Z,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},2068:(e,t,r)=>{"use strict";r.d(t,{M:()=>c,e:()=>o});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},4368:(e,t,r)=>{"use strict";r.d(t,{KZ:()=>i,lu:()=>s,V1:()=>l});var n=r(7294),a=r(6895);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.k)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const m=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&m(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:m,current:r||l}},e)}},1446:(e,t,r)=>{"use strict";r.d(t,{x:()=>f});var n=r(6895),a=r(7391),l=(r(7294),r(1261));function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t{var e,t,r,o;const u=(0,n.k)(),{docs:f}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=u,{tutorial:{units:y}}=(0,m.S)(),{current:h}=(0,l.n)(),v=e=>{const t=e.id.split("/"),r=s.V1.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},x=!!(null===(e=g)||void 0===e?void 0:e.tutorial),w=b.split("/")[1],E=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.n)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:m,prev:u}=null!=s?s:{},d=m?n(m):void 0,p=t[u?n(u):void 0],f=t[d];return{previous:p?i(c({},p),{permalink:o(p.id)}):void 0,next:f?i(c({},f),{permalink:o(f.id)}):void 0}}(u),O=Object.entries(f).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),k=Object.entries(O).map((([e,r])=>p(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===w&&x&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&x&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return x?{id:b,isTutorial:x,unit:w,pagination:E,units:k}:void 0}},7790:(e,t,r)=>{"use strict";r.d(t,{eW:()=>s,wG:()=>m});var n=r(7294);const a={items:[]};var l=r(2068);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tt.filter((t=>t.unit===e));function m(){const{store:e,toggle:t}=n.useContext(l.e);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},1774:(e,t,r)=>{"use strict";r.d(t,{S:()=>a});var n=r(8241);r(7294);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.Z)(),{tutorial:t}=e;return t}},1261:(e,t,r)=>{"use strict";r.d(t,{n:()=>l});var n=r(7294),a=r(4368);const l=()=>n.useContext(a.KZ)},3812:(e,t,r)=>{"use strict";r.d(t,{U:()=>g});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),c=r(7092),i=r(961),s=r(3380),m=r(506);const u=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",icon:l.createElement(m.nm,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:l.createElement(m.nm,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],d=[{icon:c.I,href:"https://github.com/AkashSingh3031"},{icon:s.p,href:"https://twitter.com/akashsingh3031"},{icon:i._,href:"https://www.linkedin.com/in/akashsingh3031"}];var p=r(6204),f=r(4813);const g=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(f.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},"Thank you for visiting, Connect with me over socials."),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},u.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(p.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},d.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{"use strict";r.d(t,{f:()=>W});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},y=({item:e,isPermanentDark:t})=>{const[r,l]=(0,i.useState)(null);(0,i.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?f.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var h=r(6775),v=r(2280),x=r(4080),w=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),l=i.useRef(null),o=i.useRef(null),c=(0,h.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(v.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(v.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(w.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(x.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(v.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(f.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,g.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(f.Bh,null),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},i.createElement(f.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,null)))))):i.createElement(y,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var k=r(2560),j=r(8368),P=r(9526),Z=r(4837);function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.Z,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,h.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(F,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(T,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(x.u,{appear:!0,show:e,as:i.Fragment},i.createElement(k.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(x.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.T,null),i.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),i.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(Z.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(x.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),F=e=>i.createElement("div",{className:(0,a.Z)(e.className)},g.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(H,null),i.createElement(_,{id:"tablet"}),i.createElement(V,{id:"tablet"})),T=e=>i.createElement("div",{className:(0,a.Z)(e.className)},i.createElement("div",{className:"flex-grow"},g.map((e=>e.isPopover?i.createElement(j.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(D,{component:j.p.Button,label:e.label,open:t}),i.createElement(j.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(D,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(H,null),i.createElement(_,{id:"phone"}),i.createElement(V,{id:"phone"})),V=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},_=e=>i.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(f.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,{className:"h-10 w-10"})))),H=()=>{const{colorMode:e,setColorMode:t}=(0,P.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(A.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(L.c,null),"Dark"))};var I=r(41),$=r(4695),U=r(7990),G=r(2045);const z=()=>{const{loading:e,githubStarCountText:t}=(0,$.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(U.E,{className:(0,a.Z)("w-5 h-5")}),i.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?i.createElement(G.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):i.createElement("span",null,t)))},W=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.v)(),p=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.T,null),i.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:u.Q},i.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(z,null),i.createElement(I.m,null)),i.createElement(R,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:p}}))))}},3280:(e,t,r)=>{"use strict";r.d(t,{Xm:()=>c,ae:()=>l,iA:()=>o});var n=r(6010),a=r(7294);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.Z)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},41:(e,t,r)=>{"use strict";r.d(t,{L:()=>m,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},1526:(e,t,r)=>{"use strict";r.d(t,{L:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{I:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{_:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{p:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{O2:()=>B,v4:()=>j,XC:()=>O,Kj:()=>u,TA:()=>l,ET:()=>y,Bh:()=>g,wI:()=>c,nI:()=>v,dd:()=>p,nm:()=>V,t2:()=>L,ty:()=>s,Zm:()=>w,wW:()=>Z});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",M(function(e){for(var t=1;tn.createElement("svg",R(function(e){for(var t=1;t{const{colorMode:t}=(0,F.I)();return n.createElement("div",{className:(0,S.Z)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,S.Z)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{F:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{z:()=>s});var n=r(7294),a=r(6010),l=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const s=e=>{var{children:t,href:r,className:s,onClick:m,buttonClassname:u}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.Z:"button";return n.createElement(p,c(function(e){for(var t=1;t{"use strict";r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{"use strict";r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(m,null)),m=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},8029:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),a=r(6010);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var l;const o=null!==(l=p[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=f[e])&&void 0!==c?c:"tex-inherit";var s;const m=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",m)},n.createElement("div",{className:(0,a.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||b[e])&&n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(u=null!=t?t:b[e])&&void 0!==u?u:"")),n.createElement("div",{className:(0,a.Z)("text-gray-0","text-base","last:mb-0")},r)));var u},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=f[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.Z)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.Z)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.Z)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return w(x({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,w(x({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,w(x({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,w(x({},e),{type:"caution",icon:n.createElement(O,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},2892:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),a=r(7915),l=r(859),o=r(3812),c=r(6010),i=r(1984),s=r(1526),m=r(9658);const u="Struggling with internal tools?",d="Explore refine\u2019s limitless possibilities in crafting CRUD apps, CRM solutions, HR dashboards, and more!",p="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/app-crm.png",f=({shouldShowBanner:e})=>(n.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&window.gtag("event","view_banner",{banner_name:"banner-sidebar",banner_text:u,banner_description:d,banner_image:p})}),[e]),n.createElement("div",{className:(0,c.Z)("flex","flex-col","gap-6","py-6","px-4","rounded-2xl","bg-banner-examples-sider-purple","not-prose")},n.createElement(i.Z,{to:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","w-full h-auto xl:h-[152px]","flex-shrink-0","rounded-md","overflow-hidden")},n.createElement("img",{src:p,alt:"refine App screenshot",loading:"lazy"})),n.createElement("h2",{className:(0,c.Z)("text-2xl font-semibold","text-gray-0")},u),n.createElement("p",{className:(0,c.Z)("text-base","text-gray-100")},d),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-2"),href:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},"Try online"),n.createElement(s.L,{className:(0,c.Z)("ml-2","w-4","h-4")}))));var g=r(4080),b=r(2560),y=r(4837);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>x(v({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(x(v({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},E=(e,t)=>{const[r,a]=(0,n.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};var O=r(6775);const k=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,u,d;const{pathname:p}=(0,O.TH)(),[f,h]=(0,n.useState)(!1),[v,x]=E("banner-modal",null),k=(0,n.useRef)(!1),j=w();var P,Z;return(0,n.useEffect)((()=>{"/blog/"!==p&&"/blog"!==p&&(k.current||f||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===v||null===v?(h(!0),x(0)):(x(v+1),k.current=!0)))}),[j.scrollY]),(0,n.useEffect)((()=>{f&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[f]),n.createElement(g.u,{appear:!0,show:f,as:n.Fragment},n.createElement(b.V,{as:"div",className:"relative z-modal",onClose:()=>h(!1)},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(b.V.Panel,{className:(0,c.Z)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,c.Z)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},n.createElement("div",{className:(0,c.Z)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(i.Z,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,c.Z)("object-contain"),src:null===(u=r)||void 0===u?void 0:u.src,alt:null!==(Z=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==Z?Z:e,loading:"lazy"})),n.createElement("p",{className:(0,c.Z)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},a.text),n.createElement(s.L,{className:(0,c.Z)("w-4","h-4")}))),n.createElement("button",{className:(0,c.Z)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>h(!1)},n.createElement(y.T,{className:"w-4 h-4"})))))))))};function j(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const P=e=>{const[t,r]=(0,n.useState)(!1),{children:i,toc:s}=e,m=j(e,["children","toc"]),{pathname:u}=(0,O.TH)(),d=w();return(0,n.useEffect)((()=>{t&&"/blog/"!==u&&"/blog"!==u&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY]),n.createElement(a.j,m,n.createElement(l.f,{hasSticky:!0,trackProgress:!!s}),n.createElement("div",{className:(0,c.Z)("flex","justify-center","mx-auto","max-w-screen-blog-max","w-full")},n.createElement("div",{className:(0,c.Z)("relative","w-[264px]","pl-4","py-10 blog-sm:py-12 blog-md:py-16","hidden xl:block",t&&"opacity-100",!t&&"opacity-0","transition-opacity duration-300 ease-in-out")},n.createElement("div",{className:(0,c.Z)("sticky","w-[264px]","z-[1]","top-32","left-0")},n.createElement(f,{shouldShowBanner:t}))),n.createElement("div",{className:(0,c.Z)("refine-prose","flex-1","min-w-0","xl:px-8")},i),s&&n.createElement("div",{className:(0,c.Z)("w-[280px]","hidden blog-md:block","flex-shrink-0")},s)),n.createElement(o.U,null),n.createElement(k,null))}},797:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(7294),a=r(4185),l=r(3149),o=r(1984),c=r(5506),i=r(6987),s=r(6010);function m({className:e}){var t,r;const{metadata:l}=(0,a.C)(),{permalink:m,title:u,date:d,formattedDate:p,frontMatter:f,description:g,tags:b}=l,y=l.authors[0];return n.createElement(c.Z,{className:e},n.createElement("div",null,n.createElement(o.Z,{itemProp:"url",to:m})),n.createElement("div",{className:"p-4"},n.createElement("div",{className:(0,s.Z)("mb-2 flex gap-1 md:mb-4","flex flex-wrap items-center")},b.map((e=>n.createElement(o.Z,{className:(0,s.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(o.Z,{itemProp:"url",to:m,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.Z)("text-xs sm:text-sm md:text-2xl lg:text-base 2xl:text-xl","text-gray-700 dark:text-gray-200","font-lg","font-bold","leading-6")},u)),n.createElement("div",{className:(0,s.Z)("text-xs md:text-base lg:text-sm 2xl:text-lg","mt-2 md:mt-4","line-clamp-3 text-gray-700 dark:text-gray-300")},g)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.Z,{href:`/blog/author/${null===(t=y)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=y)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},n.createElement(i.Ej,{date:d,formattedDate:p})))))}function u({items:e,tags:t,component:r=m,isAuthorPage:o,isTagsPage:c}){return n.createElement("div",{className:(0,s.Z)("px-4","blog-md:px-7","blog-2xl:px-0",!o&&!c&&"blog-sm:pb-16 blog-md:pb-8 blog-2xl:pb-12 pb-10",!o&&!c&&"blog-md:pt-16 blog-2xl:pt-20",(o||c)&&"py-8","max-w-[512px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},!o&&!c&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.Z)("flex flex-col blog-md:flex-row items-start lg:items-center justify-between","mb-4 lg:mb-8","px-0 blog-sm:px-6","not-prose")},n.createElement("h2",{className:(0,s.Z)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","font-semibold")},"All Posts"),n.createElement("p",{className:(0,s.Z)("text-sm blog-md:text-base blog-lg:text-xl","blog-md:max-w-[624px]","mt-6 lg:mt-0","text-gray-500 dark:text-gray-400")},n.createElement("b",null,"PrepVerse blog")," - contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")),n.createElement(l.Z,{tags:t})),n.createElement("div",{className:(0,s.Z)("grid","grid-cols-1 blog-md:grid-cols-3","gap-4 blog-lg:gap-12","pt-6",o?"blog-md:pt-0":"blog-md:pt-12")},e.map((({content:e})=>n.createElement(a.n,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null)))))))}},923:(e,t,r)=>{"use strict";r.d(t,{d:()=>L});var n=r(7294),a=r(358),l=r(5468),o=r(6016),c=r(3151),i=r(5489),s=r(3533),m=r(9238),u=r(6010),d=r(3746);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function g(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const b=e=>{var{as:t}=e,r=g(e,["as"]);return n.createElement(t,f(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,u.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:o},n.createElement(h,{className:(0,u.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:O;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,u.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,u.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){for(var t=1;tn.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),N=({children:e,icon:t=n.createElement(C,null)})=>n.createElement("div",{className:(0,u.Z)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:a,showLineNumbers:l,language:p,icon:f,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.L)();var x;const w=null!==(x=null!=p?p:(0,i.Vo)(t))&&void 0!==x?x:y,E=(0,c.p)(),O=(0,s.F)(),j=(0,i.bc)(r)||a,{lineClassNames:C,code:S}=(0,i.nZ)(e,{metastring:r,language:w,magicComments:h}),D=null!=l?l:(0,i.nt)(r);return n.createElement(b,{as:"div",className:(0,u.Z)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-800","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(N,{icon:f},j),n.createElement("div",{className:(0,u.Z)("relative","pt-3","pb-0","not-prose")},n.createElement(d.ZP,Z(P({},d.lG),{theme:E,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:O.codeBlockRef,className:(0,u.Z)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,u.Z)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(m.Z,{key:t,line:e,getLineProps:r,getTokenProps:a,classNames:(0,u.Z)(C[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:D})))))))),n.createElement("div",{className:(0,u.Z)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(O.isEnabled||O.isCodeScrollable)&&n.createElement(k,{onClick:O.toggle,isEnabled:O.isEnabled}),n.createElement(v,{className:(0,u.Z)(),code:S})))};function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const L=e=>{var{children:t}=e,r=M(e,["children"]);const o=(0,a.Z)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?S:l.Z;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>C});var n=r(7294),a=r(923),l=r(6010),o=r(8241),c=r(5772),i=r.n(c),s=r(7391);const m="playgroundPreview_jwe9";function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.Z)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.Z)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(p,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.Z)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.Z)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const p=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var g=r(6822),b=r(8764);function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||b.lW;const h=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.Z)(),[l,c]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&c(`${a.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},v=n.memo(h,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),x=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(x,{className:(0,l.Z)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.Z)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.Z)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.Z)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.Z)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(C,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:u=!1})=>{const p=String(e),{shared:b,sharedCss:y}=(0,g.dD)(),{visible:h}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+t.length:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=b?b:""}\n ${p}\n `.replace(/\n$/,"")),x=n.useRef(null),E=((e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r})(x),{siteConfig:{customFields:O}}=(0,o.Z)(),{isLast:k}=(0,s.E)();return n.createElement("div",{className:(0,l.Z)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.Z)(m,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:x},k?n.createElement(f,{if:E,maxWait:3e3},(()=>n.createElement(v,{code:`\n${null!=b?b:""}\n${p}\n `,css:y,query:`${t?"&disableScroll=true":""}${u?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(w,{hidden:a,code:h})))},O=n.memo(E,((e,t)=>String(e.children)===String(t.children))),k=({children:e})=>{const{setShared:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},j=n.memo(k,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setSharedCss:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},Z=n.memo(P,((e,t)=>String(e.children)===String(t.children)));function C(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(Z,e):e.shared&&e.live?n.createElement(j,e):e.live?n.createElement(O,e):n.createElement(a.d,e)}},258:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(7294),a=r(1984),l=r(7785);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e){var t;const r=(e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.Z)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i})(null===(t=e)||void 0===t?void 0:t.href);return n.createElement(a.Z,c(function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>Fe});var n=r(7693),a=r(7294),l=r(6010),o=r(9658);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=e=>a.createElement("svg",function(e){for(var t=1;t{var d,p,f,g,b,y;return a.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),a.createElement("div",{className:(0,l.Z)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},a.createElement(m.Z,{to:null!==(b=null===(d=r)||void 0===d?void 0:d.href)&&void 0!==b?b:null===(p=c)||void 0===p?void 0:p.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.Z)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(y=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==y?y:e,loading:"lazy"})),a.createElement("div",{className:(0,l.Z)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.Z)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.Z)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.z,{className:(0,l.Z)("w-max"),buttonClassname:(0,l.Z)("!px-4","!py-2"),href:c.href,onClick:c.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.Z)("text-gray-900","text-sm md:text-base","font-bold")},c.text),a.createElement(s.L,{className:(0,l.Z)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))),a.createElement(i,{className:(0,l.Z)("absolute","bottom-2","right-2")}))},d=({title:e="Open-source Retool alternative for enterprise",description:t="Build React-based internal tools, dashboards & B2B apps with unmatched flexibility",button:r={text:"Discover Refine",href:"https://s.refine.dev/blog-retool?ref=banner-retool-alternative",onClick:void 0}})=>(a.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),a.createElement("div",{className:(0,l.Z)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.Z)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.Z)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.z,{className:(0,l.Z)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.Z)("text-gray-900","text-base","font-bold")},r.text)),a.createElement(i,{className:(0,l.Z)("absolute","bottom-2","right-2")})));var p=r(950);const f=[{description:"Refine is a React Framework used by over monthly 15K developers for building enterprise internal tools, dashboards, and B2B apps",image:{src:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/banner-tweet.jpg",alt:"X tweet about Refine",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},button:{text:"Learn more",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},bannerName:"banner-twitter"}],g=Math.floor(Math.random()*(f.length+1));var b=r(1915),y=r(7328);const h=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var v=r(6534),x=r(2076),w=r(1446),E=r(7790);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,w.x)(),[i,s]=a.useState(!1),{items:m}=(0,E.wG)(),{reward:u}=(0,x.w5)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=m.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),u())}),[d,i]),a.createElement("div",{className:(0,l.Z)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.Z)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(k,{className:(0,l.Z)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.Z)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Z=e=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,w.x)(),{items:s,toggle:m}=(0,E.wG)(),u=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.Z)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{m(i,t)},className:(0,l.Z)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!u,"border-refine-react-dark-link dark:border-refine-react-dark-link":u,"bg-refine-react-dark-link":u})},u&&a.createElement(Z,null))),a.createElement("div",{className:(0,l.Z)(u&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!u&&"text-gray-800 dark:text-gray-100")},e))};var N=r(923),S=r(5904);const D=({path:e})=>a.createElement(N.d,{language:"bash",title:"Run on your local",icon:a.createElement(S.F,null)},`npm create refine-app@latest -- --example ${e}`);var M=r(7990);const L=({path:e})=>a.createElement("div",{className:(0,l.Z)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},a.createElement(M.E,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.Z)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),A=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(L,{path:t})},R=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(A,{path:e}),!r&&a.createElement(D,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var B=r(8029),F=r(6153);const T=()=>a.createElement("div",null,a.createElement(B.Z,{type:"simple",title:"Good to know"},a.createElement(F.D,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),V=({children:e,content:t})=>a.createElement("div",{className:(0,l.Z)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.Z)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},a.createElement("div",{className:(0,l.Z)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),_=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.Z)("orange"===r&&(0,l.Z)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,l.Z)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,l.Z)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return a.createElement(V,{content:o},a.createElement(m.Z,{to:`/docs/${e}`,className:(0,l.Z)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",c)},t,n&&a.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const I=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.Z)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.Z)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:c},e):null,z="tooltip__Ymd",W="tooltipContainer_l6r7",Y="tooltipContent_UeXm",q="tooltipArrow_mOyh",J=({label:e,children:t})=>e?a.createElement("div",{className:`${z} group`},t,a.createElement("div",{className:`${W} group-hover:visible`},a.createElement("span",{className:Y},e),a.createElement("div",{className:q}))):a.createElement(a.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const X=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,m;const u=null!==(m=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==m?m:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),p=(0,a.useMemo)((()=>u?a.createElement(F.D,null,u):null),[e,t]);var f;return a.createElement(J,{label:p},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(f=t[`${e.name}-name`])&&void 0!==f?f:e.name),o&&a.createElement(G,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(F.D,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(F.D,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(F.D,null,n)))},ee=({prop:e,overrides:t})=>{var r,n;return a.createElement(F.D,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},te=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(F.D,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(F.D,null,i)):null)},re=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(X,{prop:e,overrides:t}))),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),ae=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(ee,{prop:e,overrides:t})),le=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(te,{prop:e,overrides:t})),oe=e=>{var{module:t,hideDefaults:n,children:l}=e,o=K(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(9624)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(re,{prop:e,overrides:o}),a.createElement(ne,{prop:e,overrides:o}),a.createElement(ae,{prop:e,overrides:o}),i?null:a.createElement(le,{prop:e,overrides:o})))))),l)};function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ie=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,se.n)();return e&&r===e?a.createElement(a.Fragment,null,t):null};var ue=r(6928);function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const fe=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(ue.P,pe(function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const he=e=>{var{children:t,className:r}=e,n=ye(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(m(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.Z)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",ke(Oe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:u},n),{className:(0,l.Z)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function Pe({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.Z)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function Ze(e){const t=(0,xe.Y)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.Z)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(je,Oe({},e,t)),a.createElement(Pe,Oe({},e,t)))}function Ce(e){const t=(0,we.Z)();return a.createElement(Ze,Oe({key:String(t)},e))}function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Me(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var Le;var Ae=r(3280),Re=r(551);function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Fe=(Te=function(e){for(var t=1;t{var{className:t}=e,r=Se(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tg===f.length?a.createElement(p.Z,null,(()=>a.createElement(d,null))):a.createElement(p.Z,null,(()=>a.createElement(u,f[g]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(_,{id:e,color:"green",icon:a.createElement(U,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>a.createElement(_,{id:e,color:"orange",text:r,icon:a.createElement(ie,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>a.createElement(_,{color:"purple",icon:a.createElement(I,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Me(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return a.createElement(Ce,null,a.createElement(Re.Z,{value:"npm",label:"npm",default:!0},a.createElement(N.d,{className:"language-bash"},r.npm)),a.createElement(Re.Z,{value:"pnpm",label:"pnpm"},a.createElement(N.d,{className:"language-bash"},r.pnpm)),a.createElement(Re.Z,{value:"yarn",label:"yarn"},a.createElement(N.d,{className:"language-bash"},r.yarn),a.createElement(F.D,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return a.createElement(Ce,null,a.createElement(Re.Z,{value:"npm",label:"npm",default:!0},a.createElement(N.d,{className:"language-bash"},r.npm),t),a.createElement(Re.Z,{value:"pnpm",label:"pnpm"},a.createElement(N.d,{className:"language-bash"},r.pnpm),t),a.createElement(Re.Z,{value:"yarn",label:"yarn"},a.createElement(N.d,{className:"language-bash"},r.yarn),t))},FullTable:Ae.Xm},Ve=null!=Ve?Ve:{},Object.getOwnPropertyDescriptors?Object.defineProperties(Te,Object.getOwnPropertyDescriptors(Ve)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(Ve)).forEach((function(e){Object.defineProperty(Te,e,Object.getOwnPropertyDescriptor(Ve,e))})),Te);var Te,Ve},9527:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(7294),a=r(6010),l=r(1984);function o({permalink:e,label:t,isActive:r}){return n.createElement(l.Z,{href:e,className:(0,a.Z)("no-underline hover:no-underline","text-xs",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","rounded","py-1","px-2",r&&"bg-gray-200 text-gray-500",r&&"dark-bg-gray-700 text-gray-300")},t)}},3149:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var n=r(7294),a=r(9527),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(6010),u=r(8368),d=r(4080),p=r(4642);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;tn.createElement("svg",{width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.292893 0.792893C0.683417 0.402369 1.31658 0.402369 1.70711 0.792893L4 3.08579L6.29289 0.792893C6.68342 0.402369 7.31658 0.402369 7.70711 0.792893C8.09763 1.18342 8.09763 1.81658 7.70711 2.20711L4.70711 5.20711C4.31658 5.59763 3.68342 5.59763 3.29289 5.20711L0.292893 2.20711C-0.0976311 1.81658 -0.0976311 1.18342 0.292893 0.792893Z",fill:"currentColor"})),h=e=>{e=e.replace(/-/g," ");return[["typescript","TypeScript"],["javascript","JavaScript"],["chakra ui","Chakra UI"],["material ui","Material UI"],["nextjs","Next.js"],["nestjs","NestJS"],["css","CSS"]].forEach((t=>{e=e.replace(t[0],t[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)},v=({tags:e,collapsed:t,onShowMoreClick:r})=>n.createElement("div",{className:(0,m.Z)("hidden lg:flex","not-prose","justify-between","items-start","bg-gray-50 dark:bg-gray-800","rounded-xl p-4 2xl:p-6")},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1",t&&"h-8"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:h(e.label)})))))),n.createElement("label",{onClick:()=>r(!t),className:(0,m.Z)("flex","items-center","gap-1","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","bg-gray-100 dark:bg-gray-600","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","mt-1")},"Show More ",n.createElement(y,null))),x=({tags:e})=>n.createElement("div",{className:"mb-10 block w-full lg:hidden"},n.createElement(u.p,null,(({open:t})=>n.createElement("div",{className:(0,m.Z)("rounded-[4px]","border border-gray-100 dark:border-gray-700")},n.createElement(u.p.Button,{className:(0,m.Z)("bg-gray-50 dark:bg-gray-800","border-b border-gray-100 dark:border-gray-700","w-full","flex items-center gap-3","px-2 py-2")},n.createElement(p.A,{className:(0,m.Z)("h-5 w-5","text-gray-400 dark:text-gray-500","transition-transform duration-200 ease-in-out",{"-rotate-90 transform":!t})}),n.createElement("span",{className:(0,m.Z)("text-sm","dark:text-gray-0 text-gray-900")},"Blog Post Tags")),n.createElement(d.u,{show:t,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(u.p.Panel,{className:"h-[200px] overflow-auto p-2 sm:h-[232px] sm:p-6"},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:h(e.label)}))))))))))));function w({tags:e}){const[t,r]=n.useState(!0),a=["refine","react","nextjs","typescript","tutorial","material-ui","ant-design","docker","comparison"],l=(null!=e?e:[]).sort(((e,t)=>{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(v,{collapsed:t,tags:l,onShowMoreClick:e=>r(e)}),n.createElement(x,{tags:l}))}},3799:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/c1d171ff.47ad1dd7.js b/assets/js/c1d171ff.47ad1dd7.js deleted file mode 100644 index 64cab4dd..00000000 --- a/assets/js/c1d171ff.47ad1dd7.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1025],{9624:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[2181,2181]};function a(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=9624,e.exports=a},5506:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(7294),a=r(676),l=r(4185);function o({children:e,className:t}){const{frontMatter:r,assets:o}=(0,l.C)(),{withBaseUrl:c}=(0,a.C)();var i;const s=null!==(i=o.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:c(s,{absolute:!0})}),e)}},4185:(e,t,r)=>{"use strict";r.d(t,{C:()=>c,n:()=>o});var n=r(7294),a=r(7806);const l=n.createContext(null);function o({children:e,content:t,isBlogPostPage:r=!1}){const a=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(l.Provider,{value:a},e)}function c(){const e=(0,n.useContext)(l);if(null===e)throw new a.i6("BlogPostProvider");return e}},60:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var n=r(7294),a=r(8241);const l=["zero","one","two","few","many","other"];function o(e){return l.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,a.Z)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const a=r.select(t),l=r.pluralForms.indexOf(a);return n[Math.min(l,n.length-1)]}(r,t,e)}}},6040:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var n=r(7294),a=r(2892),l=r(8241),o=r(9712),c=r(6894),i=r(797),s=r(7886),m=r(6010);const u=()=>{const{siteConfig:{title:e,tagline:t}}=(0,l.Z)();return n.createElement(n.Fragment,null,n.createElement(o.d,{title:e,description:t}),n.createElement(c.Z,{tag:"author_blog_posts_list"}))},d=e=>{const{items:t}=e,r=t[0].content.metadata.authors[0];return n.createElement(n.Fragment,null,n.createElement(u,null),n.createElement(a.Z,{showSidebarBanner:!1},n.createElement("div",{className:"h-12"}),n.createElement(s.Ag,{author:r}),n.createElement("div",{className:(0,m.Z)("px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},n.createElement("h1",{className:"text-4xl !mb-0 px-0 lg:px-4"},"Posts")),n.createElement("div",{className:(0,m.Z)("px-4","blog-md:px-7","blog-2xl:px-0")},n.createElement(i.Z,{items:t,showTitle:!1,isAuthorPage:!0}))))}},6987:(e,t,r)=>{"use strict";r.d(t,{Ej:()=>a,OV:()=>c});var n=r(7294);function a({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var l=r(60),o=r(2210);function c({readingTime:e}){const t=function(){const{selectMessage:e}=(0,l.c)();return t=>{const r=Math.ceil(t);return e(r,(0,o.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},1915:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(7294),a=r(1984);const l=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(a.Z,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7328:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(7294),a=r(1984);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(a.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(i,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(o,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},7886:(e,t,r)=>{"use strict";r.d(t,{Ag:()=>v,zS:()=>h,rg:()=>m,gZ:()=>E,$G:()=>w});var n=r(7294),a=r(1984),l=r(4185),o=r(5506),c=r(6987),i=r(6010);const s=()=>{var e,t;const{metadata:r}=(0,l.C)(),{permalink:s,title:m,date:u,formattedDate:d,frontMatter:p,description:f,tags:g}=r,b=r.authors[0];return n.createElement(o.Z,null,n.createElement(a.Z,{itemProp:"url",to:s}),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,i.Z)("mb-2 gap-1 md:mb-4 2xl:mb-6","flex flex-wrap items-center")},g.map((e=>n.createElement(a.Z,{className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4 2xl:mb-6"},n.createElement(a.Z,{itemProp:"url",to:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.Z)("mb-2 md:mb-4 2xl:mb-6","text-gray-700 dark:text-gray-200","text-sm sm:text-2xl 2xl:text-[32px] 2xl:leading-10","font-lg","font-bold")},m)),n.createElement("div",{className:(0,i.Z)("line-clamp-3","text-gray-700 dark:text-gray-300","text-xs md:text-base 2xl:text-xl")},f)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.Z,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,i.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","leading-6","no-underline")},n.createElement(c.Ej,{date:u,formattedDate:d})))))},m=({items:e})=>n.createElement("div",{className:(0,i.Z)("py-10","px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto","not-prose")},n.createElement("h2",{className:(0,i.Z)("m-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-10","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","px-0 blog-sm:px-6","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-lg:gap-12 gap-8"},e.map((({content:e})=>n.createElement(l.n,{key:e.metadata.permalink,content:e},n.createElement(s,null))))));var u=r(5750),d=r(9387),p=r(8241),f=r(3597),g=r(7332),b=r(6616),y=r(6250);const h=({children:e})=>{var t,r,s,m,h,v;const{metadata:x,isBlogPostPage:w}=(0,l.C)(),{permalink:E,title:O,date:k,formattedDate:j,readingTime:P,frontMatter:Z,tags:C,description:N,authors:S}=x,D=S[0],{siteConfig:{url:M}}=(0,p.Z)();return n.createElement(o.Z,{className:(0,i.Z)("py-10","px-4 sm:px-0","blog-sm:py-12","blog-md:py-16","w-full","mx-auto","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center","blog-sm:px-6")},n.createElement(a.Z,{to:"/blog",className:(0,i.Z)("!text-gray-500 text-sm no-underline")},"\u2190 Back to blog"),n.createElement("div",{className:"flex items-center space-x-2 px-2 py-1"},n.createElement("span",{className:"text-gray-500 text-sm"},"Share on"),n.createElement(f.Z,{url:M+E,title:O,source:M,summary:N,className:"flex"},n.createElement(g.Z,{size:26,round:!0})),n.createElement(b.Z,{windowWidth:750,windowHeight:800,url:M+E,className:"flex",title:O,hashtags:C.map((e=>e.label))},n.createElement(y.tL,{width:26,height:26})))),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mb-6 text-sm"},n.createElement("div",{className:(0,i.Z)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.Z,{to:`/blog/author/${null===(t=D)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=D)||void 0===r?void 0:r.imageURL,alt:null===(s=D)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.Z,{to:`/blog/author/${null===(m=D)||void 0===m?void 0:m.key}`,itemProp:"url",className:(0,i.Z)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=D)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(v=D)||void 0===v?void 0:v.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.Ej,{date:k,formattedDate:j}),void 0!==P&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.OV,{readingTime:P}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},w?O:n.createElement(a.Z,{itemProp:"url",to:E},O)),n.createElement("div",{id:u.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.Z,null,e))))},v=({author:e,className:t})=>n.createElement(x,{author:e,className:t}),x=({author:e})=>{var t,r,l,o,c,s,m,u,d,p,f;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.Z)("px-4","blog-md:px-7","blog-2xl:px-0","max-w-[640px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.Z)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.Z)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.Z,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.Z)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,i.Z)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.Z)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.Z)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.Z,{to:null===(m=e)||void 0===m?void 0:m.github},n.createElement(y.Ey,{className:"h-6 w-6"})),(null===(u=e)||void 0===u?void 0:u.twitter)&&n.createElement(a.Z,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(y.tL,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.Z,{to:null===(f=e)||void 0===f?void 0:f.linkedin},n.createElement(y.n6,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(1915),r(7328),r(6534);const w=()=>{const{metadata:e}=(0,l.C)();return n.createElement("div",{className:"flex flex-wrap gap-2 pb-6 pl-1"},e.tags.map((e=>n.createElement(a.Z,{to:e.permalink,className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","no-underline hover:no-underline","whitespace-nowrap"),key:e.permalink},e.label))))},E=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.Z)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-gray-900 dark:text-gray-200"},t),n.createElement("div",{className:"flex flex-col"},e.map((e=>n.createElement("div",{key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,i.Z)("flex","flex-col","p-5","mb-5","rounded-md","bg-gray-50 dark:bg-gray-800")},n.createElement(a.Z,{to:e.permalink,rel:"dofollow",className:(0,i.Z)("font-bold","text-gray-800 dark:text-gray-200","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,i.Z)("font-sm","text-gray-700 dark:text-gray-400")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400"},n.createElement(a.Z,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.Ej,{date:e.date,formattedDate:e.formattedDate}))))))))}},6534:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(7294),a=r(1984);const l=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(a.Z,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},2068:(e,t,r)=>{"use strict";r.d(t,{M:()=>c,e:()=>o});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},4368:(e,t,r)=>{"use strict";r.d(t,{KZ:()=>i,lu:()=>s,V1:()=>l});var n=r(7294),a=r(6895);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.k)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const m=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&m(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:m,current:r||l}},e)}},1446:(e,t,r)=>{"use strict";r.d(t,{x:()=>f});var n=r(6895),a=r(7391),l=(r(7294),r(1261));function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t{var e,t,r,o;const u=(0,n.k)(),{docs:f}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=u,{tutorial:{units:y}}=(0,m.S)(),{current:h}=(0,l.n)(),v=e=>{const t=e.id.split("/"),r=s.V1.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},x=!!(null===(e=g)||void 0===e?void 0:e.tutorial),w=b.split("/")[1],E=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.n)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:m,prev:u}=null!=s?s:{},d=m?n(m):void 0,p=t[u?n(u):void 0],f=t[d];return{previous:p?i(c({},p),{permalink:o(p.id)}):void 0,next:f?i(c({},f),{permalink:o(f.id)}):void 0}}(u),O=Object.entries(f).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),k=Object.entries(O).map((([e,r])=>p(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===w&&x&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&x&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return x?{id:b,isTutorial:x,unit:w,pagination:E,units:k}:void 0}},7790:(e,t,r)=>{"use strict";r.d(t,{eW:()=>s,wG:()=>m});var n=r(7294);const a={items:[]};var l=r(2068);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tt.filter((t=>t.unit===e));function m(){const{store:e,toggle:t}=n.useContext(l.e);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},1774:(e,t,r)=>{"use strict";r.d(t,{S:()=>a});var n=r(8241);r(7294);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.Z)(),{tutorial:t}=e;return t}},1261:(e,t,r)=>{"use strict";r.d(t,{n:()=>l});var n=r(7294),a=r(4368);const l=()=>n.useContext(a.KZ)},1117:(e,t,r)=>{"use strict";r.d(t,{U:()=>m});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),c=r(8166),i=r(6204),s=r(4813);const m=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(s.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},c.i),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},c.pO.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(i.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},c.KT.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{"use strict";r.d(t,{f:()=>W});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),m=r(4813),u=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},y=({item:e,isPermanentDark:t})=>{const[r,l]=(0,i.useState)(null);(0,i.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?f.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var h=r(6775),v=r(2280),x=r(4080),w=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),l=i.useRef(null),o=i.useRef(null),c=(0,h.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(v.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(v.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(w.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(x.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(v.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(f.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,g.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(f.Bh,null),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},i.createElement(f.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,null)))))):i.createElement(y,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var k=r(2560),j=r(8368),P=r(9526),Z=r(4837);function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),m=null!=r?r:n.Z,u=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(m,function(e){for(var t=1;t{const r=(0,h.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(F,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(T,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(x.u,{appear:!0,show:e,as:i.Fragment},i.createElement(k.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(x.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.T,null),i.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(m.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:u.Q}),i.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(Z.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(x.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),F=e=>i.createElement("div",{className:(0,a.Z)(e.className)},g.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(H,null),i.createElement(_,{id:"tablet"}),i.createElement(V,{id:"tablet"})),T=e=>i.createElement("div",{className:(0,a.Z)(e.className)},i.createElement("div",{className:"flex-grow"},g.map((e=>e.isPopover?i.createElement(j.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(D,{component:j.p.Button,label:e.label,open:t}),i.createElement(j.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(D,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(H,null),i.createElement(_,{id:"phone"}),i.createElement(V,{id:"phone"})),V=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},_=e=>i.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(f.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,{className:"h-10 w-10"})))),H=()=>{const{colorMode:e,setColorMode:t}=(0,P.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(L.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(A.c,null),"Dark"))};var $=r(41),I=r(4695),U=r(7990),G=r(2045);const z=()=>{const{loading:e,githubStarCountText:t}=(0,I.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(U.E,{className:(0,a.Z)("w-5 h-5")}),i.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?i.createElement(G.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):i.createElement("span",null,t)))},W=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.v)(),p=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.T,null),i.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:u.Q},i.createElement(m.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(z,null),i.createElement($.m,null)),i.createElement(R,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:p}}))))}},3280:(e,t,r)=>{"use strict";r.d(t,{Xm:()=>c,ae:()=>l,iA:()=>o});var n=r(6010),a=r(7294);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.Z)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},41:(e,t,r)=>{"use strict";r.d(t,{L:()=>m,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],m=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},8166:(e,t,r)=>{"use strict";r.d(t,{i:()=>i,pO:()=>c,KT:()=>s});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],i="Thank you for visiting, Connect with me over socials.",s=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{L:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{O2:()=>B,v4:()=>j,XC:()=>O,Kj:()=>u,TA:()=>l,ET:()=>y,Bh:()=>g,wI:()=>c,nI:()=>v,dd:()=>p,t2:()=>A,ty:()=>s,Zm:()=>w,wW:()=>Z});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",M(function(e){for(var t=1;tn.createElement("svg",R(function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{F:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{z:()=>s});var n=r(7294),a=r(6010),l=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const s=e=>{var{children:t,href:r,className:s,onClick:m,buttonClassname:u}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.Z:"button";return n.createElement(p,c(function(e){for(var t=1;t{"use strict";r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{"use strict";r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(u,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(u,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(u,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(m,null)),m=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),u=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},8029:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),a=r(6010);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var l;const o=null!==(l=p[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=f[e])&&void 0!==c?c:"tex-inherit";var s;const m=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",m)},n.createElement("div",{className:(0,a.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||b[e])&&n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(u=null!=t?t:b[e])&&void 0!==u?u:"")),n.createElement("div",{className:(0,a.Z)("text-gray-0","text-base","last:mb-0")},r)));var u},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=f[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.Z)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.Z)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.Z)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return w(x({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,w(x({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,w(x({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,w(x({},e),{type:"caution",icon:n.createElement(O,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},2892:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),a=r(7915),l=r(859),o=r(1117),c=r(6010),i=r(1984),s=r(1526),m=r(9658);const u="Struggling with internal tools?",d="Explore refine\u2019s limitless possibilities in crafting CRUD apps, CRM solutions, HR dashboards, and more!",p="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/app-crm.png",f=({shouldShowBanner:e})=>(n.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&window.gtag("event","view_banner",{banner_name:"banner-sidebar",banner_text:u,banner_description:d,banner_image:p})}),[e]),n.createElement("div",{className:(0,c.Z)("flex","flex-col","gap-6","py-6","px-4","rounded-2xl","bg-banner-examples-sider-purple","not-prose")},n.createElement(i.Z,{to:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","w-full h-auto xl:h-[152px]","flex-shrink-0","rounded-md","overflow-hidden")},n.createElement("img",{src:p,alt:"refine App screenshot",loading:"lazy"})),n.createElement("h2",{className:(0,c.Z)("text-2xl font-semibold","text-gray-0")},u),n.createElement("p",{className:(0,c.Z)("text-base","text-gray-100")},d),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-2"),href:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},"Try online"),n.createElement(s.L,{className:(0,c.Z)("ml-2","w-4","h-4")}))));var g=r(4080),b=r(2560),y=r(4837);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>x(v({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(x(v({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},E=(e,t)=>{const[r,a]=(0,n.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};var O=r(6775);const k=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,u,d;const{pathname:p}=(0,O.TH)(),[f,h]=(0,n.useState)(!1),[v,x]=E("banner-modal",null),k=(0,n.useRef)(!1),j=w();var P,Z;return(0,n.useEffect)((()=>{"/blog/"!==p&&"/blog"!==p&&(k.current||f||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===v||null===v?(h(!0),x(0)):(x(v+1),k.current=!0)))}),[j.scrollY]),(0,n.useEffect)((()=>{f&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[f]),n.createElement(g.u,{appear:!0,show:f,as:n.Fragment},n.createElement(b.V,{as:"div",className:"relative z-modal",onClose:()=>h(!1)},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(b.V.Panel,{className:(0,c.Z)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,c.Z)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},n.createElement("div",{className:(0,c.Z)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(i.Z,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,c.Z)("object-contain"),src:null===(u=r)||void 0===u?void 0:u.src,alt:null!==(Z=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==Z?Z:e,loading:"lazy"})),n.createElement("p",{className:(0,c.Z)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),n.createElement(m.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},a.text),n.createElement(s.L,{className:(0,c.Z)("w-4","h-4")}))),n.createElement("button",{className:(0,c.Z)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>h(!1)},n.createElement(y.T,{className:"w-4 h-4"})))))))))};function j(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const P=e=>{const[t,r]=(0,n.useState)(!1),{children:i,toc:s}=e,m=j(e,["children","toc"]),{pathname:u}=(0,O.TH)(),d=w();return(0,n.useEffect)((()=>{t&&"/blog/"!==u&&"/blog"!==u&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY]),n.createElement(a.j,m,n.createElement(l.f,{hasSticky:!0,trackProgress:!!s}),n.createElement("div",{className:(0,c.Z)("flex","justify-center","mx-auto","max-w-screen-blog-max","w-full")},n.createElement("div",{className:(0,c.Z)("relative","w-[264px]","pl-4","py-10 blog-sm:py-12 blog-md:py-16","hidden xl:block",t&&"opacity-100",!t&&"opacity-0","transition-opacity duration-300 ease-in-out")},n.createElement("div",{className:(0,c.Z)("sticky","w-[264px]","z-[1]","top-32","left-0")},n.createElement(f,{shouldShowBanner:t}))),n.createElement("div",{className:(0,c.Z)("refine-prose","flex-1","min-w-0","xl:px-8")},i),s&&n.createElement("div",{className:(0,c.Z)("w-[280px]","hidden blog-md:block","flex-shrink-0")},s)),n.createElement(o.U,null),n.createElement(k,null))}},797:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(7294),a=r(4185),l=r(3149),o=r(1984),c=r(5506),i=r(6987),s=r(6010);function m({className:e}){var t,r;const{metadata:l}=(0,a.C)(),{permalink:m,title:u,date:d,formattedDate:p,frontMatter:f,description:g,tags:b}=l,y=l.authors[0];return n.createElement(c.Z,{className:e},n.createElement("div",null,n.createElement(o.Z,{itemProp:"url",to:m})),n.createElement("div",{className:"p-4"},n.createElement("div",{className:(0,s.Z)("mb-2 flex gap-1 md:mb-4","flex flex-wrap items-center")},b.map((e=>n.createElement(o.Z,{className:(0,s.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4"},n.createElement(o.Z,{itemProp:"url",to:m,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,s.Z)("text-xs sm:text-sm md:text-2xl lg:text-base 2xl:text-xl","text-gray-700 dark:text-gray-200","font-lg","font-bold","leading-6")},u)),n.createElement("div",{className:(0,s.Z)("text-xs md:text-base lg:text-sm 2xl:text-lg","mt-2 md:mt-4","line-clamp-3 text-gray-700 dark:text-gray-300")},g)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(o.Z,{href:`/blog/author/${null===(t=y)||void 0===t?void 0:t.key}`,itemProp:"url",className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},null===(r=y)||void 0===r?void 0:r.name),n.createElement("span",{className:(0,s.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,s.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs","no-underline")},n.createElement(i.Ej,{date:d,formattedDate:p})))))}function u({items:e,tags:t,component:r=m,isAuthorPage:o,isTagsPage:c}){return n.createElement("div",{className:(0,s.Z)("px-4","blog-md:px-7","blog-2xl:px-0",!o&&!c&&"blog-sm:pb-16 blog-md:pb-8 blog-2xl:pb-12 pb-10",!o&&!c&&"blog-md:pt-16 blog-2xl:pt-20",(o||c)&&"py-8","max-w-[512px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},!o&&!c&&n.createElement(n.Fragment,null,n.createElement("div",{className:(0,s.Z)("flex flex-col blog-md:flex-row items-start lg:items-center justify-between","mb-4 lg:mb-8","px-0 blog-sm:px-6","not-prose")},n.createElement("h2",{className:(0,s.Z)("!m-0 !mt-0 !mb-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-8","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","font-semibold")},"All Posts"),n.createElement("p",{className:(0,s.Z)("text-sm blog-md:text-base blog-lg:text-xl","blog-md:max-w-[624px]","mt-6 lg:mt-0","text-gray-500 dark:text-gray-400")},n.createElement("b",null,"PrepVerse blog")," - contains all the DSA, Core Subjects, Web Tech, Data Science & FAANG Interview questions based blogs.")),n.createElement(l.Z,{tags:t})),n.createElement("div",{className:(0,s.Z)("grid","grid-cols-1 blog-md:grid-cols-3","gap-4 blog-lg:gap-12","pt-6",o?"blog-md:pt-0":"blog-md:pt-12")},e.map((({content:e})=>n.createElement(a.n,{key:e.metadata.permalink,content:e},n.createElement(r,null,n.createElement(e,null)))))))}},923:(e,t,r)=>{"use strict";r.d(t,{d:()=>A});var n=r(7294),a=r(358),l=r(5468),o=r(6016),c=r(3151),i=r(5489),s=r(3533),m=r(9238),u=r(6010),d=r(3746);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function g(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const b=e=>{var{as:t}=e,r=g(e,["as"]);return n.createElement(t,f(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,u.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:o},n.createElement(h,{className:(0,u.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?w:O;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,u.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,u.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){for(var t=1;tn.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),N=({children:e,icon:t=n.createElement(C,null)})=>n.createElement("div",{className:(0,u.Z)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:a,showLineNumbers:l,language:p,icon:f,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.L)();var x;const w=null!==(x=null!=p?p:(0,i.Vo)(t))&&void 0!==x?x:y,E=(0,c.p)(),O=(0,s.F)(),j=(0,i.bc)(r)||a,{lineClassNames:C,code:S}=(0,i.nZ)(e,{metastring:r,language:w,magicComments:h}),D=null!=l?l:(0,i.nt)(r);return n.createElement(b,{as:"div",className:(0,u.Z)("refine-common-code-block",w&&`language-${w}`,"rounded-lg","bg-gray-200","dark:bg-gray-800","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(N,{icon:f},j),n.createElement("div",{className:(0,u.Z)("relative","pt-3","pb-0","not-prose")},n.createElement(d.ZP,Z(P({},d.lG),{theme:E,code:S,language:null!=w?w:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:O.codeBlockRef,className:(0,u.Z)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,u.Z)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(m.Z,{key:t,line:e,getLineProps:r,getTokenProps:a,classNames:(0,u.Z)(C[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:D})))))))),n.createElement("div",{className:(0,u.Z)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(O.isEnabled||O.isCodeScrollable)&&n.createElement(k,{onClick:O.toggle,isEnabled:O.isEnabled}),n.createElement(v,{className:(0,u.Z)(),code:S})))};function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const A=e=>{var{children:t}=e,r=M(e,["children"]);const o=(0,a.Z)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?S:l.Z;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>C});var n=r(7294),a=r(923),l=r(6010),o=r(8241),c=r(5772),i=r.n(c),s=r(7391);const m="playgroundPreview_jwe9";function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.Z)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.Z)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(p,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.Z)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.Z)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const p=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var g=r(6822),b=r(8764);function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||b.lW;const h=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.Z)(),[l,c]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&c(`${a.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},v=n.memo(h,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),x=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(x,{className:(0,l.Z)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.Z)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.Z)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.Z)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.Z)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(C,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:u=!1})=>{const p=String(e),{shared:b,sharedCss:y}=(0,g.dD)(),{visible:h}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+t.length:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=b?b:""}\n ${p}\n `.replace(/\n$/,"")),x=n.useRef(null),E=((e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r})(x),{siteConfig:{customFields:O}}=(0,o.Z)(),{isLast:k}=(0,s.E)();return n.createElement("div",{className:(0,l.Z)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.Z)(m,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:x},k?n.createElement(f,{if:E,maxWait:3e3},(()=>n.createElement(v,{code:`\n${null!=b?b:""}\n${p}\n `,css:y,query:`${t?"&disableScroll=true":""}${u?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(w,{hidden:a,code:h})))},O=n.memo(E,((e,t)=>String(e.children)===String(t.children))),k=({children:e})=>{const{setShared:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},j=n.memo(k,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setSharedCss:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},Z=n.memo(P,((e,t)=>String(e.children)===String(t.children)));function C(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(Z,e):e.shared&&e.live?n.createElement(j,e):e.live?n.createElement(O,e):n.createElement(a.d,e)}},258:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(7294),a=r(1984),l=r(7785);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e){var t;const r=(e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.Z)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i})(null===(t=e)||void 0===t?void 0:t.href);return n.createElement(a.Z,c(function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>Fe});var n=r(7693),a=r(7294),l=r(6010),o=r(9658);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=e=>a.createElement("svg",function(e){for(var t=1;t{var d,p,f,g,b,y;return a.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&u&&window.gtag("event","view_banner",{banner_name:u,banner_text:e,banner_description:t,banner_image:r.src})}),[u]),a.createElement("div",{className:(0,l.Z)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},a.createElement(m.Z,{to:null!==(b=null===(d=r)||void 0===d?void 0:d.href)&&void 0!==b?b:null===(p=c)||void 0===p?void 0:p.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.Z)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(y=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==y?y:e,loading:"lazy"})),a.createElement("div",{className:(0,l.Z)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.Z)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.Z)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.z,{className:(0,l.Z)("w-max"),buttonClassname:(0,l.Z)("!px-4","!py-2"),href:c.href,onClick:c.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.Z)("text-gray-900","text-sm md:text-base","font-bold")},c.text),a.createElement(s.L,{className:(0,l.Z)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))),a.createElement(i,{className:(0,l.Z)("absolute","bottom-2","right-2")}))},d=({title:e="Open-source Retool alternative for enterprise",description:t="Build React-based internal tools, dashboards & B2B apps with unmatched flexibility",button:r={text:"Discover Refine",href:"https://s.refine.dev/blog-retool?ref=banner-retool-alternative",onClick:void 0}})=>(a.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),a.createElement("div",{className:(0,l.Z)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.Z)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.Z)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.z,{className:(0,l.Z)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.Z)("text-gray-900","text-base","font-bold")},r.text)),a.createElement(i,{className:(0,l.Z)("absolute","bottom-2","right-2")})));var p=r(950);const f=[{description:"Refine is a React Framework used by over monthly 15K developers for building enterprise internal tools, dashboards, and B2B apps",image:{src:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/banner-tweet.jpg",alt:"X tweet about Refine",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},button:{text:"Learn more",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},bannerName:"banner-twitter"}],g=Math.floor(Math.random()*(f.length+1));var b=r(1915),y=r(7328);const h=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var v=r(6534),x=r(2076),w=r(1446),E=r(7790);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,w.x)(),[i,s]=a.useState(!1),{items:m}=(0,E.wG)(),{reward:u}=(0,x.w5)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=m.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),u())}),[d,i]),a.createElement("div",{className:(0,l.Z)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.Z)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(k,{className:(0,l.Z)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.Z)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Z=e=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,w.x)(),{items:s,toggle:m}=(0,E.wG)(),u=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.Z)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{m(i,t)},className:(0,l.Z)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!u,"border-refine-react-dark-link dark:border-refine-react-dark-link":u,"bg-refine-react-dark-link":u})},u&&a.createElement(Z,null))),a.createElement("div",{className:(0,l.Z)(u&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!u&&"text-gray-800 dark:text-gray-100")},e))};var N=r(923),S=r(5904);const D=({path:e})=>a.createElement(N.d,{language:"bash",title:"Run on your local",icon:a.createElement(S.F,null)},`npm create refine-app@latest -- --example ${e}`);var M=r(7990);const A=({path:e})=>a.createElement("div",{className:(0,l.Z)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},a.createElement(M.E,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.Z)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),L=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(A,{path:t})},R=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(L,{path:e}),!r&&a.createElement(D,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var B=r(8029),F=r(6153);const T=()=>a.createElement("div",null,a.createElement(B.Z,{type:"simple",title:"Good to know"},a.createElement(F.D,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),V=({children:e,content:t})=>a.createElement("div",{className:(0,l.Z)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.Z)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},a.createElement("div",{className:(0,l.Z)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),_=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.Z)("orange"===r&&(0,l.Z)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,l.Z)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,l.Z)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return a.createElement(V,{content:o},a.createElement(m.Z,{to:`/docs/${e}`,className:(0,l.Z)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",c)},t,n&&a.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const $=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.Z)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.Z)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:c},e):null,z="tooltip__Ymd",W="tooltipContainer_l6r7",Y="tooltipContent_UeXm",q="tooltipArrow_mOyh",J=({label:e,children:t})=>e?a.createElement("div",{className:`${z} group`},t,a.createElement("div",{className:`${W} group-hover:visible`},a.createElement("span",{className:Y},e),a.createElement("div",{className:q}))):a.createElement(a.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const X=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,m;const u=null!==(m=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==m?m:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),p=(0,a.useMemo)((()=>u?a.createElement(F.D,null,u):null),[e,t]);var f;return a.createElement(J,{label:p},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(f=t[`${e.name}-name`])&&void 0!==f?f:e.name),o&&a.createElement(G,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(F.D,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(F.D,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(F.D,null,n)))},ee=({prop:e,overrides:t})=>{var r,n;return a.createElement(F.D,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},te=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(F.D,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(F.D,null,i)):null)},re=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(X,{prop:e,overrides:t}))),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),ae=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(ee,{prop:e,overrides:t})),le=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(te,{prop:e,overrides:t})),oe=e=>{var{module:t,hideDefaults:n,children:l}=e,o=K(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(9624)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(re,{prop:e,overrides:o}),a.createElement(ne,{prop:e,overrides:o}),a.createElement(ae,{prop:e,overrides:o}),i?null:a.createElement(le,{prop:e,overrides:o})))))),l)};function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ie=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,se.n)();return e&&r===e?a.createElement(a.Fragment,null,t):null};var ue=r(6928);function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const fe=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(ue.P,pe(function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const he=e=>{var{children:t,className:r}=e,n=ye(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(m(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":u(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.Z)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",ke(Oe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:u},n),{className:(0,l.Z)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function Pe({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.Z)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function Ze(e){const t=(0,xe.Y)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.Z)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(je,Oe({},e,t)),a.createElement(Pe,Oe({},e,t)))}function Ce(e){const t=(0,we.Z)();return a.createElement(Ze,Oe({key:String(t)},e))}function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Me(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var Ae;var Le=r(3280),Re=r(551);function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Fe=(Te=function(e){for(var t=1;t{var{className:t}=e,r=Se(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tg===f.length?a.createElement(p.Z,null,(()=>a.createElement(d,null))):a.createElement(p.Z,null,(()=>a.createElement(u,f[g]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(_,{id:e,color:"green",icon:a.createElement(U,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>a.createElement(_,{id:e,color:"orange",text:r,icon:a.createElement(ie,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>a.createElement(_,{color:"purple",icon:a.createElement($,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Me(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return a.createElement(Ce,null,a.createElement(Re.Z,{value:"npm",label:"npm",default:!0},a.createElement(N.d,{className:"language-bash"},r.npm)),a.createElement(Re.Z,{value:"pnpm",label:"pnpm"},a.createElement(N.d,{className:"language-bash"},r.pnpm)),a.createElement(Re.Z,{value:"yarn",label:"yarn"},a.createElement(N.d,{className:"language-bash"},r.yarn),a.createElement(F.D,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return a.createElement(Ce,null,a.createElement(Re.Z,{value:"npm",label:"npm",default:!0},a.createElement(N.d,{className:"language-bash"},r.npm),t),a.createElement(Re.Z,{value:"pnpm",label:"pnpm"},a.createElement(N.d,{className:"language-bash"},r.pnpm),t),a.createElement(Re.Z,{value:"yarn",label:"yarn"},a.createElement(N.d,{className:"language-bash"},r.yarn),t))},FullTable:Le.Xm},Ve=null!=Ve?Ve:{},Object.getOwnPropertyDescriptors?Object.defineProperties(Te,Object.getOwnPropertyDescriptors(Ve)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(Ve)).forEach((function(e){Object.defineProperty(Te,e,Object.getOwnPropertyDescriptor(Ve,e))})),Te);var Te,Ve},9527:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(7294),a=r(6010),l=r(1984);function o({permalink:e,label:t,isActive:r}){return n.createElement(l.Z,{href:e,className:(0,a.Z)("no-underline hover:no-underline","text-xs",!r&&"bg-gray-100 dark:bg-gray-700",!r&&"text-gray-600 dark:text-gray-400","rounded","py-1","px-2",r&&"bg-gray-200 text-gray-500",r&&"dark-bg-gray-700 text-gray-300")},t)}},3149:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var n=r(7294),a=r(9527),l=/\b(?:an?d?|a[st]|because|but|by|en|for|i[fn]|neither|nor|o[fnr]|only|over|per|so|some|tha[tn]|the|to|up|upon|vs?\.?|versus|via|when|with|without|yet)\b/i,o=/[^\s:\u2013\u2014-]+|./g,c=/\s/,i=/.(?=[A-Z]|\..)/,s=/[A-Za-z0-9\u00C0-\u00FF]/;var m=r(6010),u=r(8368),d=r(4080),p=r(4642);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){for(var t=1;tn.createElement("svg",{width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.292893 0.792893C0.683417 0.402369 1.31658 0.402369 1.70711 0.792893L4 3.08579L6.29289 0.792893C6.68342 0.402369 7.31658 0.402369 7.70711 0.792893C8.09763 1.18342 8.09763 1.81658 7.70711 2.20711L4.70711 5.20711C4.31658 5.59763 3.68342 5.59763 3.29289 5.20711L0.292893 2.20711C-0.0976311 1.81658 -0.0976311 1.18342 0.292893 0.792893Z",fill:"currentColor"})),h=e=>{e=e.replace(/-/g," ");return[["typescript","TypeScript"],["javascript","JavaScript"],["chakra ui","Chakra UI"],["material ui","Material UI"],["nextjs","Next.js"],["nestjs","NestJS"],["css","CSS"]].forEach((t=>{e=e.replace(t[0],t[1])})),function(e){for(var t,r="";null!==(t=o.exec(e));){var n=t[0],a=t.index;i.test(n)||l.test(n)&&0!==a&&a+n.length!==e.length||":"===e.charAt(a+n.length)&&!c.test(e.charAt(a+n.length+1))?r+=n:r+=n.replace(s,(function(e){return e.toUpperCase()}))}return r}(e)},v=({tags:e,collapsed:t,onShowMoreClick:r})=>n.createElement("div",{className:(0,m.Z)("hidden lg:flex","not-prose","justify-between","items-start","bg-gray-50 dark:bg-gray-800","rounded-xl p-4 2xl:p-6")},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1",t&&"h-8"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:h(e.label)})))))),n.createElement("label",{onClick:()=>r(!t),className:(0,m.Z)("flex","items-center","gap-1","cursor-pointer","flex-shrink","no-underline hover:no-underline","text-xs","bg-gray-100 dark:bg-gray-600","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","mt-1")},"Show More ",n.createElement(y,null))),x=({tags:e})=>n.createElement("div",{className:"mb-10 block w-full lg:hidden"},n.createElement(u.p,null,(({open:t})=>n.createElement("div",{className:(0,m.Z)("rounded-[4px]","border border-gray-100 dark:border-gray-700")},n.createElement(u.p.Button,{className:(0,m.Z)("bg-gray-50 dark:bg-gray-800","border-b border-gray-100 dark:border-gray-700","w-full","flex items-center gap-3","px-2 py-2")},n.createElement(p.A,{className:(0,m.Z)("h-5 w-5","text-gray-400 dark:text-gray-500","transition-transform duration-200 ease-in-out",{"-rotate-90 transform":!t})}),n.createElement("span",{className:(0,m.Z)("text-sm","dark:text-gray-0 text-gray-900")},"Blog Post Tags")),n.createElement(d.u,{show:t,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},n.createElement(u.p.Panel,{className:"h-[200px] overflow-auto p-2 sm:h-[232px] sm:p-6"},n.createElement("ul",{className:(0,m.Z)("overflow-hidden","flex-1"),style:{margin:0,padding:0}},e.map((e=>n.createElement("li",{className:(0,m.Z)("inline-flex","m-1"),key:e.permalink},n.createElement(a.Z,b(g({},e),{label:h(e.label)}))))))))))));function w({tags:e}){const[t,r]=n.useState(!0),a=["refine","react","nextjs","typescript","tutorial","material-ui","ant-design","docker","comparison"],l=(null!=e?e:[]).sort(((e,t)=>{const r=a.indexOf(e.label),n=a.indexOf(t.label);return-1===r?-1===n?0:1:-1===n?-1:r-n}));return n.createElement(n.Fragment,null,n.createElement(v,{collapsed:t,tags:l,onShowMoreClick:e=>r(e)}),n.createElement(x,{tags:l}))}},3799:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/ccc49370.335dc7ef.js b/assets/js/ccc49370.335dc7ef.js deleted file mode 100644 index 94cb8b29..00000000 --- a/assets/js/ccc49370.335dc7ef.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6103],{9624:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[2181,2181]};function a(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],a=t[0];return r.e(t[1]).then((()=>r.t(a,19)))}a.keys=()=>Object.keys(n),a.id=9624,e.exports=a},5506:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(7294),a=r(676),l=r(4185);function o({children:e,className:t}){const{frontMatter:r,assets:o}=(0,l.C)(),{withBaseUrl:c}=(0,a.C)();var i;const s=null!==(i=o.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:c(s,{absolute:!0})}),e)}},4185:(e,t,r)=>{"use strict";r.d(t,{C:()=>c,n:()=>o});var n=r(7294),a=r(7806);const l=n.createContext(null);function o({children:e,content:t,isBlogPostPage:r=!1}){const a=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(l.Provider,{value:a},e)}function c(){const e=(0,n.useContext)(l);if(null===e)throw new a.i6("BlogPostProvider");return e}},60:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var n=r(7294),a=r(8241);const l=["zero","one","two","few","many","other"];function o(e){return l.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,a.Z)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const a=r.select(t),l=r.pluralForms.indexOf(a);return n[Math.min(l,n.length-1)]}(r,t,e)}}},6987:(e,t,r)=>{"use strict";r.d(t,{Ej:()=>a,OV:()=>c});var n=r(7294);function a({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var l=r(60),o=r(2210);function c({readingTime:e}){const t=function(){const{selectMessage:e}=(0,l.c)();return t=>{const r=Math.ceil(t);return e(r,(0,o.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},1915:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(7294),a=r(1984);const l=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(a.Z,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7328:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(7294),a=r(1984);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(a.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(i,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(o,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},7886:(e,t,r)=>{"use strict";r.d(t,{Ag:()=>v,zS:()=>h,rg:()=>u,gZ:()=>E,$G:()=>x});var n=r(7294),a=r(1984),l=r(4185),o=r(5506),c=r(6987),i=r(6010);const s=()=>{var e,t;const{metadata:r}=(0,l.C)(),{permalink:s,title:u,date:m,formattedDate:d,frontMatter:p,description:f,tags:g}=r,b=r.authors[0];return n.createElement(o.Z,null,n.createElement(a.Z,{itemProp:"url",to:s}),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,i.Z)("mb-2 gap-1 md:mb-4 2xl:mb-6","flex flex-wrap items-center")},g.map((e=>n.createElement(a.Z,{className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4 2xl:mb-6"},n.createElement(a.Z,{itemProp:"url",to:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.Z)("mb-2 md:mb-4 2xl:mb-6","text-gray-700 dark:text-gray-200","text-sm sm:text-2xl 2xl:text-[32px] 2xl:leading-10","font-lg","font-bold")},u)),n.createElement("div",{className:(0,i.Z)("line-clamp-3","text-gray-700 dark:text-gray-300","text-xs md:text-base 2xl:text-xl")},f)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(a.Z,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,i.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","leading-6","no-underline")},n.createElement(c.Ej,{date:m,formattedDate:d})))))},u=({items:e})=>n.createElement("div",{className:(0,i.Z)("py-10","px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto","not-prose")},n.createElement("h2",{className:(0,i.Z)("m-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-10","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","px-0 blog-sm:px-6","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-lg:gap-12 gap-8"},e.map((({content:e})=>n.createElement(l.n,{key:e.metadata.permalink,content:e},n.createElement(s,null))))));var m=r(5750),d=r(9387),p=r(8241),f=r(3597),g=r(7332),b=r(6616),y=r(6250);const h=({children:e})=>{var t,r,s,u,h,v;const{metadata:w,isBlogPostPage:x}=(0,l.C)(),{permalink:E,title:O,date:k,formattedDate:j,readingTime:P,frontMatter:C,tags:Z,description:N,authors:S}=w,D=S[0],{siteConfig:{url:M}}=(0,p.Z)();return n.createElement(o.Z,{className:(0,i.Z)("py-10","px-4 sm:px-0","blog-sm:py-12","blog-md:py-16","w-full","mx-auto","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center","blog-sm:px-6")},n.createElement(a.Z,{to:"/blog",className:(0,i.Z)("!text-gray-500 text-sm no-underline")},"\u2190 Back to blog"),n.createElement("div",{className:"flex items-center space-x-2 px-2 py-1"},n.createElement("span",{className:"text-gray-500 text-sm"},"Share on"),n.createElement(f.Z,{url:M+E,title:O,source:M,summary:N,className:"flex"},n.createElement(g.Z,{size:26,round:!0})),n.createElement(b.Z,{windowWidth:750,windowHeight:800,url:M+E,className:"flex",title:O,hashtags:Z.map((e=>e.label))},n.createElement(y.tL,{width:26,height:26})))),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mb-6 text-sm"},n.createElement("div",{className:(0,i.Z)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(a.Z,{to:`/blog/author/${null===(t=D)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=D)||void 0===r?void 0:r.imageURL,alt:null===(s=D)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(a.Z,{to:`/blog/author/${null===(u=D)||void 0===u?void 0:u.key}`,itemProp:"url",className:(0,i.Z)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=D)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(v=D)||void 0===v?void 0:v.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.Ej,{date:k,formattedDate:j}),void 0!==P&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.OV,{readingTime:P}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},x?O:n.createElement(a.Z,{itemProp:"url",to:E},O)),n.createElement("div",{id:m.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.Z,null,e))))},v=({author:e,className:t})=>n.createElement(w,{author:e,className:t}),w=({author:e})=>{var t,r,l,o,c,s,u,m,d,p,f;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.Z)("px-4","blog-md:px-7","blog-2xl:px-0","max-w-[640px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.Z)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.Z)("flex items-center","gap-2 sm:gap-6")},n.createElement(a.Z,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(l=e)||void 0===l?void 0:l.name,loading:"lazy",className:(0,i.Z)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,i.Z)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.Z)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.Z)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(a.Z,{to:null===(u=e)||void 0===u?void 0:u.github},n.createElement(y.Ey,{className:"h-6 w-6"})),(null===(m=e)||void 0===m?void 0:m.twitter)&&n.createElement(a.Z,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(y.tL,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(a.Z,{to:null===(f=e)||void 0===f?void 0:f.linkedin},n.createElement(y.n6,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(1915),r(7328),r(6534);const x=()=>{const{metadata:e}=(0,l.C)();return n.createElement("div",{className:"flex flex-wrap gap-2 pb-6 pl-1"},e.tags.map((e=>n.createElement(a.Z,{to:e.permalink,className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","no-underline hover:no-underline","whitespace-nowrap"),key:e.permalink},e.label))))},E=({posts:e,title:t})=>{var r,l,o;return e.length<1?null:n.createElement("div",{className:(0,i.Z)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-gray-900 dark:text-gray-200"},t),n.createElement("div",{className:"flex flex-col"},e.map((e=>n.createElement("div",{key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,i.Z)("flex","flex-col","p-5","mb-5","rounded-md","bg-gray-50 dark:bg-gray-800")},n.createElement(a.Z,{to:e.permalink,rel:"dofollow",className:(0,i.Z)("font-bold","text-gray-800 dark:text-gray-200","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,i.Z)("font-sm","text-gray-700 dark:text-gray-400")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400"},n.createElement(a.Z,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(l=e.authors[0])||void 0===l?void 0:l.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.Ej,{date:e.date,formattedDate:e.formattedDate}))))))))}},6534:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(7294),a=r(1984);const l=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(a.Z,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},2068:(e,t,r)=>{"use strict";r.d(t,{M:()=>c,e:()=>o});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(l);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const l=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(l,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},4368:(e,t,r)=>{"use strict";r.d(t,{KZ:()=>i,lu:()=>s,V1:()=>l});var n=r(7294),a=r(6895);const l=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(l.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,a.k)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[l,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const u=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==l&&u(r)}),[r,l]),n.createElement(i.Provider,{value:{preferred:l,setPreferred:u,current:r||l}},e)}},1446:(e,t,r)=>{"use strict";r.d(t,{x:()=>f});var n=r(6895),a=r(7391),l=(r(7294),r(1261));function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t{var e,t,r,o;const m=(0,n.k)(),{docs:f}=(0,a.E)(),{frontMatter:g,metadata:{id:b}}=m,{tutorial:{units:y}}=(0,u.S)(),{current:h}=(0,l.n)(),v=e=>{const t=e.id.split("/"),r=s.V1.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},w=!!(null===(e=g)||void 0===e?void 0:e.tutorial),x=b.split("/")[1],E=function({frontMatter:e}){const{docs:t}=(0,a.E)(),{current:r}=(0,l.n)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:m}=null!=s?s:{},d=u?n(u):void 0,p=t[m?n(m):void 0],f=t[d];return{previous:p?i(c({},p),{permalink:o(p.id)}):void 0,next:f?i(c({},f),{permalink:o(f.id)}):void 0}}(m),O=Object.entries(f).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),k=Object.entries(O).map((([e,r])=>p(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===x&&w&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&w&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return w?{id:b,isTutorial:w,unit:x,pagination:E,units:k}:void 0}},7790:(e,t,r)=>{"use strict";r.d(t,{eW:()=>s,wG:()=>u});var n=r(7294);const a={items:[]};var l=r(2068);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(l.e);return{items:n.useMemo((()=>{var t,r,n,l;return null!==(l=null===(n=a)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==l?l:[]}),[e]),toggle:t}}},1774:(e,t,r)=>{"use strict";r.d(t,{S:()=>a});var n=r(8241);r(7294);const a=()=>{const{siteConfig:{customFields:e}}=(0,n.Z)(),{tutorial:t}=e;return t}},1261:(e,t,r)=>{"use strict";r.d(t,{n:()=>l});var n=r(7294),a=r(4368);const l=()=>n.useContext(a.KZ)},1117:(e,t,r)=>{"use strict";r.d(t,{U:()=>u});var n=r(9526),a=r(6010),l=r(7294),o=r(3799),c=r(8166),i=r(6204),s=r(4813);const u=()=>{const{colorMode:e}=(0,n.I)();return l.createElement(l.Fragment,null,l.createElement("div",{className:(0,a.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},l.createElement("div",{className:(0,a.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},l.createElement("div",{className:(0,a.Z)("flex items-center justify-between")},l.createElement(s.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},l.createElement("div",{className:(0,a.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},c.i),l.createElement("div",{className:(0,a.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},c.pO.map((e=>l.createElement("div",{className:(0,a.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),l.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>l.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),l.createElement("div",{className:(0,a.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},l.createElement("div",{className:(0,a.Z)("flex flex-col gap-4")},l.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),l.createElement("div",{className:(0,a.Z)("text-base","text-gray-700 dark:text-gray-400")},l.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,a.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),l.createElement("div",{className:(0,a.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},l.createElement("div",{className:(0,a.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},l.createElement("div",{className:(0,a.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",l.createElement(i.y,{className:"text-refine-red ml-2 inline leading-6"})," ",l.createElement("br",null),"Built with Docusaurus & refine."),l.createElement("div",{className:(0,a.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},l.createElement("span",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),l.createElement("div",{className:(0,a.Z)("flex","flex-row","items-center","gap-4","justify-between")},c.KT.map((({href:e,icon:t})=>l.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,a.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},l.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{"use strict";r.d(t,{f:()=>W});var n=r(1984),a=r(6010),l=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),u=r(4813),m=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,a.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,a.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,a.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},y=({item:e,isPermanentDark:t})=>{const[r,l]=(0,i.useState)(null);(0,i.useEffect)((()=>(l(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{l(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?f.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,a.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var h=r(6775),v=r(2280),w=r(4080),x=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),l=i.useRef(null),o=i.useRef(null),c=(0,h.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(v.J,{id:`popover-${e.label}`,key:e.label,className:(0,a.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(l.current)},onMouseLeave:()=>{l.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(v.J.Button,{className:(0,a.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,a.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(x.v,{"aria-hidden":"true",className:(0,a.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(w.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(v.J.Panel,{className:(0,a.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(f.t2,{className:(0,a.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,a.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,g.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(f.Bh,null),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,a.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,a.Z)("no-underline","hover:text-inherit")},i.createElement(f.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,null)))))):i.createElement(y,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var k=r(2560),j=r(8368),P=r(9526),C=r(4837);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),u=null!=r?r:n.Z,m=void 0!==l&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(u,function(e){for(var t=1;t{const r=(0,h.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(T,{className:(0,a.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(F,{className:(0,a.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(w.u,{appear:!0,show:e,as:i.Fragment},i.createElement(k.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(w.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,a.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.T,null),i.createElement("div",{className:(0,a.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:m.Q}),i.createElement("button",{type:"button",className:(0,a.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(w.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,a.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),T=e=>i.createElement("div",{className:(0,a.Z)(e.className)},g.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,a.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,a.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,a.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,a.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(H,{id:"tablet"}),i.createElement(V,{id:"tablet"})),F=e=>i.createElement("div",{className:(0,a.Z)(e.className)},i.createElement("div",{className:"flex-grow"},g.map((e=>e.isPopover?i.createElement(j.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(D,{component:j.p.Button,label:e.label,open:t}),i.createElement(j.p.Panel,{className:(0,a.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(D,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(H,{id:"phone"}),i.createElement(V,{id:"phone"})),V=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,a.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,a.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},H=e=>i.createElement("div",{className:(0,a.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(f.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,{className:"h-10 w-10"})))),_=()=>{const{colorMode:e,setColorMode:t}=(0,P.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,l="light"===e;return i.createElement("div",{className:(0,a.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,a.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,a.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",l&&"bg-gray-50")},i.createElement(A.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,a.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(L.c,null),"Dark"))};var I=r(41),$=r(4695),U=r(7990),G=r(2045);const z=()=>{const{loading:e,githubStarCountText:t}=(0,$.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,a.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(U.E,{className:(0,a.Z)("w-5 h-5")}),i.createElement("div",{className:(0,a.Z)("flex items-center","w-10 h-6")},e?i.createElement(G.$,{className:(0,a.Z)("w-5 h-5"),wrapperProps:{className:(0,a.Z)("mx-auto")}}):i.createElement("span",null,t)))},W=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,l.v)(),p=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.T,null),i.createElement("header",{className:(0,a.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,a.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,a.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,a.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,a.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:m.Q},i.createElement(u.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,a.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,a.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(z,null),i.createElement(I.m,null)),i.createElement(R,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,a.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,a.Z)("h-full","bg-refine-blue"),style:{width:p}}))))}},3280:(e,t,r)=>{"use strict";r.d(t,{Xm:()=>c,ae:()=>l,iA:()=>o});var n=r(6010),a=r(7294);const l="preferred-full-table-width",o=e=>a.createElement("div",{className:(0,n.Z)("table-container")},a.createElement("table",e)),c=({children:e})=>a.createElement("div",{className:"table-full-width"},e)},41:(e,t,r)=>{"use strict";r.d(t,{L:()=>u,m:()=>i});var n=r(7294),a=r(6010),l=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("button",{type:"button",className:(0,a.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,a.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,l.I)();return n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:l,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,a.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,a.Z)("w-4 h-4")}),n.createElement("span",{className:(0,a.Z)("text-sm")},l)))))}},8166:(e,t,r)=>{"use strict";r.d(t,{i:()=>i,pO:()=>c,KT:()=>s});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],i="Thank you for visiting, Connect with me over socials.",s=[{icon:e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{L:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{v:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){for(var t=1;tn.createElement("svg",l({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{"use strict";r.d(t,{U:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{y:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{x:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{O2:()=>B,v4:()=>j,XC:()=>O,Kj:()=>m,TA:()=>l,ET:()=>y,Bh:()=>g,wI:()=>c,nI:()=>v,dd:()=>p,t2:()=>L,ty:()=>s,Zm:()=>x,wW:()=>C});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",M(function(e){for(var t=1;tn.createElement("svg",R(function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{F:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>l});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{z:()=>s});var n=r(7294),a=r(6010),l=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const s=e=>{var{children:t,href:r,className:s,onClick:u,buttonClassname:m}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const p=r?l.Z:"button";return n.createElement(p,c(function(e){for(var t=1;t{"use strict";r.d(t,{$:()=>i});var n=r(6010),a=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const i=e=>{var{className:t,wrapperProps:r}=e,l=c(e,["className","wrapperProps"]);return a.createElement("div",o({role:"status"},r),a.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),a.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),a.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),a.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{"use strict";r.d(t,{T:()=>s});var n=r(6010),a=r(7294),l=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;ta.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},a.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},a.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),a.createElement(m,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),a.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},a.createElement(m,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),a.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),a.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),a.createElement(u,null)),u=()=>a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},a.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",a.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"GitHub")," "),"and",a.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"LinkedIn")," "),". ",a.createElement("br",null)," ",a.createElement(l.y,{className:"text-refine-red ml-2 inline leading-6"}),a.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",a.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",a.createElement("b",null,"Sponsorship")," "))," is now available.")),m=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>a.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),a.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),a.createElement("defs",null,a.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#47EBEB"}),a.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},8029:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),a=r(6010);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var l;const o=null!==(l=p[e])&&void 0!==l?l:()=>null;var c;const i=null!==(c=f[e])&&void 0!==c?c:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,a.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,a.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||b[e])&&n.createElement("div",{className:(0,a.Z)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(m=null!=t?t:b[e])&&void 0!==m?m:"")),n.createElement("div",{className:(0,a.Z)("text-gray-0","text-base","last:mb-0")},r)));var m},h=({type:e,title:t,children:r})=>{var l;const o=null!==(l=f[e])&&void 0!==l?l:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,a.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,a.Z)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,a.Z)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,a.Z)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),l=n.createElement(n.Fragment,null,r.filter((e=>e!==a)));return{mdxAdmonitionTitle:a,rest:l}}(e.children);var a;return x(w({},e),{title:null!==(a=e.title)&&void 0!==a?a:t,children:r})}const j=e=>{const{children:t,type:r,title:a}=k(e);return n.createElement(y,{type:r,title:a},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,x(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,x(w({},e),{type:"caution",icon:n.createElement(O,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},2892:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),a=r(7915),l=r(859),o=r(1117),c=r(6010),i=r(1984),s=r(1526),u=r(9658);const m="Struggling with internal tools?",d="Explore refine\u2019s limitless possibilities in crafting CRUD apps, CRM solutions, HR dashboards, and more!",p="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/app-crm.png",f=({shouldShowBanner:e})=>(n.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&window.gtag("event","view_banner",{banner_name:"banner-sidebar",banner_text:m,banner_description:d,banner_image:p})}),[e]),n.createElement("div",{className:(0,c.Z)("flex","flex-col","gap-6","py-6","px-4","rounded-2xl","bg-banner-examples-sider-purple","not-prose")},n.createElement(i.Z,{to:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","w-full h-auto xl:h-[152px]","flex-shrink-0","rounded-md","overflow-hidden")},n.createElement("img",{src:p,alt:"refine App screenshot",loading:"lazy"})),n.createElement("h2",{className:(0,c.Z)("text-2xl font-semibold","text-gray-0")},m),n.createElement("p",{className:(0,c.Z)("text-base","text-gray-100")},d),n.createElement(u.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-2"),href:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},"Try online"),n.createElement(s.L,{className:(0,c.Z)("ml-2","w-4","h-4")}))));var g=r(4080),b=r(2560),y=r(4837);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;t{const[r,a]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:l,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&a((e=>w(v({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(l){const r=Math.min(...l,i);if(s>=r){const n=l.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),a({scrollY:r,scrollDepths:n})}}else a(w(v({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[l,o,r]),{scrollY:o}},E=(e,t)=>{const[r,a]=(0,n.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;a(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};var O=r(6775);const k=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:a={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var l,o,m,d;const{pathname:p}=(0,O.TH)(),[f,h]=(0,n.useState)(!1),[v,w]=E("banner-modal",null),k=(0,n.useRef)(!1),j=x();var P,C;return(0,n.useEffect)((()=>{"/blog/"!==p&&"/blog"!==p&&(k.current||f||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===v||null===v?(h(!0),w(0)):(w(v+1),k.current=!0)))}),[j.scrollY]),(0,n.useEffect)((()=>{f&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[f]),n.createElement(g.u,{appear:!0,show:f,as:n.Fragment},n.createElement(b.V,{as:"div",className:"relative z-modal",onClose:()=>h(!1)},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(b.V.Panel,{className:(0,c.Z)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,c.Z)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},n.createElement("div",{className:(0,c.Z)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(i.Z,{to:null!==(P=null===(l=r)||void 0===l?void 0:l.href)&&void 0!==P?P:null===(o=a)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,c.Z)("object-contain"),src:null===(m=r)||void 0===m?void 0:m.src,alt:null!==(C=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==C?C:e,loading:"lazy"})),n.createElement("p",{className:(0,c.Z)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),n.createElement(u.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-4"),href:a.href,onClick:a.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},a.text),n.createElement(s.L,{className:(0,c.Z)("w-4","h-4")}))),n.createElement("button",{className:(0,c.Z)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>h(!1)},n.createElement(y.T,{className:"w-4 h-4"})))))))))};function j(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const P=e=>{const[t,r]=(0,n.useState)(!1),{children:i,toc:s}=e,u=j(e,["children","toc"]),{pathname:m}=(0,O.TH)(),d=x();return(0,n.useEffect)((()=>{t&&"/blog/"!==m&&"/blog"!==m&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY]),n.createElement(a.j,u,n.createElement(l.f,{hasSticky:!0,trackProgress:!!s}),n.createElement("div",{className:(0,c.Z)("flex","justify-center","mx-auto","max-w-screen-blog-max","w-full")},n.createElement("div",{className:(0,c.Z)("relative","w-[264px]","pl-4","py-10 blog-sm:py-12 blog-md:py-16","hidden xl:block",t&&"opacity-100",!t&&"opacity-0","transition-opacity duration-300 ease-in-out")},n.createElement("div",{className:(0,c.Z)("sticky","w-[264px]","z-[1]","top-32","left-0")},n.createElement(f,{shouldShowBanner:t}))),n.createElement("div",{className:(0,c.Z)("refine-prose","flex-1","min-w-0","xl:px-8")},i),s&&n.createElement("div",{className:(0,c.Z)("w-[280px]","hidden blog-md:block","flex-shrink-0")},s)),n.createElement(o.U,null),n.createElement(k,null))}},1593:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var n=r(7294),a=r(6010),l=r(9712),o=r(5319),c=r(4185),i=r(2892);function s(){const{assets:e,metadata:t}=(0,c.C)(),{title:r,description:a,date:o,tags:i,authors:s,frontMatter:u}=t,{keywords:m}=u;var d,p;const f=null!==(p=null!==(d=u.social_image)&&void 0!==d?d:e.image)&&void 0!==p?p:u.image;return n.createElement(l.d,{title:r,description:a,keywords:m,image:f},n.createElement("meta",{property:"og:type",content:"article"}),n.createElement("meta",{property:"article:published_time",content:o}),s.some((e=>e.url))&&n.createElement("meta",{property:"article:author",content:s.map((e=>e.url)).filter(Boolean).join(",")}),i.length>0&&n.createElement("meta",{property:"article:tag",content:i.map((e=>e.label)).join(",")}))}var u=r(6775),m=r(7886);const d=({id:e,value:t,level:r,activeId:l,onIdChange:o})=>(n.useEffect((()=>{const t=document.getElementById(e);if(t){const r=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&o(e)}))}),{rootMargin:"0px 0px -80% 0px"});return r.observe(t),()=>{r.unobserve(t)}}}),[e]),n.createElement("a",{href:`#${e}`,className:(0,a.Z)("refine-toc-item",2===r&&"pl-3",3===r&&"pl-7",4===r&&"pl-11","py-2 pr-3",l===e&&" dark:bg-gray-700 bg-gray-100 text-gray-900 dark:text-gray-0 hover:text-gray-900",l!==e&&"dark:text-gray-500 hover:text-gray-900 text-gray-500","rounded-lg","transition-colors duration-200 ease-in-out","block","text-sm","leading-6","no-underline hover:no-underline"),dangerouslySetInnerHTML:{__html:t}})),p=e=>{(0,u.k6)();const t=(0,u.TH)(),{toc:r,hasTOC:l,activeId:o,setActiveId:c}=f(e.toc),i=e=>{var r;e!==`${null!==(r=t.hash)&&void 0!==r?r:""}`.replace("#","")&&(c(e),window.history.replaceState({},"",`#${e}`))};return n.createElement("div",{className:(0,a.Z)("hidden blog-md:block","w-full","sticky right-0 top-[67px]","max-w-[280px]","overflow-auto","h-[calc(100vh-67px)]","px-3","blog-md:py-16","border-l dark:border-l-gray-700 border-l-gray-100",!l&&"invisible")},n.createElement(m.$G,null),n.createElement("ul",{className:"list-none m-0 p-0"},r.map((e=>n.createElement("li",{key:e.id},n.createElement(d,{id:e.id,value:e.value,activeId:o,level:e.level,onIdChange:i}))))))},f=e=>{var t;const{hash:r}=(0,u.TH)(),a=`${r}`.replace("#",""),[l,o]=n.useState(a);n.useEffect((()=>{o(a)}),[a]);const c=(null===(t=e)||void 0===t?void 0:t.length)>0;return{toc:e,activeId:l,setActiveId:o,hasTOC:c}};function g({children:e}){const{metadata:t,toc:r}=(0,c.C)(),{relatedPosts:a}=t;return n.createElement(i.Z,{toc:n.createElement(p,{toc:r})},n.createElement(m.zS,null,e),n.createElement(m.gZ,{title:"Related Articles",posts:a}))}function b(e){const t=e.content;return n.createElement(c.n,{content:e.content,isBlogPostPage:!0},n.createElement(l.FG,{className:(0,a.Z)(o.k.wrapper.blogPages,o.k.page.blogPostPage)},n.createElement(s,null),n.createElement(g,null,n.createElement(t,null))))}},923:(e,t,r)=>{"use strict";r.d(t,{d:()=>L});var n=r(7294),a=r(358),l=r(5468),o=r(6016),c=r(3151),i=r(5489),s=r(3533),u=r(9238),m=r(6010),d=r(3746);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function g(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const b=e=>{var{as:t}=e,r=g(e,["as"]);return n.createElement(t,f(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,a]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{a(!0),l.current=window.setTimeout((()=>{a(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(l.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,m.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:o},n.createElement(h,{className:(0,m.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?x:O;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,m.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,m.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){for(var t=1;tn.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),N=({children:e,icon:t=n.createElement(Z,null)})=>n.createElement("div",{className:(0,m.Z)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:a,showLineNumbers:l,language:p,icon:f,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.L)();var w;const x=null!==(w=null!=p?p:(0,i.Vo)(t))&&void 0!==w?w:y,E=(0,c.p)(),O=(0,s.F)(),j=(0,i.bc)(r)||a,{lineClassNames:Z,code:S}=(0,i.nZ)(e,{metastring:r,language:x,magicComments:h}),D=null!=l?l:(0,i.nt)(r);return n.createElement(b,{as:"div",className:(0,m.Z)("refine-common-code-block",x&&`language-${x}`,"rounded-lg","bg-gray-200","dark:bg-gray-800","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(N,{icon:f},j),n.createElement("div",{className:(0,m.Z)("relative","pt-3","pb-0","not-prose")},n.createElement(d.ZP,C(P({},d.lG),{theme:E,code:S,language:null!=x?x:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:a})=>n.createElement("pre",{tabIndex:0,ref:O.codeBlockRef,className:(0,m.Z)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,m.Z)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.Z,{key:t,line:e,getLineProps:r,getTokenProps:a,classNames:(0,m.Z)(Z[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:D})))))))),n.createElement("div",{className:(0,m.Z)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(O.isEnabled||O.isCodeScrollable)&&n.createElement(k,{onClick:O.toggle,isEnabled:O.isEnabled}),n.createElement(v,{className:(0,m.Z)(),code:S})))};function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const L=e=>{var{children:t}=e,r=M(e,["children"]);const o=(0,a.Z)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?S:l.Z;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>Z});var n=r(7294),a=r(923),l=r(6010),o=r(8241),c=r(5772),i=r.n(c),s=r(7391);const u="playgroundPreview_jwe9";function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:a=!1}){return n.createElement("div",{className:(0,l.Z)("flex","flex-col","h-full")},n.createElement("div",{className:(0,l.Z)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(p,{className:"w-4 h-4"}),n.createElement("div",{className:(0,l.Z)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,l.Z)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!a&&"rounded-bl-lg rounded-br-lg",a&&"border-b-gray-300 dark:border-b-gray-900",a&&"border-b"),style:{minHeight:t}},e))}const p=e=>n.createElement("svg",function(e){for(var t=1;t{const[a,l]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!a&&e&&l(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{l(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>a&&"function"==typeof r?r():null),[a]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var g=r(6822),b=r(8764);function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||b.lW;const h=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:a}}=(0,o.Z)(),[l,c]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&c(`${a.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),l?n.createElement("iframe",{loading:"lazy",src:l,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},v=n.memo(h,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{a?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,l.Z)(a&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,l.Z)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,l.Z)("block",a&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,l.Z)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",a&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,l.Z)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:a?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(Z,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:a=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:m=!1})=>{const p=String(e),{shared:b,sharedCss:y}=(0,g.dD)(),{visible:h}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+t.length:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const a=e.slice(0,r),l=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:l,join:e=>`${a}\n${e}\n${o}`}})(`\n ${null!=b?b:""}\n ${p}\n `.replace(/\n$/,"")),w=n.useRef(null),E=((e,t="0px")=>{const[r,a]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,l=new IntersectionObserver((([e])=>{a(e.isIntersecting)}),{rootMargin:t});return n&&l.observe(n),()=>{n&&l.unobserve(n)}}),[]),r})(w),{siteConfig:{customFields:O}}=(0,o.Z)(),{isLast:k}=(0,s.E)();return n.createElement("div",{className:(0,l.Z)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,l.Z)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},k?n.createElement(f,{if:E,maxWait:3e3},(()=>n.createElement(v,{code:`\n${null!=b?b:""}\n${p}\n `,css:y,query:`${t?"&disableScroll=true":""}${m?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(x,{hidden:a,code:h})))},O=n.memo(E,((e,t)=>String(e.children)===String(t.children))),k=({children:e})=>{const{setShared:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},j=n.memo(k,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setSharedCss:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},C=n.memo(P,((e,t)=>String(e.children)===String(t.children)));function Z(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(C,e):e.shared&&e.live?n.createElement(j,e):e.live?n.createElement(O,e):n.createElement(a.d,e)}},258:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(7294),a=r(1984),l=r(7785);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e){var t;const r=(e=>{var t,r,n,a,o,c;let i="noopener noreferrer nofollow";const s=(0,l.Z)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(a=e)||void 0===a||null===(n=a.includes)||void 0===n?void 0:n.call(a,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i})(null===(t=e)||void 0===t?void 0:t.href);return n.createElement(a.Z,c(function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>Te});var n=r(7693),a=r(7294),l=r(6010),o=r(9658);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=e=>a.createElement("svg",function(e){for(var t=1;t{var d,p,f,g,b,y;return a.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&m&&window.gtag("event","view_banner",{banner_name:m,banner_text:e,banner_description:t,banner_image:r.src})}),[m]),a.createElement("div",{className:(0,l.Z)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},a.createElement(u.Z,{to:null!==(b=null===(d=r)||void 0===d?void 0:d.href)&&void 0!==b?b:null===(p=c)||void 0===p?void 0:p.href,target:"_blank",rel:"noopener noreferrer",className:(0,l.Z)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},a.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(y=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==y?y:e,loading:"lazy"})),a.createElement("div",{className:(0,l.Z)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&a.createElement("h2",{className:(0,l.Z)("text-xl md:text-2xl","text-gray-0")},e),a.createElement("p",{className:(0,l.Z)("text-sm md:text-base","text-gray-100")},t),a.createElement(o.z,{className:(0,l.Z)("w-max"),buttonClassname:(0,l.Z)("!px-4","!py-2"),href:c.href,onClick:c.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.Z)("text-gray-900","text-sm md:text-base","font-bold")},c.text),a.createElement(s.L,{className:(0,l.Z)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))),a.createElement(i,{className:(0,l.Z)("absolute","bottom-2","right-2")}))},d=({title:e="Open-source Retool alternative for enterprise",description:t="Build React-based internal tools, dashboards & B2B apps with unmatched flexibility",button:r={text:"Discover Refine",href:"https://s.refine.dev/blog-retool?ref=banner-retool-alternative",onClick:void 0}})=>(a.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),a.createElement("div",{className:(0,l.Z)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},a.createElement("h2",{className:(0,l.Z)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),a.createElement("p",{className:(0,l.Z)("mt-2","text-sm","text-gray-300")},t),a.createElement(o.z,{className:(0,l.Z)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},a.createElement("div",{className:(0,l.Z)("text-gray-900","text-base","font-bold")},r.text)),a.createElement(i,{className:(0,l.Z)("absolute","bottom-2","right-2")})));var p=r(950);const f=[{description:"Refine is a React Framework used by over monthly 15K developers for building enterprise internal tools, dashboards, and B2B apps",image:{src:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/banner-tweet.jpg",alt:"X tweet about Refine",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},button:{text:"Learn more",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},bannerName:"banner-twitter"}],g=Math.floor(Math.random()*(f.length+1));var b=r(1915),y=r(7328);const h=({image:e,title:t,description:r,isDark:n})=>{let l;l="refineNew"===r?a.createElement("div",null," ",a.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",a.createElement("br",null),a.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",a.createElement("b",null," React platform,")," \u2728 ",a.createElement("b",null,"UI framework"),", \u2728"," ",a.createElement("b",null,"backend connector"),", and \u2728 ",a.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",a.createElement("br",null),a.createElement("br",null),a.createElement("br",null)):null!=r?r:a.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",a.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",a.createElement("br",null),a.createElement("br",null),"Try"," ",a.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",a.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return a.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},a.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var v=r(6534),w=r(2076),x=r(1446),E=r(7790);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>a.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=a.useRef(!1),{id:c}=(0,x.x)(),[i,s]=a.useState(!1),{items:u}=(0,E.wG)(),{reward:m}=(0,w.w5)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=u.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return a.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),a.useEffect((()=>{!i&&d&&o.current&&(s(!0),m())}),[d,i]),a.createElement("div",{className:(0,l.Z)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},a.createElement("div",{className:(0,l.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},a.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},a.createElement("div",{className:(0,l.Z)("not-prose","mt-0 mb-4","flex items-center","gap-2")},a.createElement(k,{className:(0,l.Z)("w-4 h-4","dark:text-gray-100 text-gray-800")}),a.createElement("h3",{className:(0,l.Z)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),a.createElement("div",null,e),a.createElement("div",{className:"flex items-center justify-center"},a.createElement("div",{id:`checklist-${c}`}))))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>a.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,x.x)(),{items:s,toggle:u}=(0,E.wG)(),m=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return a.createElement("label",{className:(0,l.Z)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},a.createElement("div",{className:"flex-shrink-0"},a.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,l.Z)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!m,"border-refine-react-dark-link dark:border-refine-react-dark-link":m,"bg-refine-react-dark-link":m})},m&&a.createElement(C,null))),a.createElement("div",{className:(0,l.Z)(m&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!m&&"text-gray-800 dark:text-gray-100")},e))};var N=r(923),S=r(5904);const D=({path:e})=>a.createElement(N.d,{language:"bash",title:"Run on your local",icon:a.createElement(S.F,null)},`npm create refine-app@latest -- --example ${e}`);var M=r(7990);const L=({path:e})=>a.createElement("div",{className:(0,l.Z)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},a.createElement(M.E,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),a.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,l.Z)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},a.createElement("span",null,"View Source Code"))),A=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return a.createElement(L,{path:t})},R=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const l=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return a.createElement("div",null,!t&&a.createElement(A,{path:e}),!r&&a.createElement(D,{path:e}),!n&&a.createElement("iframe",{loading:"lazy",src:l,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var B=r(8029),T=r(6153);const F=()=>a.createElement("div",null,a.createElement(B.Z,{type:"simple",title:"Good to know"},a.createElement(T.D,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),V=({children:e,content:t})=>a.createElement("div",{className:(0,l.Z)("refine-info-badge","relative","group","inline-flex","align-middle")},e,a.createElement("div",{className:(0,l.Z)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},a.createElement("div",{className:(0,l.Z)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),H=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,l.Z)("orange"===r&&(0,l.Z)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,l.Z)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,l.Z)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return a.createElement(V,{content:o},a.createElement(u.Z,{to:`/docs/${e}`,className:(0,l.Z)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",c)},t,n&&a.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const I=e=>a.createElement("svg",function(e){for(var t=1;ta.createElement("svg",function(e){for(var t=1;tr?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"deprecated"):t?a.createElement("div",{className:(0,l.Z)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"required"):o?a.createElement("div",{className:(0,l.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"featured"):e?a.createElement("div",{className:(0,l.Z)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:c},e):null,z="tooltip__Ymd",W="tooltipContainer_l6r7",Y="tooltipContent_UeXm",q="tooltipArrow_mOyh",J=({label:e,children:t})=>e?a.createElement("div",{className:`${z} group`},t,a.createElement("div",{className:`${W} group-hover:visible`},a.createElement("span",{className:Y},e),a.createElement("div",{className:q}))):a.createElement(a.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const X=({prop:e,overrides:t})=>{var r,n,l;const o=null!==(l=t[`${e.name}-required`])&&void 0!==l?l:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const m=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",d=(0,a.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),p=(0,a.useMemo)((()=>m?a.createElement(T.D,null,m):null),[e,t]);var f;return a.createElement(J,{label:p},a.createElement(a.Fragment,null,a.createElement("span",{className:d},null!==(f=t[`${e.name}-name`])&&void 0!==f?f:e.name),o&&a.createElement(G,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,l=n.split(" | "),o=l.length>1,c=l.some((e=>e.length>20)),i=/`/.test(n);return a.createElement(a.Fragment,null,i?a.createElement(T.D,null,n):c&&o?a.createElement(a.Fragment,null,l.map(((e,t)=>a.createElement("code",{className:"max-w-xs h-min",key:t},a.createElement(T.D,null,e))))):a.createElement("code",{className:"max-w-xs h-min"},a.createElement(T.D,null,n)))},ee=({prop:e,overrides:t})=>{var r,n;return a.createElement(T.D,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},te=({prop:e,overrides:t})=>{var r,n,l,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(l=e.defaultValue)||void 0===l?void 0:l.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?a.createElement(T.D,null,null!=s?s:c):a.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?a.createElement("code",{className:"max-w-xs h-min"},a.createElement(T.D,null,i)):null)},re=({prop:e,overrides:t})=>a.createElement("td",null,a.createElement("div",{className:"flex items-center"},a.createElement(X,{prop:e,overrides:t}))),ne=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__type-cell"},a.createElement("div",{className:"flex flex-wrap gap-1"},a.createElement(Q,{prop:e,overrides:t}))),ae=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__description-cell"},a.createElement(ee,{prop:e,overrides:t})),le=({prop:e,overrides:t})=>a.createElement("td",{className:"props-table__default-value-cell"},a.createElement(te,{prop:e,overrides:t})),oe=e=>{var{module:t,hideDefaults:n,children:l}=e,o=K(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{let n=!1;return r(9624)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,l(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,a.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return a.createElement("div",{className:"table-container"},a.createElement("table",{className:"props-table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",null,"Property"),a.createElement("th",null,"Type"),a.createElement("th",null,"Description"),i?null:a.createElement("th",null,"Default"))),a.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:a.createElement("tr",{key:e.name},a.createElement(re,{prop:e,overrides:o}),a.createElement(ne,{prop:e,overrides:o}),a.createElement(ae,{prop:e,overrides:o}),i?null:a.createElement(le,{prop:e,overrides:o})))))),l)};function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ie=e=>a.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,se.n)();return e&&r===e?a.createElement(a.Fragment,null,t):null};var me=r(6928);function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const fe=e=>{var t;const r=a.Children.toArray(e.children),n=r.find((e=>a.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=a.createElement(a.Fragment,null,r.filter((e=>e!==n)));return a.createElement(me.P,pe(function(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}const he=e=>{var{children:t,className:r}=e,n=ye(e,["children","className"]);return a.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,a=s.indexOf(t),l=o[a].value;l!==r&&(u(t),n(l))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":m(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return a.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,l.Z)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>a.createElement("li",ke(Oe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:m},n),{className:(0,l.Z)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function Pe({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,a.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return a.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,a.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,l.Z)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function Ce(e){const t=(0,we.Y)(e),{wrapContent:r=!0}=e;return a.createElement("div",{className:(0,l.Z)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},a.createElement(je,Oe({},e,t)),a.createElement(Pe,Oe({},e,t)))}function Ze(e){const t=(0,xe.Z)();return a.createElement(Ce,Oe({key:String(t)},e))}function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Me(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var Le;var Ae=r(3280),Re=r(551);function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Te=(Fe=function(e){for(var t=1;t{var{className:t}=e,r=Se(e,["className"]);return a.createElement("blockquote",function(e){for(var t=1;tg===f.length?a.createElement(p.Z,null,(()=>a.createElement(d,null))):a.createElement(p.Z,null,(()=>a.createElement(m,f[g]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>a.createElement(H,{id:e,color:"green",icon:a.createElement(U,null),text:r,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),a.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>a.createElement(H,{id:e,color:"orange",text:r,icon:a.createElement(ie,null),description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),a.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>a.createElement(H,{color:"purple",icon:a.createElement(I,null),text:r,id:e,description:a.createElement(a.Fragment,null,a.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),a.createElement("div",{className:"text-xs"},t))}),Image:e=>a.createElement("img",Me(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return a.createElement(Ze,null,a.createElement(Re.Z,{value:"npm",label:"npm",default:!0},a.createElement(N.d,{className:"language-bash"},r.npm)),a.createElement(Re.Z,{value:"pnpm",label:"pnpm"},a.createElement(N.d,{className:"language-bash"},r.pnpm)),a.createElement(Re.Z,{value:"yarn",label:"yarn"},a.createElement(N.d,{className:"language-bash"},r.yarn),a.createElement(T.D,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return a.createElement(Ze,null,a.createElement(Re.Z,{value:"npm",label:"npm",default:!0},a.createElement(N.d,{className:"language-bash"},r.npm),t),a.createElement(Re.Z,{value:"pnpm",label:"pnpm"},a.createElement(N.d,{className:"language-bash"},r.pnpm),t),a.createElement(Re.Z,{value:"yarn",label:"yarn"},a.createElement(N.d,{className:"language-bash"},r.yarn),t))},FullTable:Ae.Xm},Ve=null!=Ve?Ve:{},Object.getOwnPropertyDescriptors?Object.defineProperties(Fe,Object.getOwnPropertyDescriptors(Ve)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(Ve)).forEach((function(e){Object.defineProperty(Fe,e,Object.getOwnPropertyDescriptor(Ve,e))})),Fe);var Fe,Ve},3799:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/ccc49370.bc7c60ae.js b/assets/js/ccc49370.bc7c60ae.js new file mode 100644 index 00000000..f7478634 --- /dev/null +++ b/assets/js/ccc49370.bc7c60ae.js @@ -0,0 +1 @@ +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6103],{9624:(e,t,r)=>{var n={"./plugin-route-context-module-100.json":[2181,2181]};function l(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],l=t[0];return r.e(t[1]).then((()=>r.t(l,19)))}l.keys=()=>Object.keys(n),l.id=9624,e.exports=l},5506:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(7294),l=r(676),a=r(4185);function o({children:e,className:t}){const{frontMatter:r,assets:o}=(0,a.C)(),{withBaseUrl:c}=(0,l.C)();var i;const s=null!==(i=o.image)&&void 0!==i?i:r.image;return n.createElement("article",{className:t,itemProp:"blogPost",itemScope:!0,itemType:"http://schema.org/BlogPosting"},s&&n.createElement("meta",{itemProp:"image",content:c(s,{absolute:!0})}),e)}},4185:(e,t,r)=>{"use strict";r.d(t,{C:()=>c,n:()=>o});var n=r(7294),l=r(7806);const a=n.createContext(null);function o({children:e,content:t,isBlogPostPage:r=!1}){const l=function({content:e,isBlogPostPage:t}){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,toc:e.toc,isBlogPostPage:t})),[e,t])}({content:t,isBlogPostPage:r});return n.createElement(a.Provider,{value:l},e)}function c(){const e=(0,n.useContext)(a);if(null===e)throw new l.i6("BlogPostProvider");return e}},60:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var n=r(7294),l=r(8241);const a=["zero","one","two","few","many","other"];function o(e){return a.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,l.Z)();return(0,n.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),c}}),[e])}function s(){const e=i();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${n.length}: ${e}`);const l=r.select(t),a=r.pluralForms.indexOf(l);return n[Math.min(a,n.length-1)]}(r,t,e)}}},6987:(e,t,r)=>{"use strict";r.d(t,{Ej:()=>l,OV:()=>c});var n=r(7294);function l({date:e,formattedDate:t}){return n.createElement("time",{dateTime:e,itemProp:"datePublished"},t)}var a=r(60),o=r(2210);function c({readingTime:e}){const t=function(){const{selectMessage:e}=(0,a.c)();return t=>{const r=Math.ceil(t);return e(r,(0,o.I)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:r}))}}();return n.createElement(n.Fragment,null,t(e))}},1915:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(7294),l=r(1984);const a=()=>n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] bg-[#5865F2] w-full rounded-2xl py-5 px-5 md:px-12"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/discord-banner.png",alt:"Discord Logo"}),n.createElement("div",{className:"text-white font-montserrat font-bold max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat"},"Join to refine discord server"),n.createElement("p",{className:"mb-0 text-base"},"to get help, share ideas, and discuss the latest news."))),n.createElement(l.Z,{to:"https://discord.gg/refine"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-4 rounded-lg h-12 w-44 border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Join Us")))},7328:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(7294),l=r(1984);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[e,t]=n.useState(0);return n.useEffect((()=>{(async()=>{const e=await fetch(`https://api.github.com/repos/pankod/refine?access_token=${s}`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:`token ${s}`}}),r=await e.json();var n;t(null!==(n=r.stargazers_count)&&void 0!==n?n:2e3)})()}),[]),n.createElement("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 md:gap-0 h-auto md:h-[150px] w-full rounded-2xl py-5 px-5 md:px-12 github-banner-bg"},n.createElement("div",{className:"flex items-center gap-16"},n.createElement("img",{className:"hidden md:block",src:"/img/blog-static/github-banner-icon.png",alt:"Github Logo"}),n.createElement("div",{className:"font-montserrat max-w-md text-center md:text-left"},n.createElement("h1",{className:"text-2xl uppercase leading-tight mb-0 font-montserrat font-bold"},"Star us on github"),n.createElement("p",{className:"mb-0 text-base leading-tight"},n.createElement("b",null,"refine")," is an"," ",n.createElement("b",null,"open-source React-based framework"),"for building ",n.createElement("b",null,"CRUD applications")," without constraints. Please show us your ",n.createElement("b",null,"support")," with a shining ",n.createElement("b",null,"GitHub star"),"."))),n.createElement(l.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",rel:"noopener",className:"bg-[#211d21] no-underline rounded-xl h-[54px] flex gap-2 pl-3.5 py-2.5 pr-2.5 items-center"},n.createElement(i,null),n.createElement("div",{className:"font-bold font-montserrat text-base text-white"},"Star"),n.createElement("div",{className:"flex items-start h-full"},n.createElement(o,{className:"mt-2 -mr-px"}),n.createElement("div",{className:"cloud rounded-md bg-white text-[#211d21] h-full flex items-center justify-center px-1.5 font-montserrat font-bold text-base"},`${e}`.padStart(4,"0")))))}},7886:(e,t,r)=>{"use strict";r.d(t,{Ag:()=>v,zS:()=>h,rg:()=>u,gZ:()=>E,$G:()=>x});var n=r(7294),l=r(1984),a=r(4185),o=r(5506),c=r(6987),i=r(6010);const s=()=>{var e,t;const{metadata:r}=(0,a.C)(),{permalink:s,title:u,date:m,formattedDate:d,frontMatter:p,description:f,tags:g}=r,b=r.authors[0];return n.createElement(o.Z,null,n.createElement(l.Z,{itemProp:"url",to:s}),n.createElement("div",{className:"px-4 py-4 md:px-6 md:py-6"},n.createElement("div",{className:(0,i.Z)("mb-2 gap-1 md:mb-4 2xl:mb-6","flex flex-wrap items-center")},g.map((e=>n.createElement(l.Z,{className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-400","no-underline","rounded","px-2 py-1"),href:e.permalink,key:e.permalink},e.label)))),n.createElement("div",{className:"mb-2 md:mb-4 2xl:mb-6"},n.createElement(l.Z,{itemProp:"url",to:s,className:"no-underline hover:no-underline",rel:"noopener dofollow"},n.createElement("div",{className:(0,i.Z)("mb-2 md:mb-4 2xl:mb-6","text-gray-700 dark:text-gray-200","text-sm sm:text-2xl 2xl:text-[32px] 2xl:leading-10","font-lg","font-bold")},u)),n.createElement("div",{className:(0,i.Z)("line-clamp-3","text-gray-700 dark:text-gray-300","text-xs md:text-base 2xl:text-xl")},f)),n.createElement("div",{className:"flex items-center gap-2"},n.createElement(l.Z,{href:`/blog/author/${null===(e=b)||void 0===e?void 0:e.key}`,itemProp:"url",className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","no-underline")},null===(t=b)||void 0===t?void 0:t.name),n.createElement("span",{className:(0,i.Z)("h-[4px] w-[4px] rounded-full","bg-gray-600 dark:bg-gray-500")}),n.createElement("span",{className:(0,i.Z)("text-gray-600 hover:text-gray-600","dark:text-gray-400 hover:dark:text-gray-400","text-xs 2xl:text-base","leading-6","no-underline")},n.createElement(c.Ej,{date:m,formattedDate:d})))))},u=({items:e})=>n.createElement("div",{className:(0,i.Z)("py-10","px-4","max-w-[512px]","blog-md:px-7","blog-md:max-w-screen-blog-md","blog-2xl:px-0","blog-2xl:max-w-screen-blog-md","w-full","mx-auto","not-prose")},n.createElement("h2",{className:(0,i.Z)("m-0 p-0","blog-lg:mb-12 blog-md:mb-8 mb-10","text-xl blog-sm:text-4xl blog-lg:text-5xl","text-gray-900 dark:text-gray-0","px-0 blog-sm:px-6","font-semibold")},"Featured Posts"),n.createElement("div",{className:"grid grid-cols-1 blog-md:grid-cols-2 blog-lg:gap-12 gap-8"},e.map((({content:e})=>n.createElement(a.n,{key:e.metadata.permalink,content:e},n.createElement(s,null))))));var m=r(5750),d=r(9387),p=r(8241),f=r(3597),g=r(7332),b=r(6616),y=r(6250);const h=({children:e})=>{var t,r,s,u,h,v;const{metadata:w,isBlogPostPage:x}=(0,a.C)(),{permalink:E,title:O,date:k,formattedDate:j,readingTime:P,frontMatter:C,tags:Z,description:N,authors:S}=w,D=S[0],{siteConfig:{url:M}}=(0,p.Z)();return n.createElement(o.Z,{className:(0,i.Z)("py-10","px-4 sm:px-0","blog-sm:py-12","blog-md:py-16","w-full","mx-auto","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center","blog-sm:px-6")},n.createElement(l.Z,{to:"/blog",className:(0,i.Z)("!text-gray-500 text-sm no-underline")},"\u2190 Back to blog"),n.createElement("div",{className:"flex items-center space-x-2 px-2 py-1"},n.createElement("span",{className:"text-gray-500 text-sm"},"Share on"),n.createElement(f.Z,{url:M+E,title:O,source:M,summary:N,className:"flex"},n.createElement(g.Z,{size:26,round:!0})),n.createElement(b.Z,{windowWidth:750,windowHeight:800,url:M+E,className:"flex",title:O,hashtags:Z.map((e=>e.label))},n.createElement(y.tL,{width:26,height:26})))),n.createElement("div",{className:"blog-sm:px-6"},n.createElement("div",{className:"mb-6 text-sm"},n.createElement("div",{className:(0,i.Z)("flex","justify-between","sm:flex-row flex-col")},n.createElement("div",{className:"flex justify-center items-center gap-2"},n.createElement(l.Z,{to:`/blog/author/${null===(t=D)||void 0===t?void 0:t.key}`,itemProp:"url"},n.createElement("img",{src:null===(r=D)||void 0===r?void 0:r.imageURL,alt:null===(s=D)||void 0===s?void 0:s.name,loading:"lazy",className:"flex h-[32px] w-[32px] rounded-full object-cover"})),n.createElement(l.Z,{to:`/blog/author/${null===(u=D)||void 0===u?void 0:u.key}`,itemProp:"url",className:(0,i.Z)("flex-1","text-gray-900 dark:text-gray-200","text-sm","no-underline","hover:no-underline")},null===(h=D)||void 0===h?void 0:h.name),n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement("span",{className:"text-gray-600 dark:text-gray-400"},null===(v=D)||void 0===v?void 0:v.title)),n.createElement("div",{className:"flex items-center gap-2 text-gray-600 dark:text-gray-400"},n.createElement(c.Ej,{date:k,formattedDate:j}),void 0!==P&&n.createElement(n.Fragment,null,n.createElement("span",{className:"w-[4px] h-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.OV,{readingTime:P}))))),n.createElement("h1",{className:"text-xl md:text-4xl",itemProp:"headline"},x?O:n.createElement(l.Z,{itemProp:"url",to:E},O)),n.createElement("div",{id:m.blogPostContainerID,className:"markdown",itemProp:"articleBody"},n.createElement(d.Z,null,e))))},v=({author:e,className:t})=>n.createElement(w,{author:e,className:t}),w=({author:e})=>{var t,r,a,o,c,s,u,m,d,p,f;const g=e.github||e.twitter||e.linkedin;return n.createElement("div",{className:(0,i.Z)("px-4","blog-md:px-7","blog-2xl:px-0","max-w-[640px]","blog-md:max-w-screen-blog-md","blog-2xl:max-w-screen-blog-md","w-full","mx-auto")},n.createElement("div",{className:(0,i.Z)("flex","justify-between","items-center")},n.createElement("div",{className:(0,i.Z)("w-full","flex items-center justify-between flex-wrap")},n.createElement("div",{className:(0,i.Z)("flex items-center","gap-2 sm:gap-6")},n.createElement(l.Z,{to:`/blog/author/${null===(t=e)||void 0===t?void 0:t.key}`,itemProp:"url",className:"flex-shrink-0"},n.createElement("img",{src:null===(r=e)||void 0===r?void 0:r.imageURL,alt:null===(a=e)||void 0===a?void 0:a.name,loading:"lazy",className:(0,i.Z)("flex flex-shrink-0","h-12 w-12","blog-sm:h-[88px] blog-sm:w-[88px]","blog-md:h-[120px] blog-md:w-[120px]","rounded-full object-cover")})),n.createElement("div",{className:(0,i.Z)("not-prose flex flex-col justify-between")},n.createElement("h1",{className:(0,i.Z)("text-xl sm:text-[40px] sm:leading-[56px]","m-0 p-0 pb-2 font-bold text-gray-900 dark:text-gray-200")},null===(o=e)||void 0===o?void 0:o.name),n.createElement("div",{className:(0,i.Z)("text-xs sm:text-base","text-gray-600 dark:text-gray-400")},null===(c=e)||void 0===c?void 0:c.title))),g&&n.createElement("div",{className:"flex justify-center gap-3"},(null===(s=e)||void 0===s?void 0:s.github)&&n.createElement(l.Z,{to:null===(u=e)||void 0===u?void 0:u.github},n.createElement(y.Ey,{className:"h-6 w-6"})),(null===(m=e)||void 0===m?void 0:m.twitter)&&n.createElement(l.Z,{to:null===(d=e)||void 0===d?void 0:d.twitter},n.createElement(y.tL,{className:"h-6 w-6"})),(null===(p=e)||void 0===p?void 0:p.linkedin)&&n.createElement(l.Z,{to:null===(f=e)||void 0===f?void 0:f.linkedin},n.createElement(y.n6,{className:"h-6 w-6"}))))),n.createElement("div",{className:"border-b border-gray-200 dark:border-gray-700 mb-8"}))};r(1915),r(7328),r(6534);const x=()=>{const{metadata:e}=(0,a.C)();return n.createElement("div",{className:"flex flex-wrap gap-2 pb-6 pl-1"},e.tags.map((e=>n.createElement(l.Z,{to:e.permalink,className:(0,i.Z)("text-xs","bg-gray-100 dark:bg-gray-700","text-gray-600 dark:text-gray-400","rounded","py-1","px-2","no-underline hover:no-underline","whitespace-nowrap"),key:e.permalink},e.label))))},E=({posts:e,title:t})=>{var r,a,o;return e.length<1?null:n.createElement("div",{className:(0,i.Z)("mx-auto w-full","py-10","blog-sm:py-12","blog-md:py-16","max-w-[512px]","blog-sm:max-w-screen-blog-sm","blog-lg:max-w-screen-content-2xl")},n.createElement("div",{className:"blog-sm:px-6 w-full px-4"},n.createElement("h2",{className:"m-0 mb-4 p-0 pl-4 text-2xl font-semibold text-gray-900 dark:text-gray-200"},t),n.createElement("div",{className:"flex flex-col"},e.map((e=>n.createElement("div",{key:null!==(o=e.permalink)&&void 0!==o?o:e.id,className:(0,i.Z)("flex","flex-col","p-5","mb-5","rounded-md","bg-gray-50 dark:bg-gray-800")},n.createElement(l.Z,{to:e.permalink,rel:"dofollow",className:(0,i.Z)("font-bold","text-gray-800 dark:text-gray-200","no-underline","hover:text-gray-800 hover:no-underline dark:hover:text-gray-200","mb-2")},e.title),n.createElement("p",{className:(0,i.Z)("font-sm","text-gray-700 dark:text-gray-400")},e.description),n.createElement("div",{id:"post-info",className:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400"},n.createElement(l.Z,{to:`/blog/author/${null===(r=e.authors[0])||void 0===r?void 0:r.key}`,itemProp:"url",id:"author-name",className:"text-gray-600 no-underline hover:text-gray-600 hover:no-underline dark:text-gray-400"},null===(a=e.authors[0])||void 0===a?void 0:a.name),n.createElement("span",{className:"h-[4px] w-[4px] rounded-full bg-gray-600 dark:bg-gray-500"}),n.createElement(c.Ej,{date:e.date,formattedDate:e.formattedDate}))))))))}},6534:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(7294),l=r(1984);const a=({children:e})=>n.createElement("div",{className:"flex flex-col md:flex-row items-center twitter-banner-bg px-5 md:px-10 py-5 rounded-xl gap-2"},n.createElement("div",{className:"flex flex-col justify-center items-center md:items-start gap-4"},n.createElement("div",{className:"text-center md:text-left"},n.createElement("h1",{className:"text-white font-montserrat text-2xl leading-tight mb-0"},"WANT TO HEAR THE LATEST DEVELOPMENTS ABOUT refine?"),n.createElement("p",{className:"mb-0 uppercase font-montserrat text-white"},"Follow us on Twitter.")),n.createElement(l.Z,{to:"https://twitter.com/refine_dev"},n.createElement("button",{className:"bg-transparent text-white font-bold py-2 px-8 rounded-lg border-white cursor-pointer font-montserrat uppercase text-xl border-solid active:scale-[0.99]"},"Follow Us"))),n.createElement("div",{className:"w-[350px]"},e||n.createElement("blockquote",{className:"twitter-tweet","data-cards":"hidden"},n.createElement("p",{lang:"en",dir:"ltr"},"\ud83d\udca5New Blog Post!",n.createElement("br",null),n.createElement("br",null),"Animations in React with Framer Motion",n.createElement("a",{href:"https://t.co/7kWU1ROPYd"},"https://t.co/7kWU1ROPYd"),n.createElement("a",{href:"https://twitter.com/hashtag/opensource?src=hash&ref_src=twsrc%5Etfw"},"#opensource")," ",n.createElement("a",{href:"https://twitter.com/hashtag/ReactJS?src=hash&ref_src=twsrc%5Etfw"},"#ReactJS")),"\u2014 refine (@refine_dev)"," ",n.createElement("a",{href:"https://twitter.com/refine_dev/status/1565321477628510208?ref_src=twsrc%5Etfw"},"September 1, 2022"))))},2068:(e,t,r)=>{"use strict";r.d(t,{M:()=>c,e:()=>o});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a="tutorial-checklist-store",o=n.createContext({store:{},toggle:()=>{}}),c=({children:e})=>{const[t,r]=n.useState((()=>{if("undefined"!=typeof window){const t=localStorage.getItem(a);if(t)try{const e=JSON.parse(t);if("object"==typeof e)return e}catch(e){return{}}}return{}})),c=n.useCallback(((e,t,n)=>{r((r=>{const a=function(e){for(var t=1;t{"undefined"!=typeof window&&localStorage.setItem(a,JSON.stringify(t))}),[t]),n.createElement(o.Provider,{value:{store:t,toggle:c}},e)}},4368:(e,t,r)=>{"use strict";r.d(t,{KZ:()=>i,lu:()=>s,V1:()=>a});var n=r(7294),l=r(6895);const a=["headless","antd","chakra-ui","mantine","mui"],o=e=>{if(a.includes(e))return e},c="tutorial-preferred-ui-package",i=n.createContext({preferred:"headless",current:void 0,setPreferred:()=>{}}),s=({children:e})=>{const{metadata:t}=(0,l.k)(),r=(e=>{const t=e.match(/\/(headless|antd|chakra-ui|mantine|mui)\//);if(t&&o(t[1]))return t[1]})(t.id),[a,s]=n.useState("headless");n.useEffect((()=>{if("undefined"!=typeof window){const e=localStorage.getItem(c),t=o(e);t&&s(t)}}),[]);const u=e=>{o(e)&&("undefined"!=typeof window&&localStorage.setItem(c,e),s(e))};return n.useEffect((()=>{r&&r!==a&&u(r)}),[r,a]),n.createElement(i.Provider,{value:{preferred:a,setPreferred:u,current:r||a}},e)}},1446:(e,t,r)=>{"use strict";r.d(t,{x:()=>f});var n=r(6895),l=r(7391),a=(r(7294),r(1261));function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;t{var e,t,r,o;const m=(0,n.k)(),{docs:f}=(0,l.E)(),{frontMatter:g,metadata:{id:b}}=m,{tutorial:{units:y}}=(0,u.S)(),{current:h}=(0,a.n)(),v=e=>{const t=e.id.split("/"),r=s.V1.filter((e=>e!==h));return!t.find((e=>r.includes(e)))},w=!!(null===(e=g)||void 0===e?void 0:e.tutorial),x=b.split("/")[1],E=function({frontMatter:e}){const{docs:t}=(0,l.E)(),{current:r}=(0,a.n)(),n=e=>{if(e.includes("{preferredUI}")||r)return e.replace("{preferredUI}",r)},o=e=>"/docs/"+e,{tutorial:s}=e,{next:u,prev:m}=null!=s?s:{},d=u?n(u):void 0,p=t[m?n(m):void 0],f=t[d];return{previous:p?i(c({},p),{permalink:o(p.id)}):void 0,next:f?i(c({},f),{permalink:o(f.id)}):void 0}}(m),O=Object.entries(f).filter((([e])=>e.startsWith("tutorial/"))).reduce(((e,[t,r])=>{const n=t.split("/")[1];return n.startsWith("partial-")||(e[n]||(e[n]=[]),e[n].push(r)),e}),{}),k=Object.entries(O).map((([e,r])=>p(d({unit:e,no:null===(t=y[e])||void 0===t?void 0:t.no,title:y[e].label},e===x&&w&&{current:!0}),{docs:r.map((e=>d({},e,e.id===b&&w&&{current:!0}))).filter(v)}))).sort(((e,t)=>(null===(r=e)||void 0===r?void 0:r.no)-(null===(o=t)||void 0===o?void 0:o.no)));return w?{id:b,isTutorial:w,unit:x,pagination:E,units:k}:void 0}},7790:(e,t,r)=>{"use strict";r.d(t,{eW:()=>s,wG:()=>u});var n=r(7294);const l={items:[]};var a=r(2068);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tt.filter((t=>t.unit===e));function u(){const{store:e,toggle:t}=n.useContext(a.e);return{items:n.useMemo((()=>{var t,r,n,a;return null!==(a=null===(n=l)||void 0===n||null===(t=(r=n.items).map)||void 0===t?void 0:t.call(r,(t=>{const{id:r}=t;return i(c({},t),{checklist:t.checklist.map((t=>{var n;return i(c({},t),{checked:null!==(n=e[r]?.[t.id])&&void 0!==n&&n})})).sort(((e,t)=>e.index-t.index))})})))&&void 0!==a?a:[]}),[e]),toggle:t}}},1774:(e,t,r)=>{"use strict";r.d(t,{S:()=>l});var n=r(8241);r(7294);const l=()=>{const{siteConfig:{customFields:e}}=(0,n.Z)(),{tutorial:t}=e;return t}},1261:(e,t,r)=>{"use strict";r.d(t,{n:()=>a});var n=r(7294),l=r(4368);const a=()=>n.useContext(l.KZ)},3812:(e,t,r)=>{"use strict";r.d(t,{U:()=>g});var n=r(9526),l=r(6010),a=r(7294),o=r(3799),c=r(7092),i=r(961),s=r(3380),u=r(506);const m=[{label:"Resources",items:[{label:"Getting Started",href:"/docs"},{label:"Blog",href:"/blog"}]},{label:"Product",items:[{label:"CodePoint",icon:a.createElement(u.nm,null),href:"https://prepverse.github.io/CodePoint"},{label:"LeetVerse",icon:a.createElement(u.nm,null),href:"https://prepverse.github.io/LeetVerse"}]},{label:"About",items:[{label:"About Me",href:"/about"},{label:"Portfolio",href:"https://prepverse.github.io/portfolio"}]}],d=[{icon:c.I,href:"https://github.com/AkashSingh3031"},{icon:s.p,href:"https://twitter.com/akashsingh3031"},{icon:i._,href:"https://www.linkedin.com/in/akashsingh3031"}];var p=r(6204),f=r(4813);const g=()=>{const{colorMode:e}=(0,n.I)();return a.createElement(a.Fragment,null,a.createElement("div",{className:(0,l.Z)("border-t border-t-solid","border-t-gray-00 dark:border-t-gray-700","dark:bg-footer-dark-bg","w-full","py-6","landing-sm:py-8","landing-md:py-11","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20")},a.createElement("div",{className:(0,l.Z)("max-w-screen-landing-footer","w-full","flex flex-col","gap-6","landing-sm:gap-4","landing-md:gap-9","mx-auto")},a.createElement("div",{className:(0,l.Z)("flex items-center justify-between")},a.createElement(f.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:o.Q})),a.createElement("div",{className:(0,l.Z)("flex","flex-col","landing-xl:flex-row","items-start","justify-between","landing-lg:gap-8")},a.createElement("div",{className:(0,l.Z)("text-xs","opacity-75","landing-lg:opacity-100","landing-lg:text-base","text-gray-500 dark:text-gray-500","font-semibold","landing-md:max-w-[304px] w-full","w-full","flex-shrink-0","mb-6","landing-xl:mb-0")},"Thank you for visiting, Connect with me over socials."),a.createElement("div",{className:(0,l.Z)("w-full","landing-lg:w-auto","landing-md:grid-cols-3 landing-lg:grid-cols-5 grid grid-cols-2","landing-md:gap-4 gap-10")},m.map((e=>a.createElement("div",{className:(0,l.Z)("flex min-w-[144px] max-w-[304px] flex-col gap-4"),key:e.label},a.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},e.label),a.createElement("div",{className:"flex flex-col gap-2"},e.items.map((e=>a.createElement("a",{href:e.href,target:"_blank",key:e.label,className:(0,l.Z)("text-base","text-gray-700 dark:text-gray-400","opacity-75","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},e.label))))))),a.createElement("div",{className:(0,l.Z)("landing-md:col-span-3 landing-lg:col-span-2 w-full landing-content:max-w-[304px]")},a.createElement("div",{className:(0,l.Z)("flex flex-col gap-4")},a.createElement("div",{className:"dark:text-gray-0 text-base font-semibold text-gray-900"},"Contact"),a.createElement("div",{className:(0,l.Z)("text-base","text-gray-700 dark:text-gray-400")},a.createElement("a",{href:"https://mail.google.com/mail/u/1/?fs=1&to=codewithsky@gmail.com&tf=cm",target:"_blank",className:(0,l.Z)("text-gray-700 dark:text-gray-400","no-underline hover:no-underline","hover:text-gray-700 hover:dark:text-gray-400")},"codewithsky@gmail.com")))))))),a.createElement("div",{className:(0,l.Z)("border-t","border-t-gray-100 dark:border-t-gray-700","bg-gray-50 dark:bg-gray-800","w-full","px-4","landing-sm:px-8","landing-md:px-8","landing-lg:px-12","landing-xl:px-20","py-6")},a.createElement("div",{className:(0,l.Z)("mx-auto","max-w-screen-landing-footer","w-full","landing-lg:gap-2 gap-6","flex items-center justify-between","landing-lg:flex-row flex-col-reverse")},a.createElement("div",{className:(0,l.Z)("text-base","text-gray-500 dark:text-gray-400")},"Copyright \xa9 2023 PrepVerse"," ",a.createElement(p.y,{className:"text-refine-red ml-2 inline leading-6"})," ",a.createElement("br",null),"Built with Docusaurus & refine."),a.createElement("div",{className:(0,l.Z)("flex items-center","gap-4","landing-lg:flex-row flex-col","landing-lg:max-w-none max-w-[382px]")},a.createElement("span",{className:(0,l.Z)("text-gray-500 dark:text-gray-400","landing-lg:text-left text-center opacity-75")},"Connect with me on"),a.createElement("div",{className:(0,l.Z)("flex","flex-row","items-center","gap-4","justify-between")},d.map((({href:e,icon:t})=>a.createElement("a",{href:e,key:e,target:"_blank",rel:"noreferrer",className:(0,l.Z)("text-gray-500 dark:text-gray-400","opacity-75","no-underline","hover:text-gray-500 hover:no-underline hover:dark:text-gray-400")},a.createElement(t,{className:"landing-lg:w-6 landing-lg:h-6 h-9 w-9"})))))))))}},859:(e,t,r)=>{"use strict";r.d(t,{f:()=>W});var n=r(1984),l=r(6010),a=r(1768),o=r(4827),c=r(1899),i=r(7294),s=r(3833),u=r(4813),m=r(3799);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>i.createElement("svg",function(e){for(var t=1;t{const r=e.icon;return i.createElement(n.Z,{to:e.link,className:"no-underline"},i.createElement("div",{className:(0,l.Z)("flex items-center","p-4","transition duration-150 ease-in-out","rounded-lg","hover:bg-gray-50 dark:hover:bg-gray-700",t&&"hover:!bg-gray-50")},i.createElement("div",{className:"shrink-0"},i.createElement(r,null)),i.createElement("div",{className:"ml-2"},i.createElement("div",{className:(0,l.Z)("text-gray-900 dark:text-white","font-semibold",t&&"!text-gray-900")},e.label),i.createElement("div",{className:(0,l.Z)("text-gray-500 dark:text-gray-400","text-xs",t&&"!text-gray-500")},e.description))))},y=({item:e,isPermanentDark:t})=>{const[r,a]=(0,i.useState)(null);(0,i.useEffect)((()=>(a(localStorage.getItem("theme")||null),window.addEventListener("storage",o,!1),()=>{window.removeEventListener("storage",o,!1)})),[]);const o=()=>{a(localStorage.getItem("theme")||null)};let c=e.icon;return"Cloud"===e.label&&(c="light"===r?f.wW:e.icon),i.createElement(n.Z,{key:e.label,to:e.href,className:(0,l.Z)("inline-flex items-center gap-2","text-sm leading-6 font-normal text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out","no-underline","Hackathon"===e.label?["py-1","px-2","rounded-lg","bg-hackathon-button-bg","animate-hackathon-button-bg","bg-refine-bg","text-gray-0","bg-[length:200%_100%]","text-[14px]","hover:text-gray-0"]:["hover:text-gray-900 dark:hover:text-white"])},e.icon&&i.createElement(c,null),e.label)};var h=r(6775),v=r(2280),w=r(4080),x=r(1412);const E=({item:e,children:t})=>{const[r,n]=(0,i.useState)(!1),a=i.useRef(null),o=i.useRef(null),c=(0,h.TH)();return i.useEffect((()=>{n(!1)}),[c]),i.createElement(v.J,{id:`popover-${e.label}`,key:e.label,className:(0,l.Z)("relative","inline-flex items-center"),onMouseEnter:()=>{o.current=setTimeout((()=>n(!0)),210),clearTimeout(a.current)},onMouseLeave:()=>{a.current=setTimeout((()=>n(!1)),210),clearTimeout(o.current)}},(()=>i.createElement(i.Fragment,null,i.createElement(v.J.Button,{className:(0,l.Z)("inline-flex items-center","text-sm leading-6","font-normal")},i.createElement("span",{className:(0,l.Z)("text-gray-900 dark:text-gray-300","transition-colors duration-150 ease-in-out inline-block")},e.label),i.createElement(x.v,{"aria-hidden":"true",className:(0,l.Z)("transition duration-150 ease-out","-mr-2","text-gray-500 dark:text-gray-400",r?"translate-y-0.5":"")})),i.createElement(w.u,{as:i.Fragment,enter:"transition ease-in duration-150",enterFrom:"opacity-0 translate-y-3",enterTo:"opacity-100 translate-y-0",leave:"transition ease-out duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-3",show:r},i.createElement(v.J.Panel,{className:(0,l.Z)("absolute","z-50","top-12",{"-left-32 center-point":"About"===e.label,"left-point":"Code-Point"===e.label})},i.createElement(f.t2,{className:(0,l.Z)("absolute","top-[-9px]",{"left-1/2":"Code-Point"!==e.label,"left-12":"Code-Point"===e.label}),style:{transform:"translateX(-50%)"}}),i.createElement("div",{className:(0,l.Z)("overflow-hidden","rounded-xl","border dark:border-gray-700 border-gray-200","dark:shadow-menu-dark shadow-menu-light")},t))))))},O=({isPermanentDark:e})=>i.createElement(i.Fragment,null,g.map((t=>t.isPopover?i.createElement(E,{key:`navbar-${t.label}`,item:t},"Code-Point"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.Z)("grid grid-cols-2 gap-4","p-4","w-[672px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","py-4 px-7")},i.createElement(f.Bh,null),i.createElement("div",{className:(0,l.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))),"About"===t.label&&i.createElement(i.Fragment,null,i.createElement("div",{className:(0,l.Z)("grid gap-4","p-4","w-[336px]","dark:bg-gray-900 bg-white")},t.items.map((e=>i.createElement(b,{key:e.label,item:e})))),i.createElement("div",{className:(0,l.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex justify-between items-center","py-4 px-7")},i.createElement("div",{className:"dark:text-gray-400 text-gray-600"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031",className:(0,l.Z)("no-underline","hover:text-inherit")},i.createElement(f.ET,{className:"dark:text-gray-400 text-gray-500"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,null)),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,null)))))):i.createElement(y,{key:`navbar-${t.label}`,item:t,isPermanentDark:e}))));var k=r(2560),j=r(8368),P=r(9526),C=r(4837);function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=e=>i.createElement("svg",function(e){for(var t=1;t{const[c,s]=(0,i.useState)(null),u=null!=r?r:n.Z,m=void 0!==a&&void 0===t;return(0,i.useEffect)((()=>{const e=document.querySelector("html").getAttribute("data-theme");s(e)}),[]),i.createElement(u,function(e){for(var t=1;t{const r=(0,h.TH)();return i.useEffect((()=>{t(!1)}),[r]),i.createElement(B,{isModalOpen:e,setIsModalOpen:t},i.createElement(V,{className:(0,l.Z)("hidden landing-sm:block","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}),i.createElement(F,{className:(0,l.Z)("block landing-sm:hidden","overflow-auto","border border-gray-200 dark:border-gray-700 rounded-lg")}))},B=({isModalOpen:e,setIsModalOpen:t,children:r})=>i.createElement(w.u,{appear:!0,show:e,as:i.Fragment},i.createElement(k.V,{as:"div",className:"relative z-10",onClose:()=>t(!1)},i.createElement(w.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},i.createElement("div",{className:(0,l.Z)("fixed inset-0","bg-gray-0 dark:bg-gray-900","flex","flex-col")},i.createElement(M.T,null),i.createElement("div",{className:(0,l.Z)("flex items-center justify-between","p-4","landing-sm:px-8")},i.createElement(u.A,{className:"dark:text-gray-0 text-gray-900",onContextMenu:m.Q}),i.createElement("button",{type:"button",className:(0,l.Z)("rounded-lg","hover:brightness-105","active:scale-90","transition-transform duration-75 ease-in-out")},i.createElement(C.T,{className:"text-gray-900 dark:text-white",onClick:()=>t(!1)}))),i.createElement(w.u.Child,{as:i.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-75",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95"},i.createElement("div",{className:(0,l.Z)("flex-1","overflow-y-auto","px-4","pb-4")},r)))))),V=e=>i.createElement("div",{className:(0,l.Z)(e.className)},g.map(((e,t)=>{const r="icon"in e&&e.icon;return i.createElement("div",{key:t,className:(0,l.Z)("not-prose","p-4","border-t dark:border-gray-700 border-gray-200")},i.createElement(n.Z,{to:"href"in e?e.href:void 0,className:(0,l.Z)("appearance-none","block","no-underline","dark:text-gray-0 text-gray-900","font-bold")},i.createElement("div",{className:(0,l.Z)("flex items-center gap-2")},i.createElement("div",null,e.label),r&&i.createElement(r,null))),"items"in e&&i.createElement("div",{className:(0,l.Z)("mt-2","grid grid-cols-2 min-[800px]:grid-cols-3","gap-x-8 gap-y-4")},e.items.map((e=>i.createElement(b,{key:e.label,item:e})))))})),i.createElement(_,null),i.createElement(H,{id:"tablet"}),i.createElement(T,{id:"tablet"})),F=e=>i.createElement("div",{className:(0,l.Z)(e.className)},i.createElement("div",{className:"flex-grow"},g.map((e=>e.isPopover?i.createElement(j.p,{key:`modal-${e.label}`},(({open:t})=>i.createElement(i.Fragment,null,i.createElement(D,{component:j.p.Button,label:e.label,open:t}),i.createElement(j.p.Panel,{className:(0,l.Z)(t&&"pb-4",t&&"border-b border-gray-200 dark:border-gray-700")},e.items.map((e=>i.createElement(b,{key:e.label,item:e}))))))):i.createElement(D,{key:`modal-${e.label}`,label:e.label,href:e.href,icon:e.icon})))),i.createElement(_,null),i.createElement(H,{id:"phone"}),i.createElement(T,{id:"phone"})),T=e=>{var t;return i.createElement(n.Z,{to:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",className:"no-underline"},i.createElement("div",{className:(0,l.Z)("border-t dark:border-gray-700 border-gray-300","dark:bg-gray-800 bg-gray-100","flex items-center","p-4")},i.createElement(f.Bh,{id:(null===(t=e)||void 0===t?void 0:t.id)||""}),i.createElement("div",{className:(0,l.Z)("ml-4","dark:text-gray-400 text-gray-600")},"If you like PrepVerse, don\u2019t forget to star \u2b50 us on GitHub!")))},H=e=>i.createElement("div",{className:(0,l.Z)("bg-white dark:bg-gray-700 header-sm:bg-inherit","flex justify-between items-center","header-sm:flex-col header-sm:gap-4","header-sm:border-b border-gray-200 dark:border-gray-600","py-3 px-4")},i.createElement("p",{className:"text-gray-500 dark:text-gray-300 font-semibold"},"Join the party!"),i.createElement("div",{className:"flex gap-4"},i.createElement(n.Z,{to:"https://github.com/AkashSingh3031"},i.createElement(f.ET,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://linkedin.com/in/akashsingh3031"},i.createElement(f.nI,{className:"h-10 w-10"})),i.createElement(n.Z,{to:"https://twitter.com/akashsingh3031"},i.createElement(f.Zm,{className:"h-10 w-10"})))),_=()=>{const{colorMode:e,setColorMode:t}=(0,P.I)(),r=()=>{t("dark"===e?"light":"dark")},n="dark"===e,a="light"===e;return i.createElement("div",{className:(0,l.Z)("not-prose","p-4","flex items-center")},i.createElement("div",{className:(0,l.Z)("text-sm","mr-10","dark:text-gray-400 text-gray-600")},"Apperance"),i.createElement("button",{onClick:r,className:(0,l.Z)("mr-4","rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200","text-gray-500",a&&"bg-gray-50")},i.createElement(A.x,null),"Light"),i.createElement("button",{onClick:r,className:(0,l.Z)("rounded-full","appearance-none","select-none","flex items-center gap-2","h-[40px] px-3","text-sm","border dark:border-gray-700 border-gray-200",n?"text-gray-400":"text-gray-500",n&&"bg-gray-700")},i.createElement(L.c,null),"Dark"))};var I=r(41),$=r(4695),U=r(7990),G=r(2045);const z=()=>{const{loading:e,githubStarCountText:t}=(0,$.h)();return i.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,l.Z)("flex gap-2 items-center","font-normal","text-sm leading-6","text-gray-500 dark:text-gray-400","hover:text-gray-400 dark:hover:text-gray-300","hover:no-underline","transition-colors","duration-200","ease-in-out")},i.createElement(U.E,{className:(0,l.Z)("w-5 h-5")}),i.createElement("div",{className:(0,l.Z)("flex items-center","w-10 h-6")},e?i.createElement(G.$,{className:(0,l.Z)("w-5 h-5"),wrapperProps:{className:(0,l.Z)("mx-auto")}}):i.createElement("span",null,t)))},W=({trackProgress:e})=>{const[t,r]=(0,i.useState)(!1),{scrollYProgress:d}=(0,a.v)(),p=(0,o.H)(d,[.03,.95],["0%","100%"]);return i.createElement(i.Fragment,null,i.createElement(M.T,null),i.createElement("header",{className:(0,l.Z)("sticky","top-0","z-10")},i.createElement("div",{className:(0,l.Z)("absolute","top-0 left-0 right-0","backdrop-blur-[6px]","landing-md:backdrop-blur-[12px]","z-[-1]","bg-gray-0 dark:bg-gray-900","bg-opacity-80 dark:bg-opacity-80","pointer-events-none"),style:{top:"-20px",bottom:"-80px",WebkitMaskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))",maskImage:"linear-gradient(to bottom, transparent 0, transparent calc(0% + 20px), black calc(0% + 20px), black calc(100% - 80px), transparent calc(100% - 80px))"}}),i.createElement("div",{className:(0,l.Z)("relative","z-[1]","p-4","landing-sm:px-8","landing-md:py-5")},i.createElement("div",{className:(0,l.Z)("mx-auto","flex","items-center","justify-between","max-w-[896px]","landing-lg:max-w-[1200px]")},i.createElement("div",{className:(0,l.Z)("w-[130px]","landing-lg:w-[200px]")},i.createElement(n.Z,{to:"/",onContextMenu:m.Q},i.createElement(u.A,{className:"text-gray-900 dark:text-gray-0"}))),i.createElement("button",{type:"button",className:(0,l.Z)("text-gray-900 dark:text-gray-0","block landing-md:hidden"),onClick:()=>r(!0)},i.createElement(s.U,null)),i.createElement("div",{className:(0,l.Z)("hidden landing-md:flex","flex-1","items-center","gap-8")},i.createElement(O,null)),i.createElement("div",{className:(0,l.Z)("hidden landing-md:flex","items-center","justify-end","gap-4","w-[130px]","landing-lg:w-[200px]")},i.createElement(z,null),i.createElement(I.m,null)),i.createElement(R,{isModalOpen:t,setIsModalOpen:r}))),e&&i.createElement("div",{className:(0,l.Z)("w-full","h-0.5","translate")},i.createElement(c.E.div,{className:(0,l.Z)("h-full","bg-refine-blue"),style:{width:p}}))))}},3280:(e,t,r)=>{"use strict";r.d(t,{Xm:()=>c,ae:()=>a,iA:()=>o});var n=r(6010),l=r(7294);const a="preferred-full-table-width",o=e=>l.createElement("div",{className:(0,n.Z)("table-container")},l.createElement("table",e)),c=({children:e})=>l.createElement("div",{className:"table-full-width"},e)},41:(e,t,r)=>{"use strict";r.d(t,{L:()=>u,m:()=>i});var n=r(7294),l=r(6010),a=r(9526),o=r(5214),c=r(7109);const i=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.I)();return n.createElement("button",{type:"button",className:(0,l.Z)("appearance-none","focus:outline-none","relative","w-10 h-10","rounded-full","border","border-solid","border-gray-300 dark:border-gray-700","text-gray-500","transition-colors","duration-150","ease-in-out","overflow-hidden","flex-shrink-0","group",e),onClick:()=>{r("dark"===t?"light":"dark")}},n.createElement("div",{className:(0,l.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","translate-y-0","dark:-translate-y-10","duration-200","ease-in-out","transition-transform")},n.createElement(o.x,null)),n.createElement("div",{className:(0,l.Z)("absolute","w-full h-full","flex items-center justify-center","flex-shrink-0","top-10","-translate-y-10","dark:translate-y-0","duration-200","ease-in-out","transition-transform")},n.createElement(c.c,null)))},s=[{name:"light",icon:o.x,label:"Light"},{name:"dark",icon:c.c,label:"Dark"}],u=({className:e})=>{const{colorMode:t,setColorMode:r}=(0,a.I)();return n.createElement("div",{className:(0,l.Z)("flex","items-center","gap-4","justify-start",e)},s.map((({name:e,label:a,icon:o})=>n.createElement("button",{type:"button",key:e,className:(0,l.Z)("appearance-none","focus:outline-none","py-1","pl-1.5","pr-3","flex","items-center","justify-center","gap-1","rounded-[40px]","text-gray-400","border border-solid","border-gray-200","dark:border-gray-600",t===e&&"bg-gray-100 dark:bg-gray-700"),onClick:()=>{r(e)}},n.createElement(o,{className:(0,l.Z)("w-4 h-4")}),n.createElement("span",{className:(0,l.Z)("text-sm")},a)))))}},1526:(e,t,r)=>{"use strict";r.d(t,{L:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{v:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{c:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{I:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{_:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{p:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{E:()=>o,L:()=>c});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e){for(var t=1;tn.createElement("svg",a({width:12,height:12,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.053 0A10.904 10.904 0 0 0 3.89 2.685 11.34 11.34 0 0 0 .142 9.472a11.48 11.48 0 0 0 1.456 7.65 11.087 11.087 0 0 0 5.964 4.86c.556.103.752-.25.752-.547v-1.918C5.23 20.202 4.58 18 4.58 18a3.012 3.012 0 0 0-1.227-1.655c-.997-.692.081-.692.081-.692.35.05.683.18.975.382.293.202.536.469.713.78.15.278.352.523.595.721a2.312 2.312 0 0 0 2.618.221c.042-.57.283-1.105.678-1.509-2.454-.284-5.03-1.253-5.03-5.539a4.415 4.415 0 0 1 1.132-3.025A4.194 4.194 0 0 1 5.224 4.7s.928-.305 3.036 1.156c1.81-.508 3.72-.508 5.531 0 2.108-1.46 3.03-1.156 3.03-1.156.406.936.455 1.993.135 2.963a4.415 4.415 0 0 1 1.132 3.026c0 4.334-2.582 5.282-5.043 5.538.264.271.468.597.598.955.13.358.182.741.155 1.122V21.4c0 .367.196.65.759.54a11.093 11.093 0 0 0 5.88-4.878 11.481 11.481 0 0 0 1.419-7.6 11.34 11.34 0 0 0-3.71-6.746A10.907 10.907 0 0 0 11.053 0Z",fill:"currentColor"})),c=e=>n.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.066.001a11.91 11.91 0 0 1 7.745 2.966 12.326 12.326 0 0 1 4.032 7.33 12.46 12.46 0 0 1-1.54 8.245 12.088 12.088 0 0 1-6.406 5.314l-.105.037-.11.021c-.508.1-1.232.093-1.83-.422-.577-.498-.681-1.166-.681-1.565v-3.008l.004-.053a1.102 1.102 0 0 0-.062-.453 1.058 1.058 0 0 0-.235-.377l-.839-.86-.863.882a.802.802 0 0 0-.224.502l-.015.217v3.183c0 .434-.14 1.029-.628 1.492-.541.514-1.246.62-1.864.505l-.108-.02-.104-.035a12.082 12.082 0 0 1-6.498-5.296 12.457 12.457 0 0 1-1.58-8.298c.45-2.86 1.891-5.471 4.073-7.375A11.909 11.909 0 0 1 12.05.001h.016Zm-10.43 10.54a10.957 10.957 0 0 0 1.39 7.303 10.58 10.58 0 0 0 5.693 4.638c.53.099.717-.238.717-.522v-1.83c-.588.13-1.083.15-1.5.1a2.95 2.95 0 0 1-.542-.117 2.551 2.551 0 0 1-.422-.176 2.362 2.362 0 0 1-.82-.72c-.208-.294-.28-.535-.28-.535a2.876 2.876 0 0 0-1.17-1.58l-.016-.01c-.925-.65.093-.65.093-.65.106.015.21.038.313.068l.017.005a2.172 2.172 0 0 1 .962.603c.122.13.23.276.319.433a2.29 2.29 0 0 0 .68.775h.002s0 .001 0 0a2.211 2.211 0 0 0 2.385.124v-.014a2.302 2.302 0 0 1 .647-1.427 8.754 8.754 0 0 1-1.625-.328 4.865 4.865 0 0 1-1.416-.695 3.883 3.883 0 0 1-.432-.365c-.8-.786-1.328-2.002-1.328-3.899a4.214 4.214 0 0 1 1.08-2.887 4.003 4.003 0 0 1 .104-2.848s.886-.291 2.898 1.103a9.762 9.762 0 0 1 5.28 0c2.011-1.393 2.891-1.103 2.891-1.103.388.893.434 1.902.13 2.828a4.214 4.214 0 0 1 1.08 2.888c0 3.166-1.444 4.44-3.174 4.972a8.617 8.617 0 0 1-1.64.314 2.558 2.558 0 0 1 .699 1.425c.026.184.033.371.02.558v2.955c0 .35.187.62.724.515a10.588 10.588 0 0 0 5.613-4.656 10.958 10.958 0 0 0 1.354-7.254 10.824 10.824 0 0 0-3.541-6.439 10.41 10.41 0 0 0-6.77-2.592 10.408 10.408 0 0 0-6.837 2.563 10.824 10.824 0 0 0-3.578 6.478ZM16.374 7.8a8.003 8.003 0 0 0-.856.524l-.58.401-.679-.19a8.262 8.262 0 0 0-4.469 0l-.68.19-.58-.402a7.982 7.982 0 0 0-.846-.519c.019.186.059.37.12.549l.282.832-.588.653a2.714 2.714 0 0 0-.696 1.86v.024c0 1.724.503 2.513.998 2.937.563.481 1.397.736 2.476.86l1.567.182 1.954-.204c1.082-.112 1.912-.358 2.47-.833.492-.418.999-1.209.999-2.96v-.026a2.714 2.714 0 0 0-.696-1.86l-.582-.647.273-.826c.058-.178.096-.36.113-.545Z",clipRule:"evenodd"}))},3833:(e,t,r)=>{"use strict";r.d(t,{U:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{y:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{x:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{O2:()=>B,v4:()=>j,XC:()=>O,Kj:()=>m,TA:()=>a,ET:()=>y,Bh:()=>g,wI:()=>c,nI:()=>v,dd:()=>p,nm:()=>T,t2:()=>L,ty:()=>s,Zm:()=>x,wW:()=>C});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",M(function(e){for(var t=1;tn.createElement("svg",R(function(e){for(var t=1;t{const{colorMode:t}=(0,V.I)();return n.createElement("div",{className:(0,S.Z)("relative","flex","items-center","justify-center","rounded-full","overflow-hidden","p-px","dark:bg-[#194b3a] bg-[#b7dbff]"),style:{transform:"translateZ(0)"}},n.createElement("div",{className:(0,S.Z)("z-[1]","absolute","inset-0","dark:bg-new-badge-border-dark bg-new-badge-border-light","animate-new-badge-border")}),n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{F:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{A:()=>a});var n=r(7294);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a=e=>n.createElement("svg",function(e){for(var t=1;t{"use strict";r.d(t,{z:()=>s});var n=r(7294),l=r(6010),a=r(1984);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const s=e=>{var{children:t,href:r,className:s,onClick:u,buttonClassname:m}=e,d=i(e,["children","href","className","onClick","buttonClassname"]);const p=r?a.Z:"button";return n.createElement(p,c(function(e){for(var t=1;t{"use strict";r.d(t,{$:()=>i});var n=r(6010),l=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const i=e=>{var{className:t,wrapperProps:r}=e,a=c(e,["className","wrapperProps"]);return l.createElement("div",o({role:"status"},r),l.createElement("svg",o({"aria-hidden":"true",width:24,height:24,viewBox:"0 0 100 100",className:(0,n.Z)("text-gray-200 animate-spin dark:text-gray-600 fill-refine-blue",t),fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),l.createElement("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l.createElement("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})),l.createElement("span",{className:"sr-only"},"Loading..."))}},2496:(e,t,r)=>{"use strict";r.d(t,{T:()=>s});var n=r(6010),l=r(7294),a=r(6204);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){for(var t=1;tl.createElement("div",{className:(0,n.Z)("w-full h-12","relative","bg-top-announcement","not-prose","font-inter","z-top-announcement")},l.createElement("div",{className:(0,n.Z)("hidden lg:flex","w-full h-full","max-w-screen","overflow-hidden","border-b border-solid border-[#47ebeb26]","top-announcement-mask")},l.createElement("div",{className:(0,n.Z)("w-[1280px] h-full","mx-auto","flex","justify-between")},l.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},l.createElement(m,{style:{animationDelay:"1.5s"},className:(0,n.Z)("absolute","top-[2px]","right-[220px]"),id:"1"}),l.createElement(m,{style:{animationDelay:"1s"},className:(0,n.Z)("absolute","rotate-180","top-[8px] right-[100px]"),id:"2"}),l.createElement(d,{className:(0,n.Z)("absolute","right-[10px]"),id:"3"})),l.createElement("div",{className:(0,n.Z)("w-[calc(50%-300px)] h-full","relative")},l.createElement(m,{style:{animationDelay:"2s"},className:(0,n.Z)("absolute","rotate-180","top-[6px] right-[180px]"),id:"4"}),l.createElement(m,{style:{animationDelay:"0.5s"},className:(0,n.Z)("delay-[1300]","absolute","top-[2px]","right-[40px]"),id:"5"}),l.createElement(d,{className:(0,n.Z)("absolute","right-[-70px]"),id:"6"})))),l.createElement(u,null)),u=()=>l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank",rel:"noreferrer",className:(0,n.Z)("relative lg:absolute","px-2 lg:px-0","top-0","left-[50%]","translate-x-[-50%]","bg-top-announcement-text","h-full w-full lg:w-[780px]","flex items-center justify-center","text-white","text-xs sm:text-sm","text-center","no-underline","hover:no-underline","hover:text-white","not-prose")},l.createElement("div",{className:(0,n.Z)("ml-2","not-prose")},"For more updates follow","",l.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")},"@AkashSingh3031"),", on ",l.createElement("a",{href:"https://github.com/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",l.createElement("b",null,"GitHub")," "),"and",l.createElement("a",{href:"https://linkedin.com/in/akashsingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",l.createElement("b",null,"LinkedIn")," "),". ",l.createElement("br",null)," ",l.createElement(a.y,{className:"text-refine-red ml-2 inline leading-6"}),l.createElement("span",{className:(0,n.Z)("text-refine-cyan-alt hover:text-refine-cyan-alt","font-semibold","ml-2")}," ",l.createElement("a",{href:"https://github.com/sponsors/AkashSingh3031",target:"_blank",rel:"noreferrer noopener",className:(0,n.Z)("text-refine-link-light dark:text-refine-link-dark","text-xs content-4xl:text-sm")}," ",l.createElement("b",null,"Sponsorship")," "))," is now available.")),m=e=>l.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:80,height:40,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:40,r:40,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 40 -40 0 40 0)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0})))),d=e=>l.createElement("svg",i(c({xmlns:"http://www.w3.org/2000/svg",width:120,height:48,fill:"none"},e),{className:(0,n.Z)("animate-top-announcement-glow","opacity-1",e.className)}),l.createElement("circle",{cx:60,cy:24,r:60,fill:`url(#${e.id}-a)`,fillOpacity:.5}),l.createElement("defs",null,l.createElement("radialGradient",{id:`${e.id}-a`,cx:0,cy:0,r:1,gradientTransform:"matrix(0 60 -60 0 60 24)",gradientUnits:"userSpaceOnUse"},l.createElement("stop",{stopColor:"#47EBEB"}),l.createElement("stop",{offset:1,stopColor:"#47EBEB",stopOpacity:0}))))},8029:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),l=r(6010);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{var a;const o=null!==(a=p[e])&&void 0!==a?a:()=>null;var c;const i=null!==(c=f[e])&&void 0!==c?c:"tex-inherit";var s;const u=null!==(s=g[e])&&void 0!==s?s:"bg-inherit";return"simple"===e?n.createElement(h,{type:e,title:t},r):n.createElement("div",{className:(0,l.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6","refine-wider-container",u)},n.createElement("div",{className:(0,l.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","py-4","pr-4","pl-3","flex flex-col","gap-2 sm:gap-4")},(t||b[e])&&n.createElement("div",{className:(0,l.Z)("flex","items-center","gap-2","text-xs sm:text-base 2xl:text-base 2xl:leading-7","font-semibold",i)},n.createElement(o,null),n.createElement("span",{className:"uppercase"},null!==(m=null!=t?t:b[e])&&void 0!==m?m:"")),n.createElement("div",{className:(0,l.Z)("text-gray-0","text-base","last:mb-0")},r)));var m},h=({type:e,title:t,children:r})=>{var a;const o=null!==(a=f[e])&&void 0!==a?a:"tex-inherit";var c;const i=null!==(c=g[e])&&void 0!==c?c:"bg-inherit";return n.createElement("div",{className:(0,l.Z)("rounded-lg","admonition",`admonition-${e}`,"mb-6",i)},n.createElement("div",{className:(0,l.Z)("flex flex-col","gap-2",!t&&"pt-4")},t&&n.createElement("div",{className:(0,l.Z)("px-4","pt-4","text-sm","leading-5","-mt-0.5",o)},n.createElement("span",{className:"font-semibold"},null!=t?t:""),n.createElement("span",null,":")),n.createElement("div",{className:(0,l.Z)("text-gray-0","text-base","last:mb-0","px-4 pb-4","admonition-content")},r)))};function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w(e){for(var t=1;tn.isValidElement(e)&&"mdxAdmonitionTitle"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),a=n.createElement(n.Fragment,null,r.filter((e=>e!==l)));return{mdxAdmonitionTitle:l,rest:a}}(e.children);var l;return x(w({},e),{title:null!==(l=e.title)&&void 0!==l?l:t,children:r})}const j=e=>{const{children:t,type:r,title:l}=k(e);return n.createElement(y,{type:r,title:l},t)};function P(e){return"info-tip"===e.type?n.createElement(j,e):"additional"===e.type?n.createElement(j,x(w({},e),{type:"note",title:"ADDITIONAL INFO"})):"sourcecode"===e.type?n.createElement(j,x(w({},e),{icon:n.createElement(E,null),title:n.createElement("a",{href:e.path,target:"_blank",rel:"noreferrer",style:{marginLeft:"4px"}},"VIEW SOURCE CODE \u2192"),titleProps:{style:{marginBottom:"-4px"}}}),e.children):"create-example"===e.type?n.createElement(j,x(w({},e),{type:"caution",icon:n.createElement(O,null),title:n.createElement("span",{style:{marginLeft:"4px"}},"RUN IN YOUR LOCAL")}),e.children):n.createElement(n.Fragment,null,n.createElement(j,e))}},2892:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n=r(7294),l=r(7915),a=r(859),o=r(3812),c=r(6010),i=r(1984),s=r(1526),u=r(9658);const m="Struggling with internal tools?",d="Explore refine\u2019s limitless possibilities in crafting CRUD apps, CRM solutions, HR dashboards, and more!",p="https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/app-crm.png",f=({shouldShowBanner:e})=>(n.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&window.gtag("event","view_banner",{banner_name:"banner-sidebar",banner_text:m,banner_description:d,banner_image:p})}),[e]),n.createElement("div",{className:(0,c.Z)("flex","flex-col","gap-6","py-6","px-4","rounded-2xl","bg-banner-examples-sider-purple","not-prose")},n.createElement(i.Z,{to:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","w-full h-auto xl:h-[152px]","flex-shrink-0","rounded-md","overflow-hidden")},n.createElement("img",{src:p,alt:"refine App screenshot",loading:"lazy"})),n.createElement("h2",{className:(0,c.Z)("text-2xl font-semibold","text-gray-0")},m),n.createElement("p",{className:(0,c.Z)("text-base","text-gray-100")},d),n.createElement(u.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-2"),href:"https://s.refine.dev/blog-sidebar?ref=banner-sidebar",target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},"Try online"),n.createElement(s.L,{className:(0,c.Z)("ml-2","w-4","h-4")}))));var g=r(4080),b=r(2560),y=r(4837);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;t{const[r,l]=(0,n.useState)({scrollDepths:e,scrollY:0}),{scrollDepths:a,scrollY:o}=r;return(0,n.useEffect)((()=>{"undefined"!=typeof window&&0!==window.pageYOffset&&l((e=>w(v({},e),{scrollY:window.pageYOffset})))}),[]),(0,n.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>window.removeEventListener("scroll",n),n=()=>{const n=document.documentElement,o=document.body,c=n.scrollTop||o.scrollTop,i=n.scrollHeight||o.scrollHeight,s=c/(i-n.clientHeight)*100;if(a){const r=Math.min(...a,i);if(s>=r){const n=a.filter((e=>e!==r));0===n.length&&e(),t&&t({scrollY:r,scrollPercent:s,remainingDepths:n}),l({scrollY:r,scrollDepths:n})}}else l(w(v({},r),{scrollY:s}))};return window.addEventListener("scroll",n),e}),[a,o,r]),{scrollY:o}},E=(e,t)=>{const[r,l]=(0,n.useState)((()=>{if("undefined"==typeof window)return t;try{const r="undefined"!=typeof window?window.localStorage.getItem(e):void 0;return r?JSON.parse(r):t}catch(r){return console.log(r),t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;l(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]};var O=r(6775);const k=({title:e="Click here to discover my latest projects, skills, and achievements on my portfolio website. My journey into creativity begins now!",variant:t="purple",image:r={src:"https://github.com/AkashSingh3031.png",alt:"My Portfolio",href:"https://prepverse.github.io/portfolio"},button:l={text:"Explore Now",href:"https://prepverse.github.io/portfolio",onClick:void 0}})=>{var a,o,m,d;const{pathname:p}=(0,O.TH)(),[f,h]=(0,n.useState)(!1),[v,w]=E("banner-modal",null),k=(0,n.useRef)(!1),j=x();var P,C;return(0,n.useEffect)((()=>{"/blog/"!==p&&"/blog"!==p&&(k.current||f||j.scrollY>79&&j.scrollY<100&&(k.current=!0,9===v||null===v?(h(!0),w(0)):(w(v+1),k.current=!0)))}),[j.scrollY]),(0,n.useEffect)((()=>{f&&"undefined"!=typeof window&&void 0!==window.gtag&&window.gtag("event","view_banner",{banner_name:"banner-modal",banner_text:e,banner_image:r.src})}),[f]),n.createElement(g.u,{appear:!0,show:f,as:n.Fragment},n.createElement(b.V,{as:"div",className:"relative z-modal",onClose:()=>h(!1)},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement("div",{className:"fixed inset-0 bg-gray-900/70"})),n.createElement("div",{className:"fixed inset-0 overflow-y-auto"},n.createElement("div",{className:"flex min-h-full items-start justify-center"},n.createElement(g.u.Child,{as:n.Fragment,enter:"ease-out duration-75",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-75",leaveFrom:"opacity-100",leaveTo:"opacity-0"},n.createElement(b.V.Panel,{className:(0,c.Z)("w-full min-h-screen","flex flex-col justify-center items-center")},n.createElement("div",{className:(0,c.Z)("relative","rounded-3xl","max-w-[576px]","py-8","px-4 md:px-8","gray"===t&&"bg-banner-examples-modal-gray","purple"===t&&"bg-banner-examples-modal-purple")},n.createElement("div",{className:(0,c.Z)("flex","flex-col","items-center","gap-8","text-center","not-prose")},n.createElement(i.Z,{to:null!==(P=null===(a=r)||void 0===a?void 0:a.href)&&void 0!==P?P:null===(o=l)||void 0===o?void 0:o.href,target:"_blank",rel:"noopener noreferrer",className:(0,c.Z)("flex","h-auto xl:h-[192px]","flex-shrink-0","rounded-lg","overflow-hidden","focus:outline-none")},n.createElement("img",{className:(0,c.Z)("object-contain"),src:null===(m=r)||void 0===m?void 0:m.src,alt:null!==(C=null===(d=r)||void 0===d?void 0:d.alt)&&void 0!==C?C:e,loading:"lazy"})),n.createElement("p",{className:(0,c.Z)("text-2xl","font-semibold","gray"===t&&"bg-clip-text","gray"===t&&"text-transparent","gray"===t&&"bg-banner-examples-text","purple"===t&&"text-gray-0")},e),n.createElement(u.z,{className:(0,c.Z)("w-max"),buttonClassname:(0,c.Z)("!px-4","!py-4"),href:l.href,onClick:l.onClick,target:"_blank",rel:"noopener noreferrer"},n.createElement("div",{className:(0,c.Z)("text-gray-900","text-base","font-bold")},l.text),n.createElement(s.L,{className:(0,c.Z)("w-4","h-4")}))),n.createElement("button",{className:(0,c.Z)("absolute","top-2 right-2","w-8 h-8","flex items-center justify-center flex-shrink-0","text-gray-0","rounded-full","bg-gray-900/20"),onClick:()=>h(!1)},n.createElement(y.T,{className:"w-4 h-4"})))))))))};function j(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const P=e=>{const[t,r]=(0,n.useState)(!1),{children:i,toc:s}=e,u=j(e,["children","toc"]),{pathname:m}=(0,O.TH)(),d=x();return(0,n.useEffect)((()=>{t&&"/blog/"!==m&&"/blog"!==m&&(d.scrollY>20&&r(!0),d.scrollY<20&&r(!1))}),[d.scrollY]),n.createElement(l.j,u,n.createElement(a.f,{hasSticky:!0,trackProgress:!!s}),n.createElement("div",{className:(0,c.Z)("flex","justify-center","mx-auto","max-w-screen-blog-max","w-full")},n.createElement("div",{className:(0,c.Z)("relative","w-[264px]","pl-4","py-10 blog-sm:py-12 blog-md:py-16","hidden xl:block",t&&"opacity-100",!t&&"opacity-0","transition-opacity duration-300 ease-in-out")},n.createElement("div",{className:(0,c.Z)("sticky","w-[264px]","z-[1]","top-32","left-0")},n.createElement(f,{shouldShowBanner:t}))),n.createElement("div",{className:(0,c.Z)("refine-prose","flex-1","min-w-0","xl:px-8")},i),s&&n.createElement("div",{className:(0,c.Z)("w-[280px]","hidden blog-md:block","flex-shrink-0")},s)),n.createElement(o.U,null),n.createElement(k,null))}},1593:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var n=r(7294),l=r(6010),a=r(9712),o=r(5319),c=r(4185),i=r(2892);function s(){const{assets:e,metadata:t}=(0,c.C)(),{title:r,description:l,date:o,tags:i,authors:s,frontMatter:u}=t,{keywords:m}=u;var d,p;const f=null!==(p=null!==(d=u.social_image)&&void 0!==d?d:e.image)&&void 0!==p?p:u.image;return n.createElement(a.d,{title:r,description:l,keywords:m,image:f},n.createElement("meta",{property:"og:type",content:"article"}),n.createElement("meta",{property:"article:published_time",content:o}),s.some((e=>e.url))&&n.createElement("meta",{property:"article:author",content:s.map((e=>e.url)).filter(Boolean).join(",")}),i.length>0&&n.createElement("meta",{property:"article:tag",content:i.map((e=>e.label)).join(",")}))}var u=r(6775),m=r(7886);const d=({id:e,value:t,level:r,activeId:a,onIdChange:o})=>(n.useEffect((()=>{const t=document.getElementById(e);if(t){const r=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&o(e)}))}),{rootMargin:"0px 0px -80% 0px"});return r.observe(t),()=>{r.unobserve(t)}}}),[e]),n.createElement("a",{href:`#${e}`,className:(0,l.Z)("refine-toc-item",2===r&&"pl-3",3===r&&"pl-7",4===r&&"pl-11","py-2 pr-3",a===e&&" dark:bg-gray-700 bg-gray-100 text-gray-900 dark:text-gray-0 hover:text-gray-900",a!==e&&"dark:text-gray-500 hover:text-gray-900 text-gray-500","rounded-lg","transition-colors duration-200 ease-in-out","block","text-sm","leading-6","no-underline hover:no-underline"),dangerouslySetInnerHTML:{__html:t}})),p=e=>{(0,u.k6)();const t=(0,u.TH)(),{toc:r,hasTOC:a,activeId:o,setActiveId:c}=f(e.toc),i=e=>{var r;e!==`${null!==(r=t.hash)&&void 0!==r?r:""}`.replace("#","")&&(c(e),window.history.replaceState({},"",`#${e}`))};return n.createElement("div",{className:(0,l.Z)("hidden blog-md:block","w-full","sticky right-0 top-[67px]","max-w-[280px]","overflow-auto","h-[calc(100vh-67px)]","px-3","blog-md:py-16","border-l dark:border-l-gray-700 border-l-gray-100",!a&&"invisible")},n.createElement(m.$G,null),n.createElement("ul",{className:"list-none m-0 p-0"},r.map((e=>n.createElement("li",{key:e.id},n.createElement(d,{id:e.id,value:e.value,activeId:o,level:e.level,onIdChange:i}))))))},f=e=>{var t;const{hash:r}=(0,u.TH)(),l=`${r}`.replace("#",""),[a,o]=n.useState(l);n.useEffect((()=>{o(l)}),[l]);const c=(null===(t=e)||void 0===t?void 0:t.length)>0;return{toc:e,activeId:a,setActiveId:o,hasTOC:c}};function g({children:e}){const{metadata:t,toc:r}=(0,c.C)(),{relatedPosts:l}=t;return n.createElement(i.Z,{toc:n.createElement(p,{toc:r})},n.createElement(m.zS,null,e),n.createElement(m.gZ,{title:"Related Articles",posts:l}))}function b(e){const t=e.content;return n.createElement(c.n,{content:e.content,isBlogPostPage:!0},n.createElement(a.FG,{className:(0,l.Z)(o.k.wrapper.blogPages,o.k.page.blogPostPage)},n.createElement(s,null),n.createElement(g,null,n.createElement(t,null))))}},923:(e,t,r)=>{"use strict";r.d(t,{d:()=>L});var n=r(7294),l=r(358),a=r(5468),o=r(6016),c=r(3151),i=r(5489),s=r(3533),u=r(9238),m=r(6010),d=r(3746);function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function g(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const b=e=>{var{as:t}=e,r=g(e,["as"]);return n.createElement(t,f(function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const[r,l]=(0,n.useState)(!1),a=(0,n.useRef)(void 0),o=(0,n.useCallback)((()=>{try{navigator.clipboard.writeText(e).then((()=>{l(!0),a.current=window.setTimeout((()=>{l(!1)}),1e3)}))}catch(t){}}),[e]);return(0,n.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),n.createElement("button",{type:"button","aria-label":r?"Copied!":"Copy code to clipboard",title:"Copy code to clipboard",className:(0,m.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),onClick:o},n.createElement(h,{className:(0,m.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",r&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>n.createElement("svg",function(e){for(var t=1;tn.createElement("svg",function(e){for(var t=1;t{const r=t?x:O;return n.createElement("button",{type:"button",onClick:()=>e(),className:(0,m.Z)("w-6 h-6","flex justify-center items-center","bg-gray-200","dark:bg-gray-800","hover:bg-gray-300","dark:hover:bg-refine-react-dark-code","rounded","group","transition-[background-color] duration-200 ease-in-out"),"aria-label":"Toggle word wrap",title:"Toggle word wrap"},n.createElement(r,{className:(0,m.Z)("w-3 h-3","text-gray-500","dark:text-gray-400",t&&"rotate-[360deg]","transition-all duration-200 ease-in-out")}))};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P(e){for(var t=1;tn.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:12,height:14,viewBox:"0 0 12 14",fill:"none"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4.994V11.6A1.4 1.4 0 0 1 9.6 13H2.4A1.4 1.4 0 0 1 1 11.6V2.4A1.4 1.4 0 0 1 2.4 1h4.606a1.4 1.4 0 0 1 .99.41l2.594 2.594a1.4 1.4 0 0 1 .41.99ZM0 2.4A2.4 2.4 0 0 1 2.4 0h4.606a2.4 2.4 0 0 1 1.697.703l2.594 2.594A2.4 2.4 0 0 1 12 4.994V11.6A2.4 2.4 0 0 1 9.6 14H2.4A2.4 2.4 0 0 1 0 11.6V2.4ZM3.5 6a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3Z",clipRule:"evenodd"})),N=({children:e,icon:t=n.createElement(Z,null)})=>n.createElement("div",{className:(0,m.Z)("py-3","px-4","bg-gray-100 dark:bg-gray-700","text-gray-800","dark:text-gray-100","text-xs","flex items-center","gap-2","rounded-tl-lg","rounded-tr-lg")},t,e),S=({children:e,className:t="",metastring:r,title:l,showLineNumbers:a,language:p,icon:f,style:g})=>{const{prism:{defaultLanguage:y,magicComments:h}}=(0,o.L)();var w;const x=null!==(w=null!=p?p:(0,i.Vo)(t))&&void 0!==w?w:y,E=(0,c.p)(),O=(0,s.F)(),j=(0,i.bc)(r)||l,{lineClassNames:Z,code:S}=(0,i.nZ)(e,{metastring:r,language:x,magicComments:h}),D=null!=a?a:(0,i.nt)(r);return n.createElement(b,{as:"div",className:(0,m.Z)("refine-common-code-block",x&&`language-${x}`,"rounded-lg","bg-gray-200","dark:bg-gray-800","border","border-gray-300","dark:border-0","mb-6","relative","refine-wider-container"),style:g},j&&n.createElement(N,{icon:f},j),n.createElement("div",{className:(0,m.Z)("relative","pt-3","pb-0","not-prose")},n.createElement(d.ZP,C(P({},d.lG),{theme:E,code:S,language:null!=x?x:"text"}),(({className:e,tokens:t,getLineProps:r,getTokenProps:l})=>n.createElement("pre",{tabIndex:0,ref:O.codeBlockRef,className:(0,m.Z)(e,"bg-transparent","!mt-0","!mb-0","m-0","px-0","pt-0","font-jetBrains-mono","pb-3")},n.createElement("code",{className:(0,m.Z)("font-[inherit]","bg-transparent","inline-block","min-w-full")},t.map(((e,t)=>n.createElement(u.Z,{key:t,line:e,getLineProps:r,getTokenProps:l,classNames:(0,m.Z)(Z[t],"px-4","text-xs sm:text-sm 2xl:text-sm"),showLineNumbers:D})))))))),n.createElement("div",{className:(0,m.Z)("absolute",j?"top-2 right-2":"top-3 right-3","flex items-center gap-2")},(O.isEnabled||O.isCodeScrollable)&&n.createElement(k,{onClick:O.toggle,isEnabled:O.isEnabled}),n.createElement(v,{className:(0,m.Z)(),code:S})))};function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const L=e=>{var{children:t}=e,r=M(e,["children"]);const o=(0,l.Z)(),c=function(e){return n.Children.toArray(e).some((e=>(0,n.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),i="string"==typeof c?S:a.Z;return n.createElement(i,function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>Z});var n=r(7294),l=r(923),a=r(6010),o=r(8241),c=r(5772),i=r.n(c),s=r(7391);const u="playgroundPreview_jwe9";function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d({children:e,minHeight:t,url:r="http://localhost:3000",hasBottom:l=!1}){return n.createElement("div",{className:(0,a.Z)("flex","flex-col","h-full")},n.createElement("div",{className:(0,a.Z)("flex-shrink-0","rounded-tl-lg","rounded-tr-lg","border","border-gray-300 dark:border-gray-700","px-4 py-3","flex items-center justify-start","gap-2","bg-gray-100 dark:bg-gray-700","relative","text-gray-800 dark:text-gray-100","border-b-0")},n.createElement(p,{className:"w-4 h-4"}),n.createElement("div",{className:(0,a.Z)("text-xs")},`${r}`.replace(/^http(s?):\/\//,""))),n.createElement("div",{className:(0,a.Z)("flex-1","overflow-hidden","bg-gray-100 dark:bg-gray-700","border border-gray-300 dark:border-gray-700",!l&&"rounded-bl-lg rounded-br-lg",l&&"border-b-gray-300 dark:border-b-gray-900",l&&"border-b"),style:{minHeight:t}},e))}const p=e=>n.createElement("svg",function(e){for(var t=1;t{const[l,a]=n.useState(e),[o]=n.useState(t);n.useEffect((()=>{!l&&e&&a(!0)}),[e]),n.useEffect((()=>{if(o){const e=setTimeout((()=>{a(!0)}),o);return()=>clearTimeout(e)}}),[o]);const c=n.useMemo((()=>l&&"function"==typeof r?r():null),[l]);if(void 0!==r&&"function"!=typeof r)throw new Error("Conditional component requires a function as a child");return c};var g=r(6822),b=r(8764);function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.g.Buffer=r.g.Buffer||b.lW;const h=({query:e,code:t,css:r})=>{const{siteConfig:{customFields:l}}=(0,o.Z)(),[a,c]=n.useState(void 0),s=n.useCallback((async t=>{if("undefined"!=typeof window&&window.Worker){const n=new Worker(`${location.protocol}//${location.host}/workers/lz-worker.js`);n.onmessage=function({data:t}){t.compressed&&c(`${l.LIVE_PREVIEW_URL}?code=${t.compressed}${r?`&css=${i().encode(r)}`:""}${e?`${e}`:""}`),n.terminate()},n.postMessage({code:t})}}),[e]);return n.useEffect((()=>{s(t)}),[t,s]),a?n.createElement("iframe",{loading:"lazy",src:a,width:"100%",height:"100%",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):null},v=n.memo(h,((e,t)=>e.code===t.code&&e.query===t.query&&e.css===t.css)),w=e=>n.createElement("svg",function(e){for(var t=1;t{l?(i(!1),setTimeout((()=>{o((e=>!e)),setTimeout((()=>{i(!0)}),300)}),100)):(i(!1),o((e=>!e)),setTimeout((()=>{i(!0)}),300))}},n.createElement(w,{className:(0,a.Z)(l&&"rotate-180","transition-transform","duration-200","ease-in-out")}),n.createElement("span",{className:(0,a.Z)("text-base","block","overflow-hidden","h-6")},n.createElement("span",{className:(0,a.Z)("block",l&&"opacity-0","transition-opacity duration-200 ease-in-out")},"Show Code"),n.createElement("span",{className:(0,a.Z)("block","transition-transform duration-200 ease-in-out","bg-gray-100 dark:bg-gray-700",l&&"-translate-y-6")},"Hide Code"))),n.createElement("div",{className:(0,a.Z)("rounded-bl-lg","rounded-br-lg"),style:{maxHeight:l?c?"unset":"100vh":"0px",transition:"0.3s all ease-in-out",overflow:"hidden"},ref:r},n.createElement(Z,{language:"tsx",style:{marginBottom:0,marginRight:"0",marginLeft:"0",borderTopLeftRadius:"0",borderTopRightRadius:"0",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem"}},t)))}const E=({children:e,disableScroll:t,previewHeight:r,hideCode:l=!1,url:c="http://localhost:3000",previewOnly:i=!1,tailwind:m=!1})=>{const p=String(e),{shared:b,sharedCss:y}=(0,g.dD)(),{visible:h}=(e=>{const t="// visible-block-start";let r=e.indexOf(t);r=r>0?r+t.length:0;let n=e.indexOf("// visible-block-end");n=n>0?n:e.length;const l=e.slice(0,r),a=e.slice(r,n).trimEnd().trimStart(),o=e.slice(n);return{visible:a,join:e=>`${l}\n${e}\n${o}`}})(`\n ${null!=b?b:""}\n ${p}\n `.replace(/\n$/,"")),w=n.useRef(null),E=((e,t="0px")=>{const[r,l]=n.useState(!1);return n.useEffect((()=>{var r;const n=null===(r=e)||void 0===r?void 0:r.current,a=new IntersectionObserver((([e])=>{l(e.isIntersecting)}),{rootMargin:t});return n&&a.observe(n),()=>{n&&a.unobserve(n)}}),[]),r})(w),{siteConfig:{customFields:O}}=(0,o.Z)(),{isLast:k}=(0,s.E)();return n.createElement("div",{className:(0,a.Z)("overflow-hidden","mb-6","refine-wider-container")},n.createElement(n.Fragment,null,n.createElement(d,{url:c,hasBottom:!i},n.createElement("div",{className:(0,a.Z)(u,"live-editor-wrapper"),style:{maxHeight:r,minHeight:r,overflow:t?"hidden":void 0,position:"relative"},ref:w},k?n.createElement(f,{if:E,maxWait:3e3},(()=>n.createElement(v,{code:`\n${null!=b?b:""}\n${p}\n `,css:y,query:`${t?"&disableScroll=true":""}${m?"&tailwind=true":""}`}))):n.createElement("div",{style:{height:"100%",minHeight:"inherit",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"1.25rem"}},n.createElement("span",null,"Live previews only work with the latest documentation.")))),!i&&n.createElement(x,{hidden:l,code:h})))},O=n.memo(E,((e,t)=>String(e.children)===String(t.children))),k=({children:e})=>{const{setShared:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},j=n.memo(k,((e,t)=>String(e.children)===String(t.children))),P=({children:e})=>{const{setSharedCss:t}=(0,g.dD)();return n.useEffect((()=>(t(String(e)),()=>{t(void 0)})),[e]),null},C=n.memo(P,((e,t)=>String(e.children)===String(t.children)));function Z(e){var t,r;return e.live&&e.live&&(null===(r=e.className)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"language-css"))?n.createElement(C,e):e.shared&&e.live?n.createElement(j,e):e.live?n.createElement(O,e):n.createElement(l.d,e)}},258:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(7294),l=r(1984),a=r(7785);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}function i(e){var t;const r=(e=>{var t,r,n,l,o,c;let i="noopener noreferrer nofollow";const s=(0,a.Z)(e);return(null===(r=e)||void 0===r||null===(t=r.includes)||void 0===t?void 0:t.call(r,"github.com/refinedev/refine"))&&(i="noopener"),(s||(null===(l=e)||void 0===l||null===(n=l.includes)||void 0===n?void 0:n.call(l,"refine.dev")))&&(i="noopener dofollow"),(s||(null===(c=e)||void 0===c||null===(o=c.includes)||void 0===o?void 0:o.call(c,"reactadminpanel.com")))&&(i="noopener dofollow"),i})(null===(t=e)||void 0===t?void 0:t.href);return n.createElement(l.Z,c(function(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>Ve});var n=r(7693),l=r(7294),a=r(6010),o=r(9658);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const i=e=>l.createElement("svg",function(e){for(var t=1;t{var d,p,f,g,b,y;return l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&m&&window.gtag("event","view_banner",{banner_name:m,banner_text:e,banner_description:t,banner_image:r.src})}),[m]),l.createElement("div",{className:(0,a.Z)("relative","rounded-2xl","p-6","flex","flex-col 2xl:flex-row","items-center","gap-4 2xl:gap-10","not-prose","gray"===n&&"bg-banner-examples-gray","purple"===n&&"bg-banner-examples-purple")},l.createElement(u.Z,{to:null!==(b=null===(d=r)||void 0===d?void 0:d.href)&&void 0!==b?b:null===(p=c)||void 0===p?void 0:p.href,target:"_blank",rel:"noopener noreferrer",className:(0,a.Z)("flex","max-w-[360px]","h-auto","flex-shrink-0","rounded-lg","overflow-hidden")},l.createElement("img",{src:null===(f=r)||void 0===f?void 0:f.src,alt:null!==(y=null===(g=r)||void 0===g?void 0:g.alt)&&void 0!==y?y:e,loading:"lazy"})),l.createElement("div",{className:(0,a.Z)("flex","flex-col","gap-6","justify-center 2xl:justify-start","items-center 2xl:items-start","text-center 2xl:text-start","not-prose")},e&&l.createElement("h2",{className:(0,a.Z)("text-xl md:text-2xl","text-gray-0")},e),l.createElement("p",{className:(0,a.Z)("text-sm md:text-base","text-gray-100")},t),l.createElement(o.z,{className:(0,a.Z)("w-max"),buttonClassname:(0,a.Z)("!px-4","!py-2"),href:c.href,onClick:c.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.Z)("text-gray-900","text-sm md:text-base","font-bold")},c.text),l.createElement(s.L,{className:(0,a.Z)("ml-1 md:ml-2","w-[14px] h-[14px]","md:w-4 md:h-4")}))),l.createElement(i,{className:(0,a.Z)("absolute","bottom-2","right-2")}))},d=({title:e="Open-source Retool alternative for enterprise",description:t="Build React-based internal tools, dashboards & B2B apps with unmatched flexibility",button:r={text:"Discover Refine",href:"https://s.refine.dev/blog-retool?ref=banner-retool-alternative",onClick:void 0}})=>(l.useEffect((()=>{"undefined"!=typeof window&&void 0!==window.gtag&&e&&t&&window.gtag("event","view_banner",{banner_name:"banner-retool-alternative",banner_text:e,banner_description:t})}),[e,t]),l.createElement("div",{className:(0,a.Z)("relative","rounded-2xl","p-8","flex","flex-col","justify-center","items-center","not-prose","bg-banner-examples-gray")},l.createElement("h2",{className:(0,a.Z)("text-2xl","font-semibold","bg-banner-examples-text","bg-clip-text","text-transparent")},e),l.createElement("p",{className:(0,a.Z)("mt-2","text-sm","text-gray-300")},t),l.createElement(o.z,{className:(0,a.Z)("mt-9"),href:r.href,onClick:r.onClick,target:"_blank",rel:"noopener noreferrer"},l.createElement("div",{className:(0,a.Z)("text-gray-900","text-base","font-bold")},r.text)),l.createElement(i,{className:(0,a.Z)("absolute","bottom-2","right-2")})));var p=r(950);const f=[{description:"Refine is a React Framework used by over monthly 15K developers for building enterprise internal tools, dashboards, and B2B apps",image:{src:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/banners/banner-tweet.jpg",alt:"X tweet about Refine",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},button:{text:"Learn more",href:"https://s.refine.dev/blog-twitter?ref=banner-twitter"},bannerName:"banner-twitter"}],g=Math.floor(Math.random()*(f.length+1));var b=r(1915),y=r(7328);const h=({image:e,title:t,description:r,isDark:n})=>{let a;a="refineNew"===r?l.createElement("div",null," ",l.createElement("a",{href:"https://s.refine.dev/new-blog",target:"_blank"},"refine.new")," ","enables you to create React-based, headless UI enterprise applications within your browser that you can preview, tweak and download instantly.",l.createElement("br",null),l.createElement("br",null),"\ud83d\ude80 By visually combining options for your preferred \u2728",l.createElement("b",null," React platform,")," \u2728 ",l.createElement("b",null,"UI framework"),", \u2728"," ",l.createElement("b",null,"backend connector"),", and \u2728 ",l.createElement("b",null,"auth provider"),"; you can create tailor-made architectures for your project in seconds. It feels like having access to thousands of project templates at your fingertips, allowing you to choose the one that best suits your needs!",l.createElement("br",null),l.createElement("br",null),l.createElement("br",null)):null!=r?r:l.createElement("div",null,"Meet the headless, React-based solution to build sleek"," ",l.createElement("b",null,"CRUD")," applications. With refine, you can be confident that your codebase will always stay clean and boilerplate-free.",l.createElement("br",null),l.createElement("br",null),"Try"," ",l.createElement("a",{href:"https://github.com/AkashSingh3031/The-Complete-FAANG-Preparation",target:"_blank"},"PrepVerse")," ","to rapidly build your next ",l.createElement("b",null,"CRUD")," project, whether ","it's"," ","an admin panel, dashboard, internal tool or storefront.");const o=null!=e?e:"https://refine.ams3.cdn.digitaloceanspaces.com/website/static/img/generic_banner.png";o.startsWith("http")||o.startsWith("/");return l.createElement("a",{href:"https://s.refine.dev/hackathon2",target:"_blank",rel:"noreferrer"},l.createElement("img",{src:"https://refine.ams3.cdn.digitaloceanspaces.com/hackathon-2/hackathon_cover.png"}))};var v=r(6534),w=r(2076),x=r(1446),E=r(7790);function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=e=>l.createElement("svg",function(e){for(var t=1;t{var t,r,n;const o=l.useRef(!1),{id:c}=(0,x.x)(),[i,s]=l.useState(!1),{items:u}=(0,E.wG)(),{reward:m}=(0,w.w5)(`checklist-${c}`,"confetti",{angle:90,elementCount:120,startVelocity:30,decay:.95,spread:100,position:"absolute",lifetime:150}),d=null===(n=u.find((e=>e.id===c)))||void 0===n||null===(t=(r=n.checklist).every)||void 0===t?void 0:t.call(r,(e=>e.checked));return l.useEffect((()=>{setTimeout((()=>{o.current=!0}),1e3)}),[]),l.useEffect((()=>{!i&&d&&o.current&&(s(!0),m())}),[d,i]),l.createElement("div",{className:(0,a.Z)("rounded-lg","border-l-gray-400 dark:border-l-gray-600","dark:bg-gray-800 bg-gray-50")},l.createElement("div",{className:(0,a.Z)("border-l-4","border-l-solid","border-l-inherit","rounded-tl-lg","rounded-bl-lg","p-4","flex flex-col")},l.createElement("div",{className:"border-b border-gray-400 dark:border-gray-500 border-opacity-50 dark:border-opacity-50"},l.createElement("div",{className:(0,a.Z)("not-prose","mt-0 mb-4","flex items-center","gap-2")},l.createElement(k,{className:(0,a.Z)("w-4 h-4","dark:text-gray-100 text-gray-800")}),l.createElement("h3",{className:(0,a.Z)("m-0 p-0","font-semibold","dark:text-gray-100 text-gray-800","uppercase","text-base leading-6")},"Checklist"))),l.createElement("div",null,e),l.createElement("div",{className:"flex items-center justify-center"},l.createElement("div",{id:`checklist-${c}`}))))};function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>l.createElement("svg",function(e){for(var t=1;t{var r,n,o,c;const{id:i}=(0,x.x)(),{items:s,toggle:u}=(0,E.wG)(),m=null===(r=null===(c=s.find((e=>e.id===i)))||void 0===c||null===(n=(o=c.checklist).find)||void 0===n?void 0:n.call(o,(e=>e.id===t)))||void 0===r?void 0:r.checked;return l.createElement("label",{className:(0,a.Z)("mt-4","flex","items-center justify-start","flex-nowrap","gap-2","cursor-pointer")},l.createElement("div",{className:"flex-shrink-0"},l.createElement("button",{type:"button",onClick:()=>{u(i,t)},className:(0,a.Z)("appearance-none","flex items-center justify-center","w-4 h-4","rounded","border",{"border-gray-400 dark:border-gray-500":!m,"border-refine-react-dark-link dark:border-refine-react-dark-link":m,"bg-refine-react-dark-link":m})},m&&l.createElement(C,null))),l.createElement("div",{className:(0,a.Z)(m&&"line-through dark:text-gray-100 dark:text-opacity-50 text-gray-800 text-opacity-50",!m&&"text-gray-800 dark:text-gray-100")},e))};var N=r(923),S=r(5904);const D=({path:e})=>l.createElement(N.d,{language:"bash",title:"Run on your local",icon:l.createElement(S.F,null)},`npm create refine-app@latest -- --example ${e}`);var M=r(7990);const L=({path:e})=>l.createElement("div",{className:(0,a.Z)("refine-wider-container","py-2","px-2","text-base","font-sans","flex items-center","gap-2","rounded-lg","dark:bg-gray-700","bg-gray-100","mb-6")},l.createElement(M.E,{className:"ml-1.5 w-5 h-5 text-gray-800 dark:text-gray-100"}),l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:(0,a.Z)("text-base","leading-8","text-refine-react-light-link dark:text-refine-react-dark-link")},l.createElement("span",null,"View Source Code"))),A=({path:e})=>{const t=`https://github.com/PrepVerse/PrepVerse/tree/master/examples/${e}`;return l.createElement(L,{path:t})},R=({path:e,hideSource:t,hideLocal:r,hideSandbox:n})=>{const a=`${`https://codesandbox.io/embed/github/refinedev/refine/tree/master/examples/${e}`}?view=preview&theme=dark&runonclick=1&codemirror=1`;return l.createElement("div",null,!t&&l.createElement(A,{path:e}),!r&&l.createElement(D,{path:e}),!n&&l.createElement("iframe",{loading:"lazy",src:a,style:{width:"100%",height:"80vh",border:"0px",borderRadius:"8px",overflow:"hidden"},title:e,allow:"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking",sandbox:"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"}))};var B=r(8029),V=r(6153);const F=()=>l.createElement("div",null,l.createElement(B.Z,{type:"simple",title:"Good to know"},l.createElement(V.D,null,"\nAll the data related hooks (useTable, useForm, useList etc.) of Refine can be given some common properties like `resource`, `meta` etc.\n\nFor more information, refer to the [General Concepts documentation](/docs/guides-concepts/general-concepts).\n"))),T=({children:e,content:t})=>l.createElement("div",{className:(0,a.Z)("refine-info-badge","relative","group","inline-flex","align-middle")},e,l.createElement("div",{className:(0,a.Z)("absolute","-left-1","top-0","translate-x-0","-translate-y-0","scale-0","group-hover:scale-100","group-hover:-translate-y-full","transition-transform","origin-top-left","pb-2","w-60","pointer-events-none")},l.createElement("div",{className:(0,a.Z)("text-xs","text-gray-600","bg-gray-0","border","border-gray-200","shadow-sm","rounded","py-1","px-2","font-normal")},null!=t?t:"Check the guide for more information"))),H=({id:e,icon:t,color:r,text:n,description:o})=>{const c=(0,a.Z)("orange"===r&&(0,a.Z)("bg-refine-react-light-orange-bg dark:bg-refine-react-dark-orange","dark:bg-opacity-[0.15]","text-refine-react-light-orange dark:text-refine-react-dark-orange"),"green"===r&&(0,a.Z)("bg-refine-react-light-green-bg dark:bg-refine-react-dark-green","dark:bg-opacity-[0.15]","text-refine-react-light-green dark:text-refine-react-dark-green"),"purple"===r&&(0,a.Z)("bg-refine-react-light-purple-bg dark:bg-refine-react-dark-purple","dark:bg-opacity-[0.15]","text-refine-react-light-purple dark:text-refine-react-dark-purple"));return l.createElement(T,{content:o},l.createElement(u.Z,{to:`/docs/${e}`,className:(0,a.Z)("-mt-px","rounded-[10px]","inline-flex","items-center","justify-center","text-sm","no-underline","gap-1.5","[&>svg]:hover:scale-110","[&>svg]:transition-transform [&>svg]:duration-200 [&>svg]:ease-in-out",c)},t,n&&l.createElement("span",{className:"text-xs leading-[0.875rem]"},n)))};function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const I=e=>l.createElement("svg",function(e){for(var t=1;tl.createElement("svg",function(e){for(var t=1;tr?l.createElement("div",{className:(0,a.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-orange","bg-opacity-10","text-refine-orange","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"deprecated"):t?l.createElement("div",{className:(0,a.Z)("inline-flex","justify-center items-center","text-sm","text-refine-red","rounded-full","bg-refine-red bg-opacity-10","ml-1","w-6 h-6","align-middle")},null!=e?e:"\ufe61"):n?l.createElement("div",{className:(0,a.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-red","bg-opacity-10","text-refine-red","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"required"):o?l.createElement("div",{className:(0,a.Z)("inline-flex","text-sm","py-0.5","px-2","rounded-xl","bg-refine-green","bg-opacity-10","text-refine-green","tracking-wide","align-middle","font-normal","mr-1"),title:c},null!=e?e:"featured"):e?l.createElement("div",{className:(0,a.Z)("inline","text-gray-0","text-xs","leading-6","py-0.5","px-2","rounded","bg-gray-800","tracking-wide","align-middle","mr-1"),title:c},e):null,z="tooltip__Ymd",W="tooltipContainer_l6r7",Y="tooltipContent_UeXm",q="tooltipArrow_mOyh",J=({label:e,children:t})=>e?l.createElement("div",{className:`${z} group`},t,l.createElement("div",{className:`${W} group-hover:visible`},l.createElement("span",{className:Y},e),l.createElement("div",{className:q}))):l.createElement(l.Fragment,null,t);function K(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const X=({prop:e,overrides:t})=>{var r,n,a;const o=null!==(a=t[`${e.name}-required`])&&void 0!==a?a:e.required;var c;const i=null!==(c=t[`${e.name}-deprecated`])&&void 0!==c?c:null===(r=e.tags)||void 0===r?void 0:r.deprecated;var s,u;const m=null!==(u=null!==(s=t[`${e.name}-deprecated`])&&void 0!==s?s:null===(n=e.tags)||void 0===n?void 0:n.deprecated)&&void 0!==u?u:"",d=(0,l.useMemo)((()=>{const e="props-table--name";return i?`${e} props-table--name__deprecated`:e}),[e,t]),p=(0,l.useMemo)((()=>m?l.createElement(V.D,null,m):null),[e,t]);var f;return l.createElement(J,{label:p},l.createElement(l.Fragment,null,l.createElement("span",{className:d},null!==(f=t[`${e.name}-name`])&&void 0!==f?f:e.name),o&&l.createElement(G,{asterisk:!0})))},Q=({prop:e,overrides:t})=>{var r;const n=null!==(r=t[`${e.name}-type`])&&void 0!==r?r:e.type.name,a=n.split(" | "),o=a.length>1,c=a.some((e=>e.length>20)),i=/`/.test(n);return l.createElement(l.Fragment,null,i?l.createElement(V.D,null,n):c&&o?l.createElement(l.Fragment,null,a.map(((e,t)=>l.createElement("code",{className:"max-w-xs h-min",key:t},l.createElement(V.D,null,e))))):l.createElement("code",{className:"max-w-xs h-min"},l.createElement(V.D,null,n)))},ee=({prop:e,overrides:t})=>{var r,n;return l.createElement(V.D,null,null!==(n=null!==(r=t[`${e.name}-description`])&&void 0!==r?r:e.tags.description)&&void 0!==n?n:e.description)},te=({prop:e,overrides:t})=>{var r,n,a,o;const c=null===(r=e.tags)||void 0===r?void 0:r.default,i=(null===(n=e.defaultValue)||void 0===n?void 0:n.value)&&(null===(a=e.defaultValue)||void 0===a?void 0:a.value)!==c?null===(o=e.defaultValue)||void 0===o?void 0:o.value:void 0,s=t[`${e.name}-default`];return c||s?l.createElement(V.D,null,null!=s?s:c):l.createElement("div",{className:"flex flex-wrap gap-1"},void 0!==i?l.createElement("code",{className:"max-w-xs h-min"},l.createElement(V.D,null,i)):null)},re=({prop:e,overrides:t})=>l.createElement("td",null,l.createElement("div",{className:"flex items-center"},l.createElement(X,{prop:e,overrides:t}))),ne=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__type-cell"},l.createElement("div",{className:"flex flex-wrap gap-1"},l.createElement(Q,{prop:e,overrides:t}))),le=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__description-cell"},l.createElement(ee,{prop:e,overrides:t})),ae=({prop:e,overrides:t})=>l.createElement("td",{className:"props-table__default-value-cell"},l.createElement(te,{prop:e,overrides:t})),oe=e=>{var{module:t,hideDefaults:n,children:a}=e,o=K(e,["module","hideDefaults","children"]);const c=((e,t="@refinedev/")=>{const[n,a]=(0,l.useState)(null);return(0,l.useEffect)((()=>{let n=!1;return r(9624)(`./${e.startsWith(t)?e:`${t}${e}`}.json`).then((e=>{n||(n=!0,a(e.default))})).catch(console.warn),()=>{n=!0}}),[e]),n})(t),i=(0,l.useMemo)((()=>{var e;if(n)return!1;if(Object.keys(o).some((e=>e.endsWith("-default"))))return!1;var t;return!Object.values(null!==(t=null===(e=c)||void 0===e?void 0:e.props)&&void 0!==t?t:{}).some((e=>{var t;return null===(t=e.defaultValue)||void 0===t?void 0:t.value}))}),[o]);if(!c)return null;const s=[...Object.values(c.props)];return l.createElement("div",{className:"table-container"},l.createElement("table",{className:"props-table"},l.createElement("thead",null,l.createElement("tr",null,l.createElement("th",null,"Property"),l.createElement("th",null,"Type"),l.createElement("th",null,"Description"),i?null:l.createElement("th",null,"Default"))),l.createElement("tbody",null,s.map((e=>o[`${e.name}-hidden`]?null:l.createElement("tr",{key:e.name},l.createElement(re,{prop:e,overrides:o}),l.createElement(ne,{prop:e,overrides:o}),l.createElement(le,{prop:e,overrides:o}),i?null:l.createElement(ae,{prop:e,overrides:o})))))),a)};function ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ie=e=>l.createElement("svg",function(e){for(var t=1;t{const{current:r}=(0,se.n)();return e&&r===e?l.createElement(l.Fragment,null,t):null};var me=r(6928);function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pe(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}const fe=e=>{var t;const r=l.Children.toArray(e.children),n=r.find((e=>l.isValidElement(e)&&"summary"===(null===(t=e.props)||void 0===t?void 0:t.mdxType))),o=l.createElement(l.Fragment,null,r.filter((e=>e!==n)));return l.createElement(me.P,pe(function(e){for(var t=1;t=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}const he=e=>{var{children:t,className:r}=e,n=ye(e,["children","className"]);return l.createElement("summary",function(e){for(var t=1;t{const t=e.currentTarget,l=s.indexOf(t),a=o[l].value;a!==r&&(u(t),n(a))},d=e=>{var t,r;let n=null;switch(e.key){case"Enter":m(e);break;case"ArrowRight":{const t=s.indexOf(e.currentTarget)+1;var l;n=null!==(l=s[t])&&void 0!==l?l:s[0];break}case"ArrowLeft":{const t=s.indexOf(e.currentTarget)-1;var a;n=null!==(a=s[t])&&void 0!==a?a:s[s.length-1];break}}null===(r=n)||void 0===r||null===(t=r.focus)||void 0===t||t.call(r)};return l.createElement("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,a.Z)(e,"!my-0","flex-wrap","list-none","m-0 mb-0 mt-0","px-4","flex gap-4","bg-gray-100 dark:bg-gray-700","rounded-tl-lg rounded-tr-lg",!c&&"rounded-bl-lg rounded-br-lg","items-stretch")},o.map((({value:e,label:t,attributes:n})=>l.createElement("li",ke(Oe({role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,key:e,ref:e=>s.push(e),onKeyDown:d,onClick:m},n),{className:(0,a.Z)("!my-0","mx-0 mt-0","px-2 py-3","flex items-center justify-center","min-w-[60px]","cursor-pointer","transition-all duration-200 ease-in-out","border-b border-solid","select-none",i&&"!text-xs",!i&&"!text-base",r!==e&&"text-gray-800 dark:text-gray-100",r===e&&"text-refine-react-light-link dark:text-refine-react-dark-link",r!==e&&"hover:text-refine-react-light-link dark:hover:text-refine-react-dark-link",r!==e&&"border-b-transparent",r===e&&"border-b-refine-react-light-link dark:border-b-refine-react-dark-link",r!==e&&"hover:border-b-refine-react-light-link dark:hover:border-b-refine-react-dark-link")}),null!=t?t:e))))}function Pe({lazy:e,children:t,selectedValue:r,smallTabs:n}){const o=(Array.isArray(t)?t:[t]).filter(Boolean);if(e){const e=o.find((e=>e.props.value===r));return e?(0,l.cloneElement)(e,{className:"margin-top--md refine-tab-content"}):null}var c;return l.createElement("div",{className:"p-4"},o.map(((e,t)=>(0,l.cloneElement)(e,{key:t,hidden:e.props.value!==r,className:(0,a.Z)(null!==(c=e.props.className)&&void 0!==c?c:[],"refine-tab-content")}))))}function Ce(e){const t=(0,we.Y)(e),{wrapContent:r=!0}=e;return l.createElement("div",{className:(0,a.Z)("tabs-container","rounded-lg","border-gray-300 dark:border-gray-700",r?"border":"border-0","mb-6","refine-wider-container")},l.createElement(je,Oe({},e,t)),l.createElement(Pe,Oe({},e,t)))}function Ze(e){const t=(0,xe.Z)();return l.createElement(Ce,Oe({key:String(t)},e))}function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Se(e,t){if(null==e)return{};var r,n,l=function(e,t){if(null==e)return{};var r,n,l={},a=Object.keys(e);for(n=0;n=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}function De(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Me(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})),e}var Le;var Ae=r(3280),Re=r(551);function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ve=(Fe=function(e){for(var t=1;t{var{className:t}=e,r=Se(e,["className"]);return l.createElement("blockquote",function(e){for(var t=1;tg===f.length?l.createElement(p.Z,null,(()=>l.createElement(d,null))):l.createElement(p.Z,null,(()=>l.createElement(m,f[g]))),GuideBadge:({id:e,description:t="Please check the guide for more information on this topic.",text:r})=>l.createElement(H,{id:e,color:"green",icon:l.createElement(U,null),text:r,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Check the guide"),l.createElement("div",{className:"text-xs"},t))}),RouterBadge:({id:e="guides-concepts/routing/",description:t="This value can be inferred from the route. Click to see the guide for more information.",text:r})=>l.createElement(H,{id:e,color:"orange",text:r,icon:l.createElement(ie,null),description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Router Integrated"),l.createElement("div",{className:"text-xs"},t))}),GlobalConfigBadge:({id:e="core/refine-component",description:t="This value can be configured globally. Click to see the guide for more information.",text:r})=>l.createElement(H,{color:"purple",icon:l.createElement(I,null),text:r,id:e,description:l.createElement(l.Fragment,null,l.createElement("div",{className:"text-xs font-semibold mb-1"},null!=r?r:"Globally Configurable"),l.createElement("div",{className:"text-xs"},t))}),Image:e=>l.createElement("img",Me(function(e){for(var t=1;t{const t=e?`-- ${e}`:"",r={npm:`npm create refine-app@latest ${t}`,pnpm:`pnpm create refine-app@latest ${t}`,yarn:`yarn create refine-app@latest ${t}`};return l.createElement(Ze,null,l.createElement(Re.Z,{value:"npm",label:"npm",default:!0},l.createElement(N.d,{className:"language-bash"},r.npm)),l.createElement(Re.Z,{value:"pnpm",label:"pnpm"},l.createElement(N.d,{className:"language-bash"},r.pnpm)),l.createElement(Re.Z,{value:"yarn",label:"yarn"},l.createElement(N.d,{className:"language-bash"},r.yarn),l.createElement(V.D,null,"> Only supports yarn@1 version.")))},InstallPackagesCommand:({args:e,children:t})=>{const r={npm:`npm i ${e}`,pnpm:`pnpm add ${e}`,yarn:`yarn add ${e}`};return l.createElement(Ze,null,l.createElement(Re.Z,{value:"npm",label:"npm",default:!0},l.createElement(N.d,{className:"language-bash"},r.npm),t),l.createElement(Re.Z,{value:"pnpm",label:"pnpm"},l.createElement(N.d,{className:"language-bash"},r.pnpm),t),l.createElement(Re.Z,{value:"yarn",label:"yarn"},l.createElement(N.d,{className:"language-bash"},r.yarn),t))},FullTable:Ae.Xm},Te=null!=Te?Te:{},Object.getOwnPropertyDescriptors?Object.defineProperties(Fe,Object.getOwnPropertyDescriptors(Te)):function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}(Object(Te)).forEach((function(e){Object.defineProperty(Fe,e,Object.getOwnPropertyDescriptor(Te,e))})),Fe);var Fe,Te},3799:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});const n=()=>{var e,t;return null===(t=window.open("https://s.refine.dev/refine-brand-assets","_blank"))||void 0===t||null===(e=t.focus)||void 0===e?void 0:e.call(t)}}}]); \ No newline at end of file diff --git a/assets/js/main.7e4711c5.js b/assets/js/main.3e450b68.js similarity index 99% rename from assets/js/main.7e4711c5.js rename to assets/js/main.3e450b68.js index e5951ac6..547fe74b 100644 --- a/assets/js/main.7e4711c5.js +++ b/assets/js/main.3e450b68.js @@ -1,2 +1,2 @@ -/*! For license information please see main.7e4711c5.js.LICENSE.txt */ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[179],{4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ta});const a=function(){for(var e,t,n=0,a="";n{"use strict";n.d(t,{lX:()=>w,q_:()=>O,ob:()=>p,PP:()=>_,Ep:()=>f});var r=n(7462);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 m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(2177);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?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;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(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(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}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 m(){var e=null;var 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=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,g(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),g=s(n),h=0;h{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},8724:(e,t,n)=>{"use strict";n.r(t)},942:(e,t,n)=>{"use strict";n.r(t)},3272:(e,t,n)=>{"use strict";n.r(t)},6215:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.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=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(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}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[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 n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},7418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,o){for(var i,l,s=a(e),u=1;u{var r=n(5826);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(l+=e.slice(i,p),i=p+d.length,f)l+=f[1];else{var m=e[i],g=n[2],h=n[3],b=n[4],v=n[5],y=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=g&&null!=m&&m!==g,E="+"===y||"*"===y,S="?"===y||"*"===y,x=n[2]||c,C=b||v;r.push({name:h||o++,prefix:g||"",delimiter:x,optional:S,repeat:E,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+s(x)+"]+?"})}}return i{"use strict";n.d(t,{Z:()=>o});var r=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(/=d.reach);S+=E.value.length,E=E.next){var x=E.value;if(t.length>e.length)return;if(!(x instanceof a)){var C,O=1;if(v){if(!(C=o(k,S,e,b))||C.index>=e.length)break;var T=C.index,_=C.index+C[0].length,P=S;for(P+=E.value.length;T>=P;)P+=(E=E.next).value.length;if(S=P-=E.value.length,E.value instanceof a)continue;for(var A=E;A!==t.tail&&(P<_||"string"==typeof A.value);A=A.next)O++,P+=A.value.length;O--,x=e.slice(S,P),C.index-=S}else if(!(C=o(k,0,x,b)))continue;T=C.index;var L=C[0],R=x.slice(0,T),D=x.slice(T+L.length),N=S+x.length;d&&N>d.reach&&(d.reach=N);var j=E.prev;if(R&&(j=s(t,j,R),S+=R.length),u(t,j,O),E=s(t,j,new a(f,h?r.tokenize(L,h):L,y,L)),D&&s(t,E,D),O>1){var I={cause:f+","+m,reach:N};i(e,t,n,E.prev,S,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function l(){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 s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a"+o.content+""},r}(),a=r;r.default=r,a.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"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.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:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.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|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.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},a.languages.c.string],char:a.languages.c.char,comment:a.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:a.languages.c}}}}),a.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 a.languages.c.boolean,function(e){var t=/\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/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.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:t,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/}),e.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 n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.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:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,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}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={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|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:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.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}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.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:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.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:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.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:a.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"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.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")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],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"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+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){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,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}(a),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;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}(a),a.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:a.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+/},a.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;n0)){var l=f(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s=0&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var 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(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function u(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),f=Object.keys(c);return i=0,function e(t){for(var n=0;n=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=f[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),d=u(c[a]),p=o.substring(l+a.length),m=[];if(s&&m.push(s),m.push(d),p){var g=[p];e(g),m.push.apply(m,g)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var h=r.content;Array.isArray(h)?e(h):e([h])}}}(d),new e.Token(r,d,"language-"+r,t)}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 d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"==typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.languages.typescript}(a),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 e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return a})),RegExp(e,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(""):""},l=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.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/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],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),m=f.indexOf(p);if(m>-1){++a;var g=f.substring(0,m),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=f.substring(m+p.length),v=[];g&&v.push.apply(v,i([g])),v.push(h),b&&v.push.apply(v,i([b])),"string"==typeof u?l.splice.apply(l,[s,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},a.languages.objectivec=a.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 a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.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:/![sra](?=[:}]$)/,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:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.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/}),a.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 a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?: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|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)\b/i,{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,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const o=a},9901:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2885:(e,t,n)=>{const r=n(9901),a=n(9642),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(6500).resolve(t)],delete Prism.languages[e],n(6500)(t),o.add(e)}))}i.silent=!1,e.exports=i},6726:(e,t,n)=>{var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new 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=6726},6500:(e,t,n)=>{var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new 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=6500},9642:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(s),m=c;a(m);){for(var g in f={},m){var h=s[g];t(h&&h.modify,(function(e){e in d&&(f[e]=!0)}))}for(var b in d)if(!(b in c))for(var v in p(b))if(v in c){f[b]=!0;break}for(var y in m=f)c[y]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var f=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(f,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var f in s)d.push(l[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},2703:(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=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw 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:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(7418),o=n(3840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n