cortex-react-components 1.48.8 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-SPOYKTBR.mjs → chunk-22FHCZJD.mjs} +1 -1
- package/dist/{chunk-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
- package/dist/chunk-47K2T72E.mjs +1 -0
- package/dist/{chunk-WSTFVGI3.mjs → chunk-4J2HMR3M.mjs} +1 -1
- package/dist/{chunk-IXI56LEB.mjs → chunk-4Z5RNIJS.mjs} +1 -1
- package/dist/{chunk-7HDQBQPR.mjs → chunk-5KVZ63KQ.mjs} +1 -1
- package/dist/{chunk-2IKC7MAP.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-KLY2KDTY.mjs → chunk-6LTYVYSU.mjs} +1 -1
- package/dist/{chunk-4RWD4HBJ.mjs → chunk-7QQXXEMN.mjs} +1 -1
- package/dist/{chunk-IO222G5L.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/{chunk-DIPGFDJV.mjs → chunk-ATONX5RA.mjs} +1 -1
- package/dist/{chunk-PNKQJQMU.mjs → chunk-B4N2AO3O.mjs} +1 -1
- package/dist/{chunk-FBNFFUFR.mjs → chunk-D4NKFRUO.mjs} +1 -1
- package/dist/{chunk-GHBJK554.mjs → chunk-DESYC5BB.mjs} +1 -1
- package/dist/{chunk-GZQDMALT.mjs → chunk-EFL3B4LN.mjs} +1 -1
- package/dist/{chunk-NRBMAOTO.mjs → chunk-EQDX6HFN.mjs} +1 -1
- package/dist/chunk-GDC4MRMU.mjs +8 -0
- package/dist/{chunk-RZTXT4UD.mjs → chunk-GOMLTG5W.mjs} +1 -1
- package/dist/{chunk-UMILL4LR.mjs → chunk-H4T3LIAM.mjs} +1 -1
- package/dist/{chunk-W322CRC5.mjs → chunk-HZRY77JK.mjs} +1 -1
- package/dist/{chunk-I5EBXVLE.mjs → chunk-IJICNQTM.mjs} +1 -1
- package/dist/{chunk-ZHHBVNQN.mjs → chunk-K56DRD3X.mjs} +1 -1
- package/dist/{chunk-QMFZRG7O.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/{chunk-7FMMXR7S.mjs → chunk-KJBMLPHS.mjs} +1 -1
- package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
- package/dist/{chunk-U6S6B6W5.mjs → chunk-OWEP2U4M.mjs} +1 -1
- package/dist/{chunk-IBV34MLI.mjs → chunk-RHPFEIP4.mjs} +1 -1
- package/dist/chunk-RWIIPRAE.mjs +1 -0
- package/dist/chunk-SK4U3YXJ.mjs +1 -0
- package/dist/{chunk-3FZCKXNE.mjs → chunk-T3M2VHKT.mjs} +1 -1
- package/dist/{chunk-IK7RMA52.mjs → chunk-TM37LU2K.mjs} +1 -1
- package/dist/{chunk-QZA2ZGA2.mjs → chunk-U76FODRW.mjs} +1 -1
- package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
- package/dist/chunk-X6QN5C6U.mjs +1 -0
- package/dist/{chunk-PHIOOJWP.mjs → chunk-XB5YGSYM.mjs} +1 -1
- package/dist/{chunk-LNHR67FN.mjs → chunk-XBQBJTNI.mjs} +1 -1
- package/dist/chunk-XN3SGES2.mjs +1 -0
- package/dist/chunk-Y2ZFOTBY.mjs +1 -0
- package/dist/{chunk-K45M5INN.mjs → chunk-YSGJMEMD.mjs} +1 -1
- package/dist/{chunk-ZRZ4WCRW.mjs → chunk-YSREIOAY.mjs} +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.stories.mjs +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.stories.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.d.ts +1 -0
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealCard.stories.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/CustomerCard.mjs +1 -1
- package/dist/components/Cards/CustomerCard.stories.mjs +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/EventCard.stories.mjs +1 -1
- package/dist/components/Cards/HeroCard.mjs +1 -1
- package/dist/components/Cards/HeroCard.stories.mjs +1 -1
- package/dist/components/Cards/Image.mjs +1 -1
- package/dist/components/Cards/Image.stories.mjs +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/PricingCard.stories.mjs +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/CalendarView.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.d.ts +14 -0
- package/dist/components/Layouts/SlideShow.js +9 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +9 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +11 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Categories.stories.mjs +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/Filter.stories.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.stories.mjs +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/Container.mjs +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Link/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +14 -6
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/alert.mjs +1 -1
- package/dist/components/ui/alert.stories.mjs +1 -1
- package/dist/components/ui/avatar.mjs +1 -1
- package/dist/components/ui/avatar.stories.mjs +1 -1
- package/dist/components/ui/badge.mjs +1 -1
- package/dist/components/ui/badge.stories.mjs +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -1
- package/dist/components/ui/breadcrumb.stories.mjs +1 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/button.stories.mjs +1 -1
- package/dist/components/ui/calendar.mjs +1 -1
- package/dist/components/ui/card.mjs +1 -1
- package/dist/components/ui/card.stories.mjs +1 -1
- package/dist/components/ui/checkbox.mjs +1 -1
- package/dist/components/ui/command.mjs +1 -1
- package/dist/components/ui/command.stories.mjs +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/dialog.stories.mjs +1 -1
- package/dist/components/ui/dropdown-menu.mjs +1 -1
- package/dist/components/ui/dropdown-menu.stories.mjs +1 -1
- package/dist/components/ui/hover-card.mjs +1 -1
- package/dist/components/ui/hover-card.stories.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/input.mjs +1 -1
- package/dist/components/ui/input.stories.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
- package/dist/components/ui/inputs/text-input/index.mjs +1 -1
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
- package/dist/components/ui/label.mjs +1 -1
- package/dist/components/ui/label.stories.mjs +1 -1
- package/dist/components/ui/pagination.mjs +1 -1
- package/dist/components/ui/popover.mjs +1 -1
- package/dist/components/ui/popover.stories.mjs +1 -1
- package/dist/components/ui/scroll-area.mjs +1 -1
- package/dist/components/ui/scroll-area.stories.mjs +1 -1
- package/dist/components/ui/select.mjs +1 -1
- package/dist/components/ui/separator.mjs +1 -1
- package/dist/components/ui/separator.stories.mjs +1 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/sheet.stories.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/skeleton.mjs +1 -1
- package/dist/components/ui/skeleton.stories.mjs +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/components/ui/toast.mjs +1 -1
- package/dist/components/ui/toast.stories.mjs +1 -1
- package/dist/components/ui/toaster.mjs +1 -1
- package/dist/components/ui/toggle-group.mjs +1 -1
- package/dist/components/ui/toggle.mjs +1 -1
- package/dist/components/ui/toggle.stories.mjs +1 -1
- package/dist/components/ui/tooltip.mjs +1 -1
- package/dist/components/ui/tooltip.stories.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/images/hero/hero-3.mjs +1 -1
- package/dist/index.js +11 -7
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +9 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +9 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +9 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.mjs +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/styles/Colors.stories.mjs +1 -1
- package/dist/tests/payload.d.ts +300 -0
- package/dist/tests/payload.js +1 -0
- package/dist/tests/payload.mjs +1 -0
- package/dist/utils/AOSInit.mjs +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +2 -1
- package/dist/chunk-5RYSPKQA.mjs +0 -1
- package/dist/chunk-DZOQSEQ4.mjs +0 -1
- package/dist/chunk-NOXR37EQ.mjs +0 -1
- package/dist/chunk-TR26J3ET.mjs +0 -1
- package/dist/chunk-U3KISAHW.mjs +0 -4
|
@@ -5,4 +5,4 @@ import{b as oa,d as da}from"./chunk-S7OK7D5I.mjs";var aa=oa((J,U)=>{"use strict"
|
|
|
5
5
|
aos: MutationObserver is not supported on this browser,
|
|
6
6
|
code mutations observing has been disabled.
|
|
7
7
|
You may have to call "refreshHard()" by yourself.
|
|
8
|
-
`),p.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",p.easing),document.querySelector("body").setAttribute("data-aos-duration",p.duration),document.querySelector("body").setAttribute("data-aos-delay",p.delay),p.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?_(!0):p.startEvent==="load"?window.addEventListener(p.startEvent,function(){_(!0)}):document.addEventListener(p.startEvent,function(){_(!0)}),window.addEventListener("resize",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("orientationchange",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("scroll",(0,s.default)(function(){(0,X.default)(S,p.once)},p.throttleDelay)),p.disableMutationObserver||r.default.ready("[data-aos]",P),S)};h.exports={init:u,refresh:_,refreshHard:P}},function(h,e){},,,,,function(h,e){(function(n){"use strict";function o(a,u,d){function x(c){var j=M,$=N;return M=N=void 0,H=c,k=a.apply($,j)}function A(c){return H=c,v=setTimeout(I,u),Y?x(c):k}function D(c){var j=c-q,$=c-H,V=u-j;return L?P(V,T-$):V}function W(c){var j=c-q,$=c-H;return q===void 0||j>=u||j<0||L&&$>=T}function I(){var c=t();return W(c)?Q(c):void(v=setTimeout(I,D(c)))}function Q(c){return v=void 0,g&&M?x(c):(M=N=void 0,k)}function R(){v!==void 0&&clearTimeout(v),H=0,M=q=N=v=void 0}function G(){return v===void 0?k:Q(t())}function E(){var c=t(),j=W(c);if(M=arguments,N=this,q=c,j){if(v===void 0)return A(q);if(L)return v=setTimeout(I,u),x(q)}return v===void 0&&(v=setTimeout(I,u)),k}var M,N,T,k,v,q,H=0,Y=!1,L=!1,g=!0;if(typeof a!="function")throw new TypeError(y);return u=b(u)||0,m(d)&&(Y=!!d.leading,L="maxWait"in d,T=L?_(b(d.maxWait)||0,u):T,g="trailing"in d?!!d.trailing:g),E.cancel=R,E.flush=G,E}function l(a,u,d){var x=!0,A=!0;if(typeof a!="function")throw new TypeError(y);return m(d)&&(x="leading"in d?!!d.leading:x,A="trailing"in d?!!d.trailing:A),o(a,u,{leading:x,maxWait:u,trailing:A})}function m(a){var u=typeof a=="undefined"?"undefined":i(a);return!!a&&(u=="object"||u=="function")}function w(a){return!!a&&(typeof a=="undefined"?"undefined":i(a))=="object"}function s(a){return(typeof a=="undefined"?"undefined":i(a))=="symbol"||w(a)&&p.call(a)==f}function b(a){if(typeof a=="number")return a;if(s(a))return r;if(m(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=m(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=a.replace(z,"");var d=X.test(a);return d||B.test(a)?F(a.slice(2),d?2:8):O.test(a)?r:+a}var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},y="Expected a function",r=NaN,f="[object Symbol]",z=/^\s+|\s+$/g,O=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,B=/^0o[0-7]+$/i,F=parseInt,K=(typeof n=="undefined"?"undefined":i(n))=="object"&&n&&n.Object===Object&&n,C=(typeof self=="undefined"?"undefined":i(self))=="object"&&self&&self.Object===Object&&self,S=K||C||Function("return this")(),Z=Object.prototype,p=Z.toString,_=Math.max,P=Math.min,t=function(){return S.Date.now()};h.exports=l}).call(e,function(){return this}())},function(h,e){(function(n){"use strict";function o(t,a,u){function d(g){var c=E,j=M;return E=M=void 0,q=g,T=t.apply(j,c)}function x(g){return q=g,k=setTimeout(W,a),H?d(g):T}function A(g){var c=g-v,j=g-q,$=a-c;return Y?_($,N-j):$}function D(g){var c=g-v,j=g-q;return v===void 0||c>=a||c<0||Y&&j>=N}function W(){var g=P();return D(g)?I(g):void(k=setTimeout(W,A(g)))}function I(g){return k=void 0,L&&E?d(g):(E=M=void 0,T)}function Q(){k!==void 0&&clearTimeout(k),q=0,E=v=M=k=void 0}function R(){return k===void 0?T:I(P())}function G(){var g=P(),c=D(g);if(E=arguments,M=this,v=g,c){if(k===void 0)return x(v);if(Y)return k=setTimeout(W,a),d(v)}return k===void 0&&(k=setTimeout(W,a)),T}var E,M,N,T,k,v,q=0,H=!1,Y=!1,L=!0;if(typeof t!="function")throw new TypeError(i);return a=s(a)||0,l(u)&&(H=!!u.leading,Y="maxWait"in u,N=Y?p(s(u.maxWait)||0,a):N,L="trailing"in u?!!u.trailing:L),G.cancel=Q,G.flush=R,G}function l(t){var a=typeof t=="undefined"?"undefined":b(t);return!!t&&(a=="object"||a=="function")}function m(t){return!!t&&(typeof t=="undefined"?"undefined":b(t))=="object"}function w(t){return(typeof t=="undefined"?"undefined":b(t))=="symbol"||m(t)&&Z.call(t)==r}function s(t){if(typeof t=="number")return t;if(w(t))return y;if(l(t)){var a=typeof t.valueOf=="function"?t.valueOf():t;t=l(a)?a+"":a}if(typeof t!="string")return t===0?t:+t;t=t.replace(f,"");var u=O.test(t);return u||X.test(t)?B(t.slice(2),u?2:8):z.test(t)?y:+t}var b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i="Expected a function",y=NaN,r="[object Symbol]",f=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,X=/^0o[0-7]+$/i,B=parseInt,F=(typeof n=="undefined"?"undefined":b(n))=="object"&&n&&n.Object===Object&&n,K=(typeof self=="undefined"?"undefined":b(self))=="object"&&self&&self.Object===Object&&self,C=F||K||Function("return this")(),S=Object.prototype,Z=S.toString,p=Math.max,_=Math.min,P=function(){return C.Date.now()};h.exports=o}).call(e,function(){return this}())},function(h,e){"use strict";function n(b){var i=void 0,y=void 0,r=void 0;for(i=0;i<b.length;i+=1)if(y=b[i],y.dataset&&y.dataset.aos||(r=y.children&&n(y.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function l(){return!!o()}function m(b,i){var y=window.document,r=o(),f=new r(w);s=i,f.observe(y.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function w(b){b&&b.forEach(function(i){var y=Array.prototype.slice.call(i.addedNodes),r=Array.prototype.slice.call(i.removedNodes),f=y.concat(r);if(n(f))return s()})}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){};e.default={isSupported:l,ready:m}},function(h,e){"use strict";function n(y,r){if(!(y instanceof r))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function y(r,f){for(var z=0;z<f.length;z++){var O=f[z];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(r,O.key,O)}}return function(r,f,z){return f&&y(r.prototype,f),z&&y(r,z),r}}(),m=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,w=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,b=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=function(){function y(){n(this,y)}return l(y,[{key:"phone",value:function(){var r=o();return!(!m.test(r)&&!w.test(r.substr(0,4)))}},{key:"mobile",value:function(){var r=o();return!(!s.test(r)&&!b.test(r.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),y}();e.default=new i},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(l,m,w){var s=l.node.getAttribute("data-aos-once");m>l.position?l.node.classList.add("aos-animate"):typeof s!="undefined"&&(s==="false"||!w&&s!=="true")&&l.node.classList.remove("aos-animate")},o=function(l,m){var w=window.pageYOffset,s=window.innerHeight;l.forEach(function(b,i){n(b,s+w,m)})};e.default=o},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(12),m=o(l),w=function(s,b){return s.forEach(function(i,y){i.node.classList.add("aos-init"),i.position=(0,m.default)(i.node,b.offset)}),s};e.default=w},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(13),m=o(l),w=function(s,b){var i=0,y=0,r=window.innerHeight,f={offset:s.getAttribute("data-aos-offset"),anchor:s.getAttribute("data-aos-anchor"),anchorPlacement:s.getAttribute("data-aos-anchor-placement")};switch(f.offset&&!isNaN(f.offset)&&(y=parseInt(f.offset)),f.anchor&&document.querySelectorAll(f.anchor)&&(s=document.querySelectorAll(f.anchor)[0]),i=(0,m.default)(s).top,f.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=s.offsetHeight/2;break;case"bottom-bottom":i+=s.offsetHeight;break;case"top-center":i+=r/2;break;case"bottom-center":i+=r/2+s.offsetHeight;break;case"center-center":i+=r/2+s.offsetHeight/2;break;case"top-top":i+=r;break;case"bottom-top":i+=s.offsetHeight+r;break;case"center-top":i+=s.offsetHeight/2+r}return f.anchorPlacement||f.offset||isNaN(b)||(y=b),i+y};e.default=w},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){for(var l=0,m=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)l+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),m+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:m,left:l}};e.default=n},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(l){return{node:l}})};e.default=n}])})});var ta=da(aa());import{useEffect as sa}from"react";function la(){return sa(()=>{ta.default.init({duration:1e3,offset:0,once:!0})},[]),null}export{la as a};
|
|
8
|
+
`),p.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",p.easing),document.querySelector("body").setAttribute("data-aos-duration",p.duration),document.querySelector("body").setAttribute("data-aos-delay",p.delay),p.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?_(!0):p.startEvent==="load"?window.addEventListener(p.startEvent,function(){_(!0)}):document.addEventListener(p.startEvent,function(){_(!0)}),window.addEventListener("resize",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("orientationchange",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("scroll",(0,s.default)(function(){(0,X.default)(S,p.once)},p.throttleDelay)),p.disableMutationObserver||r.default.ready("[data-aos]",P),S)};h.exports={init:u,refresh:_,refreshHard:P}},function(h,e){},,,,,function(h,e){(function(n){"use strict";function o(a,u,d){function x(c){var j=M,$=N;return M=N=void 0,H=c,k=a.apply($,j)}function A(c){return H=c,v=setTimeout(I,u),Y?x(c):k}function D(c){var j=c-q,$=c-H,V=u-j;return L?P(V,T-$):V}function W(c){var j=c-q,$=c-H;return q===void 0||j>=u||j<0||L&&$>=T}function I(){var c=t();return W(c)?Q(c):void(v=setTimeout(I,D(c)))}function Q(c){return v=void 0,g&&M?x(c):(M=N=void 0,k)}function R(){v!==void 0&&clearTimeout(v),H=0,M=q=N=v=void 0}function G(){return v===void 0?k:Q(t())}function E(){var c=t(),j=W(c);if(M=arguments,N=this,q=c,j){if(v===void 0)return A(q);if(L)return v=setTimeout(I,u),x(q)}return v===void 0&&(v=setTimeout(I,u)),k}var M,N,T,k,v,q,H=0,Y=!1,L=!1,g=!0;if(typeof a!="function")throw new TypeError(y);return u=b(u)||0,m(d)&&(Y=!!d.leading,L="maxWait"in d,T=L?_(b(d.maxWait)||0,u):T,g="trailing"in d?!!d.trailing:g),E.cancel=R,E.flush=G,E}function l(a,u,d){var x=!0,A=!0;if(typeof a!="function")throw new TypeError(y);return m(d)&&(x="leading"in d?!!d.leading:x,A="trailing"in d?!!d.trailing:A),o(a,u,{leading:x,maxWait:u,trailing:A})}function m(a){var u=typeof a=="undefined"?"undefined":i(a);return!!a&&(u=="object"||u=="function")}function w(a){return!!a&&(typeof a=="undefined"?"undefined":i(a))=="object"}function s(a){return(typeof a=="undefined"?"undefined":i(a))=="symbol"||w(a)&&p.call(a)==f}function b(a){if(typeof a=="number")return a;if(s(a))return r;if(m(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=m(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=a.replace(z,"");var d=X.test(a);return d||B.test(a)?F(a.slice(2),d?2:8):O.test(a)?r:+a}var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},y="Expected a function",r=NaN,f="[object Symbol]",z=/^\s+|\s+$/g,O=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,B=/^0o[0-7]+$/i,F=parseInt,K=(typeof n=="undefined"?"undefined":i(n))=="object"&&n&&n.Object===Object&&n,C=(typeof self=="undefined"?"undefined":i(self))=="object"&&self&&self.Object===Object&&self,S=K||C||Function("return this")(),Z=Object.prototype,p=Z.toString,_=Math.max,P=Math.min,t=function(){return S.Date.now()};h.exports=l}).call(e,function(){return this}())},function(h,e){(function(n){"use strict";function o(t,a,u){function d(g){var c=E,j=M;return E=M=void 0,q=g,T=t.apply(j,c)}function x(g){return q=g,k=setTimeout(W,a),H?d(g):T}function A(g){var c=g-v,j=g-q,$=a-c;return Y?_($,N-j):$}function D(g){var c=g-v,j=g-q;return v===void 0||c>=a||c<0||Y&&j>=N}function W(){var g=P();return D(g)?I(g):void(k=setTimeout(W,A(g)))}function I(g){return k=void 0,L&&E?d(g):(E=M=void 0,T)}function Q(){k!==void 0&&clearTimeout(k),q=0,E=v=M=k=void 0}function R(){return k===void 0?T:I(P())}function G(){var g=P(),c=D(g);if(E=arguments,M=this,v=g,c){if(k===void 0)return x(v);if(Y)return k=setTimeout(W,a),d(v)}return k===void 0&&(k=setTimeout(W,a)),T}var E,M,N,T,k,v,q=0,H=!1,Y=!1,L=!0;if(typeof t!="function")throw new TypeError(i);return a=s(a)||0,l(u)&&(H=!!u.leading,Y="maxWait"in u,N=Y?p(s(u.maxWait)||0,a):N,L="trailing"in u?!!u.trailing:L),G.cancel=Q,G.flush=R,G}function l(t){var a=typeof t=="undefined"?"undefined":b(t);return!!t&&(a=="object"||a=="function")}function m(t){return!!t&&(typeof t=="undefined"?"undefined":b(t))=="object"}function w(t){return(typeof t=="undefined"?"undefined":b(t))=="symbol"||m(t)&&Z.call(t)==r}function s(t){if(typeof t=="number")return t;if(w(t))return y;if(l(t)){var a=typeof t.valueOf=="function"?t.valueOf():t;t=l(a)?a+"":a}if(typeof t!="string")return t===0?t:+t;t=t.replace(f,"");var u=O.test(t);return u||X.test(t)?B(t.slice(2),u?2:8):z.test(t)?y:+t}var b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i="Expected a function",y=NaN,r="[object Symbol]",f=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,X=/^0o[0-7]+$/i,B=parseInt,F=(typeof n=="undefined"?"undefined":b(n))=="object"&&n&&n.Object===Object&&n,K=(typeof self=="undefined"?"undefined":b(self))=="object"&&self&&self.Object===Object&&self,C=F||K||Function("return this")(),S=Object.prototype,Z=S.toString,p=Math.max,_=Math.min,P=function(){return C.Date.now()};h.exports=o}).call(e,function(){return this}())},function(h,e){"use strict";function n(b){var i=void 0,y=void 0,r=void 0;for(i=0;i<b.length;i+=1)if(y=b[i],y.dataset&&y.dataset.aos||(r=y.children&&n(y.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function l(){return!!o()}function m(b,i){var y=window.document,r=o(),f=new r(w);s=i,f.observe(y.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function w(b){b&&b.forEach(function(i){var y=Array.prototype.slice.call(i.addedNodes),r=Array.prototype.slice.call(i.removedNodes),f=y.concat(r);if(n(f))return s()})}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){};e.default={isSupported:l,ready:m}},function(h,e){"use strict";function n(y,r){if(!(y instanceof r))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function y(r,f){for(var z=0;z<f.length;z++){var O=f[z];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(r,O.key,O)}}return function(r,f,z){return f&&y(r.prototype,f),z&&y(r,z),r}}(),m=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,w=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,b=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=function(){function y(){n(this,y)}return l(y,[{key:"phone",value:function(){var r=o();return!(!m.test(r)&&!w.test(r.substr(0,4)))}},{key:"mobile",value:function(){var r=o();return!(!s.test(r)&&!b.test(r.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),y}();e.default=new i},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(l,m,w){var s=l.node.getAttribute("data-aos-once");m>l.position?l.node.classList.add("aos-animate"):typeof s!="undefined"&&(s==="false"||!w&&s!=="true")&&l.node.classList.remove("aos-animate")},o=function(l,m){var w=window.pageYOffset,s=window.innerHeight;l.forEach(function(b,i){n(b,s+w,m)})};e.default=o},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(12),m=o(l),w=function(s,b){return s.forEach(function(i,y){i.node.classList.add("aos-init"),i.position=(0,m.default)(i.node,b.offset)}),s};e.default=w},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(13),m=o(l),w=function(s,b){var i=0,y=0,r=window.innerHeight,f={offset:s.getAttribute("data-aos-offset"),anchor:s.getAttribute("data-aos-anchor"),anchorPlacement:s.getAttribute("data-aos-anchor-placement")};switch(f.offset&&!isNaN(f.offset)&&(y=parseInt(f.offset)),f.anchor&&document.querySelectorAll(f.anchor)&&(s=document.querySelectorAll(f.anchor)[0]),i=(0,m.default)(s).top,f.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=s.offsetHeight/2;break;case"bottom-bottom":i+=s.offsetHeight;break;case"top-center":i+=r/2;break;case"bottom-center":i+=r/2+s.offsetHeight;break;case"center-center":i+=r/2+s.offsetHeight/2;break;case"top-top":i+=r;break;case"bottom-top":i+=s.offsetHeight+r;break;case"center-top":i+=s.offsetHeight/2+r}return f.anchorPlacement||f.offset||isNaN(b)||(y=b),i+y};e.default=w},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){for(var l=0,m=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)l+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),m+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:m,left:l}};e.default=n},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(l){return{node:l}})};e.default=n}])})});var ta=da(aa());import{useEffect as sa}from"react";function la(){return sa(()=>{ta.default.init({duration:1e3,offset:0,once:!0})},[]),null}export{aa as a,la as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-
|
|
4
|
+
import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-NGK3IDFP.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(d,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunk-BZAYEKYC.mjs";import{a as s}from"./chunk-WKD2UQGO.mjs";import{b as i}from"./chunk-YSGJMEMD.mjs";import{a as n}from"./chunk-RWIIPRAE.mjs";import{a}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-C5XNOZXC.mjs";import{a as r}from"./chunk-WU3JMLSC.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function g({...e}){let f=e.page,{contentWithIds:c,tableOfContents:p}=o(f);return m("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(a,{isMenuOpen:!0,logoLight:l,logoDark:r}),t(i,{...e.hero}),t(s,{edit:e.edit,pageId:e.page.id,tableOfContents:p,relatedContent:e.relatedContent,children:t(n,{blocks:c})})]})}export{g as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as c}from"./chunk-
|
|
1
|
+
import{e as c}from"./chunk-D4NKFRUO.mjs";import{a as s}from"./chunk-44VMK4FL.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{jsx as o,jsxs as f}from"react/jsx-runtime";var h=a=>{let{columns:t}=a,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return o("div",{className:"container my-6",children:o("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-x-16",children:t&&t.length>0&&t.map((i,p)=>{let{enableLink:m,link:d,richText:n,size:l}=i;return f("div",{className:e(`col-span-4 lg:col-span-${r[l]}`,{"md:col-span-2":l!=="full"}),children:[n&&o(c,{content:n,enableGutter:!1}),m&&o(s,{...d})]},p)})})})};export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as r}from"./chunk-
|
|
1
|
+
import{e as r}from"./chunk-D4NKFRUO.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as c}from"./chunk-4Z5RNIJS.mjs";import{a as p}from"./chunk-OWEP2U4M.mjs";import{a as u}from"./chunk-XB5YGSYM.mjs";import{a as s}from"./chunk-KSCHUMVE.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as h}from"./chunk-DESYC5BB.mjs";import{a as l}from"./chunk-WU3JMLSC.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(h,{isMenuOpen:!0,logoLight:f,logoDark:l,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(c,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(s,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as E,f as T}from"./chunk-CGBVZQYY.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as N}from"./chunk-Y5VTKEKS.mjs";import{a as M}from"./chunk-QOIH63J3.mjs";import{a as I,b as H,c as P,d as B}from"./chunk-OAOCXXC2.mjs";import{b as L}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{a as _}from"./chunk-FRWX5YES.mjs";import*as r from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as o,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",D=r.createContext(null);function w(){let a=r.useContext(D);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=r.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:n,style:d,children:s,...u},m)=>{let c=_(),[p,b]=r.useState(!1),[v,k]=r.useState(a),f=e!=null?e:v,h=r.useCallback(l=>{if(t)return t==null?void 0:t(typeof l=="function"?l(f):l);k(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=r.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);r.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=r.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:p,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,p,b,x]);return o(D.Provider,{value:z,children:o(I,{delayDuration:0,children:o("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:i("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",n),ref:m,...u,children:s})})})});j.displayName="SidebarProvider";var q=r.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:n,children:d,...s},u)=>{let{isMobile:m,state:c,openMobile:p,setOpenMobile:b}=w();return t==="none"?o("div",{className:i("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:u,...s,children:d}):m?o(E,{open:p,onOpenChange:b,...s,children:o(T,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:o("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[o("div",{className:i("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),o("div",{className:i("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...s,children:o("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=r.forwardRef(({className:a,onClick:e,...t},n)=>{let{toggleSidebar:d}=w();return S(L,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:i("h-7 w-7",a),onClick:s=>{e==null||e(s),d()},...t,children:[o(O,{}),o("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=r.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:n}=w();return o("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:i("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=r.forwardRef(({className:a,...e},t)=>o("main",{ref:t,className:i("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=r.forwardRef(({className:a,...e},t)=>o(M,{ref:t,"data-sidebar":"input",className:i("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"header",className:i("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"footer",className:i("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=r.forwardRef(({className:a,...e},t)=>o(N,{ref:t,"data-sidebar":"separator",className:i("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"content",className:i("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group",className:i("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var re=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"div",{ref:n,"data-sidebar":"group-label",className:i("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));re.displayName="SidebarGroupLabel";var oe=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"button",{ref:n,"data-sidebar":"group-action",className:i("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));oe.displayName="SidebarGroupAction";var ie=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group-content",className:i("w-full text-sm",a),...e}));ie.displayName="SidebarGroupContent";var ne=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu",className:i("flex w-full min-w-0 flex-col gap-1",a),...e}));ne.displayName="SidebarMenu";var de=r.forwardRef(({className:a,...e},t)=>o("li",{ref:t,"data-sidebar":"menu-item",className:i("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=r.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:n="default",tooltip:d,className:s,...u},m)=>{let c=a?g:"button",{isMobile:p,state:b}=w(),v=o(c,{ref:m,"data-sidebar":"menu-button","data-size":n,"data-active":e,className:i(se({variant:t,size:n}),s),...u});return d?(typeof d=="string"&&(d={children:d}),S(H,{children:[o(P,{asChild:!0,children:v}),o(B,{side:"right",align:"center",hidden:b!=="collapsed"||p,...d})]})):v});le.displayName="SidebarMenuButton";var ce=r.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...n},d)=>o(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:i("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n}));ce.displayName="SidebarMenuAction";var be=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"menu-badge",className:i("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var ue=r.forwardRef(({className:a,showIcon:e=!1,...t},n)=>{let d=r.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:n,"data-sidebar":"menu-skeleton",className:i("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&o(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),o(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});ue.displayName="SidebarMenuSkeleton";var pe=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu-sub",className:i("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));pe.displayName="SidebarMenuSub";var fe=r.forwardRef(({...a},e)=>o("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=r.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:n,...d},s)=>o(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:i("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,re as m,oe as n,ie as o,ne as p,de as q,le as r,ce as s,be as t,ue as u,pe as v,fe as w,me as x};
|
|
4
|
+
import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as N}from"./chunk-Y5VTKEKS.mjs";import{a as E,f as T}from"./chunk-CGBVZQYY.mjs";import{a as M}from"./chunk-QOIH63J3.mjs";import{a as I,b as H,c as P,d as B}from"./chunk-OAOCXXC2.mjs";import{b as L}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{a as _}from"./chunk-FRWX5YES.mjs";import*as r from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as o,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=60*60*24*7,V="16rem",$="18rem",U="3rem",W="b",D=r.createContext(null);function w(){let a=r.useContext(D);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=r.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:n,style:d,children:s,...u},m)=>{let c=_(),[p,b]=r.useState(!1),[v,k]=r.useState(a),f=e!=null?e:v,h=r.useCallback(l=>{if(t)return t==null?void 0:t(typeof l=="function"?l(f):l);k(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=r.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);r.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=r.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:p,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,p,b,x]);return o(D.Provider,{value:z,children:o(I,{delayDuration:0,children:o("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:i("group/sidebar-wrapper flex w-full fixed has-[[data-variant=inset]]:bg-sidebar",n),ref:m,...u,children:s})})})});j.displayName="SidebarProvider";var q=r.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:n,children:d,...s},u)=>{let{isMobile:m,state:c,openMobile:p,setOpenMobile:b}=w();return t==="none"?o("div",{className:i("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",n),ref:u,...s,children:d}):m?o(E,{open:p,onOpenChange:b,...s,children:o(T,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:o("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[o("div",{className:i("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),o("div",{className:i("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",n),...s,children:o("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=r.forwardRef(({className:a,onClick:e,...t},n)=>{let{toggleSidebar:d}=w();return S(L,{ref:n,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:i("h-7 w-7",a),onClick:s=>{e==null||e(s),d()},...t,children:[o(O,{}),o("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=r.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:n}=w();return o("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:n,title:"Toggle Sidebar",className:i("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=r.forwardRef(({className:a,...e},t)=>o("main",{ref:t,className:i("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=r.forwardRef(({className:a,...e},t)=>o(M,{ref:t,"data-sidebar":"input",className:i("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"header",className:i("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"footer",className:i("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=r.forwardRef(({className:a,...e},t)=>o(N,{ref:t,"data-sidebar":"separator",className:i("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"content",className:i("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group",className:i("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var re=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"div",{ref:n,"data-sidebar":"group-label",className:i("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));re.displayName="SidebarGroupLabel";var oe=r.forwardRef(({className:a,asChild:e=!1,...t},n)=>o(e?g:"button",{ref:n,"data-sidebar":"group-action",className:i("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));oe.displayName="SidebarGroupAction";var ie=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"group-content",className:i("w-full text-sm",a),...e}));ie.displayName="SidebarGroupContent";var ne=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu",className:i("flex w-full min-w-0 flex-col gap-1",a),...e}));ne.displayName="SidebarMenu";var de=r.forwardRef(({className:a,...e},t)=>o("li",{ref:t,"data-sidebar":"menu-item",className:i("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=r.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:n="default",tooltip:d,className:s,...u},m)=>{let c=a?g:"button",{isMobile:p,state:b}=w(),v=o(c,{ref:m,"data-sidebar":"menu-button","data-size":n,"data-active":e,className:i(se({variant:t,size:n}),s),...u});return d?(typeof d=="string"&&(d={children:d}),S(H,{children:[o(P,{asChild:!0,children:v}),o(B,{side:"right",align:"center",hidden:b!=="collapsed"||p,...d})]})):v});le.displayName="SidebarMenuButton";var ce=r.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...n},d)=>o(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:i("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...n}));ce.displayName="SidebarMenuAction";var be=r.forwardRef(({className:a,...e},t)=>o("div",{ref:t,"data-sidebar":"menu-badge",className:i("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var ue=r.forwardRef(({className:a,showIcon:e=!1,...t},n)=>{let d=r.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:n,"data-sidebar":"menu-skeleton",className:i("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&o(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),o(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});ue.displayName="SidebarMenuSkeleton";var pe=r.forwardRef(({className:a,...e},t)=>o("ul",{ref:t,"data-sidebar":"menu-sub",className:i("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));pe.displayName="SidebarMenuSub";var fe=r.forwardRef(({...a},e)=>o("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=r.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:n,...d},s)=>o(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:i("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",n),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,re as m,oe as n,ie as o,ne as p,de as q,le as r,ce as s,be as t,ue as u,pe as v,fe as w,me as x};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as f}from"./chunk-
|
|
1
|
+
import{a as f}from"./chunk-4J2HMR3M.mjs";import{b as u,c as y}from"./chunk-D4NKFRUO.mjs";import{a as c}from"./chunk-7QQXXEMN.mjs";import{a as p}from"./chunk-NIQ4466A.mjs";import{Fragment as g,jsx as t}from"react/jsx-runtime";var F=s=>{let{customId:o,reusableContent:r}=s;return typeof r=="object"&&r!==null?t(C,{blocks:r.layout}):t(g,{})},k={content:f,cta:u,mediaBlock:c,imageBlock:c,features:y},C=s=>{let{blocks:o}=s;return o&&Array.isArray(o)&&o.length>0?t("section",{id:"render-blocks",children:o.map((n,d)=>{var l,i;let{blockType:a}=n,e=n==null?void 0:n.theme;if(a&&a in k){let m=k[a];if(m)return t("div",{className:"py-6 relative",children:t("div",{className:p(((l=e==null?void 0:e.settings)==null?void 0:l.theme)==="dark"?"dark":((i=e==null?void 0:e.settings)==null?void 0:i.theme)==="green"?"green":""),children:t(m,{...n})})},d)}return null})}):null};export{F as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-NGK3IDFP.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var d=r=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:n}=r;return o("div",{className:a("",{container:s},t),children:o(e,{imgClassName:a("rounded-[0.8rem]",m),resource:i,src:n})})};export{d as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-
|
|
4
|
+
import{c as v,h as w,i as B,j as P,k as T,l as s,m as b,o as u,p as o,q as n,r as p,v as g,w as y,x as M}from"./chunk-5YTDIEDJ.mjs";import{a as C}from"./chunk-BSQVKZCW.mjs";import{a as d,b as c,c as m}from"./chunk-YNCJATT7.mjs";import{a as h}from"./chunk-SFLOMJ2U.mjs";import{PencilLine as z,ChevronDown as x,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as A,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(h,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:N,editorComponent:k,loading:S=!1,editMode:G=!1,onAddDocument:L,onEditDocument:O,onPrintDocument:D,onGithubClick:I,onNavClick:f,LinkComponent:R,...F}){let j=R?t=>e(R,{...t}):f?({item:t,children:r,...l})=>e("button",{onClick:()=>f&&f(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...l,children:r}):t=>e("a",{href:t.href,...t});return a(v,{side:"right",variant:"inset",...F,children:[a(w,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(p,{onClick:L,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),I&&e(n,{children:e(p,{onClick:I,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(p,{onClick:()=>O(),variant:G?"outline":"default",className:$(G&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(p,{onClick:D,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),k&&a(A,{children:[e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Editor Controls",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:k})})]})}),e(P,{className:"mx-0"})]}),a(T,{className:"overflow-auto",children:[S&&a(A,{children:[a(s,{children:[e(b,{children:"Related Content"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(s,{children:[e(b,{children:"Table of Contents"}),e(u,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(C,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!S&&Object.keys(i).length>0&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Related Content",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(g,{children:i[t].map(r=>e(y,{children:e(M,{asChild:!0,isActive:!1,size:"sm",children:a(j,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(h,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),N&&!S&&e(d,{defaultOpen:!0,className:"group/collapsible",children:a(s,{children:[e(b,{asChild:!0,children:a(c,{children:["Table of Contents",e(x,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(u,{children:e(m,{children:e(o,{children:N.map(t=>{var r;return a(n,{children:[e(p,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),(r=t.items)!=null&&r.length?e(g,{children:t.items.map(l=>e(y,{children:e(M,{asChild:!0,isActive:l.isActive,size:"sm",children:e("a",{href:`#${l.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:l.title})})})},l.title))}):null]},t.title)})})})})]})})]}),e(B,{})]})}export{Z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import{a}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as d}from"./chunk-DRJBYVJB.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{x as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d}from"./chunk-SV7NMNDI.mjs";import{a as p}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-SV7NMNDI.mjs";import{a as p}from"./chunk-XBQBJTNI.mjs";import{c}from"./chunk-YNNW2C2U.mjs";import{a as n}from"./chunk-WISCWNL2.mjs";import{a as m}from"./chunk-UESKYRNK.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import g from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function _({blogs:a,sectionHeading:t}){return e("section",{className:o("section-padding-primary overflow-hidden "),children:i(m,{children:[e("div",{className:"mx-auto max-w-[630px]",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(p,{...t,alignment:"center",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:a.map((l,r)=>e("div",{"data-aos":"fade-up","data-aos-delay":d([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:e(u,{...l})},r))})]})})}var f=o("inline-flex items-center gap-2 text-white"),z=o("text-sm text-white");function u({slug:a,image:t,authors:l,title:r,publishedAt:s,categories:v}){return i("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(g,{src:t.src,alt:t.alt,fill:!0,sizes:`
|
|
2
2
|
(min-width:768px) 50vw,
|
|
3
3
|
(min-width:1024px) 33vw,
|
|
4
4
|
100vw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as A,j as D,k as z,l as H,m as E,n as L,o as M}from"./chunk-O5BAW5XQ.mjs";import{a as f}from"./chunk-44VMK4FL.mjs";import{a as v}from"./chunk-
|
|
1
|
+
import{i as A,j as D,k as z,l as H,m as E,n as L,o as M}from"./chunk-O5BAW5XQ.mjs";import{a as f}from"./chunk-44VMK4FL.mjs";import{a as v}from"./chunk-7QQXXEMN.mjs";import{a as T}from"./chunk-RHPFEIP4.mjs";import{a as C}from"./chunk-2NFKSNJW.mjs";import{b as h}from"./chunk-BDX257W2.mjs";import{a as B}from"./chunk-SFLOMJ2U.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as y,jsxs as _}from"react/jsx-runtime";var P=({links:a,richText:e})=>y("div",{className:"container",children:_("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[y("div",{className:"max-w-[48rem] flex items-center",children:e&&y(p,{className:"mb-0",content:e,enableGutter:!1})}),y("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:r},m)=>y(f,{size:"lg",...r},m))})]})});import{jsx as c,jsxs as b}from"react/jsx-runtime";function G(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function w({variant:a="light",className:e,icon:r,heading:m,subheading:o,content:t,statistic:s,buttonText:u,buttonHref:d}){return b("div",{className:i("rounded-3xl p-8 md:p-12 min-w-56",{solid:"bg-accent",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[a],a==="light"?"text-gray-900":"text-white",e),children:[b("div",{className:"flex items-center gap-4 mb-6",children:[r&&c("div",{className:i("rounded-full p-0",a==="light"?"text-[#A42368]":"text-white"),children:G(r)?c(B,{type:r.type,iconName:r.iconName,size:"2x"}):r}),c("div",{className:i("font-semibold",a==="solid"||a==="light"?"text-2xl":"text-4xl"),children:m})]}),a==="solid"&&s&&c("div",{className:"mb-6",children:c("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:s})}),o&&c("div",{className:"mb-4 text-xl md:text-2xl font-light",children:o}),t&&typeof t=="object"&&c("div",{className:i("space-y-6",a==="light"?"text-gray-600":"text-gray-300"),children:c(p,{enableGutter:!1,content:t,enableProse:!1,className:i(a==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),t&&typeof t=="string"&&c("div",{className:i("space-y-6",a==="light"?"text-gray-600":"text-gray-300"),children:t}),u&&c("div",{className:"mt-8",children:c(h,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:b("a",{href:d,children:[u,c("span",{className:"ml-2",children:"\u2193"})]})})}),a==="radial"&&c("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}import{jsx as n,jsxs as S}from"react/jsx-runtime";var R=({title:a,description:e,features:r,id:m})=>S("section",{className:i("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&n("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:m||"",children:a}),e&&typeof e=="string"&&n("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:e}),e&&typeof e=="object"&&n("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:n(p,{content:e,enableGutter:!1})}),n("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,t)=>{var s,u,d,k,x;if(((s=o.settings)==null?void 0:s.contents)==="icon")return n(J,{section:o,index:t},t);{let F=()=>{if(o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return n(w,{variant:((u=o.settings)==null?void 0:u.card)==="default"?"solid":((d=o.settings)==null?void 0:d.card)||"solid",icon:F()||void 0,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(k=o.link)!=null&&k.url?"Find out more":void 0,buttonHref:((x=o.link)==null?void 0:x.url)||void 0},t)}})})]}),J=({section:a,index:e})=>{if(!a)return null;let r=S("div",{className:"flex flex-col gap-4",children:[a.icon&&n("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:n("i",{className:`${a.icon.type} fa-${a.icon.icon} fa-4x`})}),n("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:a.title}),a.content&&typeof a.content!="object"&&n("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:a.content}}),a.content&&typeof a.content=="object"&&n("div",{className:"text-lg opacity-80",children:n(p,{content:a.content,enableGutter:!1})})]},e);return a.link?n("a",{href:a.link.url?a.link.url:"#",className:"no-underline group",children:r},e):r};import U,{Fragment as X}from"react";import{jsx as l}from"react/jsx-runtime";function g({nodes:a}){return l(X,{children:a==null?void 0:a.map((e,r)=>{if(e==null)return null;if(e.type==="text"&&e.text){let t=l(U.Fragment,{children:e.text},r);return e.format&1&&(t=l("strong",{children:t},r)),e.format&2&&(t=l("em",{children:t},r)),e.format&4&&(t=l("span",{style:{textDecoration:"line-through"},children:t},r)),e.format&8&&(t=l("span",{style:{textDecoration:"underline"},children:t},r)),e.format&16&&(t=l("code",{children:e.text},r)),e.format&32&&(t=l("sub",{children:t},r)),e.format&64&&(t=l("sup",{children:t},r)),t}if(e.type==="table")return l("table",{children:l("tbody",{children:e.children.map((t,s)=>l("tr",{children:t.children.map((u,d)=>l("td",{children:g({nodes:u.children})},d))},s))})},r);let m=t=>{if(t.children==null)return null;if((t==null?void 0:t.type)==="list"&&(t==null?void 0:t.listType)==="check")for(let s of t.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return g({nodes:t.children})},o="children"in e?m(e):"";if(e.type==="block"){let t=e.fields,s=t==null?void 0:t.blockType;if(!t||!s)return null;switch(s){case"cta":return l(P,{...t},r);case"mediaBlock":return l(v,{className:"col-start-1 col-span-3",imgClassName:"m-0",...t,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return l(T,{className:"col-start-1 col-span-3",imgClassName:"m-0",...t,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return l(I,{className:"col-start-2 mb-4",...t},r);case"code":return l(C,{className:"col-start-2",...t},r);case"features":return l(R,{...t},r);case"reusableContentBlock":g({nodes:t.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return l("br",{className:"col-start-2"},r);case"paragraph":return l("p",{className:"col-start-2",children:o},r);case"heading":{let t=e==null?void 0:e.tag;return l(t,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:o},r)}case"list":{let t=e==null?void 0:e.tag;return l(t,{className:"list col-start-2",children:o},r)}case"listitem":return(e==null?void 0:e.checked)!=null?l("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:o},r):l("li",{value:e==null?void 0:e.value,children:o},r);case"quote":return l("blockquote",{className:"col-start-2",children:o},r);case"link":{let t=e.fields;return l(f,{newTab:!!(t!=null&&t.newTab),reference:t.doc,type:t.linkType==="internal"?"reference":"custom",url:t.url,children:o},r)}case"autolink":{let t=e.fields;return l(f,{newTab:!!(t!=null&&t.newTab),reference:t.doc,type:t.linkType==="internal"?"reference":"custom",url:t.url,children:o},r)}default:return null}})})}import{jsx as $}from"react/jsx-runtime";var p=({className:a,content:e,enableGutter:r=!0,enableProse:m=!0})=>{var o;return e?$("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":m},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&g({nodes:(o=e==null?void 0:e.root)==null?void 0:o.children})}):null};import{jsx as N}from"react/jsx-runtime";var I=({className:a,content:e,style:r})=>N("div",{className:i("mx-auto my-8 w-full",a),children:N("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:N(p,{content:e,enableGutter:!1,enableProse:!1})})});export{I as a,P as b,R as c,g as d,p as e,w as f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as m}from"./chunk-XDP6BKTK.mjs";import{a as i}from"./chunk-3TIFSACL.mjs";import{a as t}from"./chunk-NIQ4466A.mjs";import{jsx as p,jsxs as s}from"react/jsx-runtime";function l({isMenuOpen:e,logoLight:o,logoDark:r,menuItems:a,className:n}){return s("div",{className:t("fixed top-0 left-0 right-0 z-50",n),children:[p(i,{isMenuOpen:e,logoLight:o,logoDark:r,menuItems:a}),p(m,{isMenuOpen:e,logoLight:o,logoDark:r,menuItems:a})]})}export{l as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as x}from"./chunk-KML6U7IE.mjs";import{a as k}from"./chunk-TXXFXCXB.mjs";import{e as P}from"./chunk-
|
|
1
|
+
import{a as x}from"./chunk-KML6U7IE.mjs";import{a as k}from"./chunk-TXXFXCXB.mjs";import{e as P}from"./chunk-D4NKFRUO.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as c,b as h,c as C,e as p}from"./chunk-D76EO57Z.mjs";import{a as b}from"./chunk-WISCWNL2.mjs";import{a as N}from"./chunk-UESKYRNK.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(b,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(N,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(P,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(h,{children:t(C,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(k,{links:r.links,title:r.title})})]})]})})}export{j as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as d}from"./chunk-
|
|
4
|
+
import{a as d}from"./chunk-KEUZSK3N.mjs";import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-5YTDIEDJ.mjs";import{a as s}from"./chunk-DRJBYVJB.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import{a as x}from"./chunk-X6QN5C6U.mjs";import{a as b}from"./chunk-RWIIPRAE.mjs";import{e as y}from"./chunk-D4NKFRUO.mjs";import{a as S}from"./chunk-22FHCZJD.mjs";import{a as p}from"./chunk-NIQ4466A.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{d as R}from"./chunk-S7OK7D5I.mjs";import{useState as A,useEffect as D,useCallback as E}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";var N=R(S());import"pagedjs";import w from"next/image";import{Fragment as W,jsx as e,jsxs as l}from"react/jsx-runtime";var V=r=>{let[s,o]=A(0),{blocks:i,hero:c}=r,C=i&&Array.isArray(i)&&i.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],T=t=>{o(t)},d=()=>{o(t=>(t+1)%n.length)},u=()=>{o(t=>(t-1+n.length)%n.length)},f=E(((t,a)=>{let g;return(...P)=>{clearTimeout(g),g=setTimeout(()=>t(...P),a)}})(t=>{t.deltaY>0?d():u()},300),[]),h=t=>{t.key==="ArrowDown"?d():t.key==="ArrowUp"&&u()};return D(()=>(N.default.init({duration:1e3}),window.addEventListener("wheel",f),window.addEventListener("keydown",h),()=>{window.removeEventListener("wheel",f),window.removeEventListener("keydown",h)}),[]),l("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[e("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-100",children:C&&n.map((t,a)=>e("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===a?"bg-accent":"bg-gray-300"}`,onClick:()=>T(a),children:e("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:t.blockName})},t.id))}),e(k,{children:n.map((t,a)=>e("div",{id:`slide-${a}`,className:"print-section",children:e("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
|
|
5
|
+
${a===s?"opacity-100":"opacity-0"}
|
|
6
|
+
w-full h-full bg-cover bg-center`,children:a===0?e(L,{hero:c,title:r.title}):l(W,{children:[t.blockName&&e(B,{title:t.blockName}),e(b,{blocks:[t],fill:!0}),e(j,{})]})})},a))}),e("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:d,children:e(F,{})})]})},F=()=>e(k,{children:e(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:p("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-gray-800"),children:e(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:p("w-[12px] h-[12px] rounded-full","bg-gray-800")})})}),j=()=>l("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
|
|
7
|
+
dark bg-background text-primary`,children:[l("div",{className:"flex px-6 items-center space-x-2",children:[e("img",{src:m.src,alt:"Cortex Reply Logo",className:"h-8"}),e("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),e("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),B=({title:r})=>e("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:e("div",{className:"container",children:e("span",{className:"container text-4xl px-6",children:r})})}),L=r=>{var i,c;let{title:s,hero:o}=r;return l("div",{className:"relative w-full h-full flex flex-col justify-center p-10",children:[e("div",{className:"absolute inset-0",children:e(w,{src:o.media?o.media.url:x,alt:"Background",width:o.media&&o.media.width&&(i=o.media.width)!=null?i:1920,height:o.media&&o.media.height&&(c=o.media.height)!=null?c:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),e("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:m&&e("div",{className:"h-48 w-96",children:e(w,{src:m,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),e("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),l("div",{className:"relative pl-24 z-10 max-w-3xl",children:[e("p",{className:"text-lg font-medium text-accent mb-2",children:s}),e("h1",{className:`text-4xl md:text-6xl font-bold leading-tight tracking-tight
|
|
8
|
+
text-white dark:text-gray-100`,children:o.richText&&e(y,{content:o.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})})]})]})};export{V as a,j as b,B as c,L as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as v}from"./chunk-XDP6BKTK.mjs";import{a as u}from"./chunk-3TIFSACL.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import{useState as f,useEffect as b}from"react";import{Menu as x,ChevronDown as w}from"lucide-react";import N from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function O({logoVideo:p,logoLight:s,logoDark:i,menuItems:a,title:r,subtitle:n}){let[c,d]=f(!1),[l,g]=f(!1),h=()=>{let o=document.getElementById("next-section");o&&o.scrollIntoView({behavior:"smooth"})};return b(()=>{let o=()=>{window.scrollY>100?d(!0):d(!1)};return window.addEventListener("scroll",o,{passive:!0}),()=>window.removeEventListener("scroll",o)},[]),t("div",{className:"relative h-screen",children:[t("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[t("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!c&&!l&&e("button",{className:"fixed hidden lg:block top-4 right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{g(!l)},children:e(x,{className:"w-6 h-6 text-white"})}),t("div",{className:"fixed top-0 left-0 right-0 z-50",children:[e(u,{isMenuOpen:c||l,logoLight:s,logoDark:i,menuItems:a}),e(v,{isMenuOpen:!0,logoLight:s,logoDark:i,menuItems:a})]}),t("div",{className:"absolute inset-0 h-full z-10 flex flex-col items-center justify-between text-white text-center px-4",children:[e(N,{src:p,alt:"Cortex Reply Logo",width:720,height:320,className:m("absolute top-2.5 h-auto w-auto mt-8 hidden lg:block",l&&"lg:hidden")}),t("div",{className:"absolute top-1/2vv h-full flex flex-col px-4 items-center justify-center",children:[e("h1",{className:"text-6xl font-bold pt-auto mb-12",children:r&&r}),e("div",{className:"text-3xl mb-8 max-w-2xl",children:n&&n})]}),e("div",{className:"absolute bottom-10 flex justify-center items-center w-full mb-8",children:e("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:h,children:e(w,{size:64})})})]})]})}export{O as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as C}from"./chunk-EG6XIOOJ.mjs";import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as x}from"formik";import{FaUser as w}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as n}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function U(){return e(x,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:t})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:r,handleBlur:c,isSubmitting:l,handleSubmit:h})=>n("form",{onSubmit:h,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[n("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:r,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),n("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:r,onBlur:c,disabled:l,icon:e(N,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),n("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:r,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),n("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:r,onBlur:c,disabled:l,icon:e(S,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2",children:e(v,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:l,children:e("span",{children:"SEND"})})})]})})}function N(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{U as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-23EQTK7B.mjs";import{e as r}from"./chunk-D4NKFRUO.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as c}from"./chunk-4DJ6HKHR.mjs";import{a as u}from"./chunk-BZAYEKYC.mjs";import{b as l}from"./chunk-BDX257W2.mjs";import{a,b as i,c as t,e as o}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-GOMLTG5W.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function b({...n}){return r("div",{className:"relative",children:[e("div",{className:"h-screen relative overflow-hidden",children:e(s,{...n.header,logoVideo:c,logoLight:u,logoDark:m})}),r("div",{id:"next-section",className:"mt-16 pt-16 min-h-screen",children:[" ",e("div",{className:"container py-8",children:r("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:n.children}),r("div",{className:"space-y-6",children:[r(a,{children:[e(i,{children:e(t,{children:"Quick Actions"})}),r(o,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(l,{className:"w-full",children:"Create New"})]})]}),r(a,{children:[e(i,{children:e(t,{children:"Resources"})}),e(o,{children:r("nav",{className:"flex flex-col space-y-2",children:[r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-
|
|
1
|
+
import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-XBQBJTNI.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(n,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(e,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":r([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-
|
|
4
|
+
import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-5YTDIEDJ.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:o,secondaryNav:l,title:b,subTitle:a,pathName:p,menuHeading:d,onNavClick:s,loading:r=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):s?({href:t,children:m,...I})=>e("button",{onClick:()=>s&&s(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return i(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:r?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:b}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),r&&i(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(S,{children:[o&&!r&&o.map((t,m)=>e(G,{subNav:t,pathName:p,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:l&&!r&&l.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:i(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:o,pathName:l,Link:b}){var d,s;let a=o,p=!1;return a.links&&a.links.map(r=>{r.url===l&&(p=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:i(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(p&&"font-bold text-accent"),children:i(b,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),(d=a.links)!=null&&d.length?i(H,{children:[e(N,{asChild:!0,children:i(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:(s=a.links)==null?void 0:s.map(r=>e(B,{children:e(L,{asChild:!0,className:T(r.url===l&&"font-bold text-accent"),children:e(b,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},a.label)})})})}export{J as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{a as
|
|
4
|
+
import{a as v}from"./chunk-NLFCSX3M.mjs";import{a as p}from"./chunk-MNDA6BQL.mjs";import{a as y}from"./chunk-2MC5DSC7.mjs";import{a as f}from"./chunk-ITZ5HFK6.mjs";import{useState as N}from"react";import{ChevronDown as q}from"lucide-react";import{CalendarDays as P,Grid as R,PlusCircle as A,CheckSquare as k}from"lucide-react";import{useRouter as M}from"next/navigation";import{format as T,parseISO as V}from"date-fns";import{jsx as r,jsxs as n}from"react/jsx-runtime";function b(...s){return s.filter(Boolean).join(" ")}function z({holidays:s,currentUser:t,currentDate:D,leaveApprovals:h,employees:x,submitLeaveRequest:i,approveLeave:o,rejectLeave:d}){let[a,m]=N("Calendar View"),w=M(),L=!1,u=V(D),c=async e=>{let C=T(e,"dd-MM-yyyy"),g=new URL(window.location.href);return g.searchParams.set("date",C),w.push(g.toString()),{success:!0}};if(L)return r("div",{className:"flex justify-center items-center h-screen",children:r("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let l=[{name:"Grid View",icon:R,current:a==="Grid View"},{name:"Calendar View",icon:P,current:a==="Calendar View"},{name:"Request Leave",icon:A,current:a==="Request Leave"},{name:"Approve Leave",icon:k,current:a==="Approve Leave"}];return n("div",{className:"container fixed mx-auto p-4",children:[n("div",{className:"mb-8",children:[n("div",{className:"sm:hidden",children:[r("select",{value:a,onChange:e=>m(e.target.value),className:"block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm",children:l.map(e=>r("option",{children:e.name},e.name))}),r(q,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),r("div",{className:"hidden sm:block",children:r("div",{className:"border-b border-gray-200",children:r("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:l.map(e=>n("a",{onClick:()=>{(e.name!=="Approve Leave"||t.grade==="Manager"||t.grade==="Senior Manager"||t.grade==="Partner")&&m(e.name)},className:b(e.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",e.name==="Approve Leave"&&t.grade!=="Manager"&&t.grade!=="Senior Manager"&&t.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-sm font-medium"),"aria-current":e.current?"page":void 0,children:[r(e.icon,{className:b(e.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),r("span",{children:e.name})]},e.name))})})})]}),a==="Grid View"&&r(f,{currentDate:u,setCurrentDate:c,holidays:s,employees:x}),a==="Calendar View"&&r(y,{currentDate:u,setCurrentDate:c,holidays:s}),a==="Request Leave"&&r(v,{remainingDays:t.remainingLeaveDays,submitLeaveRequest:e=>i?i(e):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),a==="Approve Leave"&&r(p,{leaveRequests:h,onApprove:e=>o?o(e):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:e=>d?d(e):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}export{z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-TFWGOEV7.mjs";import{a}from"./chunk-YNDKGRL6.mjs";import{Fragment as c}from"react";import{jsx as o}from"react/jsx-runtime";var T=t=>{var m;let{className:s,htmlElement:i="div",resource:e}=t,r=typeof e=="object"&&((m=e==null?void 0:e.mimeType)==null?void 0:m.includes("video"));return o(i||c,{...i!==null?{className:s}:{},children:r?o(n,{...t}):o(a,{...t})})};export{T as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
import{e as c}from"./chunk-
|
|
4
|
+
import{e as c}from"./chunk-D4NKFRUO.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-NGK3IDFP.mjs";import p from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var y=({links:r,media:t,children:m,richText:i})=>a("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[e("div",{className:"container mt-[20rem] mb-8 z-10 relative flex items-end justify-center",children:a("div",{className:"text-center container",children:[m||i&&e(c,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-p:text-white prose-p:text-gray-900",content:i,enableGutter:!0}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:l},n)=>e("li",{children:e(o,{...l})},n))})]})}),a("div",{className:"min-h-96 select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(p,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});export{y as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-NGK3IDFP.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var g=r=>{let{className:t,enableGutter:m=!0,imgClassName:s,media:i,staticImage:n}=r;return o("div",{className:a("",{container:m},t),children:o(e,{imgClassName:a("rounded-[0.8rem]",s),resource:i,src:n})})};export{g as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as b}from"./chunk-6LTYVYSU.mjs";import{a as k}from"./chunk-4J2HMR3M.mjs";import{b as u,c as f}from"./chunk-D4NKFRUO.mjs";import{a as l}from"./chunk-7QQXXEMN.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import p from"next/image";import{jsx as n,jsxs as h}from"react/jsx-runtime";var y={content:k,cta:u,mediaBlock:l,imageBlock:l,features:f,reusableContentBlock:b},w=a=>{let{blocks:e}=a;return e&&Array.isArray(e)&&e.length>0?n("section",{id:"render-blocks",className:o(a.fill?"h-full w-full":""),children:e.map((t,c)=>{var g,m;let{blockType:i}=t,r=t==null?void 0:t.theme;if(i&&i in y){let d=y[i];if(d)return h("div",{className:o("py-6 relative",a.fill&&"flex h-full items-center justify-center"),children:[n(v,{block:t,index:c}),n("div",{className:o("container",((g=r==null?void 0:r.settings)==null?void 0:g.theme)==="dark"?"dark":((m=r==null?void 0:r.settings)==null?void 0:m.theme)==="green"?"green":""),children:n(d,{...t})})]},c)}return null})}):null},v=a=>{var s;if(!("theme"in a.block))return null;let e=(s=a.block)==null?void 0:s.theme;if(e.settings.background==="image"){let t={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return h("div",{className:o("absolute inset-0 w-full h-full -z-10",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":""),children:[n(p,{src:e.settings.image.url||"/placeholder.svg",alt:e.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&n("div",{className:"absolute inset-0",style:{background:t.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return n("div",{className:o("absolute inset-0 -z-10 w-screen h-full",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":"")})};export{w as a,v as b};
|