Comparing version 2.1.1 to 2.1.2
@@ -1,1 +0,1 @@ | ||
"use strict";var e=require("react"),r=require("@headlessui/react"),t=require("react-markdown"),o=require("embla-carousel-react"),n=require("lucide-react");function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o}function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},s.apply(null,arguments)}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){l(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function d(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.includes(o))continue;t[o]=e[o]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function u(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a,l,s=[],i=!0,c=!1;try{if(a=(t=t.call(e)).next,0===r);else for(;!(i=(o=a.call(t)).done)&&(s.push(o.value),s.length!==r);i=!0);}catch(e){c=!0,n=e}finally{try{if(!i&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw n}}return s}}(e,r)||function(e,r){if(e){if("string"==typeof e)return a(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){var r,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=p(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}const m=e=>{const r=v(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),b(t,r)||g(e)},getConflictingClassGroupIds:(e,r)=>{const n=t[e]||[];return r&&o[e]?[...n,...o[e]]:n}}},b=(e,r)=>{if(0===e.length)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?b(e.slice(1),o):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find((({validator:e})=>e(a)))?.classGroupId},f=/^\[(.+)\]$/,g=e=>{if(f.test(e)){const r=f.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},v=e=>{const{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return w(Object.entries(e.classGroups),t).forEach((([e,t])=>{h(t,o,e,r)})),o},h=(e,r,t,o)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return x(e)?void h(e(o),r,t,o):void r.validators.push({validator:e,classGroupId:t});Object.entries(e).forEach((([e,n])=>{h(n,y(r,e),t,o)}))}else{(""===e?r:y(r,e)).classGroupId=t}}))},y=(e,r)=>{let t=e;return r.split("-").forEach((e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)})),t},x=e=>e.isThemeGetter,w=(e,r)=>r?e.map((([e,t])=>[e,t.map((e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,t])=>[r+e,t]))):e))])):e,N=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}},E=e=>{const{separator:r,experimentalParseClassName:t}=e,o=1===r.length,n=r[0],a=r.length,l=e=>{const t=[];let l,s=0,i=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===n&&(o||e.slice(c,c+a)===r)){t.push(e.slice(i,c)),i=c+a;continue}if("/"===d){l=c;continue}}"["===d?s++:"]"===d&&s--}const c=0===t.length?e:e.substring(i),d=c.startsWith("!");return{modifiers:t,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:l&&l>i?l-i:void 0}};return t?e=>t({className:e,parseClassName:l}):l},k=e=>{if(e.length<=1)return e;const r=[];let t=[];return e.forEach((e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)})),r.push(...t.sort()),r},C=/\s+/;function j(){let e,r,t=0,o="";for(;t<arguments.length;)(e=arguments[t++])&&(r=z(e))&&(o&&(o+=" "),o+=r);return o}const z=e=>{if("string"==typeof e)return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=z(e[o]))&&(t&&(t+=" "),t+=r);return t};function P(e,...r){let t,o,n,a=function(s){const i=r.reduce(((e,r)=>r(e)),e());return t=(e=>({cache:N(e.cacheSize),parseClassName:E(e),...m(e)}))(i),o=t.cache.get,n=t.cache.set,a=l,l(s)};function l(e){const r=o(e);if(r)return r;const a=((e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(C);let s="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{modifiers:i,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=t(r);let p=Boolean(u),m=o(p?d.substring(0,u):d);if(!m){if(!p){s=r+(s.length>0?" "+s:s);continue}if(m=o(d),!m){s=r+(s.length>0?" "+s:s);continue}p=!1}const b=k(i).join(":"),f=c?b+"!":b,g=f+m;if(a.includes(g))continue;a.push(g);const v=n(m,p);for(let e=0;e<v.length;++e){const r=v[e];a.push(f+r)}s=r+(s.length>0?" "+s:s)}return s})(e,t);return n(e,a),a}return function(){return a(j.apply(null,arguments))}}const O=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},S=/^\[(?:([a-z-]+):)?(.+)\]$/i,I=/^\d+\/\d+$/,T=new Set(["px","full","screen"]),A=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,G=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,R=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,D=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>q(e)||T.has(e)||I.test(e),W=e=>Z(e,"length",ee),q=e=>Boolean(e)&&!Number.isNaN(Number(e)),B=e=>Z(e,"number",q),L=e=>Boolean(e)&&Number.isInteger(Number(e)),$=e=>e.endsWith("%")&&q(e.slice(0,-1)),H=e=>S.test(e),_=e=>A.test(e),Y=new Set(["length","size","percentage"]),J=e=>Z(e,Y,re),K=e=>Z(e,"position",re),U=new Set(["image","url"]),Q=e=>Z(e,U,oe),V=e=>Z(e,"",te),X=()=>!0,Z=(e,r,t)=>{const o=S.exec(e);return!!o&&(o[1]?"string"==typeof r?o[1]===r:r.has(o[1]):t(o[2]))},ee=e=>G.test(e)&&!R.test(e),re=()=>!1,te=e=>D.test(e),oe=e=>M.test(e),ne=P((()=>{const e=O("colors"),r=O("spacing"),t=O("blur"),o=O("brightness"),n=O("borderColor"),a=O("borderRadius"),l=O("borderSpacing"),s=O("borderWidth"),i=O("contrast"),c=O("grayscale"),d=O("hueRotate"),u=O("invert"),p=O("gap"),m=O("gradientColorStops"),b=O("gradientColorStopPositions"),f=O("inset"),g=O("margin"),v=O("opacity"),h=O("padding"),y=O("saturate"),x=O("scale"),w=O("sepia"),N=O("skew"),E=O("space"),k=O("translate"),C=()=>["auto",H,r],j=()=>[H,r],z=()=>["",F,W],P=()=>["auto",q,H],S=()=>["","0",H],I=()=>[q,H];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[F,W],blur:["none","",_,H],brightness:I(),borderColor:[e],borderRadius:["none","","full",_,H],borderSpacing:j(),borderWidth:z(),contrast:I(),grayscale:S(),hueRotate:I(),invert:S(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[$,W],inset:C(),margin:C(),opacity:I(),padding:j(),saturate:I(),scale:I(),sepia:S(),skew:I(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",H]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",H]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L,H]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",H]}],grow:[{grow:S()}],shrink:[{shrink:S()}],order:[{order:["first","last","none",L,H]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",L,H]},H]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[L,H]},H]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",H]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",H]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",H,r]}],"min-w":[{"min-w":[H,r,"min","max","fit"]}],"max-w":[{"max-w":[H,r,"none","full","min","max","fit","prose",{screen:[_]},_]}],h:[{h:[H,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[H,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[H,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[H,r,"auto","min","max","fit"]}],"font-size":[{text:["base",_,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",B]}],"font-family":[{font:[X]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",H]}],"line-clamp":[{"line-clamp":["none",q,B]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,H]}],"list-image":[{"list-image":["none",H]}],"list-style-type":[{list:["none","disc","decimal",H]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,W]}],"underline-offset":[{"underline-offset":["auto",F,H]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",H]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",H]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",K]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",J]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Q]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[F,H]}],"outline-w":[{outline:[F,W]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[F,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,V]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",_,H]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",H]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",H]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",H]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[L,H]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",H]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",H]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",H]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[F,W,B]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));var ae=["orientation","opts","setApi","plugins","className","children"],le=["className"],se=["className"],ie=["className"],ce=["className"],de=["className","reverse","pauseOnHover","children","vertical","repeat","width","itemClassName"],ue=function(o){var a=o.data,l=o.customClassNames,s=void 0===l?{}:l,i=o.itemIndex,c=o.canvasType,d=a.type,p=a.text,m=a.url,b=a.source,f=a.children,g=a.layout,v=a.rolling,h=a.folding,y=a.borderwidth,x=a.bordercolor,w=a.color,N=u(e.useState(!1),2),E=N[0],k=N[1],C=["#E6F3F5","#F7EBE5","#E8F4D4","#F5E6EA","#E5EAF7","#F4E9D1","#DCF5EB","#F2E4F6","#E9E9ED","#E3C9B5","#30D6B0"];return function(){switch(d.toLowerCase()){case"image":return e.createElement("div",{className:Ne("flex justify-center items-center",s.imageWrapper||"")},e.createElement("img",{src:b,alt:p,className:Ne("max-w-full object-contain",s.image||"")}));case"title":return e.createElement("h2",{className:"text-xl font-bold mb-2 ".concat(s.title||"")},p);case"subtitle":return e.createElement("h3",{className:"text-sm font-medium text-secondary mb-2 ".concat(s.subtitle||"")},p);case"header":return e.createElement("h1",{className:"text-2xl font-bold mb-4 ".concat(s.header||"")},p);case"subheader":return e.createElement("h2",{className:"text-sm font-medium text-secondary mb-2 ".concat(s.subheader||"")},p);case"text":return e.createElement(t,{className:"mb-4 ".concat(s.text||"")},p);case"circledText":return e.createElement("div",{className:"flex items-center gap-2 ".concat(s.circledTextWrapper||"")},e.createElement("span",{className:"w-4 h-4 rounded-full inline-block ".concat(s.circle||"bg-gray-400")}),e.createElement("p",{className:s.circledText||""},p));case"button":return e.createElement("button",{className:"".concat(s.btn||"text-black"," ")},p);case"TESTIMONIAL":case"testimonial":case"gallery":case"GALLERY":return e.createElement(e.Fragment,null,v?e.createElement(we,{width:"100%"},f.map((function(r,t){return e.createElement(ue,{data:r,customClassNames:s,itemIndex:t,canvasType:c})}))," "):e.createElement(ge,{opts:{loop:!0}},e.createElement(ve,null,f.map((function(r,t){return e.createElement(he,{className:"md:basis-1/2 lg:basis-1/3"},e.createElement("div",{className:Ne("p-4 border rounded-lg h-full flex flex-col justify-between",s.containerCarousal||"")},r.children.map((function(r,t){return e.createElement("div",{key:t,className:"mb-2"},e.createElement(ue,{data:r,customClassNames:s,itemIndex:t,canvasType:c}))}))))}))),e.createElement("div",{className:"flex items-center justify-center gap-3 py-3"},e.createElement(ye,{className:"cursor-pointer"}),e.createElement(xe,{className:"cursor-pointer"}))));case"tag":case"label":return e.createElement("span",{className:"p-2 text-xs font-semibold rounded-full text-gray-800 ".concat(s.text||""),style:{backgroundColor:C[i]}},p);case"link":return e.createElement("div",null,e.createElement("a",{href:m,target:"_blank",rel:"noopener noreferrer",className:"block hover:opacity-80 text-[#2655b1] transition-opacity duration-300 ".concat(s.link||"")},p||"Link"+i));case"video":if(b.includes("youtube.com")||b.includes("youtu.be")){var o=pe(b);return e.createElement("div",{className:"aspect-w-16 aspect-h-9 mb-4 ".concat(s.videoWrapper||"")},e.createElement("iframe",{src:"https://www.youtube.com/embed/".concat(o),title:"".concat(o),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full ".concat(s.video||"")}))}return e.createElement("video",{controls:!0,className:"w-full mb-4 ".concat(s.video||"")},e.createElement("source",{src:b,type:"video/mp4"}),"Your browser does not support the video tag.");case"card":case"CARD":if("tab"===g&&f)return e.createElement(r.Tab.Group,null,e.createElement(r.Tab.List,{className:"flex space-x-1 rounded-xl bg-white border p-1 ".concat(s.tabList||"")},f.map((function(t,o){return e.createElement(r.Tab,{key:o,className:function(e){var r=e.selected;return"w-full rounded-lg py-2.5 text-sm font-medium leading-5\n ".concat(r?"bg-black/[0.12] focus:outline-none ".concat(s.tabSelected||""):"hover:bg-black/[0.12] hover:text-black ".concat(s.tab||""))}},t.text)}))),e.createElement(r.Tab.Panels,{className:"mt-2 ".concat(s.tabPanels||"")},f.map((function(t,o){return e.createElement(r.Tab.Panel,{key:o,className:"rounded-xl bg-white p-3 ".concat(s.tabPanel||"")},e.createElement(ue,{data:t,customClassNames:s,itemIndex:o,canvasType:c}))}))));if(h&&f){var l=f.find((function(e){return["title","header","subheader"].includes(e.type)}))||f[0];return e.createElement("div",{className:Ne("border rounded-lg overflow-hidden w-full",s.accordionWrapper||"")},e.createElement("button",{onClick:function(){return k(!E)},className:Ne("w-full flex justify-between items-center p-2 bg-gray-100 hover:bg-gray-200 transition-colors duration-300",s.accordionButton||"")},e.createElement("div",{className:Ne("flex-grow text-left",s.accordionHeaderWrapper||"")},e.createElement(ue,{data:l,customClassNames:s,itemIndex:"0",canvasType:c})),e.createElement(n.ChevronDown,{className:Ne("w-5 h-5 text-gray-600 transition-transform duration-300",E?"rotate-180":"",s.accordionIcon||"")})),e.createElement("div",{className:Ne("grid transition-all duration-300 ease-in-out",E?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",s.accordionContent||"")},e.createElement("div",{className:"overflow-hidden"},e.createElement("div",{className:"p-4"},f.slice(1).map((function(r,t){return e.createElement(ue,{key:t,data:r,customClassNames:s,itemIndex:t,canvasType:c})}))))))}if(f){var u="-"===g?"md:!flex-row overflow-x-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-gray-100 ".concat(c?"":"max-w-[450px]"):"md:!flex-col",N=y&&0!==y?"border border-[".concat(x,"] hover:border-[").concat(x,"] rounded-[0.8rem] shadow-lg p-[0.6rem]"):"";return e.createElement("div",{className:Ne("flex flex-col",u,"gap-4","min-w-[220px]",N,s.cardGroup),style:{backgroundColor:w}},f.map((function(r,t){return e.createElement(ue,{key:t,data:r,customClassNames:s,itemIndex:t,canvasType:c})})))}return null;default:return e.createElement("p",{className:"mb-4 ".concat(s.default||"")},JSON.stringify(a))}}()},pe=function(e){var r=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return r?r[1]:null},me=function(r){var t=r.data,o=r.level,n=void 0===o?1:o,a=r.customClassNames,l=void 0===a?{}:a,s=r.canvasType,i={1:"p-4",2:"p-3",3:"p-2",4:"p-1"};if(!t)return null;var d=t.color,p=c(c({},l),{},{cardGroup:Ne("border border-orange-300/40 rounded-lg",d&&"bg-[".concat(d,"]"),i[n]||"p-2",1===n?"":"min-h-[100px]",l.canvasNode),containerCarousal:Ne("border border-orange-300/40 rounded-lg",i[n]||"p-2",l.containerCarousal),accordionWrapper:Ne("border border-orange-300/40 rounded-lg",l.accordionWrapper)},Object.entries(l).reduce((function(e,r){var t=u(r,2),o=t[0],n=t[1];return["cardGroup","containerCarousal","accordionWrapper"].includes(o)||(e[o]=n),e}),{})),m=function(e){return e?e.map((function(e){return c(c({},e),{},{children:e.children?m(e.children):void 0,customClassNames:p})})):e},b=c(c({},t),{},{children:t.children?m(t.children):void 0});return e.createElement(ue,{data:b,customClassNames:p,itemIndex:"0",canvasType:s})},be=e.createContext(null);function fe(){var r=e.useContext(be);if(!r)throw new Error("useCarousel must be used within a <Carousel />");return r}var ge=e.forwardRef((function(r,t){var n=r.orientation,a=void 0===n?"horizontal":n,l=r.opts,i=r.setApi,p=r.plugins,m=r.className,b=r.children,f=d(r,ae),g=u(o(c(c({},l),{},{axis:"horizontal"===a?"x":"y"}),p),2),v=g[0],h=g[1],y=u(e.useState(!1),2),x=y[0],w=y[1],N=u(e.useState(!1),2),E=N[0],k=N[1],C=e.useCallback((function(e){e&&(w(e.canScrollPrev()),k(e.canScrollNext()))}),[]),j=e.useCallback((function(){null==h||h.scrollPrev()}),[h]),z=e.useCallback((function(){null==h||h.scrollNext()}),[h]),P=e.useCallback((function(e){"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),z())}),[j,z]);return e.useEffect((function(){h&&i&&i(h)}),[h,i]),e.useEffect((function(){if(h)return C(h),h.on("reInit",C),h.on("select",C),function(){null==h||h.off("select",C)}}),[h,C]),e.createElement(be.Provider,{value:{carouselRef:v,api:h,opts:l,orientation:a||("y"===(null==l?void 0:l.axis)?"vertical":"horizontal"),scrollPrev:j,scrollNext:z,canScrollPrev:x,canScrollNext:E}},e.createElement("div",s({ref:t,onKeyDownCapture:P,className:Ne("relative",m),role:"region","aria-roledescription":"carousel"},f),b))}));ge.displayName="Carousel";var ve=e.forwardRef((function(r,t){var o=r.className,n=d(r,le),a=fe(),l=a.carouselRef,i=a.orientation;return e.createElement("div",{ref:l,className:"overflow-hidden"},e.createElement("div",s({ref:t,className:Ne("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",o)},n)))}));ve.displayName="CarouselContent";var he=e.forwardRef((function(r,t){var o=r.className,n=d(r,se);return e.createElement("div",s({ref:t,role:"group","aria-roledescription":"slide",className:Ne("min-w-0 shrink-0 grow-0 basis-full pl-4",o)},n))}));he.displayName="CarouselItem";var ye=e.forwardRef((function(r,t){var o=r.className,a=d(r,ie),l=fe(),i=l.scrollPrev,c=l.canScrollPrev;return e.createElement("button",s({ref:t,className:Ne("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!c,onClick:i},a),e.createElement(n.ChevronLeft,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Previous slide"))}));ye.displayName="CarouselPrevious";var xe=e.forwardRef((function(r,t){var o=r.className,a=d(r,ce),l=fe(),i=l.scrollNext,c=l.canScrollNext;return e.createElement("button",s({ref:t,className:Ne("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!c,onClick:i},a),e.createElement(n.ChevronRight,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Next slide"))}));function we(r){var t=r.className,o=r.reverse,n=r.pauseOnHover,a=void 0!==n&&n,l=r.children,i=r.vertical,c=void 0!==i&&i,u=r.repeat,p=void 0===u?4:u,m=r.width,b=void 0===m?"100%":m,f=r.itemClassName,g=d(r,de);return e.createElement("div",s({},g,{className:Ne("group overflow-hidden p-2 [--duration:40s] [--gap:1rem]",t),style:{width:b}}),e.createElement("div",{className:Ne("flex [gap:var(--gap)]",{"flex-row":!c,"flex-col":c})},Array(p).fill(0).map((function(r,t){return e.createElement("div",{key:t,className:Ne("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!c,"animate-marquee-vertical flex-col":c,"group-hover:[animation-play-state:paused]":a,"[animation-direction:reverse]":o})},e.Children.map(l,(function(r,t){return t<e.Children.count(l)-1&&e.createElement("div",{key:t,className:Ne("border border-gray-300 rounded p-2 w-96",f)},r)})))}))))}function Ne(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return ne(function(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=p(e))&&(o&&(o+=" "),o+=r);return o}(r))}xe.displayName="CarouselNext",module.exports=function(r){var t=r.content,o=r.canvasType,n=void 0!==o&&o,a=r.customClassNames,l=void 0===a?{}:a,s=r.wrapperClassName,i=void 0===s?"":s,c=n?me:ue,d=Array.isArray(t);return e.createElement("div",{className:Ne(n&&"w-full max-w-[1200px] mx-auto",i)},d?e.createElement("div",{className:n?"space-y-8":""},t.map((function(r,t){return e.createElement("div",{key:t,className:n?"mb-8":""},e.createElement(c,{data:r,customClassNames:l,level:1,canvasType:n}))}))):e.createElement(c,{data:t,customClassNames:l,level:1,canvasType:n}))}; | ||
"use strict";var e=require("react"),r=require("@headlessui/react"),t=require("react-markdown"),o=require("embla-carousel-react"),n=require("lucide-react");function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o}function l(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},s.apply(null,arguments)}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function c(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){l(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function d(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.includes(o))continue;t[o]=e[o]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function u(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a,l,s=[],i=!0,c=!1;try{if(a=(t=t.call(e)).next,0===r);else for(;!(i=(o=a.call(t)).done)&&(s.push(o.value),s.length!==r);i=!0);}catch(e){c=!0,n=e}finally{try{if(!i&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw n}}return s}}(e,r)||function(e,r){if(e){if("string"==typeof e)return a(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){var r,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=p(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}const m=e=>{const r=v(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),b(t,r)||g(e)},getConflictingClassGroupIds:(e,r)=>{const n=t[e]||[];return r&&o[e]?[...n,...o[e]]:n}}},b=(e,r)=>{if(0===e.length)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?b(e.slice(1),o):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find((({validator:e})=>e(a)))?.classGroupId},f=/^\[(.+)\]$/,g=e=>{if(f.test(e)){const r=f.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},v=e=>{const{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return w(Object.entries(e.classGroups),t).forEach((([e,t])=>{h(t,o,e,r)})),o},h=(e,r,t,o)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return x(e)?void h(e(o),r,t,o):void r.validators.push({validator:e,classGroupId:t});Object.entries(e).forEach((([e,n])=>{h(n,y(r,e),t,o)}))}else{(""===e?r:y(r,e)).classGroupId=t}}))},y=(e,r)=>{let t=e;return r.split("-").forEach((e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)})),t},x=e=>e.isThemeGetter,w=(e,r)=>r?e.map((([e,t])=>[e,t.map((e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,t])=>[r+e,t]))):e))])):e,N=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}},E=e=>{const{separator:r,experimentalParseClassName:t}=e,o=1===r.length,n=r[0],a=r.length,l=e=>{const t=[];let l,s=0,i=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===n&&(o||e.slice(c,c+a)===r)){t.push(e.slice(i,c)),i=c+a;continue}if("/"===d){l=c;continue}}"["===d?s++:"]"===d&&s--}const c=0===t.length?e:e.substring(i),d=c.startsWith("!");return{modifiers:t,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:l&&l>i?l-i:void 0}};return t?e=>t({className:e,parseClassName:l}):l},k=e=>{if(e.length<=1)return e;const r=[];let t=[];return e.forEach((e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)})),r.push(...t.sort()),r},C=/\s+/;function j(){let e,r,t=0,o="";for(;t<arguments.length;)(e=arguments[t++])&&(r=z(e))&&(o&&(o+=" "),o+=r);return o}const z=e=>{if("string"==typeof e)return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=z(e[o]))&&(t&&(t+=" "),t+=r);return t};function P(e,...r){let t,o,n,a=function(s){const i=r.reduce(((e,r)=>r(e)),e());return t=(e=>({cache:N(e.cacheSize),parseClassName:E(e),...m(e)}))(i),o=t.cache.get,n=t.cache.set,a=l,l(s)};function l(e){const r=o(e);if(r)return r;const a=((e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(C);let s="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{modifiers:i,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=t(r);let p=Boolean(u),m=o(p?d.substring(0,u):d);if(!m){if(!p){s=r+(s.length>0?" "+s:s);continue}if(m=o(d),!m){s=r+(s.length>0?" "+s:s);continue}p=!1}const b=k(i).join(":"),f=c?b+"!":b,g=f+m;if(a.includes(g))continue;a.push(g);const v=n(m,p);for(let e=0;e<v.length;++e){const r=v[e];a.push(f+r)}s=r+(s.length>0?" "+s:s)}return s})(e,t);return n(e,a),a}return function(){return a(j.apply(null,arguments))}}const O=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},S=/^\[(?:([a-z-]+):)?(.+)\]$/i,I=/^\d+\/\d+$/,T=new Set(["px","full","screen"]),A=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,G=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,R=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,D=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>q(e)||T.has(e)||I.test(e),W=e=>Z(e,"length",ee),q=e=>Boolean(e)&&!Number.isNaN(Number(e)),B=e=>Z(e,"number",q),L=e=>Boolean(e)&&Number.isInteger(Number(e)),$=e=>e.endsWith("%")&&q(e.slice(0,-1)),H=e=>S.test(e),_=e=>A.test(e),Y=new Set(["length","size","percentage"]),J=e=>Z(e,Y,re),K=e=>Z(e,"position",re),U=new Set(["image","url"]),Q=e=>Z(e,U,oe),V=e=>Z(e,"",te),X=()=>!0,Z=(e,r,t)=>{const o=S.exec(e);return!!o&&(o[1]?"string"==typeof r?o[1]===r:r.has(o[1]):t(o[2]))},ee=e=>G.test(e)&&!R.test(e),re=()=>!1,te=e=>D.test(e),oe=e=>M.test(e),ne=P((()=>{const e=O("colors"),r=O("spacing"),t=O("blur"),o=O("brightness"),n=O("borderColor"),a=O("borderRadius"),l=O("borderSpacing"),s=O("borderWidth"),i=O("contrast"),c=O("grayscale"),d=O("hueRotate"),u=O("invert"),p=O("gap"),m=O("gradientColorStops"),b=O("gradientColorStopPositions"),f=O("inset"),g=O("margin"),v=O("opacity"),h=O("padding"),y=O("saturate"),x=O("scale"),w=O("sepia"),N=O("skew"),E=O("space"),k=O("translate"),C=()=>["auto",H,r],j=()=>[H,r],z=()=>["",F,W],P=()=>["auto",q,H],S=()=>["","0",H],I=()=>[q,H];return{cacheSize:500,separator:":",theme:{colors:[X],spacing:[F,W],blur:["none","",_,H],brightness:I(),borderColor:[e],borderRadius:["none","","full",_,H],borderSpacing:j(),borderWidth:z(),contrast:I(),grayscale:S(),hueRotate:I(),invert:S(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[$,W],inset:C(),margin:C(),opacity:I(),padding:j(),saturate:I(),scale:I(),sepia:S(),skew:I(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",H]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",H]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",L,H]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",H]}],grow:[{grow:S()}],shrink:[{shrink:S()}],order:[{order:["first","last","none",L,H]}],"grid-cols":[{"grid-cols":[X]}],"col-start-end":[{col:["auto",{span:["full",L,H]},H]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[X]}],"row-start-end":[{row:["auto",{span:[L,H]},H]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",H]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",H]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",H,r]}],"min-w":[{"min-w":[H,r,"min","max","fit"]}],"max-w":[{"max-w":[H,r,"none","full","min","max","fit","prose",{screen:[_]},_]}],h:[{h:[H,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[H,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[H,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[H,r,"auto","min","max","fit"]}],"font-size":[{text:["base",_,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",B]}],"font-family":[{font:[X]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",H]}],"line-clamp":[{"line-clamp":["none",q,B]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,H]}],"list-image":[{"list-image":["none",H]}],"list-style-type":[{list:["none","disc","decimal",H]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,W]}],"underline-offset":[{"underline-offset":["auto",F,H]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",H]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",H]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",K]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",J]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Q]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[F,H]}],"outline-w":[{outline:[F,W]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[F,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,V]}],"shadow-color":[{shadow:[X]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",_,H]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",H]}],duration:[{duration:I()}],ease:[{ease:["linear","in","out","in-out",H]}],delay:[{delay:I()}],animate:[{animate:["none","spin","ping","pulse","bounce",H]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[L,H]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",H]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",H]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",H]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[F,W,B]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));var ae=["orientation","opts","setApi","plugins","className","children"],le=["className"],se=["className"],ie=["className"],ce=["className"],de=["className","reverse","pauseOnHover","children","vertical","repeat","width","itemClassName"],ue=function(o){var a=o.data,l=o.customClassNames,s=void 0===l?{}:l,i=o.level,c=o.itemIndex,d=o.canvasType,p=a.type,m=a.text,b=a.url,f=a.source,g=a.children,v=a.layout,h=a.rolling,y=a.folding,x=a.borderwidth,w=a.bordercolor,N=a.color,E=u(e.useState(!1),2),k=E[0],C=E[1],j=["#E6F3F5","#F7EBE5","#E8F4D4","#F5E6EA","#E5EAF7","#F4E9D1","#DCF5EB","#F2E4F6","#E9E9ED","#E3C9B5","#30D6B0"];return function(){switch(p.toLowerCase()){case"image":return e.createElement("div",{className:ke("flex justify-center items-center",s.imageWrapper||"")},e.createElement("img",{src:f,alt:m,className:ke("max-w-full object-contain",s.image||"")}));case"title":return e.createElement("h2",{className:"text-xl font-bold mb-2 ".concat(s.title||"")},m);case"subtitle":return e.createElement("h3",{className:"text-sm font-medium text-secondary mb-2 ".concat(s.subtitle||"")},m);case"header":return e.createElement("h1",{className:"text-2xl font-bold mb-4 ".concat(s.header||"")},m);case"subheader":return e.createElement("h2",{className:"text-sm font-medium text-secondary mb-2 ".concat(s.subheader||"")},m);case"text":return e.createElement(t,{className:"mb-4 ".concat(s.text||"")},m);case"circledText":return e.createElement("div",{className:"flex items-center gap-2 ".concat(s.circledTextWrapper||"")},e.createElement("span",{className:"w-4 h-4 rounded-full inline-block ".concat(s.circle||"bg-gray-400")}),e.createElement("p",{className:s.circledText||""},m));case"button":return e.createElement("button",{className:"".concat(s.btn||"text-black"," ")},m);case"TESTIMONIAL":case"testimonial":case"gallery":case"GALLERY":return e.createElement(e.Fragment,null,h?e.createElement(Ee,{width:"100%"},g.map((function(r,t){return e.createElement(ue,{data:r,customClassNames:s,itemIndex:t,canvasType:d,level:2})}))," "):e.createElement(he,{opts:{loop:!0}},e.createElement(ye,null,g.map((function(r,t){return e.createElement(xe,{className:"md:basis-1/2 lg:basis-1/3"},e.createElement("div",{className:ke("p-4 border rounded-lg h-full flex flex-col justify-between",s.containerCarousal||"")},r.children.map((function(r,t){return e.createElement("div",{key:t,className:"mb-2"},e.createElement(ue,{data:r,customClassNames:s,itemIndex:t,canvasType:d,level:2}))}))))}))),e.createElement("div",{className:"flex items-center justify-center gap-3 py-3"},e.createElement(we,{className:"cursor-pointer"}),e.createElement(Ne,{className:"cursor-pointer"}))));case"tag":case"label":return e.createElement("span",{className:"p-2 text-xs font-semibold rounded-full text-gray-800 ".concat(s.text||""),style:{backgroundColor:j[c]}},m);case"link":return e.createElement("div",null,e.createElement("a",{href:b,target:"_blank",rel:"noopener noreferrer",className:"block hover:opacity-80 text-[#2655b1] transition-opacity duration-300 ".concat(s.link||"")},m||"→"));case"video":if(f.includes("youtube.com")||f.includes("youtu.be")){var o=pe(f);return e.createElement("div",{className:"aspect-w-16 aspect-h-9 mb-4 ".concat(s.videoWrapper||"")},e.createElement("iframe",{src:"https://www.youtube.com/embed/".concat(o),title:"".concat(o),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full ".concat(s.video||"")}))}return e.createElement("video",{controls:!0,className:"w-full mb-4 ".concat(s.video||"")},e.createElement("source",{src:f,type:"video/mp4"}),"Your browser does not support the video tag.");case"card":case"CARD":if("tab"===v&&g)return e.createElement(r.Tab.Group,null,e.createElement(r.Tab.List,{className:"flex space-x-1 rounded-xl bg-white border p-1 ".concat(s.tabList||"")},g.map((function(t,o){return e.createElement(r.Tab,{key:o,className:function(e){var r=e.selected;return"w-full rounded-lg py-2.5 text-sm font-medium leading-5\n ".concat(r?"bg-black/[0.12] focus:outline-none ".concat(s.tabSelected||""):"hover:bg-black/[0.12] hover:text-black ".concat(s.tab||""))}},t.text)}))),e.createElement(r.Tab.Panels,{className:"mt-2 ".concat(s.tabPanels||"")},g.map((function(t,o){return e.createElement(r.Tab.Panel,{key:o,className:"rounded-xl bg-white p-3 ".concat(s.tabPanel||"")},e.createElement(ue,{data:t,customClassNames:s,itemIndex:o,canvasType:d,level:2}))}))));if(y&&g){var l=g.find((function(e){return["title","header","subheader"].includes(e.type)}))||g[0];return e.createElement("div",{className:ke("border rounded-lg overflow-hidden w-full",s.accordionWrapper||"")},e.createElement("button",{onClick:function(){return C(!k)},className:ke("w-full flex justify-between items-center p-2 bg-gray-100 hover:bg-gray-200 transition-colors duration-300",s.accordionButton||"")},e.createElement("div",{className:ke("flex-grow text-left",s.accordionHeaderWrapper||"")},e.createElement(ue,{data:l,customClassNames:s,itemIndex:"0",canvasType:d,level:2})),e.createElement(n.ChevronDown,{className:ke("w-5 h-5 text-gray-600 transition-transform duration-300",k?"rotate-180":"",s.accordionIcon||"")})),e.createElement("div",{className:ke("grid transition-all duration-300 ease-in-out",k?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",s.accordionContent||"")},e.createElement("div",{className:"overflow-hidden"},e.createElement("div",{className:"p-4"},g.slice(1).map((function(r,t){return e.createElement(ue,{key:t,data:r,customClassNames:s,itemIndex:t,canvasType:d,level:2})}))))))}if(g){var u="-"===v?"md:!flex-row overflow-x-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-gray-100 ":"md:!flex-col ".concat(!d&&"-"===be&&2===i&&fe>3&&"max-w-[450px]"," ").concat(!d&&"-"===be&&2===i&&3===fe&&"w-[32%]","\n ").concat(!d&&"-"===be&&2===i&&2===fe&&"w-[48%]"),E=x&&0!==x?"border border-[".concat(w,"] hover:border-[").concat(w,"] rounded-[0.8rem] shadow-lg p-[0.6rem]"):"";return e.createElement("div",{className:ke("flex flex-col",u,"gap-4","min-w-[220px]",E,s.cardGroup),style:{backgroundColor:N}},g.map((function(r,t){return e.createElement(ue,{key:t,data:r,customClassNames:s,itemIndex:t,canvasType:d,level:2})})))}return null;default:return e.createElement("p",{className:"mb-4 ".concat(s.default||"")},JSON.stringify(a))}}()},pe=function(e){var r=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return r?r[1]:null},me=function(r){var t=r.data,o=r.level,n=void 0===o?1:o,a=r.customClassNames,l=void 0===a?{}:a,s=r.canvasType,i={1:"p-4",2:"p-3",3:"p-2",4:"p-1"};if(!t)return null;var d=t.color,p=c(c({},l),{},{cardGroup:ke("border border-orange-300/40 rounded-lg",d&&"bg-[".concat(d,"]"),i[n]||"p-2",1===n?"":"min-h-[100px]",l.canvasNode),containerCarousal:ke("border border-orange-300/40 rounded-lg",i[n]||"p-2",l.containerCarousal),accordionWrapper:ke("border border-orange-300/40 rounded-lg",l.accordionWrapper)},Object.entries(l).reduce((function(e,r){var t=u(r,2),o=t[0],n=t[1];return["cardGroup","containerCarousal","accordionWrapper"].includes(o)||(e[o]=n),e}),{})),m=function(e){return e?e.map((function(e){return c(c({},e),{},{children:e.children?m(e.children):void 0,customClassNames:p})})):e},b=c(c({},t),{},{children:t.children?m(t.children):void 0});return e.createElement(ue,{data:b,customClassNames:p,itemIndex:"0",level:2,canvasType:s})},be="",fe="",ge=e.createContext(null);function ve(){var r=e.useContext(ge);if(!r)throw new Error("useCarousel must be used within a <Carousel />");return r}var he=e.forwardRef((function(r,t){var n=r.orientation,a=void 0===n?"horizontal":n,l=r.opts,i=r.setApi,p=r.plugins,m=r.className,b=r.children,f=d(r,ae),g=u(o(c(c({},l),{},{axis:"horizontal"===a?"x":"y"}),p),2),v=g[0],h=g[1],y=u(e.useState(!1),2),x=y[0],w=y[1],N=u(e.useState(!1),2),E=N[0],k=N[1],C=e.useCallback((function(e){e&&(w(e.canScrollPrev()),k(e.canScrollNext()))}),[]),j=e.useCallback((function(){null==h||h.scrollPrev()}),[h]),z=e.useCallback((function(){null==h||h.scrollNext()}),[h]),P=e.useCallback((function(e){"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),z())}),[j,z]);return e.useEffect((function(){h&&i&&i(h)}),[h,i]),e.useEffect((function(){if(h)return C(h),h.on("reInit",C),h.on("select",C),function(){null==h||h.off("select",C)}}),[h,C]),e.createElement(ge.Provider,{value:{carouselRef:v,api:h,opts:l,orientation:a||("y"===(null==l?void 0:l.axis)?"vertical":"horizontal"),scrollPrev:j,scrollNext:z,canScrollPrev:x,canScrollNext:E}},e.createElement("div",s({ref:t,onKeyDownCapture:P,className:ke("relative",m),role:"region","aria-roledescription":"carousel"},f),b))}));he.displayName="Carousel";var ye=e.forwardRef((function(r,t){var o=r.className,n=d(r,le),a=ve(),l=a.carouselRef,i=a.orientation;return e.createElement("div",{ref:l,className:"overflow-hidden"},e.createElement("div",s({ref:t,className:ke("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",o)},n)))}));ye.displayName="CarouselContent";var xe=e.forwardRef((function(r,t){var o=r.className,n=d(r,se);return e.createElement("div",s({ref:t,role:"group","aria-roledescription":"slide",className:ke("min-w-0 shrink-0 grow-0 basis-full pl-4",o)},n))}));xe.displayName="CarouselItem";var we=e.forwardRef((function(r,t){var o=r.className,a=d(r,ie),l=ve(),i=l.scrollPrev,c=l.canScrollPrev;return e.createElement("button",s({ref:t,className:ke("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!c,onClick:i},a),e.createElement(n.ChevronLeft,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Previous slide"))}));we.displayName="CarouselPrevious";var Ne=e.forwardRef((function(r,t){var o=r.className,a=d(r,ce),l=ve(),i=l.scrollNext,c=l.canScrollNext;return e.createElement("button",s({ref:t,className:ke("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!c,onClick:i},a),e.createElement(n.ChevronRight,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Next slide"))}));function Ee(r){var t=r.className,o=r.reverse,n=r.pauseOnHover,a=void 0!==n&&n,l=r.children,i=r.vertical,c=void 0!==i&&i,u=r.repeat,p=void 0===u?4:u,m=r.width,b=void 0===m?"100%":m,f=r.itemClassName,g=d(r,de);return e.createElement("div",s({},g,{className:ke("group overflow-hidden p-2 [--duration:40s] [--gap:1rem]",t),style:{width:b}}),e.createElement("div",{className:ke("flex [gap:var(--gap)]",{"flex-row":!c,"flex-col":c})},Array(p).fill(0).map((function(r,t){return e.createElement("div",{key:t,className:ke("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!c,"animate-marquee-vertical flex-col":c,"group-hover:[animation-play-state:paused]":a,"[animation-direction:reverse]":o})},e.Children.map(l,(function(r,t){return t<e.Children.count(l)-1&&e.createElement("div",{key:t,className:ke("border border-gray-300 rounded p-2 w-96",f)},r)})))}))))}function ke(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return ne(function(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=p(e))&&(o&&(o+=" "),o+=r);return o}(r))}Ne.displayName="CarouselNext",module.exports=function(r){var t=r.content,o=r.canvasType,n=void 0!==o&&o,a=r.customClassNames,l=void 0===a?{}:a,s=r.wrapperClassName,i=void 0===s?"":s,c=n?me:ue,d=Array.isArray(t);return d||(be=t.layout,fe=t.children.length),e.createElement("div",{className:ke(n&&"w-full max-w-[1200px] mx-auto",i)},d?e.createElement("div",{className:n?"space-y-8":""},t.map((function(r,t){return e.createElement("div",{key:t,className:n?"mb-8":""},e.createElement(c,{data:r,customClassNames:l,level:1,canvasType:n}))}))):e.createElement(c,{data:t,customClassNames:l,level:1,canvasType:n}))}; |
@@ -1,1 +0,1 @@ | ||
import e,{useState as r}from"react";import{Tab as t}from"@headlessui/react";import o from"react-markdown";import n from"embla-carousel-react";import{ChevronLeft as a,ChevronRight as l,ChevronDown as s}from"lucide-react";function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o}function c(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},d.apply(null,arguments)}function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function m(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?u(Object(t),!0).forEach((function(r){c(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function p(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.includes(o))continue;t[o]=e[o]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function b(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a,l,s=[],i=!0,c=!1;try{if(a=(t=t.call(e)).next,0===r);else for(;!(i=(o=a.call(t)).done)&&(s.push(o.value),s.length!==r);i=!0);}catch(e){c=!0,n=e}finally{try{if(!i&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw n}}return s}}(e,r)||function(e,r){if(e){if("string"==typeof e)return i(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e){var r,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=f(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}const g=e=>{const r=x(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),v(t,r)||y(e)},getConflictingClassGroupIds:(e,r)=>{const n=t[e]||[];return r&&o[e]?[...n,...o[e]]:n}}},v=(e,r)=>{if(0===e.length)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?v(e.slice(1),o):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find((({validator:e})=>e(a)))?.classGroupId},h=/^\[(.+)\]$/,y=e=>{if(h.test(e)){const r=h.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},x=e=>{const{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return k(Object.entries(e.classGroups),t).forEach((([e,t])=>{w(t,o,e,r)})),o},w=(e,r,t,o)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return E(e)?void w(e(o),r,t,o):void r.validators.push({validator:e,classGroupId:t});Object.entries(e).forEach((([e,n])=>{w(n,N(r,e),t,o)}))}else{(""===e?r:N(r,e)).classGroupId=t}}))},N=(e,r)=>{let t=e;return r.split("-").forEach((e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)})),t},E=e=>e.isThemeGetter,k=(e,r)=>r?e.map((([e,t])=>[e,t.map((e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,t])=>[r+e,t]))):e))])):e,C=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}},j=e=>{const{separator:r,experimentalParseClassName:t}=e,o=1===r.length,n=r[0],a=r.length,l=e=>{const t=[];let l,s=0,i=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===n&&(o||e.slice(c,c+a)===r)){t.push(e.slice(i,c)),i=c+a;continue}if("/"===d){l=c;continue}}"["===d?s++:"]"===d&&s--}const c=0===t.length?e:e.substring(i),d=c.startsWith("!");return{modifiers:t,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:l&&l>i?l-i:void 0}};return t?e=>t({className:e,parseClassName:l}):l},z=e=>{if(e.length<=1)return e;const r=[];let t=[];return e.forEach((e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)})),r.push(...t.sort()),r},P=/\s+/;function O(){let e,r,t=0,o="";for(;t<arguments.length;)(e=arguments[t++])&&(r=S(e))&&(o&&(o+=" "),o+=r);return o}const S=e=>{if("string"==typeof e)return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=S(e[o]))&&(t&&(t+=" "),t+=r);return t};function I(e,...r){let t,o,n,a=function(s){const i=r.reduce(((e,r)=>r(e)),e());return t=(e=>({cache:C(e.cacheSize),parseClassName:j(e),...g(e)}))(i),o=t.cache.get,n=t.cache.set,a=l,l(s)};function l(e){const r=o(e);if(r)return r;const a=((e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(P);let s="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{modifiers:i,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=t(r);let m=Boolean(u),p=o(m?d.substring(0,u):d);if(!p){if(!m){s=r+(s.length>0?" "+s:s);continue}if(p=o(d),!p){s=r+(s.length>0?" "+s:s);continue}m=!1}const b=z(i).join(":"),f=c?b+"!":b,g=f+p;if(a.includes(g))continue;a.push(g);const v=n(p,m);for(let e=0;e<v.length;++e){const r=v[e];a.push(f+r)}s=r+(s.length>0?" "+s:s)}return s})(e,t);return n(e,a),a}return function(){return a(O.apply(null,arguments))}}const A=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},G=/^\[(?:([a-z-]+):)?(.+)\]$/i,T=/^\d+\/\d+$/,R=new Set(["px","full","screen"]),D=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,M=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,F=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,W=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,B=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L=e=>q(e)||R.has(e)||T.test(e),$=e=>te(e,"length",oe),q=e=>Boolean(e)&&!Number.isNaN(Number(e)),H=e=>te(e,"number",q),_=e=>Boolean(e)&&Number.isInteger(Number(e)),Y=e=>e.endsWith("%")&&q(e.slice(0,-1)),J=e=>G.test(e),K=e=>D.test(e),U=new Set(["length","size","percentage"]),Q=e=>te(e,U,ne),V=e=>te(e,"position",ne),X=new Set(["image","url"]),Z=e=>te(e,X,le),ee=e=>te(e,"",ae),re=()=>!0,te=(e,r,t)=>{const o=G.exec(e);return!!o&&(o[1]?"string"==typeof r?o[1]===r:r.has(o[1]):t(o[2]))},oe=e=>M.test(e)&&!F.test(e),ne=()=>!1,ae=e=>W.test(e),le=e=>B.test(e),se=I((()=>{const e=A("colors"),r=A("spacing"),t=A("blur"),o=A("brightness"),n=A("borderColor"),a=A("borderRadius"),l=A("borderSpacing"),s=A("borderWidth"),i=A("contrast"),c=A("grayscale"),d=A("hueRotate"),u=A("invert"),m=A("gap"),p=A("gradientColorStops"),b=A("gradientColorStopPositions"),f=A("inset"),g=A("margin"),v=A("opacity"),h=A("padding"),y=A("saturate"),x=A("scale"),w=A("sepia"),N=A("skew"),E=A("space"),k=A("translate"),C=()=>["auto",J,r],j=()=>[J,r],z=()=>["",L,$],P=()=>["auto",q,J],O=()=>["","0",J],S=()=>[q,J];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[L,$],blur:["none","",K,J],brightness:S(),borderColor:[e],borderRadius:["none","","full",K,J],borderSpacing:j(),borderWidth:z(),contrast:S(),grayscale:O(),hueRotate:S(),invert:O(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[Y,$],inset:C(),margin:C(),opacity:S(),padding:j(),saturate:S(),scale:S(),sepia:O(),skew:S(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",J]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",J]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,J]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",J]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",_,J]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",_,J]},J]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[_,J]},J]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",J]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",J]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",J,r]}],"min-w":[{"min-w":[J,r,"min","max","fit"]}],"max-w":[{"max-w":[J,r,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[J,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[J,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[J,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[J,r,"auto","min","max","fit"]}],"font-size":[{text:["base",K,$]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",H]}],"font-family":[{font:[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",J]}],"line-clamp":[{"line-clamp":["none",q,H]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",L,J]}],"list-image":[{"list-image":["none",J]}],"list-style-type":[{list:["none","disc","decimal",J]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",L,$]}],"underline-offset":[{"underline-offset":["auto",L,J]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",V]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Q]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Z]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[L,J]}],"outline-w":[{outline:[L,$]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[L,$]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,ee]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",K,J]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",J]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",J]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",J]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[_,J]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",J]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",J]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",J]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[L,$,H]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));var ie=["orientation","opts","setApi","plugins","className","children"],ce=["className"],de=["className"],ue=["className"],me=["className"],pe=["className","reverse","pauseOnHover","children","vertical","repeat","width","itemClassName"],be=function(n){var a=n.data,l=n.customClassNames,i=void 0===l?{}:l,c=n.itemIndex,d=n.canvasType,u=a.type,m=a.text,p=a.url,f=a.source,g=a.children,v=a.layout,h=a.rolling,y=a.folding,x=a.borderwidth,w=a.bordercolor,N=a.color,E=b(r(!1),2),k=E[0],C=E[1],j=["#E6F3F5","#F7EBE5","#E8F4D4","#F5E6EA","#E5EAF7","#F4E9D1","#DCF5EB","#F2E4F6","#E9E9ED","#E3C9B5","#30D6B0"];return function(){switch(u.toLowerCase()){case"image":return e.createElement("div",{className:je("flex justify-center items-center",i.imageWrapper||"")},e.createElement("img",{src:f,alt:m,className:je("max-w-full object-contain",i.image||"")}));case"title":return e.createElement("h2",{className:"text-xl font-bold mb-2 ".concat(i.title||"")},m);case"subtitle":return e.createElement("h3",{className:"text-sm font-medium text-secondary mb-2 ".concat(i.subtitle||"")},m);case"header":return e.createElement("h1",{className:"text-2xl font-bold mb-4 ".concat(i.header||"")},m);case"subheader":return e.createElement("h2",{className:"text-sm font-medium text-secondary mb-2 ".concat(i.subheader||"")},m);case"text":return e.createElement(o,{className:"mb-4 ".concat(i.text||"")},m);case"circledText":return e.createElement("div",{className:"flex items-center gap-2 ".concat(i.circledTextWrapper||"")},e.createElement("span",{className:"w-4 h-4 rounded-full inline-block ".concat(i.circle||"bg-gray-400")}),e.createElement("p",{className:i.circledText||""},m));case"button":return e.createElement("button",{className:"".concat(i.btn||"text-black"," ")},m);case"TESTIMONIAL":case"testimonial":case"gallery":case"GALLERY":return e.createElement(e.Fragment,null,h?e.createElement(Ce,{width:"100%"},g.map((function(r,t){return e.createElement(be,{data:r,customClassNames:i,itemIndex:t,canvasType:d})}))," "):e.createElement(xe,{opts:{loop:!0}},e.createElement(we,null,g.map((function(r,t){return e.createElement(Ne,{className:"md:basis-1/2 lg:basis-1/3"},e.createElement("div",{className:je("p-4 border rounded-lg h-full flex flex-col justify-between",i.containerCarousal||"")},r.children.map((function(r,t){return e.createElement("div",{key:t,className:"mb-2"},e.createElement(be,{data:r,customClassNames:i,itemIndex:t,canvasType:d}))}))))}))),e.createElement("div",{className:"flex items-center justify-center gap-3 py-3"},e.createElement(Ee,{className:"cursor-pointer"}),e.createElement(ke,{className:"cursor-pointer"}))));case"tag":case"label":return e.createElement("span",{className:"p-2 text-xs font-semibold rounded-full text-gray-800 ".concat(i.text||""),style:{backgroundColor:j[c]}},m);case"link":return e.createElement("div",null,e.createElement("a",{href:p,target:"_blank",rel:"noopener noreferrer",className:"block hover:opacity-80 text-[#2655b1] transition-opacity duration-300 ".concat(i.link||"")},m||"Link"+c));case"video":if(f.includes("youtube.com")||f.includes("youtu.be")){var r=fe(f);return e.createElement("div",{className:"aspect-w-16 aspect-h-9 mb-4 ".concat(i.videoWrapper||"")},e.createElement("iframe",{src:"https://www.youtube.com/embed/".concat(r),title:"".concat(r),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full ".concat(i.video||"")}))}return e.createElement("video",{controls:!0,className:"w-full mb-4 ".concat(i.video||"")},e.createElement("source",{src:f,type:"video/mp4"}),"Your browser does not support the video tag.");case"card":case"CARD":if("tab"===v&&g)return e.createElement(t.Group,null,e.createElement(t.List,{className:"flex space-x-1 rounded-xl bg-white border p-1 ".concat(i.tabList||"")},g.map((function(r,o){return e.createElement(t,{key:o,className:function(e){var r=e.selected;return"w-full rounded-lg py-2.5 text-sm font-medium leading-5\n ".concat(r?"bg-black/[0.12] focus:outline-none ".concat(i.tabSelected||""):"hover:bg-black/[0.12] hover:text-black ".concat(i.tab||""))}},r.text)}))),e.createElement(t.Panels,{className:"mt-2 ".concat(i.tabPanels||"")},g.map((function(r,o){return e.createElement(t.Panel,{key:o,className:"rounded-xl bg-white p-3 ".concat(i.tabPanel||"")},e.createElement(be,{data:r,customClassNames:i,itemIndex:o,canvasType:d}))}))));if(y&&g){var n=g.find((function(e){return["title","header","subheader"].includes(e.type)}))||g[0];return e.createElement("div",{className:je("border rounded-lg overflow-hidden w-full",i.accordionWrapper||"")},e.createElement("button",{onClick:function(){return C(!k)},className:je("w-full flex justify-between items-center p-2 bg-gray-100 hover:bg-gray-200 transition-colors duration-300",i.accordionButton||"")},e.createElement("div",{className:je("flex-grow text-left",i.accordionHeaderWrapper||"")},e.createElement(be,{data:n,customClassNames:i,itemIndex:"0",canvasType:d})),e.createElement(s,{className:je("w-5 h-5 text-gray-600 transition-transform duration-300",k?"rotate-180":"",i.accordionIcon||"")})),e.createElement("div",{className:je("grid transition-all duration-300 ease-in-out",k?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",i.accordionContent||"")},e.createElement("div",{className:"overflow-hidden"},e.createElement("div",{className:"p-4"},g.slice(1).map((function(r,t){return e.createElement(be,{key:t,data:r,customClassNames:i,itemIndex:t,canvasType:d})}))))))}if(g){var l="-"===v?"md:!flex-row overflow-x-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-gray-100 ".concat(d?"":"max-w-[450px]"):"md:!flex-col",b=x&&0!==x?"border border-[".concat(w,"] hover:border-[").concat(w,"] rounded-[0.8rem] shadow-lg p-[0.6rem]"):"";return e.createElement("div",{className:je("flex flex-col",l,"gap-4","min-w-[220px]",b,i.cardGroup),style:{backgroundColor:N}},g.map((function(r,t){return e.createElement(be,{key:t,data:r,customClassNames:i,itemIndex:t,canvasType:d})})))}return null;default:return e.createElement("p",{className:"mb-4 ".concat(i.default||"")},JSON.stringify(a))}}()},fe=function(e){var r=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return r?r[1]:null},ge=function(r){var t=r.data,o=r.level,n=void 0===o?1:o,a=r.customClassNames,l=void 0===a?{}:a,s=r.canvasType,i={1:"p-4",2:"p-3",3:"p-2",4:"p-1"};if(!t)return null;var c=t.color,d=m(m({},l),{},{cardGroup:je("border border-orange-300/40 rounded-lg",c&&"bg-[".concat(c,"]"),i[n]||"p-2",1===n?"":"min-h-[100px]",l.canvasNode),containerCarousal:je("border border-orange-300/40 rounded-lg",i[n]||"p-2",l.containerCarousal),accordionWrapper:je("border border-orange-300/40 rounded-lg",l.accordionWrapper)},Object.entries(l).reduce((function(e,r){var t=b(r,2),o=t[0],n=t[1];return["cardGroup","containerCarousal","accordionWrapper"].includes(o)||(e[o]=n),e}),{})),u=function(e){return e?e.map((function(e){return m(m({},e),{},{children:e.children?u(e.children):void 0,customClassNames:d})})):e},p=m(m({},t),{},{children:t.children?u(t.children):void 0});return e.createElement(be,{data:p,customClassNames:d,itemIndex:"0",canvasType:s})},ve=function(r){var t=r.content,o=r.canvasType,n=void 0!==o&&o,a=r.customClassNames,l=void 0===a?{}:a,s=r.wrapperClassName,i=void 0===s?"":s,c=n?ge:be,d=Array.isArray(t);return e.createElement("div",{className:je(n&&"w-full max-w-[1200px] mx-auto",i)},d?e.createElement("div",{className:n?"space-y-8":""},t.map((function(r,t){return e.createElement("div",{key:t,className:n?"mb-8":""},e.createElement(c,{data:r,customClassNames:l,level:1,canvasType:n}))}))):e.createElement(c,{data:t,customClassNames:l,level:1,canvasType:n}))},he=e.createContext(null);function ye(){var r=e.useContext(he);if(!r)throw new Error("useCarousel must be used within a <Carousel />");return r}var xe=e.forwardRef((function(r,t){var o=r.orientation,a=void 0===o?"horizontal":o,l=r.opts,s=r.setApi,i=r.plugins,c=r.className,u=r.children,f=p(r,ie),g=b(n(m(m({},l),{},{axis:"horizontal"===a?"x":"y"}),i),2),v=g[0],h=g[1],y=b(e.useState(!1),2),x=y[0],w=y[1],N=b(e.useState(!1),2),E=N[0],k=N[1],C=e.useCallback((function(e){e&&(w(e.canScrollPrev()),k(e.canScrollNext()))}),[]),j=e.useCallback((function(){null==h||h.scrollPrev()}),[h]),z=e.useCallback((function(){null==h||h.scrollNext()}),[h]),P=e.useCallback((function(e){"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),z())}),[j,z]);return e.useEffect((function(){h&&s&&s(h)}),[h,s]),e.useEffect((function(){if(h)return C(h),h.on("reInit",C),h.on("select",C),function(){null==h||h.off("select",C)}}),[h,C]),e.createElement(he.Provider,{value:{carouselRef:v,api:h,opts:l,orientation:a||("y"===(null==l?void 0:l.axis)?"vertical":"horizontal"),scrollPrev:j,scrollNext:z,canScrollPrev:x,canScrollNext:E}},e.createElement("div",d({ref:t,onKeyDownCapture:P,className:je("relative",c),role:"region","aria-roledescription":"carousel"},f),u))}));xe.displayName="Carousel";var we=e.forwardRef((function(r,t){var o=r.className,n=p(r,ce),a=ye(),l=a.carouselRef,s=a.orientation;return e.createElement("div",{ref:l,className:"overflow-hidden"},e.createElement("div",d({ref:t,className:je("flex","horizontal"===s?"-ml-4":"-mt-4 flex-col",o)},n)))}));we.displayName="CarouselContent";var Ne=e.forwardRef((function(r,t){var o=r.className,n=p(r,de);return e.createElement("div",d({ref:t,role:"group","aria-roledescription":"slide",className:je("min-w-0 shrink-0 grow-0 basis-full pl-4",o)},n))}));Ne.displayName="CarouselItem";var Ee=e.forwardRef((function(r,t){var o=r.className,n=p(r,ue),l=ye(),s=l.scrollPrev,i=l.canScrollPrev;return e.createElement("button",d({ref:t,className:je("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!i,onClick:s},n),e.createElement(a,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Previous slide"))}));Ee.displayName="CarouselPrevious";var ke=e.forwardRef((function(r,t){var o=r.className,n=p(r,me),a=ye(),s=a.scrollNext,i=a.canScrollNext;return e.createElement("button",d({ref:t,className:je("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!i,onClick:s},n),e.createElement(l,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Next slide"))}));function Ce(r){var t=r.className,o=r.reverse,n=r.pauseOnHover,a=void 0!==n&&n,l=r.children,s=r.vertical,i=void 0!==s&&s,c=r.repeat,u=void 0===c?4:c,m=r.width,b=void 0===m?"100%":m,f=r.itemClassName,g=p(r,pe);return e.createElement("div",d({},g,{className:je("group overflow-hidden p-2 [--duration:40s] [--gap:1rem]",t),style:{width:b}}),e.createElement("div",{className:je("flex [gap:var(--gap)]",{"flex-row":!i,"flex-col":i})},Array(u).fill(0).map((function(r,t){return e.createElement("div",{key:t,className:je("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!i,"animate-marquee-vertical flex-col":i,"group-hover:[animation-play-state:paused]":a,"[animation-direction:reverse]":o})},e.Children.map(l,(function(r,t){return t<e.Children.count(l)-1&&e.createElement("div",{key:t,className:je("border border-gray-300 rounded p-2 w-96",f)},r)})))}))))}function je(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return se(function(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=f(e))&&(o&&(o+=" "),o+=r);return o}(r))}ke.displayName="CarouselNext";export{ve as default}; | ||
import e,{useState as r}from"react";import{Tab as t}from"@headlessui/react";import o from"react-markdown";import n from"embla-carousel-react";import{ChevronLeft as a,ChevronRight as l,ChevronDown as s}from"lucide-react";function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=Array(r);t<r;t++)o[t]=e[t];return o}function c(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,r||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},d.apply(null,arguments)}function u(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function m(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?u(Object(t),!0).forEach((function(r){c(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function p(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.includes(o))continue;t[o]=e[o]}return t}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}function b(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,n,a,l,s=[],i=!0,c=!1;try{if(a=(t=t.call(e)).next,0===r);else for(;!(i=(o=a.call(t)).done)&&(s.push(o.value),s.length!==r);i=!0);}catch(e){c=!0,n=e}finally{try{if(!i&&null!=t.return&&(l=t.return(),Object(l)!==l))return}finally{if(c)throw n}}return s}}(e,r)||function(e,r){if(e){if("string"==typeof e)return i(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e){var r,t,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=f(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}const g=e=>{const r=x(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const t=e.split("-");return""===t[0]&&1!==t.length&&t.shift(),v(t,r)||y(e)},getConflictingClassGroupIds:(e,r)=>{const n=t[e]||[];return r&&o[e]?[...n,...o[e]]:n}}},v=(e,r)=>{if(0===e.length)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?v(e.slice(1),o):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find((({validator:e})=>e(a)))?.classGroupId},h=/^\[(.+)\]$/,y=e=>{if(h.test(e)){const r=h.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},x=e=>{const{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return k(Object.entries(e.classGroups),t).forEach((([e,t])=>{w(t,o,e,r)})),o},w=(e,r,t,o)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return E(e)?void w(e(o),r,t,o):void r.validators.push({validator:e,classGroupId:t});Object.entries(e).forEach((([e,n])=>{w(n,N(r,e),t,o)}))}else{(""===e?r:N(r,e)).classGroupId=t}}))},N=(e,r)=>{let t=e;return r.split("-").forEach((e=>{t.nextPart.has(e)||t.nextPart.set(e,{nextPart:new Map,validators:[]}),t=t.nextPart.get(e)})),t},E=e=>e.isThemeGetter,k=(e,r)=>r?e.map((([e,t])=>[e,t.map((e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,t])=>[r+e,t]))):e))])):e,C=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(e){let r=t.get(e);return void 0!==r?r:void 0!==(r=o.get(e))?(n(e,r),r):void 0},set(e,r){t.has(e)?t.set(e,r):n(e,r)}}},j=e=>{const{separator:r,experimentalParseClassName:t}=e,o=1===r.length,n=r[0],a=r.length,l=e=>{const t=[];let l,s=0,i=0;for(let c=0;c<e.length;c++){let d=e[c];if(0===s){if(d===n&&(o||e.slice(c,c+a)===r)){t.push(e.slice(i,c)),i=c+a;continue}if("/"===d){l=c;continue}}"["===d?s++:"]"===d&&s--}const c=0===t.length?e:e.substring(i),d=c.startsWith("!");return{modifiers:t,hasImportantModifier:d,baseClassName:d?c.substring(1):c,maybePostfixModifierPosition:l&&l>i?l-i:void 0}};return t?e=>t({className:e,parseClassName:l}):l},z=e=>{if(e.length<=1)return e;const r=[];let t=[];return e.forEach((e=>{"["===e[0]?(r.push(...t.sort(),e),t=[]):t.push(e)})),r.push(...t.sort()),r},P=/\s+/;function O(){let e,r,t=0,o="";for(;t<arguments.length;)(e=arguments[t++])&&(r=S(e))&&(o&&(o+=" "),o+=r);return o}const S=e=>{if("string"==typeof e)return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=S(e[o]))&&(t&&(t+=" "),t+=r);return t};function I(e,...r){let t,o,n,a=function(s){const i=r.reduce(((e,r)=>r(e)),e());return t=(e=>({cache:C(e.cacheSize),parseClassName:j(e),...g(e)}))(i),o=t.cache.get,n=t.cache.set,a=l,l(s)};function l(e){const r=o(e);if(r)return r;const a=((e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n}=r,a=[],l=e.trim().split(P);let s="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{modifiers:i,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:u}=t(r);let m=Boolean(u),p=o(m?d.substring(0,u):d);if(!p){if(!m){s=r+(s.length>0?" "+s:s);continue}if(p=o(d),!p){s=r+(s.length>0?" "+s:s);continue}m=!1}const b=z(i).join(":"),f=c?b+"!":b,g=f+p;if(a.includes(g))continue;a.push(g);const v=n(p,m);for(let e=0;e<v.length;++e){const r=v[e];a.push(f+r)}s=r+(s.length>0?" "+s:s)}return s})(e,t);return n(e,a),a}return function(){return a(O.apply(null,arguments))}}const A=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},G=/^\[(?:([a-z-]+):)?(.+)\]$/i,T=/^\d+\/\d+$/,R=new Set(["px","full","screen"]),D=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,M=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,F=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,W=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,B=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$=e=>q(e)||R.has(e)||T.test(e),L=e=>te(e,"length",oe),q=e=>Boolean(e)&&!Number.isNaN(Number(e)),H=e=>te(e,"number",q),_=e=>Boolean(e)&&Number.isInteger(Number(e)),Y=e=>e.endsWith("%")&&q(e.slice(0,-1)),J=e=>G.test(e),K=e=>D.test(e),U=new Set(["length","size","percentage"]),Q=e=>te(e,U,ne),V=e=>te(e,"position",ne),X=new Set(["image","url"]),Z=e=>te(e,X,le),ee=e=>te(e,"",ae),re=()=>!0,te=(e,r,t)=>{const o=G.exec(e);return!!o&&(o[1]?"string"==typeof r?o[1]===r:r.has(o[1]):t(o[2]))},oe=e=>M.test(e)&&!F.test(e),ne=()=>!1,ae=e=>W.test(e),le=e=>B.test(e),se=I((()=>{const e=A("colors"),r=A("spacing"),t=A("blur"),o=A("brightness"),n=A("borderColor"),a=A("borderRadius"),l=A("borderSpacing"),s=A("borderWidth"),i=A("contrast"),c=A("grayscale"),d=A("hueRotate"),u=A("invert"),m=A("gap"),p=A("gradientColorStops"),b=A("gradientColorStopPositions"),f=A("inset"),g=A("margin"),v=A("opacity"),h=A("padding"),y=A("saturate"),x=A("scale"),w=A("sepia"),N=A("skew"),E=A("space"),k=A("translate"),C=()=>["auto",J,r],j=()=>[J,r],z=()=>["",$,L],P=()=>["auto",q,J],O=()=>["","0",J],S=()=>[q,J];return{cacheSize:500,separator:":",theme:{colors:[re],spacing:[$,L],blur:["none","",K,J],brightness:S(),borderColor:[e],borderRadius:["none","","full",K,J],borderSpacing:j(),borderWidth:z(),contrast:S(),grayscale:O(),hueRotate:S(),invert:O(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[Y,L],inset:C(),margin:C(),opacity:S(),padding:j(),saturate:S(),scale:S(),sepia:O(),skew:S(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",J]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",J]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,J]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",J]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",_,J]}],"grid-cols":[{"grid-cols":[re]}],"col-start-end":[{col:["auto",{span:["full",_,J]},J]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[re]}],"row-start-end":[{row:["auto",{span:[_,J]},J]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",J]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",J]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",J,r]}],"min-w":[{"min-w":[J,r,"min","max","fit"]}],"max-w":[{"max-w":[J,r,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[J,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[J,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[J,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[J,r,"auto","min","max","fit"]}],"font-size":[{text:["base",K,L]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",H]}],"font-family":[{font:[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",J]}],"line-clamp":[{"line-clamp":["none",q,H]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",$,J]}],"list-image":[{"list-image":["none",J]}],"list-style-type":[{list:["none","disc","decimal",J]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",$,L]}],"underline-offset":[{"underline-offset":["auto",$,J]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",V]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Q]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Z]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[$,J]}],"outline-w":[{outline:[$,L]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[$,L]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,ee]}],"shadow-color":[{shadow:[re]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",K,J]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[u]}],saturate:[{saturate:[y]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",J]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",J]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",J]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[_,J]}],"translate-x":[{"translate-x":[k]}],"translate-y":[{"translate-y":[k]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",J]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",J]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",J]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[$,L,H]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}));var ie=["orientation","opts","setApi","plugins","className","children"],ce=["className"],de=["className"],ue=["className"],me=["className"],pe=["className","reverse","pauseOnHover","children","vertical","repeat","width","itemClassName"],be=function(n){var a=n.data,l=n.customClassNames,i=void 0===l?{}:l,c=n.level,d=n.itemIndex,u=n.canvasType,m=a.type,p=a.text,f=a.url,g=a.source,v=a.children,h=a.layout,y=a.rolling,x=a.folding,w=a.borderwidth,N=a.bordercolor,E=a.color,k=b(r(!1),2),C=k[0],j=k[1],z=["#E6F3F5","#F7EBE5","#E8F4D4","#F5E6EA","#E5EAF7","#F4E9D1","#DCF5EB","#F2E4F6","#E9E9ED","#E3C9B5","#30D6B0"];return function(){switch(m.toLowerCase()){case"image":return e.createElement("div",{className:Pe("flex justify-center items-center",i.imageWrapper||"")},e.createElement("img",{src:g,alt:p,className:Pe("max-w-full object-contain",i.image||"")}));case"title":return e.createElement("h2",{className:"text-xl font-bold mb-2 ".concat(i.title||"")},p);case"subtitle":return e.createElement("h3",{className:"text-sm font-medium text-secondary mb-2 ".concat(i.subtitle||"")},p);case"header":return e.createElement("h1",{className:"text-2xl font-bold mb-4 ".concat(i.header||"")},p);case"subheader":return e.createElement("h2",{className:"text-sm font-medium text-secondary mb-2 ".concat(i.subheader||"")},p);case"text":return e.createElement(o,{className:"mb-4 ".concat(i.text||"")},p);case"circledText":return e.createElement("div",{className:"flex items-center gap-2 ".concat(i.circledTextWrapper||"")},e.createElement("span",{className:"w-4 h-4 rounded-full inline-block ".concat(i.circle||"bg-gray-400")}),e.createElement("p",{className:i.circledText||""},p));case"button":return e.createElement("button",{className:"".concat(i.btn||"text-black"," ")},p);case"TESTIMONIAL":case"testimonial":case"gallery":case"GALLERY":return e.createElement(e.Fragment,null,y?e.createElement(ze,{width:"100%"},v.map((function(r,t){return e.createElement(be,{data:r,customClassNames:i,itemIndex:t,canvasType:u,level:2})}))," "):e.createElement(Ne,{opts:{loop:!0}},e.createElement(Ee,null,v.map((function(r,t){return e.createElement(ke,{className:"md:basis-1/2 lg:basis-1/3"},e.createElement("div",{className:Pe("p-4 border rounded-lg h-full flex flex-col justify-between",i.containerCarousal||"")},r.children.map((function(r,t){return e.createElement("div",{key:t,className:"mb-2"},e.createElement(be,{data:r,customClassNames:i,itemIndex:t,canvasType:u,level:2}))}))))}))),e.createElement("div",{className:"flex items-center justify-center gap-3 py-3"},e.createElement(Ce,{className:"cursor-pointer"}),e.createElement(je,{className:"cursor-pointer"}))));case"tag":case"label":return e.createElement("span",{className:"p-2 text-xs font-semibold rounded-full text-gray-800 ".concat(i.text||""),style:{backgroundColor:z[d]}},p);case"link":return e.createElement("div",null,e.createElement("a",{href:f,target:"_blank",rel:"noopener noreferrer",className:"block hover:opacity-80 text-[#2655b1] transition-opacity duration-300 ".concat(i.link||"")},p||"→"));case"video":if(g.includes("youtube.com")||g.includes("youtu.be")){var r=fe(g);return e.createElement("div",{className:"aspect-w-16 aspect-h-9 mb-4 ".concat(i.videoWrapper||"")},e.createElement("iframe",{src:"https://www.youtube.com/embed/".concat(r),title:"".concat(r),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full ".concat(i.video||"")}))}return e.createElement("video",{controls:!0,className:"w-full mb-4 ".concat(i.video||"")},e.createElement("source",{src:g,type:"video/mp4"}),"Your browser does not support the video tag.");case"card":case"CARD":if("tab"===h&&v)return e.createElement(t.Group,null,e.createElement(t.List,{className:"flex space-x-1 rounded-xl bg-white border p-1 ".concat(i.tabList||"")},v.map((function(r,o){return e.createElement(t,{key:o,className:function(e){var r=e.selected;return"w-full rounded-lg py-2.5 text-sm font-medium leading-5\n ".concat(r?"bg-black/[0.12] focus:outline-none ".concat(i.tabSelected||""):"hover:bg-black/[0.12] hover:text-black ".concat(i.tab||""))}},r.text)}))),e.createElement(t.Panels,{className:"mt-2 ".concat(i.tabPanels||"")},v.map((function(r,o){return e.createElement(t.Panel,{key:o,className:"rounded-xl bg-white p-3 ".concat(i.tabPanel||"")},e.createElement(be,{data:r,customClassNames:i,itemIndex:o,canvasType:u,level:2}))}))));if(x&&v){var n=v.find((function(e){return["title","header","subheader"].includes(e.type)}))||v[0];return e.createElement("div",{className:Pe("border rounded-lg overflow-hidden w-full",i.accordionWrapper||"")},e.createElement("button",{onClick:function(){return j(!C)},className:Pe("w-full flex justify-between items-center p-2 bg-gray-100 hover:bg-gray-200 transition-colors duration-300",i.accordionButton||"")},e.createElement("div",{className:Pe("flex-grow text-left",i.accordionHeaderWrapper||"")},e.createElement(be,{data:n,customClassNames:i,itemIndex:"0",canvasType:u,level:2})),e.createElement(s,{className:Pe("w-5 h-5 text-gray-600 transition-transform duration-300",C?"rotate-180":"",i.accordionIcon||"")})),e.createElement("div",{className:Pe("grid transition-all duration-300 ease-in-out",C?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",i.accordionContent||"")},e.createElement("div",{className:"overflow-hidden"},e.createElement("div",{className:"p-4"},v.slice(1).map((function(r,t){return e.createElement(be,{key:t,data:r,customClassNames:i,itemIndex:t,canvasType:u,level:2})}))))))}if(v){var l="-"===h?"md:!flex-row overflow-x-auto scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-gray-100 ":"md:!flex-col ".concat(!u&&"-"===ve&&2===c&&he>3&&"max-w-[450px]"," ").concat(!u&&"-"===ve&&2===c&&3===he&&"w-[32%]","\n ").concat(!u&&"-"===ve&&2===c&&2===he&&"w-[48%]"),b=w&&0!==w?"border border-[".concat(N,"] hover:border-[").concat(N,"] rounded-[0.8rem] shadow-lg p-[0.6rem]"):"";return e.createElement("div",{className:Pe("flex flex-col",l,"gap-4","min-w-[220px]",b,i.cardGroup),style:{backgroundColor:E}},v.map((function(r,t){return e.createElement(be,{key:t,data:r,customClassNames:i,itemIndex:t,canvasType:u,level:2})})))}return null;default:return e.createElement("p",{className:"mb-4 ".concat(i.default||"")},JSON.stringify(a))}}()},fe=function(e){var r=e.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/);return r?r[1]:null},ge=function(r){var t=r.data,o=r.level,n=void 0===o?1:o,a=r.customClassNames,l=void 0===a?{}:a,s=r.canvasType,i={1:"p-4",2:"p-3",3:"p-2",4:"p-1"};if(!t)return null;var c=t.color,d=m(m({},l),{},{cardGroup:Pe("border border-orange-300/40 rounded-lg",c&&"bg-[".concat(c,"]"),i[n]||"p-2",1===n?"":"min-h-[100px]",l.canvasNode),containerCarousal:Pe("border border-orange-300/40 rounded-lg",i[n]||"p-2",l.containerCarousal),accordionWrapper:Pe("border border-orange-300/40 rounded-lg",l.accordionWrapper)},Object.entries(l).reduce((function(e,r){var t=b(r,2),o=t[0],n=t[1];return["cardGroup","containerCarousal","accordionWrapper"].includes(o)||(e[o]=n),e}),{})),u=function(e){return e?e.map((function(e){return m(m({},e),{},{children:e.children?u(e.children):void 0,customClassNames:d})})):e},p=m(m({},t),{},{children:t.children?u(t.children):void 0});return e.createElement(be,{data:p,customClassNames:d,itemIndex:"0",level:2,canvasType:s})},ve="",he="",ye=function(r){var t=r.content,o=r.canvasType,n=void 0!==o&&o,a=r.customClassNames,l=void 0===a?{}:a,s=r.wrapperClassName,i=void 0===s?"":s,c=n?ge:be,d=Array.isArray(t);return d||(ve=t.layout,he=t.children.length),e.createElement("div",{className:Pe(n&&"w-full max-w-[1200px] mx-auto",i)},d?e.createElement("div",{className:n?"space-y-8":""},t.map((function(r,t){return e.createElement("div",{key:t,className:n?"mb-8":""},e.createElement(c,{data:r,customClassNames:l,level:1,canvasType:n}))}))):e.createElement(c,{data:t,customClassNames:l,level:1,canvasType:n}))},xe=e.createContext(null);function we(){var r=e.useContext(xe);if(!r)throw new Error("useCarousel must be used within a <Carousel />");return r}var Ne=e.forwardRef((function(r,t){var o=r.orientation,a=void 0===o?"horizontal":o,l=r.opts,s=r.setApi,i=r.plugins,c=r.className,u=r.children,f=p(r,ie),g=b(n(m(m({},l),{},{axis:"horizontal"===a?"x":"y"}),i),2),v=g[0],h=g[1],y=b(e.useState(!1),2),x=y[0],w=y[1],N=b(e.useState(!1),2),E=N[0],k=N[1],C=e.useCallback((function(e){e&&(w(e.canScrollPrev()),k(e.canScrollNext()))}),[]),j=e.useCallback((function(){null==h||h.scrollPrev()}),[h]),z=e.useCallback((function(){null==h||h.scrollNext()}),[h]),P=e.useCallback((function(e){"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),z())}),[j,z]);return e.useEffect((function(){h&&s&&s(h)}),[h,s]),e.useEffect((function(){if(h)return C(h),h.on("reInit",C),h.on("select",C),function(){null==h||h.off("select",C)}}),[h,C]),e.createElement(xe.Provider,{value:{carouselRef:v,api:h,opts:l,orientation:a||("y"===(null==l?void 0:l.axis)?"vertical":"horizontal"),scrollPrev:j,scrollNext:z,canScrollPrev:x,canScrollNext:E}},e.createElement("div",d({ref:t,onKeyDownCapture:P,className:Pe("relative",c),role:"region","aria-roledescription":"carousel"},f),u))}));Ne.displayName="Carousel";var Ee=e.forwardRef((function(r,t){var o=r.className,n=p(r,ce),a=we(),l=a.carouselRef,s=a.orientation;return e.createElement("div",{ref:l,className:"overflow-hidden"},e.createElement("div",d({ref:t,className:Pe("flex","horizontal"===s?"-ml-4":"-mt-4 flex-col",o)},n)))}));Ee.displayName="CarouselContent";var ke=e.forwardRef((function(r,t){var o=r.className,n=p(r,de);return e.createElement("div",d({ref:t,role:"group","aria-roledescription":"slide",className:Pe("min-w-0 shrink-0 grow-0 basis-full pl-4",o)},n))}));ke.displayName="CarouselItem";var Ce=e.forwardRef((function(r,t){var o=r.className,n=p(r,ue),l=we(),s=l.scrollPrev,i=l.canScrollPrev;return e.createElement("button",d({ref:t,className:Pe("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!i,onClick:s},n),e.createElement(a,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Previous slide"))}));Ce.displayName="CarouselPrevious";var je=e.forwardRef((function(r,t){var o=r.className,n=p(r,me),a=we(),s=a.scrollNext,i=a.canScrollNext;return e.createElement("button",d({ref:t,className:Pe("border border-black h-8 w-8 rounded-full flex items-center justify-center",o),disabled:!i,onClick:s},n),e.createElement(l,{className:"h-4 w-4 text-black"}),e.createElement("span",{className:"sr-only"},"Next slide"))}));function ze(r){var t=r.className,o=r.reverse,n=r.pauseOnHover,a=void 0!==n&&n,l=r.children,s=r.vertical,i=void 0!==s&&s,c=r.repeat,u=void 0===c?4:c,m=r.width,b=void 0===m?"100%":m,f=r.itemClassName,g=p(r,pe);return e.createElement("div",d({},g,{className:Pe("group overflow-hidden p-2 [--duration:40s] [--gap:1rem]",t),style:{width:b}}),e.createElement("div",{className:Pe("flex [gap:var(--gap)]",{"flex-row":!i,"flex-col":i})},Array(u).fill(0).map((function(r,t){return e.createElement("div",{key:t,className:Pe("flex shrink-0 justify-around [gap:var(--gap)]",{"animate-marquee flex-row":!i,"animate-marquee-vertical flex-col":i,"group-hover:[animation-play-state:paused]":a,"[animation-direction:reverse]":o})},e.Children.map(l,(function(r,t){return t<e.Children.count(l)-1&&e.createElement("div",{key:t,className:Pe("border border-gray-300 rounded p-2 w-96",f)},r)})))}))))}function Pe(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return se(function(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=f(e))&&(o&&(o+=" "),o+=r);return o}(r))}je.displayName="CarouselNext";export{ye as default}; |
{ | ||
"name": "flex-card", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A React component for rendering e-cards with Tailwind CSS.", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
85760
272