@aitronos/freddy-plugins 0.4.68 → 0.4.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/freddy-plugins.css +1 -1
- package/dist/{icons-BAyOBzYf.js → icons-CR3CDndF.js} +1147 -1094
- package/dist/icons-CR3CDndF.js.map +1 -0
- package/dist/icons-Z_e_V0AI.cjs +2 -0
- package/dist/icons-Z_e_V0AI.cjs.map +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1041 -1038
- package/dist/index.js.map +1 -1
- package/dist/src/components/TooltipV2.vue.d.ts +2 -0
- package/dist/src/icons/IconFloppy.vue.d.ts +2 -0
- package/dist/src/icons/IconRoudedSiingleSparkle.vue.d.ts +2 -0
- package/dist/src/icons/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/icons-BAyOBzYf.js.map +0 -1
- package/dist/icons-xggGA3ip.cjs +0 -2
- package/dist/icons-xggGA3ip.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var he=Object.create;var M=Object.defineProperty;var pe=Object.getOwnPropertyDescriptor;var me=Object.getOwnPropertyNames;var ve=Object.getPrototypeOf,fe=Object.prototype.hasOwnProperty;var Ie=(f,h,s)=>h in f?M(f,h,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[h]=s;var ge=(f,h,s,o)=>{if(h&&typeof h=="object"||typeof h=="function")for(let i of me(h))!fe.call(f,i)&&i!==s&&M(f,i,{get:()=>h[i],enumerable:!(o=pe(h,i))||o.enumerable});return f};var ye=(f,h,s)=>(s=f!=null?he(ve(f)):{},ge(h||!f||!f.__esModule?M(s,"default",{value:f,enumerable:!0}):s,f));var R=(f,h,s)=>Ie(f,typeof h!="symbol"?h+"":h,s);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("./icons-xggGA3ip.cjs"),H={mounted(f){f.getAttribute("class")||f.setAttribute("class","base-fallback-style")}};let z=null;const ke=async()=>{try{z=(await import("dompurify")).default}catch{}};ke();const Ce=["a","abbr","b","blockquote","br","code","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","li","ol","p","pre","span","strong","sub","sup","table","tbody","td","th","thead","tr","u","ul"],be=["href","src","alt","title","width","height","align","class","id","colspan","rowspan"],Z=f=>f.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi,"").replace(/on\w+="[^"]*"/gi,"").replace(/javascript:/gi,""),J=f=>{if(!z)return Z(f);try{return z.sanitize(f,{ALLOWED_TAGS:Ce,ALLOWED_ATTR:be,USE_PROFILES:{html:!0}})}catch{return Z(f)}},O={mounted(f,h){f.innerHTML=J(h.value||"")},updated(f,h){f.innerHTML=J(h.value||"")}},$e={install(f){var h;f.directive("icon-style",H),f.directive("fr-sanitize",O);try{const s=Object.assign({"./icons/IconAddChatPop.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconAddChatPop$1),"./icons/IconAddFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconAddFileSystem$1),"./icons/IconAddPeople.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconAddPeople$1),"./icons/IconAitronos.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconAitronos$1),"./icons/IconApple.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconApple$1),"./icons/IconApplePay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconApplePay$1),"./icons/IconAppsGrid.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconAppsGrid$1),"./icons/IconArrowDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconArrowDown$1),"./icons/IconArrowLeft.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconArrowLeft$1),"./icons/IconArrowUp.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconArrowUp$1),"./icons/IconBadgeCheck.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconBadgeCheck$1),"./icons/IconBroom.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconBroom$1),"./icons/IconBuildings.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconBuildings$1),"./icons/IconCalendarWithTickInside.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCalendarWithTickInside$1),"./icons/IconCallNotAllowed.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCallNotAllowed$1),"./icons/IconCardPay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCardPay$1),"./icons/IconCaution.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCaution$1),"./icons/IconChangeLog.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconChangeLog$1),"./icons/IconCheckCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCheckCircleFill$1),"./icons/IconCheckInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCheckInCircle$1),"./icons/IconCheckRounded.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCheckRounded$1),"./icons/IconChevronDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconChevronDown$1),"./icons/IconChevronLeft.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconChevronLeft$1),"./icons/IconChevronRight.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconChevronRight$1),"./icons/IconChevronUp.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconChevronUp$1),"./icons/IconCircledCheck.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCircledCheck$1),"./icons/IconClock.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconClock$1),"./icons/IconClosedEnvelope.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconClosedEnvelope$1),"./icons/IconCloudUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCloudUpload$1),"./icons/IconConnectorConfluence.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconConnectorConfluence$1),"./icons/IconConnectorFigma.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconConnectorFigma$1),"./icons/IconConnectorFreshDesk.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconConnectorFreshDesk$1),"./icons/IconConnectorGitHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconConnectorGitHub$1),"./icons/IconConnectorJira.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconConnectorJira$1),"./icons/IconConnectorLinear.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconConnectorLinear$1),"./icons/IconConnectorNotion.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconConnectorNotion$1),"./icons/IconConnectorSlack.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconConnectorSlack$1),"./icons/IconConnectorZapier.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconConnectorZapier$1),"./icons/IconCopy.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCopy$1),"./icons/IconCross.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCross$1),"./icons/IconCrossCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCrossCircleFill$1),"./icons/IconCrossInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCrossInCircle$1),"./icons/IconCurrentTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconCurrentTick$1),"./icons/IconDataUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconDataUpload$1),"./icons/IconDelete.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconDelete$1),"./icons/IconDeleteFillRed.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconDeleteFillRed$1),"./icons/IconDialingPhone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconDialingPhone$1),"./icons/IconDisabledAlert.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconDisabledAlert$1),"./icons/IconDocumentation.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconDocumentation$1),"./icons/IconDownload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconDownload$1),"./icons/IconDribbble.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconDribbble$1),"./icons/IconDropdownArrow.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconDropdownArrow$1),"./icons/IconEdit.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconEdit$1),"./icons/IconEditLinePath.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconEditLinePath$1),"./icons/IconEllipse.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconEllipse),"./icons/IconExcelThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconExcelThumbnail$1),"./icons/IconExpand.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconExpand$1),"./icons/IconEye.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconEye$1),"./icons/IconFacebook.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFacebook$1),"./icons/IconFigma.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFigma$1),"./icons/IconFile.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFile$1),"./icons/IconFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFileSystem$1),"./icons/IconFileUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFileUpload$1),"./icons/IconFilter.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFilter$1),"./icons/IconFolder.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFolder$1),"./icons/IconFreddyHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFreddyHub$1),"./icons/IconFreddyHubLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFreddyHubLogo$1),"./icons/IconFreddyHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFreddyHubNewLogo$1),"./icons/IconFreddyHubTitle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFreddyHubTitle),"./icons/IconFreddySmall.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconFreddySmall$1),"./icons/IconGlobExpand.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconGlobExpand$1),"./icons/IconGlobe.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconGlobe$1),"./icons/IconGoogle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconGoogle$1),"./icons/IconHollowCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconHollowCircle$1),"./icons/IconHome.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconHome$1),"./icons/IconInfoRounded.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconInfoRounded$1),"./icons/IconInvalidInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconInvalidInvoice$1),"./icons/IconInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconInvoice$1),"./icons/IconInvoiceSwitch.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconInvoiceSwitch$1),"./icons/IconLapTableBottom.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconLapTableBottom$1),"./icons/IconLense.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconLense$1),"./icons/IconLightCross.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconLightCross$1),"./icons/IconLink04.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconLink04$1),"./icons/IconLoadingError.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconLoadingError$1),"./icons/IconLoadingOrg.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconLoadingOrg$1),"./icons/IconLocationWithCircleIn.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconLocationWithCircleIn$1),"./icons/IconLock.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconLock$1),"./icons/IconMarketPlace.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconMarketPlace$1),"./icons/IconMaximize.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconMaximize$1),"./icons/IconMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconMicrophone$1),"./icons/IconMutedMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconMutedMicrophone$1),"./icons/IconNewNotification.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconNewNotification$1),"./icons/IconNewTab.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconNewTab$1),"./icons/IconNotification.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconNotification$1),"./icons/IconOpenBook.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconOpenBook$1),"./icons/IconPaperAirPlane.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPaperAirPlane$1),"./icons/IconPauseCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPauseCircle$1),"./icons/IconPdfThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPdfThumbnail$1),"./icons/IconPenEdit.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPenEdit$1),"./icons/IconPencil.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPencil$1),"./icons/IconPeopleHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPeopleHub$1),"./icons/IconPersonCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPersonCircle$1),"./icons/IconPits.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPits$1),"./icons/IconPlay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPlay$1),"./icons/IconPlus.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPlus$1),"./icons/IconPolygonDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPolygonDown$1),"./icons/IconPresentation.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPresentation$1),"./icons/IconProgressBase.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconProgressBase$1),"./icons/IconProgressComplete.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconProgressComplete$1),"./icons/IconProgressGoing.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconProgressGoing$1),"./icons/IconPurpose.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPurpose$1),"./icons/IconPurseCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconPurseCircleFill$1),"./icons/IconQuestion.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconQuestion$1),"./icons/IconRadio.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconRadio$1),"./icons/IconRadioFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconRadioFill$1),"./icons/IconRefresh.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconRefresh$1),"./icons/IconRevertedTriangle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconRevertedTriangle$1),"./icons/IconRobotScreen.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconRobotScreen$1),"./icons/IconRoundTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconRoundTick$1),"./icons/IconSearch.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSearch$1),"./icons/IconSearchOptimised.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSearchOptimised$1),"./icons/IconSectionHide.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSectionHide$1),"./icons/IconSend.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSend$1),"./icons/IconSettings.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSettings$1),"./icons/IconSettingsBold.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSettingsBold$1),"./icons/IconSize.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSize$1),"./icons/IconSliderKnobs.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSliderKnobs$1),"./icons/IconSortIdle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSortIdle$1),"./icons/IconSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSparkle$1),"./icons/IconSpotlio.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSpotlio$1),"./icons/IconStar.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconStar$1),"./icons/IconStatistics.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconStatistics$1),"./icons/IconStopChat.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconStopChat$1),"./icons/IconStreamLineHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconStreamLineHub$1),"./icons/IconStreamLineHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconStreamLineHubNewLogo$1),"./icons/IconSun.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSun$1),"./icons/IconSwap.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconSwap$1),"./icons/IconText.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconText$1),"./icons/IconTextThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconTextThumbnail$1),"./icons/IconThinDocument.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconThinDocument$1),"./icons/IconThinFile.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconThinFile$1),"./icons/IconThumbsDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconThumbsDown$1),"./icons/IconTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconTick$1),"./icons/IconUser.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconUser$1),"./icons/IconVerticalDots.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconVerticalDots$1),"./icons/IconVideoCamera.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconVideoCamera$1),"./icons/IconWarningOctal.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconWarningOctal$1),"./icons/IconX.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconX$1),"./icons/IconZip.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(o=>o.IconZip)});for(const o in s){const i=((h=o.split("/").pop())==null?void 0:h.replace(".vue",""))||"";i&&s[o]&&f.component(i,e.defineAsyncComponent({loader:async()=>{const c=await s[o]();return c.default||c},delay:0,timeout:0}))}}catch{typeof process<"u"&&process.env.NODE_ENV}}},Pe={install(f){f.directive("fr-sanitize",O)}},we={install(f){f.directive("icon-style",H)}},_e=e.defineComponent({__name:"AnimeSpaceman",props:{customClass:{},customStyle:{}},setup(f){return(h,s)=>(e.openBlock(),e.createElementBlock("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 800 600",class:e.normalizeClass(["spaceman-logo",h.customClass]),style:e.normalizeStyle(h.customStyle)},[...s[0]||(s[0]=[e.createStaticVNode(`<g><defs><clipPath id="GlassClip"><path d="M380.857,346.164c-1.247,4.651-4.668,8.421-9.196,10.06c-9.332,3.377-26.2,7.817-42.301,3.5
|
|
1
|
+
"use strict";var pe=Object.create;var M=Object.defineProperty;var he=Object.getOwnPropertyDescriptor;var me=Object.getOwnPropertyNames;var ve=Object.getPrototypeOf,fe=Object.prototype.hasOwnProperty;var Ie=(f,p,s)=>p in f?M(f,p,{enumerable:!0,configurable:!0,writable:!0,value:s}):f[p]=s;var ge=(f,p,s,o)=>{if(p&&typeof p=="object"||typeof p=="function")for(let i of me(p))!fe.call(f,i)&&i!==s&&M(f,i,{get:()=>p[i],enumerable:!(o=he(p,i))||o.enumerable});return f};var ye=(f,p,s)=>(s=f!=null?pe(ve(f)):{},ge(p||!f||!f.__esModule?M(s,"default",{value:f,enumerable:!0}):s,f));var R=(f,p,s)=>Ie(f,typeof p!="symbol"?p+"":p,s);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("./icons-Z_e_V0AI.cjs"),H={mounted(f){f.getAttribute("class")||f.setAttribute("class","base-fallback-style")}};let z=null;const ke=async()=>{try{z=(await import("dompurify")).default}catch{}};ke();const Ce=["a","abbr","b","blockquote","br","code","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","li","ol","p","pre","span","strong","sub","sup","table","tbody","td","th","thead","tr","u","ul"],be=["href","src","alt","title","width","height","align","class","id","colspan","rowspan"],Z=f=>f.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi,"").replace(/on\w+="[^"]*"/gi,"").replace(/javascript:/gi,""),J=f=>{if(!z)return Z(f);try{return z.sanitize(f,{ALLOWED_TAGS:Ce,ALLOWED_ATTR:be,USE_PROFILES:{html:!0}})}catch{return Z(f)}},O={mounted(f,p){f.innerHTML=J(p.value||"")},updated(f,p){f.innerHTML=J(p.value||"")}},$e={install(f){var p;f.directive("icon-style",H),f.directive("fr-sanitize",O);try{const s=Object.assign({"./icons/IconAddChatPop.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconAddChatPop$1),"./icons/IconAddFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconAddFileSystem$1),"./icons/IconAddPeople.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconAddPeople$1),"./icons/IconAitronos.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconAitronos$1),"./icons/IconApple.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconApple$1),"./icons/IconApplePay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconApplePay$1),"./icons/IconAppsGrid.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconAppsGrid$1),"./icons/IconArrowDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconArrowDown$1),"./icons/IconArrowLeft.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconArrowLeft$1),"./icons/IconArrowUp.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconArrowUp$1),"./icons/IconBadgeCheck.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconBadgeCheck$1),"./icons/IconBroom.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconBroom$1),"./icons/IconBuildings.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconBuildings$1),"./icons/IconCalendarWithTickInside.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCalendarWithTickInside$1),"./icons/IconCallNotAllowed.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCallNotAllowed$1),"./icons/IconCardPay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCardPay$1),"./icons/IconCaution.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCaution$1),"./icons/IconChangeLog.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconChangeLog$1),"./icons/IconCheckCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCheckCircleFill$1),"./icons/IconCheckInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCheckInCircle$1),"./icons/IconCheckRounded.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCheckRounded$1),"./icons/IconChevronDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconChevronDown$1),"./icons/IconChevronLeft.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconChevronLeft$1),"./icons/IconChevronRight.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconChevronRight$1),"./icons/IconChevronUp.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconChevronUp$1),"./icons/IconCircledCheck.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCircledCheck$1),"./icons/IconClock.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconClock$1),"./icons/IconClosedEnvelope.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconClosedEnvelope$1),"./icons/IconCloudUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCloudUpload$1),"./icons/IconConnectorConfluence.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconConnectorConfluence$1),"./icons/IconConnectorFigma.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconConnectorFigma$1),"./icons/IconConnectorFreshDesk.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconConnectorFreshDesk$1),"./icons/IconConnectorGitHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconConnectorGitHub$1),"./icons/IconConnectorJira.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconConnectorJira$1),"./icons/IconConnectorLinear.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconConnectorLinear$1),"./icons/IconConnectorNotion.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconConnectorNotion$1),"./icons/IconConnectorSlack.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconConnectorSlack$1),"./icons/IconConnectorZapier.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconConnectorZapier$1),"./icons/IconCopy.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCopy$1),"./icons/IconCross.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCross$1),"./icons/IconCrossCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCrossCircleFill$1),"./icons/IconCrossInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCrossInCircle$1),"./icons/IconCurrentTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconCurrentTick$1),"./icons/IconDataUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconDataUpload$1),"./icons/IconDelete.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconDelete$1),"./icons/IconDeleteFillRed.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconDeleteFillRed$1),"./icons/IconDialingPhone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconDialingPhone$1),"./icons/IconDisabledAlert.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconDisabledAlert$1),"./icons/IconDocumentation.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconDocumentation$1),"./icons/IconDownload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconDownload$1),"./icons/IconDribbble.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconDribbble$1),"./icons/IconDropdownArrow.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconDropdownArrow$1),"./icons/IconEdit.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconEdit$1),"./icons/IconEditLinePath.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconEditLinePath$1),"./icons/IconEllipse.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconEllipse),"./icons/IconExcelThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconExcelThumbnail$1),"./icons/IconExpand.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconExpand$1),"./icons/IconEye.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconEye$1),"./icons/IconFacebook.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFacebook$1),"./icons/IconFigma.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFigma$1),"./icons/IconFile.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFile$1),"./icons/IconFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFileSystem$1),"./icons/IconFileUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFileUpload$1),"./icons/IconFilter.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFilter$1),"./icons/IconFloppy.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFloppy$1),"./icons/IconFolder.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFolder$1),"./icons/IconFreddyHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFreddyHub$1),"./icons/IconFreddyHubLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFreddyHubLogo$1),"./icons/IconFreddyHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFreddyHubNewLogo$1),"./icons/IconFreddyHubTitle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFreddyHubTitle),"./icons/IconFreddySmall.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconFreddySmall$1),"./icons/IconGlobExpand.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconGlobExpand$1),"./icons/IconGlobe.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconGlobe$1),"./icons/IconGoogle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconGoogle$1),"./icons/IconHollowCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconHollowCircle$1),"./icons/IconHome.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconHome$1),"./icons/IconInfoRounded.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconInfoRounded$1),"./icons/IconInvalidInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconInvalidInvoice$1),"./icons/IconInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconInvoice$1),"./icons/IconInvoiceSwitch.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconInvoiceSwitch$1),"./icons/IconLapTableBottom.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconLapTableBottom$1),"./icons/IconLense.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconLense$1),"./icons/IconLightCross.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconLightCross$1),"./icons/IconLink04.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconLink04$1),"./icons/IconLoadingError.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconLoadingError$1),"./icons/IconLoadingOrg.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconLoadingOrg$1),"./icons/IconLocationWithCircleIn.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconLocationWithCircleIn$1),"./icons/IconLock.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconLock$1),"./icons/IconMarketPlace.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconMarketPlace$1),"./icons/IconMaximize.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconMaximize$1),"./icons/IconMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconMicrophone$1),"./icons/IconMutedMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconMutedMicrophone$1),"./icons/IconNewNotification.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconNewNotification$1),"./icons/IconNewTab.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconNewTab$1),"./icons/IconNotification.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconNotification$1),"./icons/IconOpenBook.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconOpenBook$1),"./icons/IconPaperAirPlane.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPaperAirPlane$1),"./icons/IconPauseCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPauseCircle$1),"./icons/IconPdfThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPdfThumbnail$1),"./icons/IconPenEdit.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPenEdit$1),"./icons/IconPencil.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPencil$1),"./icons/IconPeopleHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPeopleHub$1),"./icons/IconPersonCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPersonCircle$1),"./icons/IconPits.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPits$1),"./icons/IconPlay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPlay$1),"./icons/IconPlus.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPlus$1),"./icons/IconPolygonDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPolygonDown$1),"./icons/IconPresentation.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPresentation$1),"./icons/IconProgressBase.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconProgressBase$1),"./icons/IconProgressComplete.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconProgressComplete$1),"./icons/IconProgressGoing.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconProgressGoing$1),"./icons/IconPurpose.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPurpose$1),"./icons/IconPurseCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconPurseCircleFill$1),"./icons/IconQuestion.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconQuestion$1),"./icons/IconRadio.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconRadio$1),"./icons/IconRadioFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconRadioFill$1),"./icons/IconRefresh.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconRefresh$1),"./icons/IconRevertedTriangle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconRevertedTriangle$1),"./icons/IconRobotScreen.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconRobotScreen$1),"./icons/IconRoudedSiingleSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconRoudedSiingleSparkle$1),"./icons/IconRoundTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconRoundTick$1),"./icons/IconSearch.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSearch$1),"./icons/IconSearchOptimised.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSearchOptimised$1),"./icons/IconSectionHide.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSectionHide$1),"./icons/IconSend.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSend$1),"./icons/IconSettings.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSettings$1),"./icons/IconSettingsBold.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSettingsBold$1),"./icons/IconSize.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSize$1),"./icons/IconSliderKnobs.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSliderKnobs$1),"./icons/IconSortIdle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSortIdle$1),"./icons/IconSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSparkle$1),"./icons/IconSpotlio.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSpotlio$1),"./icons/IconStar.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconStar$1),"./icons/IconStatistics.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconStatistics$1),"./icons/IconStopChat.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconStopChat$1),"./icons/IconStreamLineHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconStreamLineHub$1),"./icons/IconStreamLineHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconStreamLineHubNewLogo$1),"./icons/IconSun.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSun$1),"./icons/IconSwap.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconSwap$1),"./icons/IconText.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconText$1),"./icons/IconTextThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconTextThumbnail$1),"./icons/IconThinDocument.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconThinDocument$1),"./icons/IconThinFile.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconThinFile$1),"./icons/IconThumbsDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconThumbsDown$1),"./icons/IconTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconTick$1),"./icons/IconUser.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconUser$1),"./icons/IconVerticalDots.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconVerticalDots$1),"./icons/IconVideoCamera.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconVideoCamera$1),"./icons/IconWarningOctal.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconWarningOctal$1),"./icons/IconX.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconX$1),"./icons/IconZip.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(o=>o.IconZip)});for(const o in s){const i=((p=o.split("/").pop())==null?void 0:p.replace(".vue",""))||"";i&&s[o]&&f.component(i,e.defineAsyncComponent({loader:async()=>{const c=await s[o]();return c.default||c},delay:0,timeout:0}))}}catch{typeof process<"u"&&process.env.NODE_ENV}}},Pe={install(f){f.directive("fr-sanitize",O)}},we={install(f){f.directive("icon-style",H)}},_e=e.defineComponent({__name:"AnimeSpaceman",props:{customClass:{},customStyle:{}},setup(f){return(p,s)=>(e.openBlock(),e.createElementBlock("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 800 600",class:e.normalizeClass(["spaceman-logo",p.customClass]),style:e.normalizeStyle(p.customStyle)},[...s[0]||(s[0]=[e.createStaticVNode(`<g><defs><clipPath id="GlassClip"><path d="M380.857,346.164c-1.247,4.651-4.668,8.421-9.196,10.06c-9.332,3.377-26.2,7.817-42.301,3.5
|
|
2
2
|
s-28.485-16.599-34.877-24.192c-3.101-3.684-4.177-8.66-2.93-13.311l7.453-27.798c0.756-2.82,3.181-4.868,6.088-5.13
|
|
3
3
|
c6.755-0.61,20.546-0.608,41.785,5.087s33.181,12.591,38.725,16.498c2.387,1.682,3.461,4.668,2.705,7.488L380.857,346.164z"></path></clipPath><clipPath id="cordClip"><rect width="800" height="600"></rect></clipPath></defs><g id="planet"><circle fill="none" stroke="#ffffff" stroke-width="3" stroke-miterlimit="10" cx="572.859" cy="108.803" r="90.788"></circle><circle id="craterBig" fill="none" stroke="#ffffff" stroke-width="3" stroke-miterlimit="10" cx="548.891" cy="62.319" r="13.074"></circle><circle id="craterSmall" fill="none" stroke="#ffffff" stroke-width="3" stroke-miterlimit="10" cx="591.743" cy="158.918" r="7.989"></circle><path id="ring" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-miterlimit="10" d="
|
|
4
4
|
M476.562,101.461c-30.404,2.164-49.691,4.221-49.691,8.007c0,6.853,63.166,12.408,141.085,12.408s141.085-5.555,141.085-12.408
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
M380.857,346.164c-1.247,4.651-4.668,8.421-9.196,10.06c-9.332,3.377-26.2,7.817-42.301,3.5s-28.485-16.599-34.877-24.192
|
|
32
32
|
c-3.101-3.684-4.177-8.66-2.93-13.311l7.453-27.798c0.756-2.82,3.181-4.868,6.088-5.13c6.755-0.61,20.546-0.608,41.785,5.087
|
|
33
33
|
s33.181,12.591,38.725,16.498c2.387,1.682,3.461,4.668,2.705,7.488L380.857,346.164z"></path><g clip-path="url(#GlassClip)"><polygon id="glassShine" fill="none" stroke="#ffffff" stroke-width="3" stroke-miterlimit="10" points="
|
|
34
|
-
278.436,375.599 383.003,264.076 364.393,251.618 264.807,364.928 "></polygon></g></g></g></g>`,1)])],6))}}),Be={key:0,class:"fixed z-[9998] top-0 left-0 w-full h-full bg-modalBackgroundBlur flex justify-center items-center"},Se={class:"flex justify-center items-center"},Ee={class:"modal-header"},qe={class:"modal-body"},Ne={class:"modal-footer"},Ve=e.defineComponent({__name:"AdvancedModal",props:{isVisible:{type:Boolean},largeModel:{type:Boolean}},setup(f){return(h,s)=>(e.openBlock(),e.createBlock(e.Transition,{name:"modal"},{default:e.withCtx(()=>[h.isVisible?(e.openBlock(),e.createElementBlock("div",Be,[e.createElementVNode("div",Se,[e.createElementVNode("div",{class:e.normalizeClass({"p-8 bg-background rounded-[2.5rem] overflow-hidden text-white 2xl:w-[56.25rem] xl:w-[56.25rem] lg:w-[56.25rem] md:w-[45.625rem] sm:w-[31.25rem] xs:w-auto":h.largeModel})},[e.createElementVNode("div",Ee,[e.renderSlot(h.$slots,"header")]),e.createElementVNode("div",qe,[e.renderSlot(h.$slots,"body")]),e.createElementVNode("div",Ne,[e.renderSlot(h.$slots,"footer")])],2)])])):e.createCommentVNode("",!0)]),_:3}))}}),Te={class:"freddy-assistant-field__content"},De={class:"freddy-assistant-field__header"},Fe={class:"freddy-assistant-field__name"},xe={class:"freddy-assistant-field__date"},Ae={class:"freddy-assistant-field__footer"},Le={class:"freddy-assistant-field__id"},Me={key:0,class:"freddy-assistant-field__privacy-icon"},Re=e.defineComponent({__name:"AssistantField",props:{name:{default:"Name of the assistant"},date:{default:"mar 2024"},assistantId:{default:"Ass_id.asdasddas"},isDefault:{type:Boolean,default:!1},isSelected:{type:Boolean,default:!1}},emits:["assistantFieldClick"],setup(f,{emit:h}){const s=h,o=i=>{s("assistantFieldClick",i)};return(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-assistant-field",{"freddy-assistant-field--selected":i.isSelected}]),onClick:o},[e.createElementVNode("div",Te,[e.createElementVNode("div",De,[e.createElementVNode("div",Fe,e.toDisplayString(i.name),1),e.createElementVNode("div",xe,e.toDisplayString(i.date),1)]),e.createElementVNode("div",Ae,[e.createElementVNode("div",Le,e.toDisplayString(i.assistantId),1),i.isDefault?(e.openBlock(),e.createElementBlock("div",Me,[e.createVNode(e.unref(l.IconLock),{class:"freddy-assistant-field__lock-icon"})])):e.createCommentVNode("",!0)])])],2))}}),Y=l._export_sfc(Re,[["__scopeId","data-v-482ea9be"]]),ze={class:"freddy-assistant-list"},He={class:"freddy-assistant-list__container"},Oe=e.defineComponent({__name:"AssistantList",props:{assistants:{default:()=>[]},selectedAssistantId:{default:null}},emits:["assistantClick"],setup(f,{emit:h}){const s=f,o=h,i=e.ref(s.selectedAssistantId),c=e.computed(()=>{const u=s.selectedAssistantId??i.value;return s.assistants.map(d=>({...d,isSelected:d.assistantId===u}))}),a=(u,d)=>{i.value=u.assistantId,o("assistantClick",u,d)};return(u,d)=>(e.openBlock(),e.createElementBlock("div",ze,[e.createElementVNode("div",He,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(t,I)=>(e.openBlock(),e.createBlock(e.unref(Y),{key:t.id||I,name:t.name,date:t.date,assistantId:t.assistantId,isDefault:t.isDefault,isSelected:t.isSelected,onAssistantFieldClick:y=>a(t,y)},null,8,["name","date","assistantId","isDefault","isSelected","onAssistantFieldClick"]))),128))])]))}}),Ue=l._export_sfc(Oe,[["__scopeId","data-v-37cf8653"]]),U=(f,h,s)=>{const o=f[h];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((i,c)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(c.bind(null,new Error("Unknown variable dynamic import: "+h+(h.split("/").length!==s?". Note that variables only represent file names one level deep.":""))))})},Ke={class:"freddy-assistants-header"},je={key:0,class:"freddy-assistants-header__avatar"},Ge=["src"],We={key:1,class:"freddy-assistants-header__icon-with-edit"},Ze={key:2,class:"freddy-assistants-header__side-icon"},Je={class:"freddy-assistants-header__content"},Qe={class:"freddy-assistants-header__content-inner"},Ye={class:"freddy-assistants-header__text-content"},Xe={class:"freddy-assistants-header__id-badge"},eo={class:"freddy-assistants-header__actions"},oo=e.defineComponent({__name:"AssistantsHeader",props:{assistantImage:{default:void 0},assistantIcon:{default:"IconRobotScreen"},assistantId:{default:"assistant ID"}},emits:["edit","playground"],setup(f,{emit:h}){const s=f,o=h,i=d=>{o("edit",d)},c=d=>{o("playground",d)},a=d=>d?e.defineAsyncComponent(()=>U(Object.assign({"../../icons/IconAddChatPop.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconAddChatPop$1),"../../icons/IconAddFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconAddFileSystem$1),"../../icons/IconAddPeople.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconAddPeople$1),"../../icons/IconAitronos.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconAitronos$1),"../../icons/IconApple.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconApple$1),"../../icons/IconApplePay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconApplePay$1),"../../icons/IconAppsGrid.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconAppsGrid$1),"../../icons/IconArrowDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconArrowDown$1),"../../icons/IconArrowLeft.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconArrowLeft$1),"../../icons/IconArrowUp.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconArrowUp$1),"../../icons/IconBadgeCheck.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconBadgeCheck$1),"../../icons/IconBroom.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconBroom$1),"../../icons/IconBuildings.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconBuildings$1),"../../icons/IconCalendarWithTickInside.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCalendarWithTickInside$1),"../../icons/IconCallNotAllowed.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCallNotAllowed$1),"../../icons/IconCardPay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCardPay$1),"../../icons/IconCaution.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCaution$1),"../../icons/IconChangeLog.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconChangeLog$1),"../../icons/IconCheckCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCheckCircleFill$1),"../../icons/IconCheckInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCheckInCircle$1),"../../icons/IconCheckRounded.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCheckRounded$1),"../../icons/IconChevronDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconChevronDown$1),"../../icons/IconChevronLeft.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconChevronLeft$1),"../../icons/IconChevronRight.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconChevronRight$1),"../../icons/IconChevronUp.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconChevronUp$1),"../../icons/IconCircledCheck.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCircledCheck$1),"../../icons/IconClock.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconClock$1),"../../icons/IconClosedEnvelope.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconClosedEnvelope$1),"../../icons/IconCloudUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCloudUpload$1),"../../icons/IconConnectorConfluence.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconConnectorConfluence$1),"../../icons/IconConnectorFigma.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconConnectorFigma$1),"../../icons/IconConnectorFreshDesk.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconConnectorFreshDesk$1),"../../icons/IconConnectorGitHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconConnectorGitHub$1),"../../icons/IconConnectorJira.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconConnectorJira$1),"../../icons/IconConnectorLinear.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconConnectorLinear$1),"../../icons/IconConnectorNotion.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconConnectorNotion$1),"../../icons/IconConnectorSlack.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconConnectorSlack$1),"../../icons/IconConnectorZapier.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconConnectorZapier$1),"../../icons/IconCopy.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCopy$1),"../../icons/IconCross.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCross$1),"../../icons/IconCrossCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCrossCircleFill$1),"../../icons/IconCrossInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCrossInCircle$1),"../../icons/IconCurrentTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconCurrentTick$1),"../../icons/IconDataUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconDataUpload$1),"../../icons/IconDelete.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconDelete$1),"../../icons/IconDeleteFillRed.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconDeleteFillRed$1),"../../icons/IconDialingPhone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconDialingPhone$1),"../../icons/IconDisabledAlert.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconDisabledAlert$1),"../../icons/IconDocumentation.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconDocumentation$1),"../../icons/IconDownload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconDownload$1),"../../icons/IconDribbble.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconDribbble$1),"../../icons/IconDropdownArrow.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconDropdownArrow$1),"../../icons/IconEdit.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconEdit$1),"../../icons/IconEditLinePath.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconEditLinePath$1),"../../icons/IconEllipse.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconEllipse),"../../icons/IconExcelThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconExcelThumbnail$1),"../../icons/IconExpand.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconExpand$1),"../../icons/IconEye.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconEye$1),"../../icons/IconFacebook.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFacebook$1),"../../icons/IconFigma.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFigma$1),"../../icons/IconFile.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFile$1),"../../icons/IconFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFileSystem$1),"../../icons/IconFileUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFileUpload$1),"../../icons/IconFilter.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFilter$1),"../../icons/IconFolder.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFolder$1),"../../icons/IconFreddyHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFreddyHub$1),"../../icons/IconFreddyHubLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFreddyHubLogo$1),"../../icons/IconFreddyHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFreddyHubNewLogo$1),"../../icons/IconFreddyHubTitle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFreddyHubTitle),"../../icons/IconFreddySmall.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconFreddySmall$1),"../../icons/IconGlobExpand.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconGlobExpand$1),"../../icons/IconGlobe.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconGlobe$1),"../../icons/IconGoogle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconGoogle$1),"../../icons/IconHollowCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconHollowCircle$1),"../../icons/IconHome.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconHome$1),"../../icons/IconInfoRounded.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconInfoRounded$1),"../../icons/IconInvalidInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconInvalidInvoice$1),"../../icons/IconInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconInvoice$1),"../../icons/IconInvoiceSwitch.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconInvoiceSwitch$1),"../../icons/IconLapTableBottom.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconLapTableBottom$1),"../../icons/IconLense.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconLense$1),"../../icons/IconLightCross.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconLightCross$1),"../../icons/IconLink04.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconLink04$1),"../../icons/IconLoadingError.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconLoadingError$1),"../../icons/IconLoadingOrg.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconLoadingOrg$1),"../../icons/IconLocationWithCircleIn.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconLocationWithCircleIn$1),"../../icons/IconLock.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconLock$1),"../../icons/IconMarketPlace.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconMarketPlace$1),"../../icons/IconMaximize.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconMaximize$1),"../../icons/IconMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconMicrophone$1),"../../icons/IconMutedMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconMutedMicrophone$1),"../../icons/IconNewNotification.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconNewNotification$1),"../../icons/IconNewTab.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconNewTab$1),"../../icons/IconNotification.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconNotification$1),"../../icons/IconOpenBook.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconOpenBook$1),"../../icons/IconPaperAirPlane.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPaperAirPlane$1),"../../icons/IconPauseCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPauseCircle$1),"../../icons/IconPdfThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPdfThumbnail$1),"../../icons/IconPenEdit.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPenEdit$1),"../../icons/IconPencil.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPencil$1),"../../icons/IconPeopleHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPeopleHub$1),"../../icons/IconPersonCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPersonCircle$1),"../../icons/IconPits.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPits$1),"../../icons/IconPlay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPlay$1),"../../icons/IconPlus.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPlus$1),"../../icons/IconPolygonDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPolygonDown$1),"../../icons/IconPresentation.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPresentation$1),"../../icons/IconProgressBase.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconProgressBase$1),"../../icons/IconProgressComplete.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconProgressComplete$1),"../../icons/IconProgressGoing.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconProgressGoing$1),"../../icons/IconPurpose.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPurpose$1),"../../icons/IconPurseCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconPurseCircleFill$1),"../../icons/IconQuestion.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconQuestion$1),"../../icons/IconRadio.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconRadio$1),"../../icons/IconRadioFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconRadioFill$1),"../../icons/IconRefresh.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconRefresh$1),"../../icons/IconRevertedTriangle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconRevertedTriangle$1),"../../icons/IconRobotScreen.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconRobotScreen$1),"../../icons/IconRoundTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconRoundTick$1),"../../icons/IconSearch.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSearch$1),"../../icons/IconSearchOptimised.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSearchOptimised$1),"../../icons/IconSectionHide.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSectionHide$1),"../../icons/IconSend.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSend$1),"../../icons/IconSettings.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSettings$1),"../../icons/IconSettingsBold.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSettingsBold$1),"../../icons/IconSize.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSize$1),"../../icons/IconSliderKnobs.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSliderKnobs$1),"../../icons/IconSortIdle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSortIdle$1),"../../icons/IconSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSparkle$1),"../../icons/IconSpotlio.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSpotlio$1),"../../icons/IconStar.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconStar$1),"../../icons/IconStatistics.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconStatistics$1),"../../icons/IconStopChat.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconStopChat$1),"../../icons/IconStreamLineHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconStreamLineHub$1),"../../icons/IconStreamLineHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconStreamLineHubNewLogo$1),"../../icons/IconSun.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSun$1),"../../icons/IconSwap.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconSwap$1),"../../icons/IconText.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconText$1),"../../icons/IconTextThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconTextThumbnail$1),"../../icons/IconThinDocument.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconThinDocument$1),"../../icons/IconThinFile.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconThinFile$1),"../../icons/IconThumbsDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconThumbsDown$1),"../../icons/IconTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconTick$1),"../../icons/IconUser.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconUser$1),"../../icons/IconVerticalDots.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconVerticalDots$1),"../../icons/IconVideoCamera.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconVideoCamera$1),"../../icons/IconWarningOctal.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconWarningOctal$1),"../../icons/IconX.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconX$1),"../../icons/IconZip.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconZip)}),`../../icons/${d}.vue`,4).catch(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(t=>t.IconRobotScreen$1))):l.IconRobotScreen,u=e.computed(()=>a(s.assistantIcon));return(d,t)=>(e.openBlock(),e.createElementBlock("div",Ke,[e.createElementVNode("div",{class:e.normalizeClass(["freddy-assistants-header__avatar-section",{"freddy-assistants-header__avatar-section--with-image":d.assistantImage,"freddy-assistants-header__avatar-section--no-image":!d.assistantImage}])},[d.assistantImage?(e.openBlock(),e.createElementBlock("div",je,[e.createElementVNode("img",{src:d.assistantImage,alt:"Assistant Avatar",class:"freddy-assistants-header__avatar-image"},null,8,Ge),e.createElementVNode("button",{class:"freddy-assistants-header__edit-overlay",onClick:i},[e.createVNode(e.unref(l.IconEdit),{class:"freddy-assistants-header__edit-icon"})])])):(e.openBlock(),e.createElementBlock("div",We,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value),{class:"freddy-assistants-header__icon-component"})),e.createElementVNode("button",{class:"freddy-assistants-header__edit-overlay-icon",onClick:i},[e.createVNode(e.unref(l.IconEdit),{class:"freddy-assistants-header__edit-icon"})])])),d.assistantImage&&d.assistantIcon?(e.openBlock(),e.createElementBlock("div",Ze,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value),{class:"freddy-assistants-header__side-icon-component"}))])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",Je,[e.createElementVNode("div",Qe,[e.createElementVNode("div",Ye,[e.createElementVNode("div",Xe,e.toDisplayString(d.assistantId||"assistant ID"),1)])])]),e.createElementVNode("div",eo,[e.createElementVNode("button",{class:"freddy-assistants-header__playground-button",onClick:c},[e.createVNode(e.unref(l.IconNewTab),{class:"freddy-assistants-header__playground-icon"}),t[0]||(t[0]=e.createElementVNode("span",{class:"freddy-assistants-header__playground-label"},"Playground",-1))])])]))}}),no=["src","alt"],to={key:0,class:"freddy-avatar-choosing__border"},ro={key:1,class:"freddy-avatar-choosing__check-icon"},X=e.defineComponent({__name:"AvatarChoosing",props:{imageUrl:{},isSelected:{type:Boolean,default:!1},altText:{default:"Avatar"},backgroundColor:{default:"#cfcbdc"}},emits:["click"],setup(f,{emit:h}){const s=h,o=i=>{s("click",i)};return(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-avatar-choosing",{"freddy-avatar-choosing--selected":i.isSelected}]),onClick:o},[e.createElementVNode("div",{class:"freddy-avatar-choosing__background",style:e.normalizeStyle({backgroundColor:i.backgroundColor})},null,4),e.createElementVNode("img",{src:i.imageUrl,alt:i.altText,class:"freddy-avatar-choosing__image"},null,8,no),i.isSelected?(e.openBlock(),e.createElementBlock("div",to)):e.createCommentVNode("",!0),i.isSelected?(e.openBlock(),e.createElementBlock("div",ro,[e.createVNode(l.IconTick,{class:"freddy-avatar-choosing__check-icon-svg"})])):e.createCommentVNode("",!0)],2))}}),so={class:"freddy-avatar-list"},io={key:0,class:"freddy-avatar-list__title"},lo={class:"freddy-avatar-list__grid"},co={key:1,class:"freddy-avatar-list__selected-info"},ao=e.defineComponent({__name:"AvatarList",props:{avatars:{},title:{default:""},showSelectedInfo:{type:Boolean,default:!0},allowDeselect:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1}},emits:["selectionChange","avatarClick"],setup(f,{expose:h,emit:s}){const o=f,i=s,c=e.ref(null),a=e.computed(()=>o.avatars.find(d=>d.id===c.value)||null),u=d=>{c.value===d&&o.allowDeselect?c.value=null:c.value=d,i("selectionChange",c.value),i("avatarClick",d,c.value===d)};return h({selectedAvatarId:c,selectedAvatar:a,selectAvatar:d=>{c.value=d,i("selectionChange",d)},clearSelection:()=>{c.value=null,i("selectionChange",null)}}),(d,t)=>{var I;return e.openBlock(),e.createElementBlock("div",so,[d.title?(e.openBlock(),e.createElementBlock("h3",io,e.toDisplayString(d.title),1)):e.createCommentVNode("",!0),e.createElementVNode("div",lo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.avatars,y=>(e.openBlock(),e.createBlock(e.unref(X),{key:y.id,imageUrl:y.url,isSelected:c.value===y.id,altText:y.name,onClick:_=>u(y.id)},null,8,["imageUrl","isSelected","altText","onClick"]))),128))]),d.showSelectedInfo?(e.openBlock(),e.createElementBlock("div",co,[e.createElementVNode("p",null,"Selected: "+e.toDisplayString(((I=a.value)==null?void 0:I.name)||"None"),1)])):e.createCommentVNode("",!0)])}}}),uo={class:"freddy-choose-assistant-avatar"},ho={class:"freddy-choose-assistant-avatar__header"},po={class:"freddy-choose-assistant-avatar__title-section"},mo={class:"freddy-choose-assistant-avatar__title-row"},vo={class:"freddy-choose-assistant-avatar__title"},fo=["aria-label"],Io={class:"freddy-choose-assistant-avatar__description"},go={class:"freddy-choose-assistant-avatar__content"},yo={class:"freddy-choose-assistant-avatar__section"},ko={class:"freddy-choose-assistant-avatar__icon-container"},Co={class:"freddy-choose-assistant-avatar__icon-search"},bo=["aria-label"],$o={class:"freddy-choose-assistant-avatar__icon-grid"},Po=["onClick","title"],wo={class:"freddy-choose-assistant-avatar__icon-wrapper"},_o=["src","alt"],Bo={key:0,class:"freddy-choose-assistant-avatar__section"},So={key:1,class:"freddy-choose-assistant-avatar__section"},Eo={class:"freddy-choose-assistant-avatar__voice-list"},qo={class:"freddy-choose-assistant-avatar__actions"},No=["disabled"],Vo=e.defineComponent({__name:"ChooseAssistantAvatar",props:{title:{default:"Choose your assistant"},description:{default:"Choose your assistant's appearance and select a preferred voice."},icons:{default:()=>[]},imageUrls:{default:()=>[]},faces:{},voices:{default:()=>[{id:1,name:"Alloy"},{id:2,name:"Echo"},{id:3,name:"Fable"},{id:4,name:"Onyx"},{id:5,name:"Nova"},{id:6,name:"Shimmer"},{id:7,name:"Aurora"},{id:8,name:"Phoenix"}]},searchPlaceholder:{default:"Search icon"},cancelButtonText:{default:"Cancel"},saveButtonText:{default:"Save"},closeButtonAriaLabel:{default:"Close dialog"},searchButtonAriaLabel:{default:"Search icons"},uploadButtonAriaLabel:{default:"Upload custom icon"},allowMultipleSelection:{type:Boolean,default:!1}},emits:["close","cancel","save","iconSelect","imageSelect","faceSelect","voiceSelect","searchInput","searchClick","uploadClick"],setup(f,{expose:h,emit:s}){const o=f,i=()=>{const n=[];let p=1;for(const[$,C]of Object.entries(l.Icons))if(typeof C=="object"&&C&&"default"in C){const r=C.default;n.push({id:p++,name:$.replace("Icon",""),iconName:$,component:r})}return n},c=e.computed(()=>o.icons.length>0?o.icons:i()),a=s,u=e.ref(null),d=e.ref(null),t=e.ref(null),I=e.ref(null),y=e.ref(null),_=e.ref("");e.computed(()=>_.value?c.value.filter(p=>{var $;return($=p.name)==null?void 0:$.toLowerCase().includes(_.value.toLowerCase())}):c.value);const S=e.computed(()=>u.value!==null||d.value!==null||I.value!==null||y.value!==null),v=()=>{a("close")},P=()=>{a("cancel")},k=()=>{S.value&&a("save",{selectedIconId:u.value,selectedImageUrl:d.value,selectedFaceId:I.value,selectedVoiceId:y.value})},g=(n,p)=>{d.value=n,t.value=p,a("imageSelect",n)},b=n=>{y.value=n.id,a("voiceSelect",n)},B=n=>{_.value=n||"",a("searchInput",n||"")},m=()=>{a("uploadClick")};return h({selectedIconId:u,selectedImageUrl:d,selectedImageIndex:t,selectedFaceId:I,selectedVoiceId:y,resetSelections:()=>{u.value=null,d.value=null,t.value=null,I.value=null,y.value=null}}),(n,p)=>(e.openBlock(),e.createElementBlock("div",uo,[e.createElementVNode("div",ho,[e.createElementVNode("div",po,[e.createElementVNode("div",mo,[e.createElementVNode("h1",vo,e.toDisplayString(n.title),1),e.createElementVNode("button",{class:"freddy-choose-assistant-avatar__close-button",onClick:v,"aria-label":n.closeButtonAriaLabel},[e.createVNode(e.unref(l.IconCross),{class:"freddy-choose-assistant-avatar__close-icon"})],8,fo)])]),e.createElementVNode("p",Io,e.toDisplayString(n.description),1)]),e.createElementVNode("div",go,[e.createElementVNode("div",yo,[p[1]||(p[1]=e.createElementVNode("h3",{class:"freddy-choose-assistant-avatar__section-title"}," Choose the icon ",-1)),e.createElementVNode("div",ko,[e.createElementVNode("div",Co,[e.createElementVNode("button",{class:"freddy-choose-assistant-avatar__search-button",onClick:m,"aria-label":n.uploadButtonAriaLabel},[e.createVNode(e.unref(l.IconDataUpload),{class:"freddy-choose-assistant-avatar__upload-icon"})],8,bo),e.createVNode(e.unref(A),{searchInput:_.value,"onUpdate:searchInput":[p[0]||(p[0]=$=>_.value=$),B],placeholder:n.searchPlaceholder,class:"freddy-choose-assistant-avatar__search-input-wrapper"},null,8,["searchInput","placeholder"])]),e.createElementVNode("div",$o,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.imageUrls,($,C)=>(e.openBlock(),e.createElementBlock("div",{key:C,class:e.normalizeClass(["freddy-choose-assistant-avatar__icon-item",{"freddy-choose-assistant-avatar__icon-item--selected":t.value===C}]),onClick:r=>g($,C),title:`Image ${C+1}`},[e.createElementVNode("div",wo,[e.createElementVNode("img",{src:$,alt:`Image ${C+1}`,class:"freddy-choose-assistant-avatar__icon-image"},null,8,_o)])],10,Po))),128))])])]),n.faces&&n.faces.length?(e.openBlock(),e.createElementBlock("div",Bo,[...p[2]||(p[2]=[e.createElementVNode("h3",{class:"freddy-choose-assistant-avatar__section-title"}," Choose the face ",-1),e.createElementVNode("div",{class:"freddy-choose-assistant-avatar__face-grid"},null,-1)])])):e.createCommentVNode("",!0),n.voices&&n.voices.length?(e.openBlock(),e.createElementBlock("div",So,[p[3]||(p[3]=e.createElementVNode("h3",{class:"freddy-choose-assistant-avatar__section-title"}," Choose the voice ",-1)),e.createElementVNode("div",Eo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.voices,($,C)=>(e.openBlock(),e.createBlock(e.unref(K),{key:$.id||C,voiceName:$.name,isSelected:y.value===$.id,onClick:r=>b($)},null,8,["voiceName","isSelected","onClick"]))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",qo,[e.createElementVNode("button",{class:"freddy-choose-assistant-avatar__cancel-button",onClick:P},e.toDisplayString(n.cancelButtonText),1),e.createElementVNode("button",{class:"freddy-choose-assistant-avatar__save-button",onClick:k,disabled:!S.value},e.toDisplayString(n.saveButtonText),9,No)])])]))}}),To=["onClick","aria-selected","onKeydown"],Do={class:"freddy-plugin-menu-button-label"},Fo={key:0,class:"freddy-plugin-menu-button-badge"},ee=e.defineComponent({__name:"BaseTabButton",props:{tabList:{},currentTab:{default:0},activeStateType:{default:"bottom-dash"},orientation:{default:"horizontal"},fullWidth:{type:Boolean,default:!1}},emits:["tabSwitch"],setup(f,{emit:h}){const s=f,o=h,i=e.computed(()=>s.activeStateType||"bottom-dash"),c=e.computed(()=>s.orientation||"horizontal"),a=e.computed(()=>{const t=c.value,I=i.value;return t==="vertical"&&I==="bottom-dash"?"left-dash":{"bottom-dash":"bottom-dash","bg-primary-active":"background-21404F8F","primary-active":"background-031525","bg-primary-active-bordered":"background-border"}[I]||I}),u=e.ref(s.currentTab);e.watch(()=>s.currentTab,t=>{u.value=t});const d=t=>{u.value!==t.id&&(u.value=t.id,o("tabSwitch",t.id))};return(t,I)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-plugin-nav-bar",`freddy-plugin-nav-bar--${c.value}`,`freddy-plugin-nav-bar--${a.value}`,{"freddy-plugin-nav-bar--full-width":s.fullWidth}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.tabList,(y,_)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["freddy-plugin-menu-button",`freddy-plugin-menu-button--${a.value}`,{"freddy-plugin-menu-button--active":u.value===y.id},{"freddy-plugin-menu-button--full-width":s.fullWidth}]),key:_,onClick:S=>d(y),"aria-selected":u.value===y.id,role:"tab",tabindex:"0",onKeydown:[e.withKeys(S=>d(y),["enter"]),e.withKeys(e.withModifiers(S=>d(y),["prevent"]),["space"])]},[e.createElementVNode("span",Do,e.toDisplayString(y.title),1),y.badge!==void 0?(e.openBlock(),e.createElementBlock("span",Fo,e.toDisplayString(y.badge),1)):e.createCommentVNode("",!0),a.value==="bottom-dash"&&u.value===y.id?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass({"freddy-plugin-active-tab-bottom":u.value===y.id})},null,2)):e.createCommentVNode("",!0)],42,To))),128))],2))}}),xo={class:"rules-management"},Ao={class:"rules-header"},Lo={class:"header-actions"},Mo={class:"search-wrapper"},Ro=["onKeydown"],zo={class:"tabs-container",role:"tablist","aria-label":"Rules filter tabs"},Ho=["id","aria-labelledby"],Oo={class:"rules-table",role:"table","aria-label":"Rules list"},Uo={class:"col-dependencies",scope:"col"},Ko={class:"info-icon",title:"Number of dependent rules","aria-label":"Information about dependencies",role:"img"},jo={class:"rule-info"},Go={class:"rule-title"},Wo={class:"rule-description"},Zo=["aria-label"],Jo={class:"dependencies-count"},Qo=["aria-label"],Yo={class:"creator-info"},Xo={class:"creator-wrapper"},en=["src","alt"],on={class:"creator-details"},nn={class:"creator-name"},tn={class:"creator-username"},rn={class:"action-cell"},sn=["aria-label"],ln={class:"action-icons"},cn=["onClick","onKeydown","aria-label"],an=["onClick","onKeydown","aria-label"],dn={class:"pagination-container",role:"navigation","aria-label":"Pagination"},un=["disabled","onKeydown","tabindex"],hn={class:"page-numbers",role:"list","aria-label":"Page numbers"},pn=["onClick","onKeydown","disabled","aria-label","aria-current","tabindex"],mn=["disabled","onKeydown","tabindex"],vn=e.defineComponent({__name:"RulesManagement",props:{rules:{default:()=>[]},tabs:{default:()=>[{id:"all",label:"All Rules",count:43},{id:"my",label:"My Rules",count:5},{id:"others",label:"Other's Rules",count:8},{id:"current",label:"Current Assistant",count:6}]},initialTab:{default:"all"},totalPages:{default:10}},emits:["search","createRule","tabChange","edit","view","pageChange"],setup(f,{emit:h}){const s=f,o=h,i=e.ref(""),c=e.ref(s.initialTab),a=e.ref(1),u=e.computed(()=>s.tabs.map((m,n)=>({id:n+1,title:m.label,badge:m.count,originalId:m.id}))),d=e.computed(()=>{const m=s.tabs.findIndex(n=>n.id===c.value);return m>=0?m+1:1}),t=m=>{const n=u.value.find(p=>p.id===m);n&&n.originalId&&v(n.originalId)},I=e.computed(()=>{if(!i.value)return s.rules;const m=i.value.toLowerCase();return s.rules.filter(n=>{var p;return n.title.toLowerCase().includes(m)||((p=n.description)==null?void 0:p.toLowerCase().includes(m))||n.creator.name.toLowerCase().includes(m)})}),y=e.computed(()=>{const m=[],n=s.totalPages,p=a.value;if(n<=7)for(let $=1;$<=n;$++)m.push($);else{m.push(1),p>3&&m.push("...");for(let $=Math.max(2,p-1);$<=Math.min(n-1,p+1);$++)m.push($);p<n-2&&m.push("..."),m.push(n)}return m}),_=()=>{o("search",i.value)},S=()=>{o("createRule")},v=m=>{c.value=m,o("tabChange",m)},P=m=>{o("edit",m)},k=m=>{o("view",m)},g=m=>{a.value=m,o("pageChange",m)},b=()=>{a.value>1&&g(a.value-1)},B=()=>{a.value<s.totalPages&&g(a.value+1)};return(m,n)=>(e.openBlock(),e.createElementBlock("div",xo,[e.createElementVNode("div",Ao,[n[3]||(n[3]=e.createElementVNode("div",{class:"header-content"},[e.createElementVNode("h1",{class:"title"},"Rules Management"),e.createElementVNode("p",{class:"subtitle"}," Manage and organize your organization's rules and guidelines ")],-1)),e.createElementVNode("div",Lo,[e.createElementVNode("div",Mo,[e.createVNode(e.unref(l.IconSearch),{class:"search-icon","aria-hidden":"true"}),e.withDirectives(e.createElementVNode("input",{type:"text",class:"search-input",placeholder:"Search","onUpdate:modelValue":n[0]||(n[0]=p=>i.value=p),onInput:_,"aria-label":"Search rules"},null,544),[[e.vModelText,i.value]]),n[1]||(n[1]=e.createElementVNode("kbd",{class:"search-kbd","aria-label":"Keyboard shortcut"},"⌘K",-1))]),e.createElementVNode("button",{class:"create-rule-btn",onClick:S,onKeydown:[e.withKeys(S,["enter"]),e.withKeys(e.withModifiers(S,["prevent"]),["space"])],"aria-label":"Create new rule",tabindex:"0"},[e.createVNode(e.unref(l.IconPlus),{class:"plus-icon","aria-hidden":"true"}),n[2]||(n[2]=e.createTextVNode(" Create Rule ",-1))],40,Ro)])]),e.createElementVNode("div",zo,[e.createVNode(ee,{tabList:u.value,currentTab:d.value,activeStateType:"bottom-dash",orientation:"horizontal",onTabSwitch:t},null,8,["tabList","currentTab"])]),e.createElementVNode("div",{class:"table-container",role:"tabpanel",id:`tabpanel-${c.value}`,"aria-labelledby":`tab-${c.value}`},[e.createElementVNode("table",Oo,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[n[5]||(n[5]=e.createElementVNode("th",{class:"col-rule",scope:"col"},"Rule",-1)),n[6]||(n[6]=e.createElementVNode("th",{class:"col-status",scope:"col"},"Status",-1)),e.createElementVNode("th",Uo,[n[4]||(n[4]=e.createTextVNode(" Dependencies ",-1)),e.createElementVNode("span",Ko,[e.createVNode(e.unref(l.IconInfoRounded),{"aria-hidden":"true"})])]),n[7]||(n[7]=e.createElementVNode("th",{class:"col-created-by",scope:"col"},"Created By",-1)),n[8]||(n[8]=e.createElementVNode("th",{class:"col-status-action",scope:"col"},"Actions",-1))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,p=>(e.openBlock(),e.createElementBlock("tr",{key:p.id,class:"rule-row",role:"row"},[e.createElementVNode("td",jo,[e.createElementVNode("div",Go,e.toDisplayString(p.title),1),e.createElementVNode("div",Wo,e.toDisplayString(p.description),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",{class:e.normalizeClass(["status-badge",p.status.toLowerCase()]),"aria-label":`Status: ${p.status}`},e.toDisplayString(p.status),11,Zo)]),e.createElementVNode("td",Jo,[e.createElementVNode("span",{"aria-label":`${p.dependencies} dependencies`},e.toDisplayString(p.dependencies),9,Qo)]),e.createElementVNode("td",Yo,[e.createElementVNode("div",Xo,[e.createElementVNode("img",{src:p.creator.avatar,alt:`${p.creator.name} avatar`,class:"creator-avatar"},null,8,en),e.createElementVNode("div",on,[e.createElementVNode("div",nn,e.toDisplayString(p.creator.name),1),e.createElementVNode("div",tn,e.toDisplayString(p.creator.username),1)])])]),e.createElementVNode("td",rn,[e.createElementVNode("span",{class:e.normalizeClass(["status-badge",p.status.toLowerCase()]),"aria-label":`Status: ${p.status}`},e.toDisplayString(p.status),11,sn),e.createElementVNode("div",ln,[e.createElementVNode("button",{class:"icon-btn",onClick:$=>P(p),onKeydown:[e.withKeys($=>P(p),["enter"]),e.withKeys(e.withModifiers($=>P(p),["prevent"]),["space"])],"aria-label":`Edit ${p.title}`,tabindex:"0"},[e.createVNode(e.unref(l.IconEdit),{"aria-hidden":"true"})],40,cn),e.createElementVNode("button",{class:"icon-btn",onClick:$=>k(p),onKeydown:[e.withKeys($=>k(p),["enter"]),e.withKeys(e.withModifiers($=>k(p),["prevent"]),["space"])],"aria-label":`View ${p.title}`,tabindex:"0"},[e.createVNode(e.unref(l.IconEye),{"aria-hidden":"true"})],40,an)])])]))),128))])])],8,Ho),e.createElementVNode("nav",dn,[e.createElementVNode("button",{class:"pagination-btn",disabled:a.value===1,onClick:b,onKeydown:[e.withKeys(b,["enter"]),e.withKeys(e.withModifiers(b,["prevent"]),["space"])],"aria-label":"Go to previous page",tabindex:a.value===1?-1:0}," Previous ",40,un),e.createElementVNode("div",hn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value,p=>(e.openBlock(),e.createElementBlock("button",{key:p,class:e.normalizeClass(["page-number",{active:a.value===p,ellipsis:p==="..."}]),onClick:$=>p!=="..."&&g(p),onKeydown:[e.withKeys($=>p!=="..."&&g(p),["enter"]),e.withKeys(e.withModifiers($=>p!=="..."&&g(p),["prevent"]),["space"])],disabled:p==="...","aria-label":p==="..."?"More pages":`Go to page ${p}`,"aria-current":a.value===p?"page":void 0,tabindex:p==="..."?-1:0,role:"listitem"},e.toDisplayString(p),43,pn))),128))]),e.createElementVNode("button",{class:"pagination-btn",disabled:a.value===m.totalPages,onClick:B,onKeydown:[e.withKeys(B,["enter"]),e.withKeys(e.withModifiers(B,["prevent"]),["space"])],"aria-label":"Go to next page",tabindex:a.value===m.totalPages?-1:0}," Next ",40,mn)])]))}}),fn=l._export_sfc(vn,[["__scopeId","data-v-e6ad3a6e"]]),In={class:"freddy-vector-frame__content"},gn={class:"freddy-vector-frame__icon-container"},yn={class:"freddy-vector-frame__title"},kn={key:0,class:"freddy-vector-frame__badge"},Cn={class:"freddy-vector-frame__badge-content"},bn={class:"freddy-vector-frame__badge-text"},$n={key:1,class:"freddy-vector-frame__tick-container"},Pn={key:0,class:"freddy-vector-frame__underline"},wn=e.defineComponent({__name:"VectorFrame",props:{title:{default:"Main Vector Store"},badgeText:{default:"Popular"},isSelected:{type:Boolean,default:!1}},emits:["click"],setup(f,{emit:h}){const s=f,o=h,i=e.ref(s.isSelected),c=a=>{i.value=!i.value,o("click",a)};return(a,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-vector-frame",{"freddy-vector-frame--clicked":i.value}]),onClick:c},[e.createElementVNode("div",In,[e.createElementVNode("div",gn,[e.createVNode(e.unref(l.IconFileSystem),{class:"freddy-vector-frame__icon"})]),e.createElementVNode("div",yn,e.toDisplayString(a.title),1),i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",kn,[e.createElementVNode("div",Cn,[e.createVNode(e.unref(l.IconStar),{class:"freddy-vector-frame__badge-icon"}),e.createElementVNode("div",bn,e.toDisplayString(a.badgeText),1)])])),i.value?(e.openBlock(),e.createElementBlock("div",$n,[e.createVNode(e.unref(l.IconBadgeCheck),{class:"freddy-vector-frame__tick-icon"})])):e.createCommentVNode("",!0)]),i.value?(e.openBlock(),e.createElementBlock("div",Pn)):e.createCommentVNode("",!0)],2))}}),_n=l._export_sfc(wn,[["__scopeId","data-v-e2bc0b9f"]]),Bn={class:"freddy-vector-section"},Sn={class:"freddy-vector-section__content"},En={class:"freddy-vector-section__header"},qn={class:"freddy-vector-section__count"},Nn={class:"freddy-vector-section__main"},Vn={class:"freddy-vector-section__search-container"},Tn={class:"freddy-vector-section__search-header"},Dn={class:"freddy-vector-section__search-label"},Fn={class:"freddy-vector-section__help-icon"},xn={class:"freddy-vector-section__search-input-container"},An={class:"freddy-vector-section__filter-results"},Ln={class:"freddy-vector-section__filter"},Mn={class:"freddy-vector-section__filter-button"},Rn={class:"freddy-vector-section__results-count"},zn={class:"freddy-vector-section__frames-container"},Hn={key:0,class:"freddy-vector-section__show-more"},On={class:"freddy-vector-section__show-more-text"},Un={class:"freddy-vector-section__add-section"},Kn={class:"freddy-vector-section__add-container"},jn=e.defineComponent({__name:"VectorSection",props:{title:{default:"Knowledge"},dbCount:{default:0},searchPlaceholder:{default:"Search vector store"},frames:{default:()=>[{id:1,title:"Main Vector Store",badgeText:"Popular",isSelected:!0},{id:2,title:"Secondary Database",badgeText:"Popular",isSelected:!1},{id:3,title:"Custom Vector Store",badgeText:"Popular",isSelected:!0},{id:4,title:"Backup Store",badgeText:"Popular",isSelected:!1},{id:5,title:"Analytics Database",badgeText:"Popular",isSelected:!1},{id:6,title:"User Data Store",badgeText:"Popular",isSelected:!1},{id:7,title:"Logs Database",badgeText:"Popular",isSelected:!1},{id:8,title:"Cache Store",badgeText:"Popular",isSelected:!1},{id:9,title:"Metrics Database",badgeText:"Popular",isSelected:!1},{id:10,title:"Archive Store",badgeText:"Popular",isSelected:!1},{id:11,title:"Test Database",badgeText:"Popular",isSelected:!1},{id:12,title:"Production Store",badgeText:"Popular",isSelected:!1}]},maxDisplayed:{default:4}},emits:["frameClick","addVectorStore","showMore","searchInput"],setup(f,{emit:h}){const s=f,o=h,i=e.ref(""),c=e.ref(s.maxDisplayed),a=e.computed(()=>i.value.trim()?s.frames.filter(v=>v.title.toLowerCase().includes(i.value.toLowerCase())):s.frames),u=e.computed(()=>a.value.slice(0,c.value)),d=e.computed(()=>a.value.length),t=e.computed(()=>a.value.length>c.value),I=e.computed(()=>a.value.length-c.value),y=()=>{o("addVectorStore")},_=()=>{c.value=a.value.length,o("showMore")},S=v=>{i.value=v||"",c.value=s.maxDisplayed,o("searchInput",i.value)};return(v,P)=>(e.openBlock(),e.createElementBlock("div",Bn,[e.createElementVNode("div",Sn,[e.createElementVNode("div",En,[P[1]||(P[1]=e.createElementVNode("div",{class:"freddy-vector-section__title"},"Knowledge",-1)),e.createElementVNode("div",qn,e.toDisplayString(v.dbCount)+" DBs added",1)]),e.createElementVNode("div",Nn,[e.createElementVNode("div",Vn,[e.createElementVNode("div",Tn,[e.createElementVNode("div",Dn,[P[2]||(P[2]=e.createTextVNode(" Vector Stores ",-1)),e.createElementVNode("div",Fn,[e.createVNode(e.unref(l.IconQuestion),{class:"freddy-vector-section__help-icon-svg"})])]),e.createElementVNode("div",xn,[e.createVNode(e.unref(A),{searchInput:i.value,"onUpdate:searchInput":[P[0]||(P[0]=k=>i.value=k),S],placeholder:v.searchPlaceholder,class:"freddy-vector-section__search-input"},null,8,["searchInput","placeholder"])])])]),e.createElementVNode("div",An,[e.createElementVNode("div",Ln,[e.createElementVNode("div",Mn,[e.createVNode(e.unref(l.IconFilter),{class:"freddy-vector-section__filter-icon"}),P[3]||(P[3]=e.createElementVNode("span",{class:"freddy-vector-section__filter-text"},"Filter by",-1)),e.createVNode(e.unref(l.IconChevronDown),{class:"freddy-vector-section__filter-arrow"})])]),e.createElementVNode("div",Rn,e.toDisplayString(d.value)+" databases found ",1)]),e.createElementVNode("div",zn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,(k,g)=>(e.openBlock(),e.createElementBlock("div",{key:k.id||g,class:"freddy-vector-section__frame-item"}))),128))]),t.value?(e.openBlock(),e.createElementBlock("div",Hn,[e.createElementVNode("button",{class:"freddy-vector-section__show-more-button",onClick:_},[e.createElementVNode("span",On,"Show "+e.toDisplayString(I.value)+" more",1),e.createVNode(e.unref(l.IconChevronDown),{class:"freddy-vector-section__show-more-icon"})])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Un,[P[5]||(P[5]=e.createElementVNode("div",{class:"freddy-vector-section__add-title"},"Knowledge",-1)),e.createElementVNode("div",Kn,[e.createElementVNode("button",{class:"freddy-vector-section__add-button",onClick:y},[e.createVNode(e.unref(l.IconAddFileSystem),{class:"freddy-vector-section__add-icon"}),P[4]||(P[4]=e.createElementVNode("span",{class:"freddy-vector-section__add-text"},"Add vector store to assistant",-1))])])])])]))}}),Gn=l._export_sfc(jn,[["__scopeId","data-v-8434fbf8"]]),Wn={class:"freddy-voice-list"},Zn={key:0,class:"freddy-voice-list__title"},Jn={class:"freddy-voice-list__container"},Qn={key:1,class:"freddy-voice-list__selected-info"},Yn=e.defineComponent({__name:"VoiceList",props:{voices:{},title:{default:""},showSelectedInfo:{type:Boolean,default:!0},allowDeselect:{type:Boolean,default:!0}},emits:["selectionChange","voiceClick"],setup(f,{expose:h,emit:s}){const o=f,i=s,c=e.ref(null),a=e.computed(()=>o.voices.find(d=>d.id===c.value)||null),u=d=>{c.value===d&&o.allowDeselect?c.value=null:c.value=d,i("selectionChange",c.value),i("voiceClick",d,c.value===d)};return h({selectedVoiceId:c,selectedVoice:a,selectVoice:d=>{c.value=d,i("selectionChange",d)},clearSelection:()=>{c.value=null,i("selectionChange",null)}}),(d,t)=>{var I;return e.openBlock(),e.createElementBlock("div",Wn,[d.title?(e.openBlock(),e.createElementBlock("h3",Zn,e.toDisplayString(d.title),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Jn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.voices,y=>(e.openBlock(),e.createBlock(e.unref(K),{key:y.id,voiceName:y.name,isSelected:c.value===y.id,onClick:_=>u(y.id)},null,8,["voiceName","isSelected","onClick"]))),128))]),d.showSelectedInfo?(e.openBlock(),e.createElementBlock("div",Qn,[e.createElementVNode("p",null,"Selected: "+e.toDisplayString(((I=a.value)==null?void 0:I.name)||"None"),1)])):e.createCommentVNode("",!0)])}}}),Xn={class:"freddy-voice-selection__container"},et={class:"freddy-voice-selection__icon-container"},ot={class:"freddy-voice-selection__icon"},nt={class:"freddy-voice-selection__play-background"},tt={class:"freddy-voice-selection__name-container"},rt={class:"freddy-voice-selection__name-wrapper"},st={class:"freddy-voice-selection__name"},it={key:0,class:"freddy-voice-selection__check-icon"},lt={key:1,class:"freddy-voice-selection__indicator"},K=e.defineComponent({__name:"VoiceSelection",props:{voiceName:{},isSelected:{type:Boolean,default:!1}},emits:["handleClick"],setup(f,{emit:h}){const s=h,o=i=>{s("handleClick",i)};return(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-voice-selection",{"freddy-voice-selection--selected":i.isSelected}]),onClick:o},[e.createElementVNode("div",Xn,[e.createElementVNode("div",et,[e.createElementVNode("div",ot,[e.createElementVNode("div",nt,[e.createVNode(e.unref(l.IconRevertedTriangle),{class:"freddy-voice-selection__triangle-icon"})])])]),e.createElementVNode("div",tt,[e.createElementVNode("div",rt,[e.createElementVNode("div",st,e.toDisplayString(i.voiceName),1)])]),i.isSelected?(e.openBlock(),e.createElementBlock("div",it,[e.createVNode(e.unref(l.IconTick),{class:"freddy-voice-selection__check-icon-svg"})])):(e.openBlock(),e.createElementBlock("div",lt))])],2))}}),ct=["innerHTML"],at={key:1},N=e.defineComponent({__name:"Tooltip",props:{text:{},placement:{},html:{type:Boolean},contentClass:{}},setup(f){l.useTheme();const h=e.ref(!1),s=e.ref(!1),o=e.ref(null);let i=null;function c(){i&&clearTimeout(i),i=setTimeout(()=>{if(o.value){const u=o.value.getBoundingClientRect();s.value=u.top<150}h.value=!0},200)}function a(){i&&clearTimeout(i),h.value=!1}return(u,d)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tooltipWrapper",ref:o,class:"tooltip-wrapper",onMouseenter:c,onMouseleave:a,onFocusin:c,onFocusout:a,tabindex:"0"},[e.renderSlot(u.$slots,"default"),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[h.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["tooltip-content",[u.placement,s.value?"force-bottom":"",u.contentClass]])},[e.renderSlot(u.$slots,"content",{},()=>[u.html?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:u.text},null,8,ct)):(e.openBlock(),e.createElementBlock("span",at,e.toDisplayString(u.text),1))])],2)):e.createCommentVNode("",!0)]),_:3})],544))}}),dt=["disabled","aria-disabled","aria-label"],ut={key:0,class:"freddy-plugins-button-label"},ht={key:1,class:"freddy-plugins-button-label"},pt=["disabled","aria-disabled","aria-label"],mt={key:0,class:"freddy-plugins-button-label"},vt={key:1,class:"freddy-plugins-button-label"},ft=e.defineComponent({__name:"BaseButton",props:{size:{default:"md"},hierarchy:{default:"primary"},state:{default:"default"},errorState:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1},leftIcon:{default:void 0},rightIcon:{default:void 0},label:{default:"Button"},loadingText:{default:void 0},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},tooltip:{default:void 0},tooltipPlacement:{default:"top"}},emits:["click","leftIconClick","rightIconClick"],setup(f,{emit:h}){const s=f,o={IconSearch:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconSearch$1)),IconUser:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconUser$1)),IconDelete:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconDelete$1)),IconSend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconSend$1)),IconPlus:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconPlus$1)),IconEdit:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconEdit$1)),IconCross:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconCross$1)),IconTick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconTick$1)),IconArrowLeft:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconArrowLeft$1)),IconArrowDown:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconArrowDown$1)),IconArrowUp:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconArrowUp$1)),IconChevronDown:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconChevronDown$1)),IconChevronUp:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconChevronUp$1)),IconChevronLeft:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconChevronLeft$1)),IconChevronRight:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconChevronRight$1)),IconSettings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconSettings$1)),IconHome:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconHome$1)),IconDownload:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconDownload$1)),IconRefresh:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconRefresh$1)),IconCopy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconCopy$1)),IconEye:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconEye$1)),IconLock:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconLock$1)),IconStar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconStar$1)),IconFilter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconFilter$1)),IconFile:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconFile$1)),IconFolder:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconFolder$1)),IconText:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconText$1)),IconLink04:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(v=>v.IconLink04$1))},i=e.computed(()=>s.leftIcon&&o[s.leftIcon]||null),c=e.computed(()=>s.rightIcon&&o[s.rightIcon]||null),a=h,u=e.ref(!1),d=e.computed(()=>["freddy-plugins-base-button",`freddy-plugins-base-button--${s.size}`,`freddy-plugins-base-button--${s.hierarchy}`,{"freddy-plugins-base-button--disabled":s.disabled,"freddy-plugins-base-button--loading":s.loading,"freddy-plugins-base-button--icon-only":s.iconOnly,"freddy-plugins-base-button--error":s.errorState,"freddy-plugins-base-button--hover":u.value&&!s.disabled&&!s.loading,"freddy-plugins-base-button--focused":s.state==="focused"}]),t=v=>{!s.disabled&&!s.loading&&a("click",v)},I=v=>{!s.disabled&&!s.loading&&a("leftIconClick",v)},y=v=>{!s.disabled&&!s.loading&&a("rightIconClick",v)},_=()=>{u.value=!0},S=()=>{u.value=!1};return(v,P)=>v.tooltip?(e.openBlock(),e.createBlock(N,{key:0,text:v.tooltip,placement:v.tooltipPlacement},{default:e.withCtx(()=>[e.createElementVNode("button",{class:e.normalizeClass(d.value),disabled:v.disabled||v.loading,"aria-disabled":v.disabled||v.loading,"aria-label":v.iconOnly?v.label:void 0,role:"button",onClick:t,onMouseenter:_,onMouseleave:S},[v.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[P[0]||(P[0]=e.createElementVNode("span",{class:"freddy-plugins-button-spinner","aria-hidden":"true"},null,-1)),v.loadingText||v.label?(e.openBlock(),e.createElementBlock("span",ut,e.toDisplayString(v.loadingText||v.label),1)):e.createCommentVNode("",!0)],64)):v.iconOnly?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:1,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-center",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true"},null,8,["class"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[v.leftIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:0,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-left",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true",onClick:e.withModifiers(I,["stop"])},null,8,["class"])):e.createCommentVNode("",!0),v.label?(e.openBlock(),e.createElementBlock("span",ht,e.toDisplayString(v.label),1)):e.createCommentVNode("",!0),v.rightIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.value),{key:2,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-right",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true",onClick:e.withModifiers(y,["stop"])},null,8,["class"])):e.createCommentVNode("",!0)],64))],42,dt)]),_:1},8,["text","placement"])):(e.openBlock(),e.createElementBlock("button",{key:1,class:e.normalizeClass(d.value),disabled:v.disabled||v.loading,"aria-disabled":v.disabled||v.loading,"aria-label":v.iconOnly?v.label:void 0,role:"button",onClick:t,onMouseenter:_,onMouseleave:S},[v.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[P[1]||(P[1]=e.createElementVNode("span",{class:"freddy-plugins-button-spinner","aria-hidden":"true"},null,-1)),v.loadingText||v.label?(e.openBlock(),e.createElementBlock("span",mt,e.toDisplayString(v.loadingText||v.label),1)):e.createCommentVNode("",!0)],64)):v.iconOnly?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:1,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-center",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true"},null,8,["class"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[v.leftIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:0,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-left",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true",onClick:e.withModifiers(I,["stop"])},null,8,["class"])):e.createCommentVNode("",!0),v.label?(e.openBlock(),e.createElementBlock("span",vt,e.toDisplayString(v.label),1)):e.createCommentVNode("",!0),v.rightIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.value),{key:2,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-right",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true",onClick:e.withModifiers(y,["stop"])},null,8,["class"])):e.createCommentVNode("",!0)],64))],42,pt))}}),j=l._export_sfc(ft,[["__scopeId","data-v-ca53fa07"]]),It=["disabled","aria-label","onClick"],gt={key:0,class:"freddy-plugins-social-button-label"},yt=e.defineComponent({__name:"SocialButtons",props:{providers:{},variant:{default:"filled"},size:{default:"md"},disabled:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1},layout:{default:"horizontal"},class:{},style:{}},emits:["click"],setup(f,{emit:h}){const s=f,o=h,i={google:{icon:l.IconGoogle,label:"Sign in with Google",colors:{filled:{background:"#ffffff",color:"#1f2937",border:"#d1d5db"},outlined:{background:"#ffffff",color:"#1f2937",border:"#10b981"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}},facebook:{icon:l.IconFacebook,label:"Sign in with Facebook",colors:{filled:{background:"#1877f2",color:"#ffffff"},outlined:{background:"#ffffff",color:"#1877f2",border:"#1877f2"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}},apple:{icon:l.IconApple,label:"Sign in with Apple",colors:{filled:{background:"#000000",color:"#ffffff"},outlined:{background:"#ffffff",color:"#000000",border:"#000000"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}},x:{icon:l.IconX,label:"Sign in with X",colors:{filled:{background:"#000000",color:"#ffffff"},outlined:{background:"#ffffff",color:"#000000",border:"#000000"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}},figma:{icon:l.IconFigma,label:"Sign in with Figma",colors:{filled:{background:"#000000",color:"#ffffff"},outlined:{background:"#ffffff",color:"#000000",border:"#000000"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}},dribbble:{icon:l.IconDribbble,label:"Sign in with Dribbble",colors:{filled:{background:"#ea4c89",color:"#ffffff"},outlined:{background:"#ffffff",color:"#ea4c89",border:"#ea4c89"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}}},c=e.computed(()=>["freddy-plugins-social-buttons",`freddy-plugins-social-buttons--${s.layout}`,`freddy-plugins-social-buttons--${s.size}`,{"freddy-plugins-social-buttons--disabled":s.disabled},s.class]),a=I=>i[I].icon,u=I=>i[I].label,d=I=>["freddy-plugins-social-button",`freddy-plugins-social-button--${s.variant}`,`freddy-plugins-social-button--${s.size}`,`freddy-plugins-social-button--${I}`,{"freddy-plugins-social-button--disabled":s.disabled,"freddy-plugins-social-button--icon-only":s.iconOnly}],t=(I,y)=>{s.disabled||o("click",I,y)};return(I,y)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(c.value),style:e.normalizeStyle(I.style)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.providers,_=>(e.openBlock(),e.createElementBlock("button",{key:_,class:e.normalizeClass(d(_)),disabled:I.disabled,"aria-label":I.iconOnly?u(_):void 0,role:"button",onClick:S=>t(_,S)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a(_)),{class:"freddy-plugins-social-button-icon","aria-hidden":"true"})),I.iconOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",gt,e.toDisplayString(u(_)),1))],10,It))),128))],6))}}),kt=l._export_sfc(yt,[["__scopeId","data-v-22e5ee7c"]]),Ct=["innerHTML"],Q="nord",bt=e.defineComponent({__name:"CodeBlock",props:{code:{},language:{}},setup(f){const h=f,s=e.ref("");let o=null,i=null;const c=async()=>{try{if(typeof window<"u"&&window.shiki){i=window.shiki.createHighlighter;return}}catch{}},a=["js","ts","json","python","vue","html","css","scss","bash","yaml","markdown","c","cpp","java","go","php","ruby","rust","swift","kotlin"],u=async()=>{if(i||await c(),!i){s.value=`<pre><code>${h.code.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}</code></pre>`;return}try{o||(o=await i({themes:[Q],langs:a})),s.value=o.codeToHtml(h.code,{lang:h.language,theme:Q})}catch{s.value=`<pre><code>${h.code.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}</code></pre>`}};return e.watch(()=>[h.code,h.language],u,{immediate:!0}),e.onMounted(u),(d,t)=>(e.openBlock(),e.createElementBlock("pre",null,[e.createElementVNode("code",{innerHTML:s.value},null,8,Ct)]))}}),$t=["aria-checked","aria-disabled","aria-label"],Pt=["checked","disabled"],wt={key:0,class:"freddy-plugins-checkbox-dash"},_t={key:1,class:"freddy-plugins-checkbox-icon",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Bt=["stroke"],St=e.defineComponent({__name:"CustomCheckbox",props:{isChecked:{type:Boolean},isDashInput:{type:Boolean},blueCheckbox:{type:Boolean},disabled:{type:Boolean},ariaLabel:{}},emits:["update:isChecked"],setup(f,{emit:h}){l.useTheme();const s=f,o=h;function i(c){const a=c.target;s.disabled||o("update:isChecked",a.checked)}return(c,a)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["freddy-plugins-base-checkbox",{"freddy-plugins-checked":c.isChecked&&!c.blueCheckbox,"freddy-plugins-checked-blue":c.isChecked&&c.blueCheckbox,"freddy-plugins-not-checked":!c.isChecked,"freddy-plugins-is-disabled":c.disabled}]),"aria-checked":c.isChecked,"aria-disabled":c.disabled,"aria-label":c.ariaLabel,role:"checkbox"},[e.createElementVNode("input",{id:"checkbox-input",type:"checkbox",class:"freddy-plugins-checkbox-input",checked:c.isChecked,disabled:c.disabled,onChange:i},null,40,Pt),c.isDashInput&&c.isChecked?(e.openBlock(),e.createElementBlock("span",wt)):c.isChecked&&!c.isDashInput?(e.openBlock(),e.createElementBlock("svg",_t,[e.createElementVNode("path",{d:"M10 3L4.5 8.5L2 6",stroke:c.blueCheckbox?"var(--text-50, var(--text-inverse))":"#000","stroke-width":"1.6666","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Bt)])):e.createCommentVNode("",!0)],10,$t))}}),Et=["aria-label"],qt={key:0,class:"freddy-plugins-tooltip-v2-inner"},Nt=["innerHTML"],Vt=["innerHTML"],Tt=e.defineComponent({__name:"TooltipV2",props:{title:{},description:{},placement:{default:"top"},contentClass:{},delay:{default:200},hideDelay:{default:0}},setup(f){const h=f,s=e.ref(!1),o=e.ref(!1),i=e.ref(null);let c=null,a=null;const u=()=>{a&&(clearTimeout(a),a=null),c&&clearTimeout(c),c=setTimeout(()=>{if(i.value){const y=i.value.getBoundingClientRect();o.value=y.top<150}s.value=!0},h.delay)},d=()=>{c&&(clearTimeout(c),c=null),a=setTimeout(()=>{s.value=!1},h.hideDelay)},t=()=>{u()},I=()=>{d()};return(y,_)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tooltipWrapper",ref:i,class:"freddy-plugins-tooltip-v2-wrapper",onMouseenter:u,onMouseleave:d,onFocusin:t,onFocusout:I,tabindex:"0"},[e.renderSlot(y.$slots,"default",{},void 0,!0),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[s.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["freddy-plugins-tooltip-v2-content",[y.placement,o.value?"force-bottom":"",y.contentClass]]),role:"tooltip","aria-label":y.title},[e.renderSlot(y.$slots,"content",{},()=>[y.title||y.description?(e.openBlock(),e.createElementBlock("div",qt,[y.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:"freddy-plugins-tooltip-v2-title",innerHTML:y.title},null,8,Nt)):e.createCommentVNode("",!0),y.description?(e.openBlock(),e.createElementBlock("div",{key:1,class:"freddy-plugins-tooltip-v2-description",innerHTML:y.description},null,8,Vt)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],!0)],10,Et)):e.createCommentVNode("",!0)]),_:3})],544))}}),oe=l._export_sfc(Tt,[["__scopeId","data-v-7dd5798c"]]);class Dt{constructor(h){R(this,"apiKey",null);R(this,"baseUrl","https://api.openai.com/v1");this.apiKey=h||this.getApiKeyFromEnv()||"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"}getApiKeyFromEnv(){return process.env.OPENAI_API_KEY||null}setApiKey(h){this.apiKey=h}getSmartSystemPrompt(){return`You are an AI assistant that helps with text editing, code improvement, and content generation. You excel at working with JavaScript, HTML, CSS, JSON, and all programming languages. Analyze the user's request and respond with the appropriate action.
|
|
34
|
+
278.436,375.599 383.003,264.076 364.393,251.618 264.807,364.928 "></polygon></g></g></g></g>`,1)])],6))}}),Se={key:0,class:"fixed z-[9998] top-0 left-0 w-full h-full bg-modalBackgroundBlur flex justify-center items-center"},Be={class:"flex justify-center items-center"},Ee={class:"modal-header"},qe={class:"modal-body"},Ne={class:"modal-footer"},Ve=e.defineComponent({__name:"AdvancedModal",props:{isVisible:{type:Boolean},largeModel:{type:Boolean}},setup(f){return(p,s)=>(e.openBlock(),e.createBlock(e.Transition,{name:"modal"},{default:e.withCtx(()=>[p.isVisible?(e.openBlock(),e.createElementBlock("div",Se,[e.createElementVNode("div",Be,[e.createElementVNode("div",{class:e.normalizeClass({"p-8 bg-background rounded-[2.5rem] overflow-hidden text-white 2xl:w-[56.25rem] xl:w-[56.25rem] lg:w-[56.25rem] md:w-[45.625rem] sm:w-[31.25rem] xs:w-auto":p.largeModel})},[e.createElementVNode("div",Ee,[e.renderSlot(p.$slots,"header")]),e.createElementVNode("div",qe,[e.renderSlot(p.$slots,"body")]),e.createElementVNode("div",Ne,[e.renderSlot(p.$slots,"footer")])],2)])])):e.createCommentVNode("",!0)]),_:3}))}}),Te={class:"freddy-assistant-field__content"},De={class:"freddy-assistant-field__header"},Fe={class:"freddy-assistant-field__name"},xe={class:"freddy-assistant-field__date"},Ae={class:"freddy-assistant-field__footer"},Le={class:"freddy-assistant-field__id"},Me={key:0,class:"freddy-assistant-field__privacy-icon"},Re=e.defineComponent({__name:"AssistantField",props:{name:{default:"Name of the assistant"},date:{default:"mar 2024"},assistantId:{default:"Ass_id.asdasddas"},isDefault:{type:Boolean,default:!1},isSelected:{type:Boolean,default:!1}},emits:["assistantFieldClick"],setup(f,{emit:p}){const s=p,o=i=>{s("assistantFieldClick",i)};return(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-assistant-field",{"freddy-assistant-field--selected":i.isSelected}]),onClick:o},[e.createElementVNode("div",Te,[e.createElementVNode("div",De,[e.createElementVNode("div",Fe,e.toDisplayString(i.name),1),e.createElementVNode("div",xe,e.toDisplayString(i.date),1)]),e.createElementVNode("div",Ae,[e.createElementVNode("div",Le,e.toDisplayString(i.assistantId),1),i.isDefault?(e.openBlock(),e.createElementBlock("div",Me,[e.createVNode(e.unref(l.IconLock),{class:"freddy-assistant-field__lock-icon"})])):e.createCommentVNode("",!0)])])],2))}}),Y=l._export_sfc(Re,[["__scopeId","data-v-482ea9be"]]),ze={class:"freddy-assistant-list"},He={class:"freddy-assistant-list__container"},Oe=e.defineComponent({__name:"AssistantList",props:{assistants:{default:()=>[]},selectedAssistantId:{default:null}},emits:["assistantClick"],setup(f,{emit:p}){const s=f,o=p,i=e.ref(s.selectedAssistantId),c=e.computed(()=>{const u=s.selectedAssistantId??i.value;return s.assistants.map(d=>({...d,isSelected:d.assistantId===u}))}),a=(u,d)=>{i.value=u.assistantId,o("assistantClick",u,d)};return(u,d)=>(e.openBlock(),e.createElementBlock("div",ze,[e.createElementVNode("div",He,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(t,I)=>(e.openBlock(),e.createBlock(e.unref(Y),{key:t.id||I,name:t.name,date:t.date,assistantId:t.assistantId,isDefault:t.isDefault,isSelected:t.isSelected,onAssistantFieldClick:C=>a(t,C)},null,8,["name","date","assistantId","isDefault","isSelected","onAssistantFieldClick"]))),128))])]))}}),Ue=l._export_sfc(Oe,[["__scopeId","data-v-37cf8653"]]),U=(f,p,s)=>{const o=f[p];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((i,c)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(c.bind(null,new Error("Unknown variable dynamic import: "+p+(p.split("/").length!==s?". Note that variables only represent file names one level deep.":""))))})},Ke={class:"freddy-assistants-header"},je={key:0,class:"freddy-assistants-header__avatar"},Ge=["src"],We={key:1,class:"freddy-assistants-header__icon-with-edit"},Ze={key:2,class:"freddy-assistants-header__side-icon"},Je={class:"freddy-assistants-header__content"},Qe={class:"freddy-assistants-header__content-inner"},Ye={class:"freddy-assistants-header__text-content"},Xe={class:"freddy-assistants-header__id-badge"},eo={class:"freddy-assistants-header__actions"},oo=e.defineComponent({__name:"AssistantsHeader",props:{assistantImage:{default:void 0},assistantIcon:{default:"IconRobotScreen"},assistantId:{default:"assistant ID"}},emits:["edit","playground"],setup(f,{emit:p}){const s=f,o=p,i=d=>{o("edit",d)},c=d=>{o("playground",d)},a=d=>d?e.defineAsyncComponent(()=>U(Object.assign({"../../icons/IconAddChatPop.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconAddChatPop$1),"../../icons/IconAddFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconAddFileSystem$1),"../../icons/IconAddPeople.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconAddPeople$1),"../../icons/IconAitronos.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconAitronos$1),"../../icons/IconApple.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconApple$1),"../../icons/IconApplePay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconApplePay$1),"../../icons/IconAppsGrid.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconAppsGrid$1),"../../icons/IconArrowDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconArrowDown$1),"../../icons/IconArrowLeft.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconArrowLeft$1),"../../icons/IconArrowUp.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconArrowUp$1),"../../icons/IconBadgeCheck.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconBadgeCheck$1),"../../icons/IconBroom.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconBroom$1),"../../icons/IconBuildings.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconBuildings$1),"../../icons/IconCalendarWithTickInside.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCalendarWithTickInside$1),"../../icons/IconCallNotAllowed.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCallNotAllowed$1),"../../icons/IconCardPay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCardPay$1),"../../icons/IconCaution.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCaution$1),"../../icons/IconChangeLog.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconChangeLog$1),"../../icons/IconCheckCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCheckCircleFill$1),"../../icons/IconCheckInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCheckInCircle$1),"../../icons/IconCheckRounded.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCheckRounded$1),"../../icons/IconChevronDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconChevronDown$1),"../../icons/IconChevronLeft.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconChevronLeft$1),"../../icons/IconChevronRight.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconChevronRight$1),"../../icons/IconChevronUp.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconChevronUp$1),"../../icons/IconCircledCheck.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCircledCheck$1),"../../icons/IconClock.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconClock$1),"../../icons/IconClosedEnvelope.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconClosedEnvelope$1),"../../icons/IconCloudUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCloudUpload$1),"../../icons/IconConnectorConfluence.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconConnectorConfluence$1),"../../icons/IconConnectorFigma.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconConnectorFigma$1),"../../icons/IconConnectorFreshDesk.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconConnectorFreshDesk$1),"../../icons/IconConnectorGitHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconConnectorGitHub$1),"../../icons/IconConnectorJira.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconConnectorJira$1),"../../icons/IconConnectorLinear.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconConnectorLinear$1),"../../icons/IconConnectorNotion.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconConnectorNotion$1),"../../icons/IconConnectorSlack.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconConnectorSlack$1),"../../icons/IconConnectorZapier.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconConnectorZapier$1),"../../icons/IconCopy.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCopy$1),"../../icons/IconCross.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCross$1),"../../icons/IconCrossCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCrossCircleFill$1),"../../icons/IconCrossInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCrossInCircle$1),"../../icons/IconCurrentTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconCurrentTick$1),"../../icons/IconDataUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconDataUpload$1),"../../icons/IconDelete.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconDelete$1),"../../icons/IconDeleteFillRed.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconDeleteFillRed$1),"../../icons/IconDialingPhone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconDialingPhone$1),"../../icons/IconDisabledAlert.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconDisabledAlert$1),"../../icons/IconDocumentation.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconDocumentation$1),"../../icons/IconDownload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconDownload$1),"../../icons/IconDribbble.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconDribbble$1),"../../icons/IconDropdownArrow.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconDropdownArrow$1),"../../icons/IconEdit.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconEdit$1),"../../icons/IconEditLinePath.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconEditLinePath$1),"../../icons/IconEllipse.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconEllipse),"../../icons/IconExcelThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconExcelThumbnail$1),"../../icons/IconExpand.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconExpand$1),"../../icons/IconEye.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconEye$1),"../../icons/IconFacebook.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFacebook$1),"../../icons/IconFigma.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFigma$1),"../../icons/IconFile.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFile$1),"../../icons/IconFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFileSystem$1),"../../icons/IconFileUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFileUpload$1),"../../icons/IconFilter.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFilter$1),"../../icons/IconFloppy.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFloppy$1),"../../icons/IconFolder.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFolder$1),"../../icons/IconFreddyHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFreddyHub$1),"../../icons/IconFreddyHubLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFreddyHubLogo$1),"../../icons/IconFreddyHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFreddyHubNewLogo$1),"../../icons/IconFreddyHubTitle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFreddyHubTitle),"../../icons/IconFreddySmall.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconFreddySmall$1),"../../icons/IconGlobExpand.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconGlobExpand$1),"../../icons/IconGlobe.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconGlobe$1),"../../icons/IconGoogle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconGoogle$1),"../../icons/IconHollowCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconHollowCircle$1),"../../icons/IconHome.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconHome$1),"../../icons/IconInfoRounded.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconInfoRounded$1),"../../icons/IconInvalidInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconInvalidInvoice$1),"../../icons/IconInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconInvoice$1),"../../icons/IconInvoiceSwitch.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconInvoiceSwitch$1),"../../icons/IconLapTableBottom.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconLapTableBottom$1),"../../icons/IconLense.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconLense$1),"../../icons/IconLightCross.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconLightCross$1),"../../icons/IconLink04.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconLink04$1),"../../icons/IconLoadingError.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconLoadingError$1),"../../icons/IconLoadingOrg.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconLoadingOrg$1),"../../icons/IconLocationWithCircleIn.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconLocationWithCircleIn$1),"../../icons/IconLock.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconLock$1),"../../icons/IconMarketPlace.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconMarketPlace$1),"../../icons/IconMaximize.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconMaximize$1),"../../icons/IconMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconMicrophone$1),"../../icons/IconMutedMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconMutedMicrophone$1),"../../icons/IconNewNotification.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconNewNotification$1),"../../icons/IconNewTab.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconNewTab$1),"../../icons/IconNotification.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconNotification$1),"../../icons/IconOpenBook.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconOpenBook$1),"../../icons/IconPaperAirPlane.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPaperAirPlane$1),"../../icons/IconPauseCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPauseCircle$1),"../../icons/IconPdfThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPdfThumbnail$1),"../../icons/IconPenEdit.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPenEdit$1),"../../icons/IconPencil.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPencil$1),"../../icons/IconPeopleHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPeopleHub$1),"../../icons/IconPersonCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPersonCircle$1),"../../icons/IconPits.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPits$1),"../../icons/IconPlay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPlay$1),"../../icons/IconPlus.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPlus$1),"../../icons/IconPolygonDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPolygonDown$1),"../../icons/IconPresentation.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPresentation$1),"../../icons/IconProgressBase.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconProgressBase$1),"../../icons/IconProgressComplete.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconProgressComplete$1),"../../icons/IconProgressGoing.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconProgressGoing$1),"../../icons/IconPurpose.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPurpose$1),"../../icons/IconPurseCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconPurseCircleFill$1),"../../icons/IconQuestion.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconQuestion$1),"../../icons/IconRadio.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconRadio$1),"../../icons/IconRadioFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconRadioFill$1),"../../icons/IconRefresh.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconRefresh$1),"../../icons/IconRevertedTriangle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconRevertedTriangle$1),"../../icons/IconRobotScreen.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconRobotScreen$1),"../../icons/IconRoudedSiingleSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconRoudedSiingleSparkle$1),"../../icons/IconRoundTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconRoundTick$1),"../../icons/IconSearch.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSearch$1),"../../icons/IconSearchOptimised.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSearchOptimised$1),"../../icons/IconSectionHide.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSectionHide$1),"../../icons/IconSend.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSend$1),"../../icons/IconSettings.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSettings$1),"../../icons/IconSettingsBold.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSettingsBold$1),"../../icons/IconSize.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSize$1),"../../icons/IconSliderKnobs.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSliderKnobs$1),"../../icons/IconSortIdle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSortIdle$1),"../../icons/IconSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSparkle$1),"../../icons/IconSpotlio.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSpotlio$1),"../../icons/IconStar.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconStar$1),"../../icons/IconStatistics.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconStatistics$1),"../../icons/IconStopChat.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconStopChat$1),"../../icons/IconStreamLineHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconStreamLineHub$1),"../../icons/IconStreamLineHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconStreamLineHubNewLogo$1),"../../icons/IconSun.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSun$1),"../../icons/IconSwap.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconSwap$1),"../../icons/IconText.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconText$1),"../../icons/IconTextThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconTextThumbnail$1),"../../icons/IconThinDocument.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconThinDocument$1),"../../icons/IconThinFile.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconThinFile$1),"../../icons/IconThumbsDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconThumbsDown$1),"../../icons/IconTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconTick$1),"../../icons/IconUser.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconUser$1),"../../icons/IconVerticalDots.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconVerticalDots$1),"../../icons/IconVideoCamera.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconVideoCamera$1),"../../icons/IconWarningOctal.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconWarningOctal$1),"../../icons/IconX.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconX$1),"../../icons/IconZip.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconZip)}),`../../icons/${d}.vue`,4).catch(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(t=>t.IconRobotScreen$1))):l.IconRobotScreen,u=e.computed(()=>a(s.assistantIcon));return(d,t)=>(e.openBlock(),e.createElementBlock("div",Ke,[e.createElementVNode("div",{class:e.normalizeClass(["freddy-assistants-header__avatar-section",{"freddy-assistants-header__avatar-section--with-image":d.assistantImage,"freddy-assistants-header__avatar-section--no-image":!d.assistantImage}])},[d.assistantImage?(e.openBlock(),e.createElementBlock("div",je,[e.createElementVNode("img",{src:d.assistantImage,alt:"Assistant Avatar",class:"freddy-assistants-header__avatar-image"},null,8,Ge),e.createElementVNode("button",{class:"freddy-assistants-header__edit-overlay",onClick:i},[e.createVNode(e.unref(l.IconEdit),{class:"freddy-assistants-header__edit-icon"})])])):(e.openBlock(),e.createElementBlock("div",We,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value),{class:"freddy-assistants-header__icon-component"})),e.createElementVNode("button",{class:"freddy-assistants-header__edit-overlay-icon",onClick:i},[e.createVNode(e.unref(l.IconEdit),{class:"freddy-assistants-header__edit-icon"})])])),d.assistantImage&&d.assistantIcon?(e.openBlock(),e.createElementBlock("div",Ze,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u.value),{class:"freddy-assistants-header__side-icon-component"}))])):e.createCommentVNode("",!0)],2),e.createElementVNode("div",Je,[e.createElementVNode("div",Qe,[e.createElementVNode("div",Ye,[e.createElementVNode("div",Xe,e.toDisplayString(d.assistantId||"assistant ID"),1)])])]),e.createElementVNode("div",eo,[e.createElementVNode("button",{class:"freddy-assistants-header__playground-button",onClick:c},[e.createVNode(e.unref(l.IconNewTab),{class:"freddy-assistants-header__playground-icon"}),t[0]||(t[0]=e.createElementVNode("span",{class:"freddy-assistants-header__playground-label"},"Playground",-1))])])]))}}),no=["src","alt"],to={key:0,class:"freddy-avatar-choosing__border"},ro={key:1,class:"freddy-avatar-choosing__check-icon"},X=e.defineComponent({__name:"AvatarChoosing",props:{imageUrl:{},isSelected:{type:Boolean,default:!1},altText:{default:"Avatar"},backgroundColor:{default:"#cfcbdc"}},emits:["click"],setup(f,{emit:p}){const s=p,o=i=>{s("click",i)};return(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-avatar-choosing",{"freddy-avatar-choosing--selected":i.isSelected}]),onClick:o},[e.createElementVNode("div",{class:"freddy-avatar-choosing__background",style:e.normalizeStyle({backgroundColor:i.backgroundColor})},null,4),e.createElementVNode("img",{src:i.imageUrl,alt:i.altText,class:"freddy-avatar-choosing__image"},null,8,no),i.isSelected?(e.openBlock(),e.createElementBlock("div",to)):e.createCommentVNode("",!0),i.isSelected?(e.openBlock(),e.createElementBlock("div",ro,[e.createVNode(l.IconTick,{class:"freddy-avatar-choosing__check-icon-svg"})])):e.createCommentVNode("",!0)],2))}}),so={class:"freddy-avatar-list"},io={key:0,class:"freddy-avatar-list__title"},lo={class:"freddy-avatar-list__grid"},co={key:1,class:"freddy-avatar-list__selected-info"},ao=e.defineComponent({__name:"AvatarList",props:{avatars:{},title:{default:""},showSelectedInfo:{type:Boolean,default:!0},allowDeselect:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1}},emits:["selectionChange","avatarClick"],setup(f,{expose:p,emit:s}){const o=f,i=s,c=e.ref(null),a=e.computed(()=>o.avatars.find(d=>d.id===c.value)||null),u=d=>{c.value===d&&o.allowDeselect?c.value=null:c.value=d,i("selectionChange",c.value),i("avatarClick",d,c.value===d)};return p({selectedAvatarId:c,selectedAvatar:a,selectAvatar:d=>{c.value=d,i("selectionChange",d)},clearSelection:()=>{c.value=null,i("selectionChange",null)}}),(d,t)=>{var I;return e.openBlock(),e.createElementBlock("div",so,[d.title?(e.openBlock(),e.createElementBlock("h3",io,e.toDisplayString(d.title),1)):e.createCommentVNode("",!0),e.createElementVNode("div",lo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.avatars,C=>(e.openBlock(),e.createBlock(e.unref(X),{key:C.id,imageUrl:C.url,isSelected:c.value===C.id,altText:C.name,onClick:w=>u(C.id)},null,8,["imageUrl","isSelected","altText","onClick"]))),128))]),d.showSelectedInfo?(e.openBlock(),e.createElementBlock("div",co,[e.createElementVNode("p",null,"Selected: "+e.toDisplayString(((I=a.value)==null?void 0:I.name)||"None"),1)])):e.createCommentVNode("",!0)])}}}),uo={class:"freddy-choose-assistant-avatar"},po={class:"freddy-choose-assistant-avatar__header"},ho={class:"freddy-choose-assistant-avatar__title-section"},mo={class:"freddy-choose-assistant-avatar__title-row"},vo={class:"freddy-choose-assistant-avatar__title"},fo=["aria-label"],Io={class:"freddy-choose-assistant-avatar__description"},go={class:"freddy-choose-assistant-avatar__content"},yo={class:"freddy-choose-assistant-avatar__section"},ko={class:"freddy-choose-assistant-avatar__icon-container"},Co={class:"freddy-choose-assistant-avatar__icon-search"},bo=["aria-label"],$o={class:"freddy-choose-assistant-avatar__icon-grid"},Po=["onClick","title"],wo={class:"freddy-choose-assistant-avatar__icon-wrapper"},_o=["src","alt"],So={key:0,class:"freddy-choose-assistant-avatar__section"},Bo={key:1,class:"freddy-choose-assistant-avatar__section"},Eo={class:"freddy-choose-assistant-avatar__voice-list"},qo={class:"freddy-choose-assistant-avatar__actions"},No=["disabled"],Vo=e.defineComponent({__name:"ChooseAssistantAvatar",props:{title:{default:"Choose your assistant"},description:{default:"Choose your assistant's appearance and select a preferred voice."},icons:{default:()=>[]},imageUrls:{default:()=>[]},faces:{},voices:{default:()=>[{id:1,name:"Alloy"},{id:2,name:"Echo"},{id:3,name:"Fable"},{id:4,name:"Onyx"},{id:5,name:"Nova"},{id:6,name:"Shimmer"},{id:7,name:"Aurora"},{id:8,name:"Phoenix"}]},searchPlaceholder:{default:"Search icon"},cancelButtonText:{default:"Cancel"},saveButtonText:{default:"Save"},closeButtonAriaLabel:{default:"Close dialog"},searchButtonAriaLabel:{default:"Search icons"},uploadButtonAriaLabel:{default:"Upload custom icon"},allowMultipleSelection:{type:Boolean,default:!1}},emits:["close","cancel","save","iconSelect","imageSelect","faceSelect","voiceSelect","searchInput","searchClick","uploadClick"],setup(f,{expose:p,emit:s}){const o=f,i=()=>{const n=[];let h=1;for(const[$,k]of Object.entries(l.Icons))if(typeof k=="object"&&k&&"default"in k){const r=k.default;n.push({id:h++,name:$.replace("Icon",""),iconName:$,component:r})}return n},c=e.computed(()=>o.icons.length>0?o.icons:i()),a=s,u=e.ref(null),d=e.ref(null),t=e.ref(null),I=e.ref(null),C=e.ref(null),w=e.ref("");e.computed(()=>w.value?c.value.filter(h=>{var $;return($=h.name)==null?void 0:$.toLowerCase().includes(w.value.toLowerCase())}):c.value);const B=e.computed(()=>u.value!==null||d.value!==null||I.value!==null||C.value!==null),v=()=>{a("close")},P=()=>{a("cancel")},y=()=>{B.value&&a("save",{selectedIconId:u.value,selectedImageUrl:d.value,selectedFaceId:I.value,selectedVoiceId:C.value})},g=(n,h)=>{d.value=n,t.value=h,a("imageSelect",n)},b=n=>{C.value=n.id,a("voiceSelect",n)},S=n=>{w.value=n||"",a("searchInput",n||"")},m=()=>{a("uploadClick")};return p({selectedIconId:u,selectedImageUrl:d,selectedImageIndex:t,selectedFaceId:I,selectedVoiceId:C,resetSelections:()=>{u.value=null,d.value=null,t.value=null,I.value=null,C.value=null}}),(n,h)=>(e.openBlock(),e.createElementBlock("div",uo,[e.createElementVNode("div",po,[e.createElementVNode("div",ho,[e.createElementVNode("div",mo,[e.createElementVNode("h1",vo,e.toDisplayString(n.title),1),e.createElementVNode("button",{class:"freddy-choose-assistant-avatar__close-button",onClick:v,"aria-label":n.closeButtonAriaLabel},[e.createVNode(e.unref(l.IconCross),{class:"freddy-choose-assistant-avatar__close-icon"})],8,fo)])]),e.createElementVNode("p",Io,e.toDisplayString(n.description),1)]),e.createElementVNode("div",go,[e.createElementVNode("div",yo,[h[1]||(h[1]=e.createElementVNode("h3",{class:"freddy-choose-assistant-avatar__section-title"}," Choose the icon ",-1)),e.createElementVNode("div",ko,[e.createElementVNode("div",Co,[e.createElementVNode("button",{class:"freddy-choose-assistant-avatar__search-button",onClick:m,"aria-label":n.uploadButtonAriaLabel},[e.createVNode(e.unref(l.IconDataUpload),{class:"freddy-choose-assistant-avatar__upload-icon"})],8,bo),e.createVNode(e.unref(A),{searchInput:w.value,"onUpdate:searchInput":[h[0]||(h[0]=$=>w.value=$),S],placeholder:n.searchPlaceholder,class:"freddy-choose-assistant-avatar__search-input-wrapper"},null,8,["searchInput","placeholder"])]),e.createElementVNode("div",$o,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.imageUrls,($,k)=>(e.openBlock(),e.createElementBlock("div",{key:k,class:e.normalizeClass(["freddy-choose-assistant-avatar__icon-item",{"freddy-choose-assistant-avatar__icon-item--selected":t.value===k}]),onClick:r=>g($,k),title:`Image ${k+1}`},[e.createElementVNode("div",wo,[e.createElementVNode("img",{src:$,alt:`Image ${k+1}`,class:"freddy-choose-assistant-avatar__icon-image"},null,8,_o)])],10,Po))),128))])])]),n.faces&&n.faces.length?(e.openBlock(),e.createElementBlock("div",So,[...h[2]||(h[2]=[e.createElementVNode("h3",{class:"freddy-choose-assistant-avatar__section-title"}," Choose the face ",-1),e.createElementVNode("div",{class:"freddy-choose-assistant-avatar__face-grid"},null,-1)])])):e.createCommentVNode("",!0),n.voices&&n.voices.length?(e.openBlock(),e.createElementBlock("div",Bo,[h[3]||(h[3]=e.createElementVNode("h3",{class:"freddy-choose-assistant-avatar__section-title"}," Choose the voice ",-1)),e.createElementVNode("div",Eo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.voices,($,k)=>(e.openBlock(),e.createBlock(e.unref(K),{key:$.id||k,voiceName:$.name,isSelected:C.value===$.id,onClick:r=>b($)},null,8,["voiceName","isSelected","onClick"]))),128))])])):e.createCommentVNode("",!0),e.createElementVNode("div",qo,[e.createElementVNode("button",{class:"freddy-choose-assistant-avatar__cancel-button",onClick:P},e.toDisplayString(n.cancelButtonText),1),e.createElementVNode("button",{class:"freddy-choose-assistant-avatar__save-button",onClick:y,disabled:!B.value},e.toDisplayString(n.saveButtonText),9,No)])])]))}}),To=["onClick","aria-selected","onKeydown"],Do={class:"freddy-plugin-menu-button-label"},Fo={key:0,class:"freddy-plugin-menu-button-badge"},ee=e.defineComponent({__name:"BaseTabButton",props:{tabList:{},currentTab:{default:0},activeStateType:{default:"bottom-dash"},orientation:{default:"horizontal"},fullWidth:{type:Boolean,default:!1}},emits:["tabSwitch"],setup(f,{emit:p}){const s=f,o=p,i=e.computed(()=>s.activeStateType||"bottom-dash"),c=e.computed(()=>s.orientation||"horizontal"),a=e.computed(()=>{const t=c.value,I=i.value;return t==="vertical"&&I==="bottom-dash"?"left-dash":{"bottom-dash":"bottom-dash","bg-primary-active":"background-21404F8F","primary-active":"background-031525","bg-primary-active-bordered":"background-border"}[I]||I}),u=e.ref(s.currentTab);e.watch(()=>s.currentTab,t=>{u.value=t});const d=t=>{u.value!==t.id&&(u.value=t.id,o("tabSwitch",t.id))};return(t,I)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-plugin-nav-bar",`freddy-plugin-nav-bar--${c.value}`,`freddy-plugin-nav-bar--${a.value}`,{"freddy-plugin-nav-bar--full-width":s.fullWidth}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.tabList,(C,w)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["freddy-plugin-menu-button",`freddy-plugin-menu-button--${a.value}`,{"freddy-plugin-menu-button--active":u.value===C.id},{"freddy-plugin-menu-button--full-width":s.fullWidth}]),key:w,onClick:B=>d(C),"aria-selected":u.value===C.id,role:"tab",tabindex:"0",onKeydown:[e.withKeys(B=>d(C),["enter"]),e.withKeys(e.withModifiers(B=>d(C),["prevent"]),["space"])]},[e.createElementVNode("span",Do,e.toDisplayString(C.title),1),C.badge!==void 0?(e.openBlock(),e.createElementBlock("span",Fo,e.toDisplayString(C.badge),1)):e.createCommentVNode("",!0),a.value==="bottom-dash"&&u.value===C.id?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass({"freddy-plugin-active-tab-bottom":u.value===C.id})},null,2)):e.createCommentVNode("",!0)],42,To))),128))],2))}}),xo={class:"rules-management"},Ao={class:"rules-header"},Lo={class:"header-actions"},Mo={class:"search-wrapper"},Ro=["onKeydown"],zo={class:"tabs-container",role:"tablist","aria-label":"Rules filter tabs"},Ho=["id","aria-labelledby"],Oo={class:"rules-table",role:"table","aria-label":"Rules list"},Uo={class:"col-dependencies",scope:"col"},Ko={class:"info-icon",title:"Number of dependent rules","aria-label":"Information about dependencies",role:"img"},jo={class:"rule-info"},Go={class:"rule-title"},Wo={class:"rule-description"},Zo=["aria-label"],Jo={class:"dependencies-count"},Qo=["aria-label"],Yo={class:"creator-info"},Xo={class:"creator-wrapper"},en=["src","alt"],on={class:"creator-details"},nn={class:"creator-name"},tn={class:"creator-username"},rn={class:"action-cell"},sn=["aria-label"],ln={class:"action-icons"},cn=["onClick","onKeydown","aria-label"],an=["onClick","onKeydown","aria-label"],dn={class:"pagination-container",role:"navigation","aria-label":"Pagination"},un=["disabled","onKeydown","tabindex"],pn={class:"page-numbers",role:"list","aria-label":"Page numbers"},hn=["onClick","onKeydown","disabled","aria-label","aria-current","tabindex"],mn=["disabled","onKeydown","tabindex"],vn=e.defineComponent({__name:"RulesManagement",props:{rules:{default:()=>[]},tabs:{default:()=>[{id:"all",label:"All Rules",count:43},{id:"my",label:"My Rules",count:5},{id:"others",label:"Other's Rules",count:8},{id:"current",label:"Current Assistant",count:6}]},initialTab:{default:"all"},totalPages:{default:10}},emits:["search","createRule","tabChange","edit","view","pageChange"],setup(f,{emit:p}){const s=f,o=p,i=e.ref(""),c=e.ref(s.initialTab),a=e.ref(1),u=e.computed(()=>s.tabs.map((m,n)=>({id:n+1,title:m.label,badge:m.count,originalId:m.id}))),d=e.computed(()=>{const m=s.tabs.findIndex(n=>n.id===c.value);return m>=0?m+1:1}),t=m=>{const n=u.value.find(h=>h.id===m);n&&n.originalId&&v(n.originalId)},I=e.computed(()=>{if(!i.value)return s.rules;const m=i.value.toLowerCase();return s.rules.filter(n=>{var h;return n.title.toLowerCase().includes(m)||((h=n.description)==null?void 0:h.toLowerCase().includes(m))||n.creator.name.toLowerCase().includes(m)})}),C=e.computed(()=>{const m=[],n=s.totalPages,h=a.value;if(n<=7)for(let $=1;$<=n;$++)m.push($);else{m.push(1),h>3&&m.push("...");for(let $=Math.max(2,h-1);$<=Math.min(n-1,h+1);$++)m.push($);h<n-2&&m.push("..."),m.push(n)}return m}),w=()=>{o("search",i.value)},B=()=>{o("createRule")},v=m=>{c.value=m,o("tabChange",m)},P=m=>{o("edit",m)},y=m=>{o("view",m)},g=m=>{a.value=m,o("pageChange",m)},b=()=>{a.value>1&&g(a.value-1)},S=()=>{a.value<s.totalPages&&g(a.value+1)};return(m,n)=>(e.openBlock(),e.createElementBlock("div",xo,[e.createElementVNode("div",Ao,[n[3]||(n[3]=e.createElementVNode("div",{class:"header-content"},[e.createElementVNode("h1",{class:"title"},"Rules Management"),e.createElementVNode("p",{class:"subtitle"}," Manage and organize your organization's rules and guidelines ")],-1)),e.createElementVNode("div",Lo,[e.createElementVNode("div",Mo,[e.createVNode(e.unref(l.IconSearch),{class:"search-icon","aria-hidden":"true"}),e.withDirectives(e.createElementVNode("input",{type:"text",class:"search-input",placeholder:"Search","onUpdate:modelValue":n[0]||(n[0]=h=>i.value=h),onInput:w,"aria-label":"Search rules"},null,544),[[e.vModelText,i.value]]),n[1]||(n[1]=e.createElementVNode("kbd",{class:"search-kbd","aria-label":"Keyboard shortcut"},"⌘K",-1))]),e.createElementVNode("button",{class:"create-rule-btn",onClick:B,onKeydown:[e.withKeys(B,["enter"]),e.withKeys(e.withModifiers(B,["prevent"]),["space"])],"aria-label":"Create new rule",tabindex:"0"},[e.createVNode(e.unref(l.IconPlus),{class:"plus-icon","aria-hidden":"true"}),n[2]||(n[2]=e.createTextVNode(" Create Rule ",-1))],40,Ro)])]),e.createElementVNode("div",zo,[e.createVNode(ee,{tabList:u.value,currentTab:d.value,activeStateType:"bottom-dash",orientation:"horizontal",onTabSwitch:t},null,8,["tabList","currentTab"])]),e.createElementVNode("div",{class:"table-container",role:"tabpanel",id:`tabpanel-${c.value}`,"aria-labelledby":`tab-${c.value}`},[e.createElementVNode("table",Oo,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[n[5]||(n[5]=e.createElementVNode("th",{class:"col-rule",scope:"col"},"Rule",-1)),n[6]||(n[6]=e.createElementVNode("th",{class:"col-status",scope:"col"},"Status",-1)),e.createElementVNode("th",Uo,[n[4]||(n[4]=e.createTextVNode(" Dependencies ",-1)),e.createElementVNode("span",Ko,[e.createVNode(e.unref(l.IconInfoRounded),{"aria-hidden":"true"})])]),n[7]||(n[7]=e.createElementVNode("th",{class:"col-created-by",scope:"col"},"Created By",-1)),n[8]||(n[8]=e.createElementVNode("th",{class:"col-status-action",scope:"col"},"Actions",-1))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.value,h=>(e.openBlock(),e.createElementBlock("tr",{key:h.id,class:"rule-row",role:"row"},[e.createElementVNode("td",jo,[e.createElementVNode("div",Go,e.toDisplayString(h.title),1),e.createElementVNode("div",Wo,e.toDisplayString(h.description),1)]),e.createElementVNode("td",null,[e.createElementVNode("span",{class:e.normalizeClass(["status-badge",h.status.toLowerCase()]),"aria-label":`Status: ${h.status}`},e.toDisplayString(h.status),11,Zo)]),e.createElementVNode("td",Jo,[e.createElementVNode("span",{"aria-label":`${h.dependencies} dependencies`},e.toDisplayString(h.dependencies),9,Qo)]),e.createElementVNode("td",Yo,[e.createElementVNode("div",Xo,[e.createElementVNode("img",{src:h.creator.avatar,alt:`${h.creator.name} avatar`,class:"creator-avatar"},null,8,en),e.createElementVNode("div",on,[e.createElementVNode("div",nn,e.toDisplayString(h.creator.name),1),e.createElementVNode("div",tn,e.toDisplayString(h.creator.username),1)])])]),e.createElementVNode("td",rn,[e.createElementVNode("span",{class:e.normalizeClass(["status-badge",h.status.toLowerCase()]),"aria-label":`Status: ${h.status}`},e.toDisplayString(h.status),11,sn),e.createElementVNode("div",ln,[e.createElementVNode("button",{class:"icon-btn",onClick:$=>P(h),onKeydown:[e.withKeys($=>P(h),["enter"]),e.withKeys(e.withModifiers($=>P(h),["prevent"]),["space"])],"aria-label":`Edit ${h.title}`,tabindex:"0"},[e.createVNode(e.unref(l.IconEdit),{"aria-hidden":"true"})],40,cn),e.createElementVNode("button",{class:"icon-btn",onClick:$=>y(h),onKeydown:[e.withKeys($=>y(h),["enter"]),e.withKeys(e.withModifiers($=>y(h),["prevent"]),["space"])],"aria-label":`View ${h.title}`,tabindex:"0"},[e.createVNode(e.unref(l.IconEye),{"aria-hidden":"true"})],40,an)])])]))),128))])])],8,Ho),e.createElementVNode("nav",dn,[e.createElementVNode("button",{class:"pagination-btn",disabled:a.value===1,onClick:b,onKeydown:[e.withKeys(b,["enter"]),e.withKeys(e.withModifiers(b,["prevent"]),["space"])],"aria-label":"Go to previous page",tabindex:a.value===1?-1:0}," Previous ",40,un),e.createElementVNode("div",pn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,h=>(e.openBlock(),e.createElementBlock("button",{key:h,class:e.normalizeClass(["page-number",{active:a.value===h,ellipsis:h==="..."}]),onClick:$=>h!=="..."&&g(h),onKeydown:[e.withKeys($=>h!=="..."&&g(h),["enter"]),e.withKeys(e.withModifiers($=>h!=="..."&&g(h),["prevent"]),["space"])],disabled:h==="...","aria-label":h==="..."?"More pages":`Go to page ${h}`,"aria-current":a.value===h?"page":void 0,tabindex:h==="..."?-1:0,role:"listitem"},e.toDisplayString(h),43,hn))),128))]),e.createElementVNode("button",{class:"pagination-btn",disabled:a.value===m.totalPages,onClick:S,onKeydown:[e.withKeys(S,["enter"]),e.withKeys(e.withModifiers(S,["prevent"]),["space"])],"aria-label":"Go to next page",tabindex:a.value===m.totalPages?-1:0}," Next ",40,mn)])]))}}),fn=l._export_sfc(vn,[["__scopeId","data-v-e6ad3a6e"]]),In={class:"freddy-vector-frame__content"},gn={class:"freddy-vector-frame__icon-container"},yn={class:"freddy-vector-frame__title"},kn={key:0,class:"freddy-vector-frame__badge"},Cn={class:"freddy-vector-frame__badge-content"},bn={class:"freddy-vector-frame__badge-text"},$n={key:1,class:"freddy-vector-frame__tick-container"},Pn={key:0,class:"freddy-vector-frame__underline"},wn=e.defineComponent({__name:"VectorFrame",props:{title:{default:"Main Vector Store"},badgeText:{default:"Popular"},isSelected:{type:Boolean,default:!1}},emits:["click"],setup(f,{emit:p}){const s=f,o=p,i=e.ref(s.isSelected),c=a=>{i.value=!i.value,o("click",a)};return(a,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-vector-frame",{"freddy-vector-frame--clicked":i.value}]),onClick:c},[e.createElementVNode("div",In,[e.createElementVNode("div",gn,[e.createVNode(e.unref(l.IconFileSystem),{class:"freddy-vector-frame__icon"})]),e.createElementVNode("div",yn,e.toDisplayString(a.title),1),i.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",kn,[e.createElementVNode("div",Cn,[e.createVNode(e.unref(l.IconStar),{class:"freddy-vector-frame__badge-icon"}),e.createElementVNode("div",bn,e.toDisplayString(a.badgeText),1)])])),i.value?(e.openBlock(),e.createElementBlock("div",$n,[e.createVNode(e.unref(l.IconBadgeCheck),{class:"freddy-vector-frame__tick-icon"})])):e.createCommentVNode("",!0)]),i.value?(e.openBlock(),e.createElementBlock("div",Pn)):e.createCommentVNode("",!0)],2))}}),_n=l._export_sfc(wn,[["__scopeId","data-v-e2bc0b9f"]]),Sn={class:"freddy-vector-section"},Bn={class:"freddy-vector-section__content"},En={class:"freddy-vector-section__header"},qn={class:"freddy-vector-section__count"},Nn={class:"freddy-vector-section__main"},Vn={class:"freddy-vector-section__search-container"},Tn={class:"freddy-vector-section__search-header"},Dn={class:"freddy-vector-section__search-label"},Fn={class:"freddy-vector-section__help-icon"},xn={class:"freddy-vector-section__search-input-container"},An={class:"freddy-vector-section__filter-results"},Ln={class:"freddy-vector-section__filter"},Mn={class:"freddy-vector-section__filter-button"},Rn={class:"freddy-vector-section__results-count"},zn={class:"freddy-vector-section__frames-container"},Hn={key:0,class:"freddy-vector-section__show-more"},On={class:"freddy-vector-section__show-more-text"},Un={class:"freddy-vector-section__add-section"},Kn={class:"freddy-vector-section__add-container"},jn=e.defineComponent({__name:"VectorSection",props:{title:{default:"Knowledge"},dbCount:{default:0},searchPlaceholder:{default:"Search vector store"},frames:{default:()=>[{id:1,title:"Main Vector Store",badgeText:"Popular",isSelected:!0},{id:2,title:"Secondary Database",badgeText:"Popular",isSelected:!1},{id:3,title:"Custom Vector Store",badgeText:"Popular",isSelected:!0},{id:4,title:"Backup Store",badgeText:"Popular",isSelected:!1},{id:5,title:"Analytics Database",badgeText:"Popular",isSelected:!1},{id:6,title:"User Data Store",badgeText:"Popular",isSelected:!1},{id:7,title:"Logs Database",badgeText:"Popular",isSelected:!1},{id:8,title:"Cache Store",badgeText:"Popular",isSelected:!1},{id:9,title:"Metrics Database",badgeText:"Popular",isSelected:!1},{id:10,title:"Archive Store",badgeText:"Popular",isSelected:!1},{id:11,title:"Test Database",badgeText:"Popular",isSelected:!1},{id:12,title:"Production Store",badgeText:"Popular",isSelected:!1}]},maxDisplayed:{default:4}},emits:["frameClick","addVectorStore","showMore","searchInput"],setup(f,{emit:p}){const s=f,o=p,i=e.ref(""),c=e.ref(s.maxDisplayed),a=e.computed(()=>i.value.trim()?s.frames.filter(v=>v.title.toLowerCase().includes(i.value.toLowerCase())):s.frames),u=e.computed(()=>a.value.slice(0,c.value)),d=e.computed(()=>a.value.length),t=e.computed(()=>a.value.length>c.value),I=e.computed(()=>a.value.length-c.value),C=()=>{o("addVectorStore")},w=()=>{c.value=a.value.length,o("showMore")},B=v=>{i.value=v||"",c.value=s.maxDisplayed,o("searchInput",i.value)};return(v,P)=>(e.openBlock(),e.createElementBlock("div",Sn,[e.createElementVNode("div",Bn,[e.createElementVNode("div",En,[P[1]||(P[1]=e.createElementVNode("div",{class:"freddy-vector-section__title"},"Knowledge",-1)),e.createElementVNode("div",qn,e.toDisplayString(v.dbCount)+" DBs added",1)]),e.createElementVNode("div",Nn,[e.createElementVNode("div",Vn,[e.createElementVNode("div",Tn,[e.createElementVNode("div",Dn,[P[2]||(P[2]=e.createTextVNode(" Vector Stores ",-1)),e.createElementVNode("div",Fn,[e.createVNode(e.unref(l.IconQuestion),{class:"freddy-vector-section__help-icon-svg"})])]),e.createElementVNode("div",xn,[e.createVNode(e.unref(A),{searchInput:i.value,"onUpdate:searchInput":[P[0]||(P[0]=y=>i.value=y),B],placeholder:v.searchPlaceholder,class:"freddy-vector-section__search-input"},null,8,["searchInput","placeholder"])])])]),e.createElementVNode("div",An,[e.createElementVNode("div",Ln,[e.createElementVNode("div",Mn,[e.createVNode(e.unref(l.IconFilter),{class:"freddy-vector-section__filter-icon"}),P[3]||(P[3]=e.createElementVNode("span",{class:"freddy-vector-section__filter-text"},"Filter by",-1)),e.createVNode(e.unref(l.IconChevronDown),{class:"freddy-vector-section__filter-arrow"})])]),e.createElementVNode("div",Rn,e.toDisplayString(d.value)+" databases found ",1)]),e.createElementVNode("div",zn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,(y,g)=>(e.openBlock(),e.createElementBlock("div",{key:y.id||g,class:"freddy-vector-section__frame-item"}))),128))]),t.value?(e.openBlock(),e.createElementBlock("div",Hn,[e.createElementVNode("button",{class:"freddy-vector-section__show-more-button",onClick:w},[e.createElementVNode("span",On,"Show "+e.toDisplayString(I.value)+" more",1),e.createVNode(e.unref(l.IconChevronDown),{class:"freddy-vector-section__show-more-icon"})])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Un,[P[5]||(P[5]=e.createElementVNode("div",{class:"freddy-vector-section__add-title"},"Knowledge",-1)),e.createElementVNode("div",Kn,[e.createElementVNode("button",{class:"freddy-vector-section__add-button",onClick:C},[e.createVNode(e.unref(l.IconAddFileSystem),{class:"freddy-vector-section__add-icon"}),P[4]||(P[4]=e.createElementVNode("span",{class:"freddy-vector-section__add-text"},"Add vector store to assistant",-1))])])])])]))}}),Gn=l._export_sfc(jn,[["__scopeId","data-v-8434fbf8"]]),Wn={class:"freddy-voice-list"},Zn={key:0,class:"freddy-voice-list__title"},Jn={class:"freddy-voice-list__container"},Qn={key:1,class:"freddy-voice-list__selected-info"},Yn=e.defineComponent({__name:"VoiceList",props:{voices:{},title:{default:""},showSelectedInfo:{type:Boolean,default:!0},allowDeselect:{type:Boolean,default:!0}},emits:["selectionChange","voiceClick"],setup(f,{expose:p,emit:s}){const o=f,i=s,c=e.ref(null),a=e.computed(()=>o.voices.find(d=>d.id===c.value)||null),u=d=>{c.value===d&&o.allowDeselect?c.value=null:c.value=d,i("selectionChange",c.value),i("voiceClick",d,c.value===d)};return p({selectedVoiceId:c,selectedVoice:a,selectVoice:d=>{c.value=d,i("selectionChange",d)},clearSelection:()=>{c.value=null,i("selectionChange",null)}}),(d,t)=>{var I;return e.openBlock(),e.createElementBlock("div",Wn,[d.title?(e.openBlock(),e.createElementBlock("h3",Zn,e.toDisplayString(d.title),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Jn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.voices,C=>(e.openBlock(),e.createBlock(e.unref(K),{key:C.id,voiceName:C.name,isSelected:c.value===C.id,onClick:w=>u(C.id)},null,8,["voiceName","isSelected","onClick"]))),128))]),d.showSelectedInfo?(e.openBlock(),e.createElementBlock("div",Qn,[e.createElementVNode("p",null,"Selected: "+e.toDisplayString(((I=a.value)==null?void 0:I.name)||"None"),1)])):e.createCommentVNode("",!0)])}}}),Xn={class:"freddy-voice-selection__container"},et={class:"freddy-voice-selection__icon-container"},ot={class:"freddy-voice-selection__icon"},nt={class:"freddy-voice-selection__play-background"},tt={class:"freddy-voice-selection__name-container"},rt={class:"freddy-voice-selection__name-wrapper"},st={class:"freddy-voice-selection__name"},it={key:0,class:"freddy-voice-selection__check-icon"},lt={key:1,class:"freddy-voice-selection__indicator"},K=e.defineComponent({__name:"VoiceSelection",props:{voiceName:{},isSelected:{type:Boolean,default:!1}},emits:["handleClick"],setup(f,{emit:p}){const s=p,o=i=>{s("handleClick",i)};return(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-voice-selection",{"freddy-voice-selection--selected":i.isSelected}]),onClick:o},[e.createElementVNode("div",Xn,[e.createElementVNode("div",et,[e.createElementVNode("div",ot,[e.createElementVNode("div",nt,[e.createVNode(e.unref(l.IconRevertedTriangle),{class:"freddy-voice-selection__triangle-icon"})])])]),e.createElementVNode("div",tt,[e.createElementVNode("div",rt,[e.createElementVNode("div",st,e.toDisplayString(i.voiceName),1)])]),i.isSelected?(e.openBlock(),e.createElementBlock("div",it,[e.createVNode(e.unref(l.IconTick),{class:"freddy-voice-selection__check-icon-svg"})])):(e.openBlock(),e.createElementBlock("div",lt))])],2))}}),ct=["innerHTML"],at={key:1},N=e.defineComponent({__name:"Tooltip",props:{text:{},placement:{},html:{type:Boolean},contentClass:{}},setup(f){l.useTheme();const p=e.ref(!1),s=e.ref(!1),o=e.ref(null);let i=null;function c(){i&&clearTimeout(i),i=setTimeout(()=>{if(o.value){const u=o.value.getBoundingClientRect();s.value=u.top<150}p.value=!0},200)}function a(){i&&clearTimeout(i),p.value=!1}return(u,d)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tooltipWrapper",ref:o,class:"tooltip-wrapper",onMouseenter:c,onMouseleave:a,onFocusin:c,onFocusout:a,tabindex:"0"},[e.renderSlot(u.$slots,"default"),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[p.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["tooltip-content",[u.placement,s.value?"force-bottom":"",u.contentClass]])},[e.renderSlot(u.$slots,"content",{},()=>[u.html?(e.openBlock(),e.createElementBlock("span",{key:0,innerHTML:u.text},null,8,ct)):(e.openBlock(),e.createElementBlock("span",at,e.toDisplayString(u.text),1))])],2)):e.createCommentVNode("",!0)]),_:3})],544))}}),dt=["disabled","aria-disabled","aria-label"],ut={key:0,class:"freddy-plugins-button-label"},pt={key:1,class:"freddy-plugins-button-label"},ht=["disabled","aria-disabled","aria-label"],mt={key:0,class:"freddy-plugins-button-label"},vt={key:1,class:"freddy-plugins-button-label"},ft=e.defineComponent({__name:"BaseButton",props:{size:{default:"md"},hierarchy:{default:"primary"},state:{default:"default"},errorState:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1},leftIcon:{default:void 0},rightIcon:{default:void 0},label:{default:"Button"},loadingText:{default:void 0},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},tooltip:{default:void 0},tooltipPlacement:{default:"top"}},emits:["click","leftIconClick","rightIconClick"],setup(f,{emit:p}){const s=f,o={IconSearch:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconSearch$1)),IconUser:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconUser$1)),IconDelete:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconDelete$1)),IconSend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconSend$1)),IconPlus:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconPlus$1)),IconEdit:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconEdit$1)),IconCross:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconCross$1)),IconTick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconTick$1)),IconArrowLeft:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconArrowLeft$1)),IconArrowDown:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconArrowDown$1)),IconArrowUp:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconArrowUp$1)),IconChevronDown:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconChevronDown$1)),IconChevronUp:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconChevronUp$1)),IconChevronLeft:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconChevronLeft$1)),IconChevronRight:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconChevronRight$1)),IconSettings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconSettings$1)),IconHome:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconHome$1)),IconDownload:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconDownload$1)),IconRefresh:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconRefresh$1)),IconCopy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconCopy$1)),IconEye:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconEye$1)),IconLock:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconLock$1)),IconStar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconStar$1)),IconFilter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconFilter$1)),IconFile:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconFile$1)),IconFolder:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconFolder$1)),IconText:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconText$1)),IconLink04:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(v=>v.IconLink04$1))},i=e.computed(()=>s.leftIcon&&o[s.leftIcon]||null),c=e.computed(()=>s.rightIcon&&o[s.rightIcon]||null),a=p,u=e.ref(!1),d=e.computed(()=>["freddy-plugins-base-button",`freddy-plugins-base-button--${s.size}`,`freddy-plugins-base-button--${s.hierarchy}`,{"freddy-plugins-base-button--disabled":s.disabled,"freddy-plugins-base-button--loading":s.loading,"freddy-plugins-base-button--icon-only":s.iconOnly,"freddy-plugins-base-button--error":s.errorState,"freddy-plugins-base-button--hover":u.value&&!s.disabled&&!s.loading,"freddy-plugins-base-button--focused":s.state==="focused"}]),t=v=>{!s.disabled&&!s.loading&&a("click",v)},I=v=>{!s.disabled&&!s.loading&&a("leftIconClick",v)},C=v=>{!s.disabled&&!s.loading&&a("rightIconClick",v)},w=()=>{u.value=!0},B=()=>{u.value=!1};return(v,P)=>v.tooltip?(e.openBlock(),e.createBlock(N,{key:0,text:v.tooltip,placement:v.tooltipPlacement},{default:e.withCtx(()=>[e.createElementVNode("button",{class:e.normalizeClass(d.value),disabled:v.disabled||v.loading,"aria-disabled":v.disabled||v.loading,"aria-label":v.iconOnly?v.label:void 0,role:"button",onClick:t,onMouseenter:w,onMouseleave:B},[v.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[P[0]||(P[0]=e.createElementVNode("span",{class:"freddy-plugins-button-spinner","aria-hidden":"true"},null,-1)),v.loadingText||v.label?(e.openBlock(),e.createElementBlock("span",ut,e.toDisplayString(v.loadingText||v.label),1)):e.createCommentVNode("",!0)],64)):v.iconOnly?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:1,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-center",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true"},null,8,["class"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[v.leftIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:0,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-left",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true",onClick:e.withModifiers(I,["stop"])},null,8,["class"])):e.createCommentVNode("",!0),v.label?(e.openBlock(),e.createElementBlock("span",pt,e.toDisplayString(v.label),1)):e.createCommentVNode("",!0),v.rightIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.value),{key:2,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-right",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true",onClick:e.withModifiers(C,["stop"])},null,8,["class"])):e.createCommentVNode("",!0)],64))],42,dt)]),_:1},8,["text","placement"])):(e.openBlock(),e.createElementBlock("button",{key:1,class:e.normalizeClass(d.value),disabled:v.disabled||v.loading,"aria-disabled":v.disabled||v.loading,"aria-label":v.iconOnly?v.label:void 0,role:"button",onClick:t,onMouseenter:w,onMouseleave:B},[v.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[P[1]||(P[1]=e.createElementVNode("span",{class:"freddy-plugins-button-spinner","aria-hidden":"true"},null,-1)),v.loadingText||v.label?(e.openBlock(),e.createElementBlock("span",mt,e.toDisplayString(v.loadingText||v.label),1)):e.createCommentVNode("",!0)],64)):v.iconOnly?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:1,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-center",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true"},null,8,["class"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[v.leftIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{key:0,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-left",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true",onClick:e.withModifiers(I,["stop"])},null,8,["class"])):e.createCommentVNode("",!0),v.label?(e.openBlock(),e.createElementBlock("span",vt,e.toDisplayString(v.label),1)):e.createCommentVNode("",!0),v.rightIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.value),{key:2,class:e.normalizeClass(["freddy-plugins-button-icon freddy-plugins-button-icon-right",`freddy-plugins-button-icon--${v.size}`]),"aria-hidden":"true",onClick:e.withModifiers(C,["stop"])},null,8,["class"])):e.createCommentVNode("",!0)],64))],42,ht))}}),j=l._export_sfc(ft,[["__scopeId","data-v-ca53fa07"]]),It=["disabled","aria-label","onClick"],gt={key:0,class:"freddy-plugins-social-button-label"},yt=e.defineComponent({__name:"SocialButtons",props:{providers:{},variant:{default:"filled"},size:{default:"md"},disabled:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1},layout:{default:"horizontal"},class:{},style:{}},emits:["click"],setup(f,{emit:p}){const s=f,o=p,i={google:{icon:l.IconGoogle,label:"Sign in with Google",colors:{filled:{background:"#ffffff",color:"#1f2937",border:"#d1d5db"},outlined:{background:"#ffffff",color:"#1f2937",border:"#10b981"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}},facebook:{icon:l.IconFacebook,label:"Sign in with Facebook",colors:{filled:{background:"#1877f2",color:"#ffffff"},outlined:{background:"#ffffff",color:"#1877f2",border:"#1877f2"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}},apple:{icon:l.IconApple,label:"Sign in with Apple",colors:{filled:{background:"#000000",color:"#ffffff"},outlined:{background:"#ffffff",color:"#000000",border:"#000000"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}},x:{icon:l.IconX,label:"Sign in with X",colors:{filled:{background:"#000000",color:"#ffffff"},outlined:{background:"#ffffff",color:"#000000",border:"#000000"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}},figma:{icon:l.IconFigma,label:"Sign in with Figma",colors:{filled:{background:"#000000",color:"#ffffff"},outlined:{background:"#ffffff",color:"#000000",border:"#000000"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}},dribbble:{icon:l.IconDribbble,label:"Sign in with Dribbble",colors:{filled:{background:"#ea4c89",color:"#ffffff"},outlined:{background:"#ffffff",color:"#ea4c89",border:"#ea4c89"},ghost:{background:"transparent",color:"#9ca3af",border:"#d1d5db"}}}},c=e.computed(()=>["freddy-plugins-social-buttons",`freddy-plugins-social-buttons--${s.layout}`,`freddy-plugins-social-buttons--${s.size}`,{"freddy-plugins-social-buttons--disabled":s.disabled},s.class]),a=I=>i[I].icon,u=I=>i[I].label,d=I=>["freddy-plugins-social-button",`freddy-plugins-social-button--${s.variant}`,`freddy-plugins-social-button--${s.size}`,`freddy-plugins-social-button--${I}`,{"freddy-plugins-social-button--disabled":s.disabled,"freddy-plugins-social-button--icon-only":s.iconOnly}],t=(I,C)=>{s.disabled||o("click",I,C)};return(I,C)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(c.value),style:e.normalizeStyle(I.style)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.providers,w=>(e.openBlock(),e.createElementBlock("button",{key:w,class:e.normalizeClass(d(w)),disabled:I.disabled,"aria-label":I.iconOnly?u(w):void 0,role:"button",onClick:B=>t(w,B)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a(w)),{class:"freddy-plugins-social-button-icon","aria-hidden":"true"})),I.iconOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",gt,e.toDisplayString(u(w)),1))],10,It))),128))],6))}}),kt=l._export_sfc(yt,[["__scopeId","data-v-22e5ee7c"]]),Ct=["innerHTML"],Q="nord",bt=e.defineComponent({__name:"CodeBlock",props:{code:{},language:{}},setup(f){const p=f,s=e.ref("");let o=null,i=null;const c=async()=>{try{if(typeof window<"u"&&window.shiki){i=window.shiki.createHighlighter;return}}catch{}},a=["js","ts","json","python","vue","html","css","scss","bash","yaml","markdown","c","cpp","java","go","php","ruby","rust","swift","kotlin"],u=async()=>{if(i||await c(),!i){s.value=`<pre><code>${p.code.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}</code></pre>`;return}try{o||(o=await i({themes:[Q],langs:a})),s.value=o.codeToHtml(p.code,{lang:p.language,theme:Q})}catch{s.value=`<pre><code>${p.code.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}</code></pre>`}};return e.watch(()=>[p.code,p.language],u,{immediate:!0}),e.onMounted(u),(d,t)=>(e.openBlock(),e.createElementBlock("pre",null,[e.createElementVNode("code",{innerHTML:s.value},null,8,Ct)]))}}),$t=["aria-checked","aria-disabled","aria-label"],Pt=["checked","disabled"],wt={key:0,class:"freddy-plugins-checkbox-dash"},_t={key:1,class:"freddy-plugins-checkbox-icon",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},St=["stroke"],Bt=e.defineComponent({__name:"CustomCheckbox",props:{isChecked:{type:Boolean},isDashInput:{type:Boolean},blueCheckbox:{type:Boolean},disabled:{type:Boolean},ariaLabel:{}},emits:["update:isChecked"],setup(f,{emit:p}){l.useTheme();const s=f,o=p;function i(c){const a=c.target;s.disabled||o("update:isChecked",a.checked)}return(c,a)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["freddy-plugins-base-checkbox",{"freddy-plugins-checked":c.isChecked&&!c.blueCheckbox,"freddy-plugins-checked-blue":c.isChecked&&c.blueCheckbox,"freddy-plugins-not-checked":!c.isChecked,"freddy-plugins-is-disabled":c.disabled}]),"aria-checked":c.isChecked,"aria-disabled":c.disabled,"aria-label":c.ariaLabel,role:"checkbox"},[e.createElementVNode("input",{id:"checkbox-input",type:"checkbox",class:"freddy-plugins-checkbox-input",checked:c.isChecked,disabled:c.disabled,onChange:i},null,40,Pt),c.isDashInput&&c.isChecked?(e.openBlock(),e.createElementBlock("span",wt)):c.isChecked&&!c.isDashInput?(e.openBlock(),e.createElementBlock("svg",_t,[e.createElementVNode("path",{d:"M10 3L4.5 8.5L2 6",stroke:c.blueCheckbox?"var(--text-50, var(--text-inverse))":"#000","stroke-width":"1.6666","stroke-linecap":"round","stroke-linejoin":"round"},null,8,St)])):e.createCommentVNode("",!0)],10,$t))}}),Et=["aria-label"],qt={key:0,class:"freddy-plugins-tooltip-v2-inner"},Nt=["innerHTML"],Vt=["innerHTML"],Tt=e.defineComponent({__name:"TooltipV2",props:{title:{},description:{},placement:{default:"top"},contentClass:{},delay:{default:200},hideDelay:{default:0}},setup(f){const p=f,s=e.ref(!1),o=e.ref(!1),i=e.ref(null),c=e.ref(null);let a=null,u=null;const d=()=>{if(!i.value)return;const B=i.value.getBoundingClientRect(),v=window.innerHeight,P=250,y=B.top,g=v-B.bottom;g>=P||g>y?o.value=!0:o.value=!1},t=()=>{u&&(clearTimeout(u),u=null),a&&clearTimeout(a),a=setTimeout(()=>{d(),s.value=!0},p.delay)},I=()=>{a&&(clearTimeout(a),a=null),u=setTimeout(()=>{s.value=!1},p.hideDelay)},C=()=>{t()},w=()=>{I()};return(B,v)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tooltipWrapper",ref:i,class:"freddy-plugins-tooltip-v2-wrapper",onMouseenter:t,onMouseleave:I,onFocusin:C,onFocusout:w,tabindex:"0"},[e.renderSlot(B.$slots,"default",{},void 0,!0),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[s.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"tooltipContent",ref:c,class:e.normalizeClass(["freddy-plugins-tooltip-v2-content",[o.value?"bottom":"top",B.contentClass]]),role:"tooltip","aria-label":B.title},[v[0]||(v[0]=e.createElementVNode("div",{class:"freddy-plugins-tooltip-v2-arrow"},null,-1)),e.renderSlot(B.$slots,"content",{},()=>[B.title||B.description?(e.openBlock(),e.createElementBlock("div",qt,[B.title?(e.openBlock(),e.createElementBlock("div",{key:0,class:"freddy-plugins-tooltip-v2-title",innerHTML:B.title},null,8,Nt)):e.createCommentVNode("",!0),B.description?(e.openBlock(),e.createElementBlock("div",{key:1,class:"freddy-plugins-tooltip-v2-description",innerHTML:B.description},null,8,Vt)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],!0)],10,Et)):e.createCommentVNode("",!0)]),_:3})],544))}}),oe=l._export_sfc(Tt,[["__scopeId","data-v-d8a69414"]]);class Dt{constructor(p){R(this,"apiKey",null);R(this,"baseUrl","https://api.openai.com/v1");this.apiKey=p||this.getApiKeyFromEnv()||"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"}getApiKeyFromEnv(){return process.env.OPENAI_API_KEY||null}setApiKey(p){this.apiKey=p}getSmartSystemPrompt(){return`You are an AI assistant that helps with text editing, code improvement, and content generation. You excel at working with JavaScript, HTML, CSS, JSON, and all programming languages. Analyze the user's request and respond with the appropriate action.
|
|
35
35
|
|
|
36
36
|
RESPONSE RULES:
|
|
37
37
|
- NEVER use greetings, pleasantries, or filler phrases
|
|
@@ -71,11 +71,11 @@ IMPORTANT:
|
|
|
71
71
|
- The textBoxContent represents the current text/code the user is working with
|
|
72
72
|
- When improving JavaScript code, ensure proper syntax, variable naming, and modern practices
|
|
73
73
|
- Escape special characters properly in JSON responses
|
|
74
|
-
- Maintain original code formatting and style when possible`}analyzeRequest(
|
|
74
|
+
- Maintain original code formatting and style when possible`}analyzeRequest(p,s){const o=p.toLowerCase(),a=!!(s&&s.trim().length>0&&["edit","improve","fix","correct","rewrite","revise","polish","enhance"].some(I=>o.includes(I))),d=!!["write","create","generate","compose","draft"].some(I=>o.includes(I)),t=a&&(o.includes("significant")||o.includes("major")||o.includes("restructure")||o.includes("rewrite"));return{isEdit:a,isGeneration:d,needsStructuredResponse:t}}createPrompt(p,s){const o=this.analyzeRequest(p,s),i=[{role:"system",content:this.getSmartSystemPrompt()}],c=[];return s&&s.trim()&&c.push({type:"text",text:`Current text: ${s.trim()}`}),c.push({type:"text",text:p}),o.needsStructuredResponse?c.push({type:"text",text:"Please respond with JSON format including change details and statistics."}):o.isEdit&&c.push({type:"text",text:"Provide only the improved text without explanations."}),i.push({role:"user",content:c}),i}createResponsesPayload(p,s){return{model:"gpt-4o-mini",input:[{role:"system",content:this.getSmartSystemPrompt()},{role:"user",content:[{type:"text",text:s?`Existing text: ${s}`:"No existing text."},{type:"text",text:p}]}],temperature:.7}}calculateStats(p,s){const o=p.trim().split(/\s+/).filter(u=>u.length>0),i=s.trim().split(/\s+/).filter(u=>u.length>0),c=Math.max(0,i.length-o.length),a=Math.max(0,o.length-i.length);return{added:c,removed:a}}processResponse(p,s,o){try{const i=JSON.parse(p);if(i.action)switch(i.action){case"replace":const c=o&&i.improvedText?this.calculateStats(o,i.improvedText):i.stats||{added:0,removed:0};return{success:!0,content:i.improvedText,hasChanges:!0,action:"replace",changeTitle:i.changeTitle||"Text Replacement",changeDescription:i.changeDescription||"Text has been improved",improvedText:i.improvedText,stats:c};case"complete":return{success:!0,content:i.content,hasChanges:!1,action:"complete"};case"chat":return{success:!0,content:i.content,hasChanges:!1,action:"chat"}}if(i.hasChanges&&i.improvedText){const c=o?this.calculateStats(o,i.improvedText):{added:0,removed:0};return{success:!0,content:i.improvedText,hasChanges:!0,action:"replace",changeTitle:i.changeTitle||"Text Improvement",changeDescription:i.changeDescription||"Text has been improved",improvedText:i.improvedText,stats:c}}if(o&&i.content){const c=this.calculateStats(o,i.content);return{success:!0,content:i.content,hasChanges:!0,action:"replace",changeTitle:"AI Response",changeDescription:"AI has provided a response to your request",improvedText:i.content,stats:c}}return{success:!0,content:i.content||p,hasChanges:!1,action:"chat"}}catch{return{success:!0,content:p,hasChanges:!1,action:"chat"}}}async askAI(p,s){var o,i,c,a,u;if(!this.apiKey)return{success:!1,error:"OpenAI API key is not configured. Please set your API key first."};if(!p.trim())return{success:!1,error:"User question cannot be empty."};try{const d=s?`Existing content:
|
|
75
75
|
\`\`\`
|
|
76
76
|
${s}
|
|
77
77
|
\`\`\`
|
|
78
78
|
|
|
79
|
-
User request: ${
|
|
80
|
-
`,P()},P=()=>{e.nextTick(()=>{u.value&&(u.value.style.height="auto",u.value.style.height=Math.min(u.value.scrollHeight,120)+"px")})},k=()=>{e.nextTick(()=>{a.value&&(a.value.scrollTop=a.value.scrollHeight)})},g=n=>{i("acceptChanges",n)},b=n=>{n.changes&&(n.changes=void 0),i("denyChanges",n)};return h({addAIResponse:(n,p)=>{const $={id:Date.now().toString(),content:n,sender:"assistant",timestamp:new Date,changes:p};d.value.push($),k()},addAIResponseFromApi:n=>{const p=l.parseApiResponse(n),$=l.getDisplayContent(p),C=l.createChangesObject(p),r={id:Date.now().toString(),content:$,sender:"assistant",timestamp:new Date,applied:!1,changes:C};d.value.push(r),k()}}),(n,p)=>(e.openBlock(),e.createElementBlock("div",Ft,[e.createElementVNode("div",{ref_key:"messagesContainer",ref:a,class:"freddy-plugins-chat-messages"},[e.createElementVNode("div",xt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,$=>(e.openBlock(),e.createElementBlock("div",{key:$.id,class:e.normalizeClass(["freddy-plugins-message",$.sender])},[$.sender==="user"?(e.openBlock(),e.createElementBlock("div",At,[e.createElementVNode("div",Lt,e.toDisplayString($.content),1),e.createElementVNode("div",Mt,[e.createElementVNode("button",Rt,[e.createVNode(e.unref(l.IconCopy),{class:"freddy-plugins-action-icon"})]),e.createElementVNode("button",zt,[e.createVNode(e.unref(l.IconEdit),{class:"freddy-plugins-action-icon"})])])])):(e.openBlock(),e.createElementBlock("div",Ht,[e.createElementVNode("div",Ot,[e.createElementVNode("p",Ut,e.toDisplayString($.content),1),$.changes?(e.openBlock(),e.createElementBlock("div",Kt,[e.createElementVNode("div",jt,[e.createElementVNode("div",Gt,[e.createVNode(e.unref(l.IconFile),{class:"freddy-plugins-building-icon"}),e.createElementVNode("span",Wt,e.toDisplayString($.changes.title||"Instructions"),1),$.changes.added>0?(e.openBlock(),e.createElementBlock("span",Zt,"+"+e.toDisplayString($.changes.added),1)):e.createCommentVNode("",!0),$.changes.removed>0?(e.openBlock(),e.createElementBlock("span",Jt,"-"+e.toDisplayString($.changes.removed),1)):e.createCommentVNode("",!0),p[1]||(p[1]=e.createElementVNode("span",{class:"freddy-plugins-changes-applied"},"Changes applied",-1))])]),e.createElementVNode("div",Qt,[p[5]||(p[5]=e.createElementVNode("div",{class:"freddy-plugins-content-header"},[e.createElementVNode("span",{class:"freddy-plugins-content-title"},"Instructions")],-1)),e.createElementVNode("p",Yt,e.toDisplayString($.changes.description),1),$.applied?(e.openBlock(),e.createElementBlock("div",nr,[e.createVNode(e.unref(l.IconCheckRounded),{class:"freddy-plugins-applied-icon"}),p[4]||(p[4]=e.createTextVNode(" Applied ",-1))])):(e.openBlock(),e.createElementBlock("div",Xt,[e.createElementVNode("button",{class:"freddy-plugins-accept-btn",onClick:C=>g($)},[e.createVNode(e.unref(l.IconCheckRounded),{class:"freddy-plugins-btn-icon"}),p[2]||(p[2]=e.createTextVNode(" Accept ",-1))],8,er),e.createElementVNode("button",{class:"freddy-plugins-deny-btn",onClick:C=>b($)},[e.createVNode(e.unref(l.IconCross),{class:"freddy-plugins-btn-icon"}),p[3]||(p[3]=e.createTextVNode(" Deny ",-1))],8,or)]))])])):e.createCommentVNode("",!0),e.createElementVNode("div",tr,[e.createElementVNode("button",rr,[e.createVNode(e.unref(l.IconRefresh),{class:"freddy-plugins-action-icon"})]),e.createElementVNode("button",sr,[e.createVNode(e.unref(l.IconCopy),{class:"freddy-plugins-action-icon"})]),e.createElementVNode("button",ir,[e.createVNode(e.unref(l.IconThumbsDown),{class:"freddy-plugins-action-icon"})])])])]))],2))),128))]),t.value?(e.openBlock(),e.createElementBlock("div",lr,[...p[6]||(p[6]=[e.createElementVNode("div",{class:"freddy-plugins-processing-content"},[e.createElementVNode("div",{class:"freddy-plugins-processing-spinner"}),e.createElementVNode("span",{class:"freddy-plugins-processing-text"},"AI is processing your request...")],-1)])])):e.createCommentVNode("",!0)],512),e.createElementVNode("div",cr,[e.createElementVNode("button",ar,[e.createVNode(e.unref(l.IconFolder),{class:"freddy-plugins-folder-icon"})]),e.withDirectives(e.createElementVNode("textarea",{ref_key:"inputRef",ref:u,"onUpdate:modelValue":p[0]||(p[0]=$=>c.value=$),placeholder:n.placeholder||"Type here...",class:"freddy-plugins-chat-input",rows:"1",onKeydown:[e.withKeys(e.withModifiers(S,["exact","prevent"]),["enter"]),e.withKeys(e.withModifiers(v,["shift","exact"]),["enter"])],onInput:P},null,40,dr),[[e.vModelText,c.value]]),e.createElementVNode("button",{class:"freddy-plugins-send-button",disabled:!c.value.trim(),onClick:S},[e.createVNode(e.unref(l.IconPaperAirPlane),{class:"freddy-plugins-send-icon"})],8,ur)])]))}}),hr={class:"freddy-plugins-edit-excerpt-modal-content"},pr={class:"freddy-plugins-edit-excerpt-modal-header"},mr={class:"freddy-plugins-edit-excerpt-modal-header-content"},vr={class:"freddy-plugins-edit-excerpt-modal-icon"},fr={class:"freddy-plugins-edit-excerpt-modal-text"},Ir={class:"freddy-plugins-edit-excerpt-modal-title"},gr={class:"freddy-plugins-edit-excerpt-modal-subtitle"},yr={class:"freddy-plugins-edit-excerpt-modal-textarea-section"},kr={class:"freddy-plugins-edit-excerpt-modal-footer"},Cr={class:"freddy-plugins-edit-excerpt-modal-footer-content"},br={key:0,class:"freddy-plugins-edit-excerpt-modal-ai-container"},$r=e.defineComponent({__name:"EditFeaturedExcerptModal",props:{isVisible:{type:Boolean,required:!0},title:{type:String,default:"Edit featured excerpt"},description:{type:String,default:"This will be displayed on your profile."},initialContent:{type:String,default:""},openaiApiKey:{type:String,default:""},openaiModel:{type:String,default:"gpt-4o-mini"},openaiOrganization:{type:String,default:""}},emits:["close","save","cancel","askAI","toggleAI"],setup(f,{emit:h}){const s=f,o=h,i=e.ref(s.initialContent),c=e.ref(!1),a=e.ref([]),u=e.ref(null);e.watch(()=>s.initialContent,g=>{i.value=g});const d=()=>{c.value=!1,a.value=[],o("close")},t=()=>{o("save",i.value)},I=()=>{c.value=!1,a.value=[],o("cancel")},y=()=>{c.value=!0,o("toggleAI",c.value),o("askAI",i.value)},_=async g=>{},S=g=>{g.changes&&g.changes.data&&g.changes.data.improvedText&&(i.value,i.value=g.changes.data.improvedText,g.applied=!0)},v=g=>{},P=g=>{},k=g=>{};return(g,b)=>(e.openBlock(),e.createBlock(e.Transition,{name:"modal"},{default:e.withCtx(()=>[f.isVisible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"freddy-plugins-edit-excerpt-modal-overlay",onClick:e.withModifiers(d,["self"])},[e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-edit-excerpt-modal-container",{"ai-active":c.value}])},[e.createElementVNode("div",hr,[e.createElementVNode("div",pr,[e.createElementVNode("div",mr,[e.createElementVNode("div",vr,[e.createVNode(e.unref(l.IconEditLinePath),{class:"freddy-plugins-edit-excerpt-edit-icon","center-distance":36,"circle-gap":44,"show-circles":!0})]),e.createElementVNode("div",fr,[e.createElementVNode("h2",Ir,e.toDisplayString(f.title),1),e.createElementVNode("p",gr,e.toDisplayString(f.description),1)])]),e.createElementVNode("button",{class:"freddy-plugins-edit-excerpt-modal-close-btn",style:e.normalizeStyle({right:c.value?"52px":"16px"}),onClick:d,"aria-label":"Close modal"},[e.createVNode(e.unref(l.IconCross),{class:"freddy-plugins-edit-excerpt-modal-close-icon"})],4),e.createCommentVNode("",!0),b[1]||(b[1]=e.createElementVNode("div",{class:"freddy-plugins-edit-excerpt-modal-header-spacing"},null,-1))]),e.createElementVNode("div",yr,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":b[0]||(b[0]=B=>i.value=B),class:"freddy-plugins-edit-excerpt-modal-textarea",placeholder:"The text thats needed",rows:"12"},null,512),[[e.vModelText,i.value]])]),e.createElementVNode("div",kr,[e.createElementVNode("div",Cr,[c.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,class:"freddy-plugins-edit-excerpt-modal-ai-btn",onClick:y},[e.createVNode(e.unref(l.IconSparkle),{class:"freddy-plugins-edit-excerpt-modal-ai-icon"}),b[2]||(b[2]=e.createElementVNode("span",{class:"freddy-plugins-edit-excerpt-modal-ai-text"}," Ask AI ",-1))])),e.createElementVNode("div",{class:"freddy-plugins-edit-excerpt-modal-action-buttons"},[e.createElementVNode("button",{class:"freddy-plugins-edit-excerpt-modal-cancel-btn",onClick:I}," Cancel "),e.createElementVNode("button",{class:"freddy-plugins-edit-excerpt-modal-save-btn",onClick:t}," Save changes ")])])])]),c.value?(e.openBlock(),e.createElementBlock("div",br,[e.createVNode(ne,{ref_key:"chatRef",ref:u,placeholder:"Type here...",messages:a.value,"enable-a-i":!0,"openai-api-key":f.openaiApiKey,"text-box-content":i.value,onSend:_,onAcceptChanges:S,onDenyChanges:v,onTextReplacement:P,onTextCompletion:k},null,8,["messages","openai-api-key","text-box-content"])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),_:1}))}}),F=l._export_sfc($r,[["__scopeId","data-v-d2e675b0"]]),Pr={class:"freddy-plugins-textarea-input-field-wrapper"},wr={class:"freddy-plugins-textarea-input-container"},_r={class:"freddy-plugins-textarea-header"},Br={class:"freddy-plugins-textarea-label-wrapper"},Sr={class:"freddy-plugins-textarea-label-container"},Er={key:0,class:"freddy-plugins-textarea-required"},qr={class:"freddy-plugins-textarea-input-wrapper"},Nr=["placeholder","disabled","readonly"],Vr={key:1,class:"freddy-plugins-textarea-diff-container"},Tr={class:"freddy-plugins-textarea-diff-content"},Dr={class:"freddy-plugins-textarea-diff-block freddy-plugins-textarea-diff-block--old"},Fr={class:"freddy-plugins-textarea-diff-block freddy-plugins-textarea-diff-block--new"},xr={key:2,class:"freddy-plugins-textarea-tags-container"},Ar={class:"freddy-plugins-textarea-tags"},Lr={class:"freddy-plugins-textarea-tag-content"},Mr=["onClick","onKeydown","aria-label"],Rr=e.defineComponent({__name:"TextAreaInputField",props:{modelValue:{default:""},label:{default:"Description"},placeholder:{default:"The text thats needed"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},tooltipTitle:{default:""},tooltipDescription:{default:""},showAiButton:{type:Boolean,default:!0},showTags:{type:Boolean,default:!1},tags:{default:()=>[]},showAddTagsPlaceholder:{type:Boolean,default:!1},addTagsPlaceholder:{default:"Add tags..."},hintText:{default:"This is a hint text to help user."},hasError:{type:Boolean,default:!1},errorMessage:{default:""},modalTitle:{default:"Edit Description"},modalDescription:{default:"Provide detailed description for your content."},openaiApiKey:{default:""},openaiModel:{default:"gpt-4o-mini"},openaiOrganization:{default:""},showUnderlines:{type:Boolean,default:!1},dynamicTitle:{default:""},showHint:{type:Boolean,default:!0},diffMode:{type:Boolean,default:!1},oldText:{default:""},newText:{default:""},tagsOnly:{type:Boolean,default:!1}},emits:["update:modelValue","input","focus","blur","ask-ai","expand","remove-tag","tooltip-click","add-tag","tags-click"],setup(f,{expose:h,emit:s}){const o=f,i=s,c=e.ref(null),a=e.ref(null),u=e.ref(o.modelValue),d=e.ref(""),t=e.ref(!1),I=e.ref("expand"),y=e.ref(!1),_=e.computed(()=>o.showTags&&o.tags.length>0?"":o.placeholder);e.watch(()=>o.modelValue,w=>{u.value=w});const S=()=>{i("update:modelValue",u.value),i("input",u.value)},v=w=>{y.value=!0,i("focus",w)},P=w=>{y.value=!1,i("blur",w)},k=w=>{},g=()=>{o.tagsOnly&&i("tags-click")},b=()=>{i("tooltip-click")},B=w=>{(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),b())},m=()=>{d.value=u.value,I.value="ai",t.value=!0,i("ask-ai",u.value)},n=w=>{(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),m())},p=()=>{d.value=u.value,I.value="expand",t.value=!0,i("expand",u.value)},$=w=>{(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),p())},C=w=>{i("remove-tag",w)},r=(w,T)=>{(w.key==="Enter"||w.key===" ")&&(w.preventDefault(),C(T))},E=()=>{u.value=d.value,i("update:modelValue",d.value),i("input",d.value),t.value=!1},q=w=>{u.value=w,i("update:modelValue",w),i("input",w),t.value=!1},G=()=>{u.value=d.value,i("update:modelValue",d.value),i("input",d.value),t.value=!1},de=()=>{i("ask-ai",u.value)},ue=w=>{};return h({focus:()=>{var w;(w=c.value)==null||w.focus()}}),(w,T)=>(e.openBlock(),e.createElementBlock("div",Pr,[e.createElementVNode("div",wr,[e.createElementVNode("div",_r,[e.createElementVNode("div",Br,[e.createElementVNode("div",Sr,[e.createElementVNode("label",{class:e.normalizeClass(["freddy-plugins-textarea-label",{"freddy-plugins-textarea-label--underlined":w.showUnderlines}])},e.toDisplayString(w.dynamicTitle||w.label),3),w.required?(e.openBlock(),e.createElementBlock("span",Er,"*")):e.createCommentVNode("",!0),w.$slots.tooltip?e.renderSlot(w.$slots,"tooltip",{key:1},void 0,!0):w.tooltipTitle||w.tooltipDescription?(e.openBlock(),e.createBlock(oe,{key:2,title:w.tooltipTitle,description:w.tooltipDescription,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("button",{type:"button",class:"freddy-plugins-textarea-tooltip-button","aria-label":"Help",tabindex:"0",onClick:b,onKeydown:B},[e.createVNode(e.unref(l.IconQuestion),{class:"freddy-plugins-textarea-tooltip-icon"})],32)]),_:1},8,["title","description"])):e.createCommentVNode("",!0)])]),w.showAiButton?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"freddy-plugins-textarea-ai-button",onClick:m,onKeydown:n,"aria-label":"Ask AI for help",tabindex:"0"},[e.createVNode(e.unref(l.IconSparkle),{class:"freddy-plugins-textarea-ai-icon"})],32)):e.createCommentVNode("",!0)]),e.createElementVNode("div",qr,[w.diffMode?e.createCommentVNode("",!0):e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:0,ref_key:"textareaRef",ref:c,"onUpdate:modelValue":T[0]||(T[0]=V=>u.value=V),class:e.normalizeClass(["freddy-plugins-textarea-input",{"freddy-plugins-textarea-input--error":w.hasError,"freddy-plugins-textarea-input--disabled":w.disabled,"freddy-plugins-textarea-input--focused":y.value,"freddy-plugins-textarea-input--with-tags":w.showTags&&w.tags.length>0,"freddy-plugins-textarea-input--tags-only":w.tagsOnly}]),placeholder:_.value,disabled:w.disabled,readonly:w.readonly||w.tagsOnly,onInput:S,onFocus:v,onBlur:P,onKeydown:k,onClick:g},null,42,Nr)),[[e.vModelText,u.value]]),w.diffMode?(e.openBlock(),e.createElementBlock("div",Vr,[e.createElementVNode("div",Tr,[e.createElementVNode("div",Dr,e.toDisplayString(w.oldText),1),e.createElementVNode("div",Fr,e.toDisplayString(w.newText),1)])])):e.createCommentVNode("",!0),w.showTags&&w.tags.length>0?(e.openBlock(),e.createElementBlock("div",xr,[e.createElementVNode("div",Ar,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.tags,(V,L)=>(e.openBlock(),e.createElementBlock("div",{key:`${V}-${L}`,class:"freddy-plugins-textarea-tag"},[e.createElementVNode("div",Lr,[e.createElementVNode("span",{class:e.normalizeClass(["freddy-plugins-textarea-tag-text",{"freddy-plugins-textarea-tag-text--underlined":w.showUnderlines}])},e.toDisplayString(V),3)]),e.createElementVNode("button",{type:"button",class:"freddy-plugins-textarea-tag-close",onClick:W=>C(L),onKeydown:W=>r(W,L),"aria-label":`Remove ${V} tag`,tabindex:"0"},[e.createVNode(e.unref(l.IconCross),{class:"freddy-plugins-textarea-tag-close-icon"})],40,Mr)]))),128))]),w.showAddTagsPlaceholder?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["freddy-plugins-textarea-add-tags",{"freddy-plugins-textarea-add-tags--underlined":w.showUnderlines}])},e.toDisplayString(w.addTagsPlaceholder),3)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("button",{type:"button",class:"freddy-plugins-textarea-expand-button",onClick:p,onKeydown:$,"aria-label":"Expand textarea",tabindex:"0"},[e.createVNode(e.unref(l.IconExpand),{class:"freddy-plugins-textarea-expand-icon"})],32)])]),w.showHint&&w.hintText&&!w.hasError?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["freddy-plugins-textarea-hint-text",{"freddy-plugins-textarea-hint-text--underlined":w.showUnderlines}])},e.toDisplayString(w.hintText),3)):e.createCommentVNode("",!0),w.hasError&&w.errorMessage?(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(["freddy-plugins-textarea-error-text",{"freddy-plugins-textarea-error-text--underlined":w.showUnderlines}])},e.toDisplayString(w.errorMessage),3)):e.createCommentVNode("",!0),I.value==="ai"?(e.openBlock(),e.createBlock(F,{key:2,ref_key:"aiModalRef",ref:a,"is-visible":t.value&&I.value==="ai",title:w.modalTitle,description:w.modalDescription,"initial-content":u.value,"openai-api-key":w.openaiApiKey,"openai-model":w.openaiModel,"openai-organization":w.openaiOrganization,"auto-show-a-i":!0,onClose:E,onSave:q,onCancel:G,onAskAI:de,onToggleAI:ue},null,8,["is-visible","title","description","initial-content","openai-api-key","openai-model","openai-organization"])):e.createCommentVNode("",!0),I.value==="expand"?(e.openBlock(),e.createBlock(F,{key:3,"is-visible":t.value&&I.value==="expand",title:w.modalTitle,description:w.modalDescription,"initial-content":u.value,"openai-api-key":"","openai-model":w.openaiModel,"openai-organization":"",onClose:E,onSave:q,onCancel:G},null,8,["is-visible","title","description","initial-content","openai-model"])):e.createCommentVNode("",!0)]))}}),te=l._export_sfc(Rr,[["__scopeId","data-v-be1e5f9b"]]),zr=e.defineComponent({__name:"Descriptions",props:{modelValue:{default:""},label:{default:"Description"},placeholder:{default:"The text thats needed"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!0},tooltipTitle:{default:""},tooltipDescription:{default:""},showAiButton:{type:Boolean,default:!0},stage:{default:"placeholder"},type:{default:"default"},destructive:{type:Boolean,default:!1},tags:{default:()=>[]},hintText:{default:"This is a hint text to help user."},errorMessage:{default:"This is an error message."},modalTitle:{default:"Edit Description"},modalDescription:{default:"Provide detailed description for your content."},openaiApiKey:{default:""},openaiModel:{default:"gpt-4o-mini"},openaiOrganization:{default:""},showUnderlines:{type:Boolean,default:!1},dynamicTitle:{default:""},showHint:{type:Boolean,default:!0},diffMode:{type:Boolean,default:!1},oldText:{default:""},newText:{default:""},tagsOnly:{type:Boolean,default:!1}},emits:["update:modelValue","input","focus","blur","ask-ai","expand","remove-tag","tooltip-click","add-tag","tags-click"],setup(f,{expose:h,emit:s}){const o=f,i=s,c=e.ref(o.modelValue),a=e.ref([...o.tags]);e.watch(()=>o.modelValue,p=>{c.value=p}),e.watch(()=>o.tags,p=>{a.value=[...p]},{deep:!0});const u=e.computed(()=>o.type==="tags"),d=e.computed(()=>o.type==="tags"&&(o.stage==="placeholder"||o.stage==="focused")),t=e.computed(()=>(o.stage==="focused","Add tags...")),I=e.computed(()=>o.stage==="error"||o.destructive);e.computed(()=>I.value&&o.destructive?o.errorMessage:o.hintText),e.computed(()=>o.stage==="placeholder"?o.placeholder:o.stage==="focused"&&o.type==="tags"||o.stage==="default"||o.stage==="focused"?"":o.placeholder);const y=p=>{c.value=p,i("update:modelValue",p)},_=p=>{i("input",p)},S=p=>{i("focus",p)},v=p=>{i("blur",p)},P=p=>{i("ask-ai",p)},k=p=>{i("expand",p)},g=p=>{a.value.splice(p,1),i("remove-tag",p)},b=()=>{i("tooltip-click")},B=p=>{i("add-tag",p)},m=()=>{i("tags-click")};return h({focus:()=>{}}),(p,$)=>(e.openBlock(),e.createBlock(te,{modelValue:c.value,"onUpdate:modelValue":[$[0]||($[0]=C=>c.value=C),y],label:p.label,placeholder:p.placeholder,disabled:p.disabled,readonly:p.readonly,required:p.required,"tooltip-title":p.tooltipTitle,"tooltip-description":p.tooltipDescription,"show-ai-button":p.showAiButton,"show-tags":u.value,tags:a.value,"show-add-tags-placeholder":d.value,"add-tags-placeholder":t.value,"hint-text":p.hintText,"has-error":I.value,"error-message":p.errorMessage,"modal-title":p.modalTitle,"modal-description":p.modalDescription,"openai-api-key":p.openaiApiKey,"openai-model":p.openaiModel,"openai-organization":p.openaiOrganization,"show-underlines":p.showUnderlines,"dynamic-title":p.dynamicTitle,"show-hint":p.showHint,"diff-mode":p.diffMode,"old-text":p.oldText,"new-text":p.newText,"tags-only":p.tagsOnly,onInput:_,onFocus:S,onBlur:v,onAskAi:P,onExpand:k,onRemoveTag:g,onTooltipClick:b,onAddTag:B,onTagsClick:m},null,8,["modelValue","label","placeholder","disabled","readonly","required","tooltip-title","tooltip-description","show-ai-button","show-tags","tags","show-add-tags-placeholder","add-tags-placeholder","hint-text","has-error","error-message","modal-title","modal-description","openai-api-key","openai-model","openai-organization","show-underlines","dynamic-title","show-hint","diff-mode","old-text","new-text","tags-only"]))}}),Hr=l._export_sfc(zr,[["__scopeId","data-v-9bdd8550"]]),Or={class:"freddy-plugins-diff-container"},Ur=["innerHTML"],Kr=["placeholder"],jr=e.defineComponent({__name:"DiffTextarea",props:{modelValue:{},placeholder:{default:"Enter your text..."},originalText:{},improvedText:{},showDiff:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(f,{expose:h,emit:s}){const o=f,i=s,c=e.ref(null),a=e.ref(o.modelValue);e.watch(()=>o.modelValue,t=>{a.value=t});const u=()=>{i("update:modelValue",a.value)},d=e.computed(()=>{if(!o.originalText||!o.improvedText)return"";const t=o.originalText.split(/(\s+)/),I=o.improvedText.split(/(\s+)/);let y="";const _=t.filter(v=>!I.includes(v)&&v.trim()).join(" ");_&&(y+=`<span class="freddy-plugins-diff-removed">${_}</span>`);const S=I.filter(v=>!t.includes(v)&&v.trim()).join(" ");return S&&(y&&(y+="<br>"),y+=`<span class="freddy-plugins-diff-added">${S}</span>`),y||(y=`<span class="freddy-plugins-diff-improved">${o.improvedText}</span>`),y});return h({focus:()=>{var t;return(t=c.value)==null?void 0:t.focus()},blur:()=>{var t;return(t=c.value)==null?void 0:t.blur()}}),(t,I)=>(e.openBlock(),e.createElementBlock("div",Or,[t.showDiff&&d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"freddy-plugins-diff-preview",innerHTML:d.value},null,8,Ur)):e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:1,ref_key:"textareaRef",ref:c,"onUpdate:modelValue":I[0]||(I[0]=y=>a.value=y),class:"freddy-plugins-diff-textarea",placeholder:t.placeholder,onInput:u},null,40,Kr)),[[e.vModelText,a.value]])]))}}),Gr=l._export_sfc(jr,[["__scopeId","data-v-54efeaf3"]]),Wr=["aria-checked","tabindex","onKeydown","disabled"],re=e.defineComponent({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean},size:{}},emits:["update:modelValue"],setup(f,{emit:h}){l.useTheme();const s=f,o=h;function i(c){c.stopPropagation(),s.disabled||o("update:modelValue",!s.modelValue)}return(c,a)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["freddy-plugins-switch",{"freddy-plugins-switch--on":c.modelValue,"freddy-plugins-switch--disabled":c.disabled,[`freddy-plugins-switch--${c.size}`]:!0}]),"aria-checked":c.modelValue,role:"switch",tabindex:c.disabled?-1:0,onClick:i,onKeydown:[e.withKeys(e.withModifiers(i,["prevent"]),["space"]),e.withKeys(e.withModifiers(i,["prevent"]),["enter"])],disabled:c.disabled},[...a[0]||(a[0]=[e.createElementVNode("span",{class:"freddy-plugins-switch__track"},null,-1),e.createElementVNode("span",{class:"freddy-plugins-switch__thumb"},null,-1)])],42,Wr))}}),Zr={key:0,class:"freddy-plugins-dropdown-search-bar"},Jr=["placeholder"],Qr={class:"freddy-plugins-dropdown-options"},Yr=["onClick"],Xr={class:"freddy-plugins-dropdown-option-label"},es={key:1,class:"freddy-plugins-dropdown-option-shortcut"},os={key:0,class:"freddy-plugins-dropdown-no-options"},ns=e.defineComponent({__name:"Dropdown",props:{label:{default:"Select"},size:{default:"sm"},iconOnly:{type:Boolean,default:!1},options:{default:()=>[]},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Search..."},openUp:{type:Boolean,default:!1},chevronRight:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},customIcon:{default:null},optionIconRight:{type:Boolean,default:!1},showShortcut:{type:Boolean,default:!1},background:{default:"transparent"},borderRadius:{default:"8px"},activeBackground:{default:"var(--freddy-bg-tertiary)"},openBackground:{default:"var(--freddy-bg-tertiary)"},variant:{default:"primary"},stayOpen:{type:Boolean,default:!1}},emits:["select","toggle"],setup(f,{emit:h}){const s=f,o=h,i=e.ref(!1),c=e.ref(""),a=e.ref(null),u=e.shallowRef([...s.options]);e.watch(()=>s.options,b=>{u.value=[...b]});const d=()=>{if(a.value)return;const b=u.value.find(B=>B.default);b&&(a.value=b)};e.watch(u,()=>{d()},{immediate:!0});const t=e.computed(()=>s.label!=="Select"?s.label:a.value?a.value.label:"Select"),I=e.computed(()=>s.showIcon?s.customIcon?s.customIcon:s.openUp?l.IconChevronUp:l.IconChevronDown:null),y=()=>{i.value=!i.value,i.value||(c.value="")},_=()=>{i.value=!1,c.value=""},S=e.computed(()=>!s.searchable||!c.value?u.value:u.value.filter(b=>b.label.toLowerCase().includes(c.value.toLowerCase()))),v=(b,B)=>{b.type!=="toggle"&&P(b)},P=b=>{a.value=b,o("select",b),s.stayOpen||_()},k=(b,B)=>{const m=u.value.findIndex(n=>n.value===b.value);m!==-1&&(u.value[m].checked=B),o("toggle",{...b,checked:B})},g=b=>{b.target.closest(".freddy-plugins-dropdown-wrapper")||_()};return e.watch(i,b=>{b?setTimeout(()=>{document.addEventListener("click",g)},0):document.removeEventListener("click",g)}),(b,B)=>(e.openBlock(),e.createElementBlock("div",{class:"freddy-plugins-dropdown-wrapper",onKeydown:e.withKeys(_,["esc"]),tabindex:"0"},[e.createVNode(j,{class:"freddy-plugins-dropdown-trigger",label:t.value,iconOnly:b.iconOnly,rightIcon:b.chevronRight&&b.showIcon?I.value:void 0,leftIcon:!b.chevronRight&&b.showIcon?I.value:void 0,size:b.size,hierarchy:"tertiary",onClick:y,"aria-expanded":i.value,"aria-haspopup":!0,type:"button"},{default:e.withCtx(()=>[e.renderSlot(b.$slots,"button",{},()=>[e.createTextVNode(e.toDisplayString(t.value),1)])]),_:3},8,["label","iconOnly","rightIcon","leftIcon","size","aria-expanded"]),i.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["freddy-plugins-dropdown-menu",{"freddy-plugins-dropdown-menu--up":b.openUp,"freddy-plugins-dropdown-menu--down":!b.openUp}])},[b.searchable?(e.openBlock(),e.createElementBlock("div",Zr,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":B[0]||(B[0]=m=>c.value=m),type:"text",class:"freddy-plugins-dropdown-search-input",placeholder:b.searchPlaceholder},null,8,Jr),[[e.vModelText,c.value]])])):e.createCommentVNode("",!0),e.createElementVNode("ul",Qr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,m=>(e.openBlock(),e.createElementBlock("li",{key:m.value,class:e.normalizeClass(["freddy-plugins-dropdown-option",{"freddy-plugins-dropdown-option--toggle":m.type==="toggle"}]),onClick:n=>v(m)},[e.createElementVNode("span",Xr,[!b.optionIconRight&&m.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m.icon),{key:0,class:"freddy-plugins-dropdown-option-icon"})):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(m.label),1),b.showShortcut&&m.shortcut?(e.openBlock(),e.createElementBlock("span",es,e.toDisplayString(m.shortcut),1)):e.createCommentVNode("",!0),b.optionIconRight&&m.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m.icon),{key:2,class:"freddy-plugins-dropdown-option-icon freddy-plugins-dropdown-option-icon--right"})):e.createCommentVNode("",!0)]),m.type==="toggle"?(e.openBlock(),e.createBlock(re,{key:0,modelValue:m.checked??!1,size:s.size,"onUpdate:modelValue":n=>{k(m,n)},onClick:B[1]||(B[1]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","size","onUpdate:modelValue"])):e.createCommentVNode("",!0)],10,Yr))),128)),S.value.length===0?(e.openBlock(),e.createElementBlock("li",os,[e.renderSlot(b.$slots,"no-options",{},()=>[B[2]||(B[2]=e.createTextVNode("No options",-1))])])):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],32))}}),ts={class:"verification-container"},rs={class:"verification-header"},ss={class:"verification-subtitle"},is={class:"code-input-container"},ls={class:"code-inputs"},cs=["onUpdate:modelValue","onInput","onKeydown","disabled"],as={class:"verification-actions"},ds={key:0,class:"error-message"},us={class:"verification-footer"},hs={class:"resend-text"},ps=["disabled"],ms=e.defineComponent({__name:"EmailCodeVerification",props:{email:{},brand:{default:"contentplate"},loading:{type:Boolean,default:!1},error:{default:""},resendCooldown:{default:0}},emits:["verify","resend"],setup(f,{emit:h}){const s=f,{brand:o,loading:i,error:c,resendCooldown:a}=s,u=h,d=e.ref(["","","",""]),t=e.ref([]),I=e.computed(()=>d.value.every(g=>g!=="")),y=e.computed(()=>d.value.join("")),_=(g,b)=>{const B=b.target,m=B.value;if(!/^\d*$/.test(m)){B.value="";return}d.value[g]=m,m&&g<3&&e.nextTick(()=>{var n;(n=t.value[g+1])==null||n.focus()})},S=(g,b)=>{b.key==="Backspace"&&!d.value[g]&&g>0&&e.nextTick(()=>{var B;(B=t.value[g-1])==null||B.focus()})},v=g=>{var p;g.preventDefault();const b=(p=g.clipboardData)==null?void 0:p.getData("text");if(!b)return;const B=b.replace(/\D/g,"").slice(0,4).split("");d.value=[...B,"","","",""].slice(0,4);const m=d.value.findIndex($=>$===""),n=m===-1?3:m;e.nextTick(()=>{var $;($=t.value[n])==null||$.focus()})},P=()=>{I.value&&u("verify",y.value)},k=()=>{u("resend")};return e.onMounted(()=>{e.nextTick(()=>{var g;(g=t.value[0])==null||g.focus()})}),(g,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["email-verification",`email-verification--${e.unref(o)}`])},[e.createElementVNode("div",ts,[e.createElementVNode("div",rs,[b[1]||(b[1]=e.createElementVNode("h2",{class:"verification-title"},"Verify Your Email",-1)),e.createElementVNode("p",ss,[b[0]||(b[0]=e.createTextVNode(" We've sent a 4-digit verification code to ",-1)),e.createElementVNode("strong",null,e.toDisplayString(g.email),1)])]),e.createElementVNode("form",{onSubmit:e.withModifiers(P,["prevent"]),class:"verification-form"},[e.createElementVNode("div",is,[e.createElementVNode("div",ls,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(4,(B,m)=>e.withDirectives(e.createElementVNode("input",{key:m,ref_for:!0,ref:n=>t.value[m]=n,"onUpdate:modelValue":n=>d.value[m]=n,type:"text",maxlength:"1",class:e.normalizeClass(["code-input",`code-input--${e.unref(o)}`]),onInput:n=>_(m,n),onKeydown:n=>S(m,n),onPaste:v,disabled:e.unref(i),autocomplete:"one-time-code"},null,42,cs),[[e.vModelText,d.value[m]]])),64))])]),e.createElementVNode("div",as,[e.createVNode(j,{type:"submit",label:e.unref(i)?"Verifying...":"Verify Code",hierarchy:"primary",size:"lg",loading:e.unref(i),disabled:!I.value||e.unref(i),class:e.normalizeClass(`verify-button verify-button--${e.unref(o)}`)},null,8,["label","loading","disabled","class"])]),e.unref(c)?(e.openBlock(),e.createElementBlock("div",ds,e.toDisplayString(e.unref(c)),1)):e.createCommentVNode("",!0),e.createElementVNode("div",us,[e.createElementVNode("p",hs,[b[2]||(b[2]=e.createTextVNode(" Didn't receive the code? ",-1)),e.createElementVNode("button",{type:"button",class:"resend-button",disabled:e.unref(a)>0,onClick:k},e.toDisplayString(e.unref(a)>0?`Resend in ${e.unref(a)}s`:"Resend code"),9,ps)])])],32)])],2))}}),vs={class:"freddy-plugins-input-field-wrapper"},fs=["for"],Is={key:0,class:"freddy-plugins-required-asterisk"},gs=e.defineComponent({__name:"BaseInput",props:{size:{default:"md"},colorStyle:{default:"freddy"},state:{default:"placeholder"},destructive:{type:Boolean,default:!1},required:{type:Boolean,default:!1},label:{default:""},hintText:{default:""},disabled:{type:Boolean,default:!1}},emits:["focus","blur"],setup(f,{expose:h,emit:s}){const o=f,i=s,c=e.computed(()=>`input-${Math.random().toString(36).substr(2,9)}`),a=e.computed(()=>({[`freddy-plugins-input-field-container--${o.size}`]:!0,[`freddy-plugins-input-field-container--${o.colorStyle}`]:!0,"freddy-plugins-input-field-container--destructive":o.destructive||o.state==="error","freddy-plugins-input-field-container--focused":o.state==="focused","freddy-plugins-input-field-container--disabled":o.state==="disabled","freddy-plugins-input-field-container--loading":o.state==="loading","freddy-plugins-input-field-container--success":o.state==="success"})),u=()=>{o.state!=="disabled"&&i("focus",new FocusEvent("focus"))};return h({inputId:c,containerClasses:a,focusInput:u}),(d,t)=>(e.openBlock(),e.createElementBlock("div",vs,[d.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:c.value,class:e.normalizeClass(["freddy-plugins-input-field-label",`freddy-plugins-input-field-label--${d.colorStyle}`])},[e.createTextVNode(e.toDisplayString(d.label)+" ",1),d.required?(e.openBlock(),e.createElementBlock("span",Is,"*")):e.createCommentVNode("",!0)],10,fs)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-input-field-container",a.value]),onClick:u},[e.renderSlot(d.$slots,"default",{},void 0,!0)],2),d.hintText?(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(["freddy-plugins-input-hint-text",`freddy-plugins-input-hint-text--${d.colorStyle}`])},e.toDisplayString(d.hintText),3)):e.createCommentVNode("",!0)]))}}),x=l._export_sfc(gs,[["__scopeId","data-v-bb114a19"]]),ys=["src","alt"],ks=["id","placeholder","disabled","readonly","maxlength"],Cs=e.defineComponent({__name:"CardInput",props:{cardNumber:{default:""},cardType:{default:"unknown"},maskInput:{type:Boolean,default:!0},showCardIcon:{type:Boolean,default:!0},placeholder:{default:"1234 5678 9012 3456"},trailingIcon:{},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},size:{default:"md"},colorStyle:{default:"freddy"},state:{default:"placeholder"},destructive:{type:Boolean,default:!1},variant:{},type:{},label:{default:""},hintText:{default:""},required:{type:Boolean,default:!1},value:{},modelValue:{},inputType:{},leadingIcon:{},tooltipText:{},iconLeading:{type:Boolean},helpIcon:{type:Boolean},helpText:{},leadingDropdownText:{},trailingDropdownText:{},leadingText:{},trailingButtonText:{},countryCode:{},countryOptions:{},phoneNumber:{},currency:{},currencyOptions:{},amount:{},showCurrencySymbol:{type:Boolean},protocol:{},allowProtocolChange:{type:Boolean},url:{},tags:{},maxTags:{},allowDuplicates:{type:Boolean},tagSeparators:{},suggestions:{},copyText:{},showCopyButton:{type:Boolean},copySuccessMessage:{}},emits:["update:cardNumber","card-type-detected","update:modelValue","input","focus","blur","trailing-icon-click","keydown","leading-icon-click","trailing-button-click","update:countryCode","update:phoneNumber","country-change","update:currency","update:amount","currency-change","update:protocol","update:url","protocol-change","update:tags","tag-added","tag-removed","max-tags-reached","copy-success","copy-error"],setup(f,{expose:h,emit:s}){const o=f,i=s,c=e.ref(null),a=e.ref(null),u=e.ref(""),d=e.ref(""),t=e.ref("unknown"),I=e.computed(()=>({size:o.size,colorStyle:o.colorStyle,state:o.state,destructive:o.destructive,required:o.required,label:o.label,hintText:o.hintText,disabled:o.disabled})),y=C=>C?typeof C=="object"?C:typeof C=="string"?e.defineAsyncComponent(()=>U(Object.assign({"../../icons/IconAddChatPop.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconAddChatPop$1),"../../icons/IconAddFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconAddFileSystem$1),"../../icons/IconAddPeople.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconAddPeople$1),"../../icons/IconAitronos.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconAitronos$1),"../../icons/IconApple.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconApple$1),"../../icons/IconApplePay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconApplePay$1),"../../icons/IconAppsGrid.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconAppsGrid$1),"../../icons/IconArrowDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconArrowDown$1),"../../icons/IconArrowLeft.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconArrowLeft$1),"../../icons/IconArrowUp.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconArrowUp$1),"../../icons/IconBadgeCheck.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconBadgeCheck$1),"../../icons/IconBroom.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconBroom$1),"../../icons/IconBuildings.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconBuildings$1),"../../icons/IconCalendarWithTickInside.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCalendarWithTickInside$1),"../../icons/IconCallNotAllowed.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCallNotAllowed$1),"../../icons/IconCardPay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCardPay$1),"../../icons/IconCaution.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCaution$1),"../../icons/IconChangeLog.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconChangeLog$1),"../../icons/IconCheckCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCheckCircleFill$1),"../../icons/IconCheckInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCheckInCircle$1),"../../icons/IconCheckRounded.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCheckRounded$1),"../../icons/IconChevronDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconChevronDown$1),"../../icons/IconChevronLeft.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconChevronLeft$1),"../../icons/IconChevronRight.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconChevronRight$1),"../../icons/IconChevronUp.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconChevronUp$1),"../../icons/IconCircledCheck.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCircledCheck$1),"../../icons/IconClock.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconClock$1),"../../icons/IconClosedEnvelope.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconClosedEnvelope$1),"../../icons/IconCloudUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCloudUpload$1),"../../icons/IconConnectorConfluence.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconConnectorConfluence$1),"../../icons/IconConnectorFigma.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconConnectorFigma$1),"../../icons/IconConnectorFreshDesk.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconConnectorFreshDesk$1),"../../icons/IconConnectorGitHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconConnectorGitHub$1),"../../icons/IconConnectorJira.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconConnectorJira$1),"../../icons/IconConnectorLinear.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconConnectorLinear$1),"../../icons/IconConnectorNotion.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconConnectorNotion$1),"../../icons/IconConnectorSlack.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconConnectorSlack$1),"../../icons/IconConnectorZapier.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconConnectorZapier$1),"../../icons/IconCopy.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCopy$1),"../../icons/IconCross.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCross$1),"../../icons/IconCrossCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCrossCircleFill$1),"../../icons/IconCrossInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCrossInCircle$1),"../../icons/IconCurrentTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconCurrentTick$1),"../../icons/IconDataUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconDataUpload$1),"../../icons/IconDelete.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconDelete$1),"../../icons/IconDeleteFillRed.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconDeleteFillRed$1),"../../icons/IconDialingPhone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconDialingPhone$1),"../../icons/IconDisabledAlert.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconDisabledAlert$1),"../../icons/IconDocumentation.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconDocumentation$1),"../../icons/IconDownload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconDownload$1),"../../icons/IconDribbble.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconDribbble$1),"../../icons/IconDropdownArrow.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconDropdownArrow$1),"../../icons/IconEdit.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconEdit$1),"../../icons/IconEditLinePath.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconEditLinePath$1),"../../icons/IconEllipse.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconEllipse),"../../icons/IconExcelThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconExcelThumbnail$1),"../../icons/IconExpand.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconExpand$1),"../../icons/IconEye.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconEye$1),"../../icons/IconFacebook.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFacebook$1),"../../icons/IconFigma.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFigma$1),"../../icons/IconFile.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFile$1),"../../icons/IconFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFileSystem$1),"../../icons/IconFileUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFileUpload$1),"../../icons/IconFilter.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFilter$1),"../../icons/IconFolder.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFolder$1),"../../icons/IconFreddyHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFreddyHub$1),"../../icons/IconFreddyHubLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFreddyHubLogo$1),"../../icons/IconFreddyHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFreddyHubNewLogo$1),"../../icons/IconFreddyHubTitle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFreddyHubTitle),"../../icons/IconFreddySmall.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconFreddySmall$1),"../../icons/IconGlobExpand.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconGlobExpand$1),"../../icons/IconGlobe.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconGlobe$1),"../../icons/IconGoogle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconGoogle$1),"../../icons/IconHollowCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconHollowCircle$1),"../../icons/IconHome.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconHome$1),"../../icons/IconInfoRounded.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconInfoRounded$1),"../../icons/IconInvalidInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconInvalidInvoice$1),"../../icons/IconInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconInvoice$1),"../../icons/IconInvoiceSwitch.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconInvoiceSwitch$1),"../../icons/IconLapTableBottom.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconLapTableBottom$1),"../../icons/IconLense.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconLense$1),"../../icons/IconLightCross.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconLightCross$1),"../../icons/IconLink04.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconLink04$1),"../../icons/IconLoadingError.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconLoadingError$1),"../../icons/IconLoadingOrg.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconLoadingOrg$1),"../../icons/IconLocationWithCircleIn.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconLocationWithCircleIn$1),"../../icons/IconLock.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconLock$1),"../../icons/IconMarketPlace.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconMarketPlace$1),"../../icons/IconMaximize.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconMaximize$1),"../../icons/IconMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconMicrophone$1),"../../icons/IconMutedMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconMutedMicrophone$1),"../../icons/IconNewNotification.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconNewNotification$1),"../../icons/IconNewTab.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconNewTab$1),"../../icons/IconNotification.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconNotification$1),"../../icons/IconOpenBook.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconOpenBook$1),"../../icons/IconPaperAirPlane.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPaperAirPlane$1),"../../icons/IconPauseCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPauseCircle$1),"../../icons/IconPdfThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPdfThumbnail$1),"../../icons/IconPenEdit.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPenEdit$1),"../../icons/IconPencil.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPencil$1),"../../icons/IconPeopleHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPeopleHub$1),"../../icons/IconPersonCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPersonCircle$1),"../../icons/IconPits.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPits$1),"../../icons/IconPlay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPlay$1),"../../icons/IconPlus.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPlus$1),"../../icons/IconPolygonDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPolygonDown$1),"../../icons/IconPresentation.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPresentation$1),"../../icons/IconProgressBase.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconProgressBase$1),"../../icons/IconProgressComplete.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconProgressComplete$1),"../../icons/IconProgressGoing.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconProgressGoing$1),"../../icons/IconPurpose.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPurpose$1),"../../icons/IconPurseCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconPurseCircleFill$1),"../../icons/IconQuestion.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconQuestion$1),"../../icons/IconRadio.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconRadio$1),"../../icons/IconRadioFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconRadioFill$1),"../../icons/IconRefresh.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconRefresh$1),"../../icons/IconRevertedTriangle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconRevertedTriangle$1),"../../icons/IconRobotScreen.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconRobotScreen$1),"../../icons/IconRoundTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconRoundTick$1),"../../icons/IconSearch.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSearch$1),"../../icons/IconSearchOptimised.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSearchOptimised$1),"../../icons/IconSectionHide.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSectionHide$1),"../../icons/IconSend.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSend$1),"../../icons/IconSettings.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSettings$1),"../../icons/IconSettingsBold.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSettingsBold$1),"../../icons/IconSize.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSize$1),"../../icons/IconSliderKnobs.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSliderKnobs$1),"../../icons/IconSortIdle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSortIdle$1),"../../icons/IconSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSparkle$1),"../../icons/IconSpotlio.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSpotlio$1),"../../icons/IconStar.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconStar$1),"../../icons/IconStatistics.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconStatistics$1),"../../icons/IconStopChat.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconStopChat$1),"../../icons/IconStreamLineHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconStreamLineHub$1),"../../icons/IconStreamLineHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconStreamLineHubNewLogo$1),"../../icons/IconSun.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSun$1),"../../icons/IconSwap.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconSwap$1),"../../icons/IconText.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconText$1),"../../icons/IconTextThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconTextThumbnail$1),"../../icons/IconThinDocument.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconThinDocument$1),"../../icons/IconThinFile.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconThinFile$1),"../../icons/IconThumbsDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconThumbsDown$1),"../../icons/IconTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconTick$1),"../../icons/IconUser.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconUser$1),"../../icons/IconVerticalDots.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconVerticalDots$1),"../../icons/IconVideoCamera.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconVideoCamera$1),"../../icons/IconWarningOctal.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconWarningOctal$1),"../../icons/IconX.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconX$1),"../../icons/IconZip.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(r=>r.IconZip)}),`../../icons/${C}.vue`,4).catch(()=>({template:"<div></div>"}))):null:null,_=e.computed(()=>y(o.trailingIcon)),S=e.computed(()=>{switch(t.value){case"amex":return 17;default:return 19}}),v=e.computed(()=>({[`freddy-plugins-input-field--${o.size}`]:!0,[`freddy-plugins-input-field--${o.colorStyle}`]:!0,"freddy-plugins-input-field--destructive":o.destructive,"freddy-plugins-input-field--focused":o.state==="focused","freddy-plugins-input-field--disabled":o.state==="disabled","freddy-plugins-input-field--with-leading":o.showCardIcon&&t.value!=="unknown","freddy-plugins-input-field--with-trailing":!!_.value})),P=C=>{const r=C.replace(/\D/g,"");return/^4/.test(r)?"visa":/^5[1-5]/.test(r)||/^2[2-7]/.test(r)?"mastercard":/^3[47]/.test(r)?"amex":/^6/.test(r)?"discover":"unknown"},k=C=>{const r=C.replace(/\D/g,"");return P(r)==="amex"?r.replace(/(\d{4})(\d{6})(\d{5})/,"$1 $2 $3").replace(/(\d{4})(\d{1,6})/,"$1 $2").substring(0,17):r.replace(/(\d{4})(\d{4})(\d{4})(\d{4})/,"$1 $2 $3 $4").replace(/(\d{4})(\d{4})(\d{4})/,"$1 $2 $3").replace(/(\d{4})(\d{4})/,"$1 $2").replace(/(\d{4})/,"$1").substring(0,19)},g=C=>{const r={visa:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCA0MCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjI0IiByeD0iNCIgZmlsbD0iIzAwNTFBNSIvPgo8cGF0aCBkPSJNMTYuNzUgN0wxNC4yNSAxN0gxMS43NUwxMy41IDEwLjVMMTIuMjUgOC41SDEwLjc1TDEyLjc1IDdIMTYuNzVaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMjkuMjUgN0wyNi43NSAxN0gyNC4yNUwyNi43NSA3SDI5LjI1WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+",mastercard:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCA0MCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjI0IiByeD0iNCIgZmlsbD0iI0VCMDAxQiIvPgo8Y2lyY2xlIGN4PSIxNSIgY3k9IjEyIiByPSI3IiBmaWxsPSIjRkY1RjAwIi8+CjxjaXJjbGUgY3g9IjI1IiBjeT0iMTIiIHI9IjciIGZpbGw9IiNGRkY1RjAiLz4KPC9zdmc+",amex:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCA0MCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjI0IiByeD0iNCIgZmlsbD0iIzAwNkZDRiIvPgo8cGF0aCBkPSJNMTAgOEgxNEwxNiAxMkwxOCA4SDIyTDE4IDE2SDE0TDEyIDEyTDEwIDE2SDZMMTAgOFoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0yNCA4SDMwVjEwSDI2VjEySDI5VjE0SDI2VjE2SDMwVjE4SDI0VjhaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4=",discover:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCA0MCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjI0IiByeD0iNCIgZmlsbD0iI0ZGNjAwMCIvPgo8cGF0aCBkPSJNOCA4SDE2VjE2SDhWOFoiIGZpbGw9IndoaXRlIi8+CjxjaXJjbGUgY3g9IjI4IiBjeT0iMTIiIHI9IjYiIGZpbGw9IndoaXRlIi8+CjwvdXZnPg==",unknown:""};return r[C]||r.unknown},b=C=>{const E=C.target.value;u.value=E.replace(/\D/g,""),d.value=k(E);const q=P(u.value);q!==t.value&&(t.value=q,i("card-type-detected",q)),i("update:modelValue",d.value),i("update:cardNumber",u.value),i("input",d.value)},B=C=>{[8,9,27,13,46].indexOf(C.keyCode)!==-1||C.keyCode===65&&C.ctrlKey===!0||C.keyCode===67&&C.ctrlKey===!0||C.keyCode===86&&C.ctrlKey===!0||C.keyCode===88&&C.ctrlKey===!0||C.keyCode>=35&&C.keyCode<=39||(C.shiftKey||C.keyCode<48||C.keyCode>57)&&(C.keyCode<96||C.keyCode>105)&&C.preventDefault()},m=C=>{i("focus",C)},n=C=>{i("blur",C)},p=C=>{i("trailing-icon-click",C)},$=()=>{var C;(C=c.value)==null||C.focus()};return e.watch(()=>o.cardNumber,C=>{C!==u.value&&(u.value=C,d.value=k(C),t.value=P(C))},{immediate:!0}),h({focus:$,inputRef:c}),(C,r)=>(e.openBlock(),e.createBlock(x,e.mergeProps(I.value,{onFocus:m,onBlur:n}),{default:e.withCtx(()=>{var E;return[C.showCardIcon&&t.value!=="unknown"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["freddy-plugins-card-type-icon",`freddy-plugins-card-type-icon--${C.colorStyle}`])},[e.createElementVNode("img",{src:g(t.value),alt:`${t.value} card`,class:"freddy-plugins-card-icon-image"},null,8,ys)],2)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{id:(E=a.value)==null?void 0:E.inputId,ref_key:"inputRef",ref:c,"onUpdate:modelValue":r[0]||(r[0]=q=>d.value=q),type:"text",inputmode:"numeric",placeholder:C.placeholder,disabled:C.disabled,readonly:C.readonly,maxlength:S.value,class:e.normalizeClass(["freddy-plugins-input-field freddy-plugins-card-input-field",v.value]),onInput:b,onKeydown:B,onFocus:m,onBlur:n},null,42,ks),[[e.vModelText,d.value]]),_.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(_.value),{key:1,class:e.normalizeClass(["freddy-plugins-input-trailing-icon",`freddy-plugins-input-trailing-icon--${C.colorStyle}`]),onClick:p},null,8,["class"])):e.createCommentVNode("",!0)]}),_:1},16))}}),se=l._export_sfc(Cs,[["__scopeId","data-v-3a6797a1"]]),bs=["id","type","placeholder","disabled","readonly"],$s=e.defineComponent({__name:"DefaultInput",props:{placeholder:{default:""},inputType:{default:"text"},modelValue:{default:""},readonly:{type:Boolean,default:!1},leadingIcon:{},trailingIcon:{},tooltipText:{},size:{default:"md"},colorStyle:{default:"freddy"},state:{default:"placeholder"},destructive:{type:Boolean,default:!1},required:{type:Boolean,default:!1},label:{default:""},hintText:{default:""},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","input","focus","blur","keydown","leading-icon-click","trailing-icon-click"],setup(f,{expose:h,emit:s}){const o=f,i=s,c=e.ref(null),a=e.ref(null),u=e.ref(o.modelValue||""),d=e.computed(()=>({size:o.size,colorStyle:o.colorStyle,state:o.state,destructive:o.destructive,required:o.required,label:o.label,hintText:o.hintText,disabled:o.disabled})),t=m=>m?typeof m=="object"?m:typeof m=="string"?e.defineAsyncComponent(()=>U(Object.assign({"../../icons/IconAddChatPop.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconAddChatPop$1),"../../icons/IconAddFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconAddFileSystem$1),"../../icons/IconAddPeople.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconAddPeople$1),"../../icons/IconAitronos.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconAitronos$1),"../../icons/IconApple.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconApple$1),"../../icons/IconApplePay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconApplePay$1),"../../icons/IconAppsGrid.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconAppsGrid$1),"../../icons/IconArrowDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconArrowDown$1),"../../icons/IconArrowLeft.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconArrowLeft$1),"../../icons/IconArrowUp.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconArrowUp$1),"../../icons/IconBadgeCheck.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconBadgeCheck$1),"../../icons/IconBroom.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconBroom$1),"../../icons/IconBuildings.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconBuildings$1),"../../icons/IconCalendarWithTickInside.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCalendarWithTickInside$1),"../../icons/IconCallNotAllowed.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCallNotAllowed$1),"../../icons/IconCardPay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCardPay$1),"../../icons/IconCaution.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCaution$1),"../../icons/IconChangeLog.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconChangeLog$1),"../../icons/IconCheckCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCheckCircleFill$1),"../../icons/IconCheckInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCheckInCircle$1),"../../icons/IconCheckRounded.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCheckRounded$1),"../../icons/IconChevronDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconChevronDown$1),"../../icons/IconChevronLeft.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconChevronLeft$1),"../../icons/IconChevronRight.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconChevronRight$1),"../../icons/IconChevronUp.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconChevronUp$1),"../../icons/IconCircledCheck.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCircledCheck$1),"../../icons/IconClock.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconClock$1),"../../icons/IconClosedEnvelope.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconClosedEnvelope$1),"../../icons/IconCloudUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCloudUpload$1),"../../icons/IconConnectorConfluence.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconConnectorConfluence$1),"../../icons/IconConnectorFigma.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconConnectorFigma$1),"../../icons/IconConnectorFreshDesk.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconConnectorFreshDesk$1),"../../icons/IconConnectorGitHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconConnectorGitHub$1),"../../icons/IconConnectorJira.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconConnectorJira$1),"../../icons/IconConnectorLinear.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconConnectorLinear$1),"../../icons/IconConnectorNotion.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconConnectorNotion$1),"../../icons/IconConnectorSlack.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconConnectorSlack$1),"../../icons/IconConnectorZapier.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconConnectorZapier$1),"../../icons/IconCopy.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCopy$1),"../../icons/IconCross.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCross$1),"../../icons/IconCrossCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCrossCircleFill$1),"../../icons/IconCrossInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCrossInCircle$1),"../../icons/IconCurrentTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconCurrentTick$1),"../../icons/IconDataUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconDataUpload$1),"../../icons/IconDelete.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconDelete$1),"../../icons/IconDeleteFillRed.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconDeleteFillRed$1),"../../icons/IconDialingPhone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconDialingPhone$1),"../../icons/IconDisabledAlert.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconDisabledAlert$1),"../../icons/IconDocumentation.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconDocumentation$1),"../../icons/IconDownload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconDownload$1),"../../icons/IconDribbble.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconDribbble$1),"../../icons/IconDropdownArrow.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconDropdownArrow$1),"../../icons/IconEdit.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconEdit$1),"../../icons/IconEditLinePath.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconEditLinePath$1),"../../icons/IconEllipse.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconEllipse),"../../icons/IconExcelThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconExcelThumbnail$1),"../../icons/IconExpand.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconExpand$1),"../../icons/IconEye.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconEye$1),"../../icons/IconFacebook.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFacebook$1),"../../icons/IconFigma.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFigma$1),"../../icons/IconFile.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFile$1),"../../icons/IconFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFileSystem$1),"../../icons/IconFileUpload.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFileUpload$1),"../../icons/IconFilter.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFilter$1),"../../icons/IconFolder.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFolder$1),"../../icons/IconFreddyHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFreddyHub$1),"../../icons/IconFreddyHubLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFreddyHubLogo$1),"../../icons/IconFreddyHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFreddyHubNewLogo$1),"../../icons/IconFreddyHubTitle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFreddyHubTitle),"../../icons/IconFreddySmall.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconFreddySmall$1),"../../icons/IconGlobExpand.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconGlobExpand$1),"../../icons/IconGlobe.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconGlobe$1),"../../icons/IconGoogle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconGoogle$1),"../../icons/IconHollowCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconHollowCircle$1),"../../icons/IconHome.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconHome$1),"../../icons/IconInfoRounded.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconInfoRounded$1),"../../icons/IconInvalidInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconInvalidInvoice$1),"../../icons/IconInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconInvoice$1),"../../icons/IconInvoiceSwitch.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconInvoiceSwitch$1),"../../icons/IconLapTableBottom.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconLapTableBottom$1),"../../icons/IconLense.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconLense$1),"../../icons/IconLightCross.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconLightCross$1),"../../icons/IconLink04.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconLink04$1),"../../icons/IconLoadingError.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconLoadingError$1),"../../icons/IconLoadingOrg.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconLoadingOrg$1),"../../icons/IconLocationWithCircleIn.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconLocationWithCircleIn$1),"../../icons/IconLock.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconLock$1),"../../icons/IconMarketPlace.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconMarketPlace$1),"../../icons/IconMaximize.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconMaximize$1),"../../icons/IconMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconMicrophone$1),"../../icons/IconMutedMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconMutedMicrophone$1),"../../icons/IconNewNotification.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconNewNotification$1),"../../icons/IconNewTab.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconNewTab$1),"../../icons/IconNotification.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconNotification$1),"../../icons/IconOpenBook.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconOpenBook$1),"../../icons/IconPaperAirPlane.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPaperAirPlane$1),"../../icons/IconPauseCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPauseCircle$1),"../../icons/IconPdfThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPdfThumbnail$1),"../../icons/IconPenEdit.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPenEdit$1),"../../icons/IconPencil.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPencil$1),"../../icons/IconPeopleHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPeopleHub$1),"../../icons/IconPersonCircle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPersonCircle$1),"../../icons/IconPits.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPits$1),"../../icons/IconPlay.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPlay$1),"../../icons/IconPlus.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPlus$1),"../../icons/IconPolygonDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPolygonDown$1),"../../icons/IconPresentation.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPresentation$1),"../../icons/IconProgressBase.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconProgressBase$1),"../../icons/IconProgressComplete.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconProgressComplete$1),"../../icons/IconProgressGoing.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconProgressGoing$1),"../../icons/IconPurpose.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPurpose$1),"../../icons/IconPurseCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconPurseCircleFill$1),"../../icons/IconQuestion.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconQuestion$1),"../../icons/IconRadio.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconRadio$1),"../../icons/IconRadioFill.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconRadioFill$1),"../../icons/IconRefresh.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconRefresh$1),"../../icons/IconRevertedTriangle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconRevertedTriangle$1),"../../icons/IconRobotScreen.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconRobotScreen$1),"../../icons/IconRoundTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconRoundTick$1),"../../icons/IconSearch.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSearch$1),"../../icons/IconSearchOptimised.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSearchOptimised$1),"../../icons/IconSectionHide.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSectionHide$1),"../../icons/IconSend.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSend$1),"../../icons/IconSettings.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSettings$1),"../../icons/IconSettingsBold.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSettingsBold$1),"../../icons/IconSize.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSize$1),"../../icons/IconSliderKnobs.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSliderKnobs$1),"../../icons/IconSortIdle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSortIdle$1),"../../icons/IconSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSparkle$1),"../../icons/IconSpotlio.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSpotlio$1),"../../icons/IconStar.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconStar$1),"../../icons/IconStatistics.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconStatistics$1),"../../icons/IconStopChat.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconStopChat$1),"../../icons/IconStreamLineHub.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconStreamLineHub$1),"../../icons/IconStreamLineHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconStreamLineHubNewLogo$1),"../../icons/IconSun.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSun$1),"../../icons/IconSwap.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconSwap$1),"../../icons/IconText.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconText$1),"../../icons/IconTextThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconTextThumbnail$1),"../../icons/IconThinDocument.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconThinDocument$1),"../../icons/IconThinFile.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconThinFile$1),"../../icons/IconThumbsDown.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconThumbsDown$1),"../../icons/IconTick.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconTick$1),"../../icons/IconUser.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconUser$1),"../../icons/IconVerticalDots.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconVerticalDots$1),"../../icons/IconVideoCamera.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconVideoCamera$1),"../../icons/IconWarningOctal.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconWarningOctal$1),"../../icons/IconX.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconX$1),"../../icons/IconZip.vue":()=>Promise.resolve().then(()=>require("./icons-xggGA3ip.cjs")).then(n=>n.IconZip)}),`../../icons/${m}.vue`,4).catch(()=>({template:"<div></div>"}))):null:null,I=e.computed(()=>t(o.leadingIcon)),y=e.computed(()=>t(o.trailingIcon)),_=e.computed(()=>({[`freddy-plugins-input-field--${o.size}`]:!0,[`freddy-plugins-input-field--${o.colorStyle}`]:!0,"freddy-plugins-input-field--destructive":o.destructive,"freddy-plugins-input-field--focused":o.state==="focused","freddy-plugins-input-field--disabled":o.state==="disabled","freddy-plugins-input-field--with-leading":!!I.value,"freddy-plugins-input-field--with-trailing":!!y.value})),S=m=>{const n=m.target;u.value=n.value,i("update:modelValue",n.value),i("input",n.value)},v=m=>{i("focus",m)},P=m=>{i("blur",m)},k=m=>{i("keydown",m)},g=m=>{i("leading-icon-click",m)},b=m=>{i("trailing-icon-click",m)},B=()=>{var m;(m=c.value)==null||m.focus()};return e.watch(()=>o.modelValue,m=>{m!==void 0&&(u.value=m)}),h({focus:B,inputRef:c}),(m,n)=>(e.openBlock(),e.createBlock(x,e.mergeProps(d.value,{onFocus:v,onBlur:P}),{default:e.withCtx(()=>{var p;return[I.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(I.value),{key:0,class:e.normalizeClass(["freddy-plugins-input-leading-icon",`freddy-plugins-input-leading-icon--${m.colorStyle}`]),onClick:g},null,8,["class"])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{id:(p=a.value)==null?void 0:p.inputId,ref_key:"inputRef",ref:c,"onUpdate:modelValue":n[0]||(n[0]=$=>u.value=$),type:m.inputType,placeholder:m.placeholder,disabled:m.disabled,readonly:m.readonly,class:e.normalizeClass(["freddy-plugins-input-field",_.value]),onInput:S,onFocus:v,onBlur:P,onKeydown:k},null,42,bs),[[e.vModelDynamic,u.value]]),m.trailingIcon==="IconQuestion"&&m.tooltipText?(e.openBlock(),e.createBlock(N,{key:1,text:m.tooltipText,placement:"top"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.value),{class:e.normalizeClass(["freddy-plugins-input-trailing-icon",`freddy-plugins-input-trailing-icon--${m.colorStyle}`])},null,8,["class"]))]),_:1},8,["text"])):y.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.value),{key:2,class:e.normalizeClass(["freddy-plugins-input-trailing-icon",`freddy-plugins-input-trailing-icon--${m.colorStyle}`]),onClick:b},null,8,["class"])):e.createCommentVNode("",!0)]}),_:1},16))}}),ie=l._export_sfc($s,[["__scopeId","data-v-e865b202"]]),Ps={class:"freddy-plugins-figma-dropdown-text"},ws=["onClick"],_s={class:"freddy-plugins-country-flag"},Bs={class:"freddy-plugins-country-name"},Ss={class:"freddy-plugins-country-dial-code"},Es=["id","placeholder","disabled","readonly"],qs={key:0,class:"freddy-plugins-figma-help-icon"},Ns=e.defineComponent({__name:"PhoneInput",props:{countryCode:{default:"US"},countryOptions:{},phoneNumber:{default:""},placeholder:{default:"Enter phone number"},trailingIcon:{},tooltipText:{},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},size:{default:"md"},colorStyle:{default:"freddy"},state:{default:"placeholder"},destructive:{type:Boolean,default:!1},variant:{},type:{},label:{default:""},hintText:{default:""},required:{type:Boolean,default:!1},value:{},modelValue:{},inputType:{},leadingIcon:{},iconLeading:{type:Boolean},helpIcon:{type:Boolean},helpText:{},leadingDropdownText:{},trailingDropdownText:{},leadingText:{},trailingButtonText:{},currency:{},currencyOptions:{},amount:{},showCurrencySymbol:{type:Boolean},protocol:{},allowProtocolChange:{type:Boolean},url:{},cardNumber:{},cardType:{},maskInput:{type:Boolean},showCardIcon:{type:Boolean},tags:{},maxTags:{},allowDuplicates:{type:Boolean},tagSeparators:{},suggestions:{},copyText:{},showCopyButton:{type:Boolean},copySuccessMessage:{}},emits:["update:countryCode","update:phoneNumber","country-change","update:modelValue","input","focus","blur","keydown","leading-icon-click","trailing-icon-click","trailing-button-click","update:currency","update:amount","currency-change","update:protocol","update:url","protocol-change","update:cardNumber","card-type-detected","update:tags","tag-added","tag-removed","max-tags-reached","copy-success","copy-error"],setup(f,{expose:h,emit:s}){const o=f,i=s,c=e.ref(null),a=e.ref(null),u=e.ref(o.phoneNumber||""),d=e.ref(!1),t=e.ref(o.countryCode||"US"),I=[{code:"US",name:"United States",flag:"🇺🇸",dialCode:"+1"},{code:"GB",name:"United Kingdom",flag:"🇬🇧",dialCode:"+44"},{code:"CA",name:"Canada",flag:"🇨🇦",dialCode:"+1"},{code:"AU",name:"Australia",flag:"🇦🇺",dialCode:"+61"},{code:"DE",name:"Germany",flag:"🇩🇪",dialCode:"+49"},{code:"FR",name:"France",flag:"🇫🇷",dialCode:"+33"},{code:"IT",name:"Italy",flag:"🇮🇹",dialCode:"+39"},{code:"ES",name:"Spain",flag:"🇪🇸",dialCode:"+34"},{code:"JP",name:"Japan",flag:"🇯🇵",dialCode:"+81"},{code:"IN",name:"India",flag:"🇮🇳",dialCode:"+91"}],y=e.computed(()=>({size:o.size,colorStyle:o.colorStyle,state:o.state,destructive:o.destructive,required:o.required,label:o.label,hintText:o.hintText,disabled:o.disabled})),_=e.computed(()=>o.countryOptions||I),S=e.computed(()=>_.value.find(n=>n.code===t.value)||_.value[0]),v=()=>{o.disabled||(d.value=!d.value)},P=n=>{t.value=n.code,i("update:countryCode",n.code),i("country-change",n);const p=u.value.replace(/^\+\d+\s*/,""),$=`${n.dialCode} ${p}`.trim();u.value=$,i("update:phoneNumber",$),i("update:modelValue",$),d.value=!1},k=n=>{const p=n.target;u.value=p.value;const $=`${S.value.dialCode} ${p.value}`;i("update:modelValue",$),i("update:phoneNumber",p.value),i("input",$)},g=n=>{i("focus",n)},b=n=>{i("blur",n)},B=()=>{var n;(n=c.value)==null||n.focus()},m=n=>{n.target.closest(".freddy-plugins-input-field-container")||(d.value=!1)};return e.watch(()=>o.countryCode,n=>{n&&n!==t.value&&(t.value=n)},{immediate:!0}),e.watch(()=>o.phoneNumber,n=>{n!==void 0&&(u.value=n)}),e.onMounted(()=>{document.addEventListener("click",m)}),e.onUnmounted(()=>{document.removeEventListener("click",m)}),h({focus:B,inputRef:c}),(n,p)=>(e.openBlock(),e.createBlock(x,e.mergeProps(y.value,{onFocus:g,onBlur:b}),{default:e.withCtx(()=>{var $;return[e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-figma-dropdown",`freddy-plugins-figma-dropdown--${n.colorStyle}`]),onClick:v},[e.createElementVNode("span",Ps,e.toDisplayString(S.value.code),1),e.createVNode(e.unref(l.IconChevronDown),{class:"freddy-plugins-figma-dropdown-icon"})],2),d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["freddy-plugins-country-options-dropdown",`freddy-plugins-country-options-dropdown--${n.colorStyle}`])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,C=>(e.openBlock(),e.createElementBlock("div",{key:C.code,class:e.normalizeClass(["freddy-plugins-country-option",`freddy-plugins-country-option--${n.colorStyle}`]),onClick:r=>P(C)},[e.createElementVNode("span",_s,e.toDisplayString(C.flag),1),e.createElementVNode("span",Bs,e.toDisplayString(C.name),1),e.createElementVNode("span",Ss,e.toDisplayString(C.dialCode),1)],10,ws))),128))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-figma-text-input",`freddy-plugins-figma-text-input--${n.colorStyle}`])},[e.withDirectives(e.createElementVNode("input",{id:($=a.value)==null?void 0:$.inputId,ref_key:"inputRef",ref:c,"onUpdate:modelValue":p[0]||(p[0]=C=>u.value=C),type:"tel",placeholder:n.placeholder,disabled:n.disabled,readonly:n.readonly,class:"freddy-plugins-figma-phone-input",onInput:k,onFocus:g,onBlur:b},null,40,Es),[[e.vModelText,u.value]]),n.trailingIcon==="IconQuestion"?(e.openBlock(),e.createElementBlock("div",qs,[n.tooltipText?(e.openBlock(),e.createBlock(N,{key:0,text:n.tooltipText,placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.IconQuestion),{class:"freddy-plugins-figma-help-icon-svg"})]),_:1},8,["text"])):(e.openBlock(),e.createBlock(e.unref(l.IconQuestion),{key:1,class:"freddy-plugins-figma-help-icon-svg"}))])):e.createCommentVNode("",!0)],2)]}),_:1},16))}}),le=l._export_sfc(Ns,[["__scopeId","data-v-20d005c2"]]),Vs=e.defineComponent({__name:"InputField",props:{size:{default:"md"},colorStyle:{default:"freddy"},state:{default:"placeholder"},destructive:{type:Boolean,default:!1},variant:{default:"default"},type:{default:"default"},label:{default:""},hintText:{default:""},required:{type:Boolean,default:!1},placeholder:{default:""},value:{},modelValue:{default:""},inputType:{default:"text"},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},leadingIcon:{},trailingIcon:{},tooltipText:{},iconLeading:{type:Boolean},helpIcon:{type:Boolean},helpText:{},leadingDropdownText:{},trailingDropdownText:{},leadingText:{},trailingButtonText:{},countryCode:{default:"US"},countryOptions:{},phoneNumber:{default:""},currency:{},currencyOptions:{},amount:{},showCurrencySymbol:{type:Boolean},protocol:{},allowProtocolChange:{type:Boolean},url:{},cardNumber:{},cardType:{},maskInput:{type:Boolean},showCardIcon:{type:Boolean},tags:{},maxTags:{},allowDuplicates:{type:Boolean},tagSeparators:{},suggestions:{},copyText:{},showCopyButton:{type:Boolean},copySuccessMessage:{}},emits:["update:modelValue","input","focus","blur","keydown","leading-icon-click","trailing-icon-click","trailing-button-click","update:countryCode","update:phoneNumber","country-change","update:currency","update:amount","currency-change","update:protocol","update:url","protocol-change","update:cardNumber","card-type-detected","update:tags","tag-added","tag-removed","max-tags-reached","copy-success","copy-error"],setup(f,{emit:h}){const s=f,o=h,i=e.computed(()=>s.variant||s.type||"default"),c=e.computed(()=>({size:s.size,colorStyle:s.colorStyle,state:s.state,destructive:s.destructive,required:s.required,label:s.label,hintText:s.hintText,placeholder:s.placeholder,countryCode:s.countryCode,phoneNumber:s.phoneNumber,countryOptions:s.countryOptions,trailingIcon:s.trailingIcon,tooltipText:s.tooltipText,disabled:s.disabled,readonly:s.readonly})),a=e.computed(()=>({size:s.size,colorStyle:s.colorStyle,state:s.state,destructive:s.destructive,required:s.required,label:s.label,hintText:s.hintText,placeholder:s.placeholder,cardNumber:s.cardNumber,cardType:s.cardType,maskInput:s.maskInput,showCardIcon:s.showCardIcon,trailingIcon:s.trailingIcon,disabled:s.disabled,readonly:s.readonly})),u=e.computed(()=>({size:s.size,colorStyle:s.colorStyle,state:s.state,destructive:s.destructive,required:s.required,label:s.label,hintText:s.hintText,placeholder:s.placeholder,inputType:s.inputType,modelValue:s.modelValue,leadingIcon:s.leadingIcon,trailingIcon:s.trailingIcon,tooltipText:s.tooltipText,disabled:s.disabled,readonly:s.readonly})),d=m=>{o("update:modelValue",m)},t=m=>{o("input",m)},I=m=>{o("focus",m)},y=m=>{o("blur",m)},_=m=>{o("keydown",m)},S=m=>{o("leading-icon-click",m)},v=m=>{o("trailing-icon-click",m)},P=m=>{o("update:countryCode",m)},k=m=>{o("update:phoneNumber",m)},g=m=>{o("country-change",m)},b=m=>{o("update:cardNumber",m)},B=m=>{o("card-type-detected",m)};return(m,n)=>i.value==="phone"?(e.openBlock(),e.createBlock(le,e.mergeProps({key:0},c.value,{"onUpdate:modelValue":d,"onUpdate:countryCode":P,"onUpdate:phoneNumber":k,onCountryChange:g,onInput:t,onFocus:I,onBlur:y}),null,16)):i.value==="card"?(e.openBlock(),e.createBlock(se,e.mergeProps({key:1},a.value,{"onUpdate:modelValue":d,"onUpdate:cardNumber":b,onCardTypeDetected:B,onInput:t,onFocus:I,onBlur:y,onTrailingIconClick:v}),null,16)):(e.openBlock(),e.createBlock(ie,e.mergeProps({key:2},u.value,{"onUpdate:modelValue":d,onInput:t,onFocus:I,onBlur:y,onKeydown:_,onLeadingIconClick:S,onTrailingIconClick:v}),null,16))}}),Ts=l._export_sfc(Vs,[["__scopeId","data-v-5a761e6c"]]),Ds={name:"ModalBox",props:{isVisible:{type:Boolean,default:!0},largeModel:{type:Boolean,default:!0}},methods:{closeModal(){this.$emit("close")}}},Fs={key:0,class:"fixed z-[9998] top-0 left-0 w-full h-full bg-modalBackgroundBlur flex justify-center items-center"},xs={class:"flex justify-center items-center"},As={class:"freddy-plugins-modal-header"},Ls={class:"freddy-plugins-modal-body"},Ms={class:"freddy-plugins-modal-footer"};function Rs(f,h,s,o,i,c){return e.openBlock(),e.createBlock(e.Transition,{name:"modal"},{default:e.withCtx(()=>[s.isVisible?(e.openBlock(),e.createElementBlock("div",Fs,[e.createElementVNode("div",xs,[e.createElementVNode("div",{class:e.normalizeClass({"p-8 bg-background rounded-[2.5rem] overflow-hidden text-white":s.largeModel,"freddy-plugins-modal-container-large":s.largeModel})},[e.createElementVNode("div",As,[e.renderSlot(f.$slots,"header")]),e.createElementVNode("div",Ls,[e.renderSlot(f.$slots,"body")]),e.createElementVNode("div",Ms,[e.renderSlot(f.$slots,"footer")])],2)])])):e.createCommentVNode("",!0)]),_:3})}const ce=l._export_sfc(Ds,[["render",Rs]]),zs=e.defineComponent({__name:"InstructionsModal",props:{isVisible:{type:Boolean,required:!0}},setup(f){return(h,s)=>(e.openBlock(),e.createBlock(ce,{isVisible:f.isVisible},{header:e.withCtx(()=>[...s[0]||(s[0]=[e.createElementVNode("h2",null,"Instructions",-1)])]),body:e.withCtx(()=>[...s[1]||(s[1]=[e.createElementVNode("p",null,"Instructions",-1)])]),_:1},8,["isVisible"]))}}),Hs=["value","placeholder"],Os=e.defineComponent({__name:"InstructiontextArea",props:{inputValue:{},placeholder:{},height:{}},emits:["update:inputValue"],setup(f,{emit:h}){const s=f,o=h,i=e.computed(()=>s.height||"40px"),c=a=>{const u=a.target;o("update:inputValue",u.value)};return(a,u)=>(e.openBlock(),e.createElementBlock("input",{type:"text",value:a.inputValue,placeholder:a.placeholder,style:e.normalizeStyle({width:"100%",height:i.value}),onInput:c,class:"instruction-text-input","aria-label":"Instruction input"},null,44,Hs))}}),Us=l._export_sfc(Os,[["__scopeId","data-v-d4000e78"]]),Ks={class:"freddy-plugins-modal-header"},js={class:"freddy-plugins-modal-body"},Gs=e.defineComponent({__name:"ModalOverlay",props:{modalTitle:{},headerClass:{},disableClickOutside:{type:Boolean}},emits:["close"],setup(f,{emit:h}){l.useTheme();const s=f,o=h,i=()=>{o("close")},c=()=>{s.disableClickOutside||i()};return(a,u)=>(e.openBlock(),e.createElementBlock("div",{role:"dialog","aria-modal":"true",class:"freddy-plugins-modal-overlay",onClick:c},[e.createElementVNode("div",{class:"freddy-plugins-modal-content",onClick:u[0]||(u[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("header",Ks,[e.createElementVNode("h2",{class:e.normalizeClass(["freddy-plugins-modal-title",a.headerClass])},e.toDisplayString(a.modalTitle),3),e.createElementVNode("button",{class:"freddy-plugins-modal-close",onClick:i},[e.createVNode(l.IconLightCross,{class:"freddy-plugins-modal-close-icon"})])]),e.createElementVNode("div",js,[e.renderSlot(a.$slots,"content")])])]))}}),ae=e.defineComponent({__name:"Spinner",props:{customClass:{}},setup(f){return l.useTheme(),(h,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-plugin-spinner",h.customClass])},null,2))}}),Ws=["placeholder","maxlength"],A=e.defineComponent({inheritAttrs:!1,__name:"SearchInput",props:{placeholder:{default:"Search here..."},showLoaderForSearch:{type:Boolean,default:!1},maxCharLimit:{default:void 0},showCloseButton:{type:Boolean,default:!1}},emits:["update:searchInput","clear"],setup(f,{emit:h}){const s=e.useAttrs(),o=e.ref(null),i=e.ref(null),c=e.ref(null),a=h,u=()=>{var I;(I=i.value)==null||I.focus()},d=()=>{a("update:searchInput",o.value)},t=()=>{a("clear")};return(I,y)=>{var _;return e.openBlock(),e.createElementBlock("div",{ref_key:"dropdownRef",ref:c,class:e.normalizeClass(["freddy-search-wrapper",e.unref(s).class]),onClick:u},[e.createVNode(e.unref(l.IconSearchOptimised),{class:"freddy-search-icon"}),e.withDirectives(e.createElementVNode("input",{type:"text",id:"search-input",class:"freddy-search-input",ref_key:"searchInput",ref:i,"onUpdate:modelValue":y[0]||(y[0]=S=>o.value=S),onInput:d,placeholder:I.placeholder,maxlength:I.maxCharLimit},null,40,Ws),[[e.vModelText,o.value]]),I.showLoaderForSearch?(e.openBlock(),e.createBlock(ae,{key:0,class:"freddy-search-spinner"})):e.createCommentVNode("",!0),I.showCloseButton&&!I.showLoaderForSearch&&((_=o.value)!=null&&_.length)?(e.openBlock(),e.createBlock(e.unref(l.IconCross),{key:1,class:"freddy-search-close",onClick:t})):e.createCommentVNode("",!0)],2)}}}),Zs={class:"model-dropdown-selected-content"},Js=["src","alt"],Qs={class:"model-dropdown-placeholder"},Ys={key:0,class:"model-dropdown-menu"},Xs={key:0,class:"model-dropdown-search"},ei={class:"model-dropdown-options"},oi=["onClick"],ni=["src","alt"],ti={class:"model-dropdown-option-value"},ri={key:0,class:"model-dropdown-no-options"},si=e.defineComponent({__name:"ModelDropdown",props:{options:{},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Search providers..."},modelPlaceholder:{default:"Select a model"},size:{default:"md"}},emits:["select"],setup(f,{emit:h}){const s=f,o=h,i=e.ref(!1),c=e.ref(""),a=e.ref(null),u=e.computed(()=>!s.searchable||!c.value?s.options:s.options.filter(_=>_.value.toLowerCase().includes(c.value.toLowerCase()))),d=()=>{i.value=!i.value,i.value||(c.value="")},t=()=>{i.value=!1,c.value=""},I=_=>{a.value=_,o("select",_),t()},y=_=>{_.target.closest(".model-dropdown-wrapper")||t()};return e.watch(i,_=>{_?setTimeout(()=>{document.addEventListener("click",y)},0):document.removeEventListener("click",y)}),e.onUnmounted(()=>{document.removeEventListener("click",y)}),(_,S)=>{var v,P;return e.openBlock(),e.createElementBlock("div",{class:"model-dropdown-wrapper",onKeydown:e.withKeys(t,["esc"])},[e.createElementVNode("div",{class:e.normalizeClass(["model-dropdown-trigger",[`model-dropdown-trigger--${_.size}`,{"model-dropdown-trigger--open":i.value}]]),onClick:d},[e.createElementVNode("div",Zs,[(v=a.value)!=null&&v.imageSrc?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.value.imageSrc,alt:a.value.value,class:"model-dropdown-selected-image"},null,8,Js)):e.createCommentVNode("",!0),e.createElementVNode("span",Qs,e.toDisplayString(((P=a.value)==null?void 0:P.value)||_.modelPlaceholder),1)]),i.value?(e.openBlock(),e.createBlock(l.IconChevronUp,{key:1,class:"model-dropdown-chevron"})):(e.openBlock(),e.createBlock(l.IconChevronDown,{key:0,class:"model-dropdown-chevron"}))],2),i.value?(e.openBlock(),e.createElementBlock("div",Ys,[_.searchable?(e.openBlock(),e.createElementBlock("div",Xs,[e.createVNode(A,{modelValue:c.value,"onUpdate:modelValue":S[0]||(S[0]=k=>c.value=k),placeholder:_.searchPlaceholder,showCloseButton:!0},null,8,["modelValue","placeholder"])])):e.createCommentVNode("",!0),e.createElementVNode("ul",ei,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,k=>{var g;return e.openBlock(),e.createElementBlock("li",{key:k.id,class:e.normalizeClass(["model-dropdown-option",{"model-dropdown-option--selected":((g=a.value)==null?void 0:g.id)===k.id}]),onClick:b=>I(k)},[k.imageSrc?(e.openBlock(),e.createElementBlock("img",{key:0,src:k.imageSrc,alt:k.value,class:"model-dropdown-option-image"},null,8,ni)):e.createCommentVNode("",!0),e.createElementVNode("span",ti,e.toDisplayString(k.value),1)],10,oi)}),128)),u.value.length===0?(e.openBlock(),e.createElementBlock("li",ri," No providers found ")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],32)}}}),ii=l._export_sfc(si,[["__scopeId","data-v-75f8685b"]]),li=e.defineComponent({__name:"OutputModeModal",props:{isVisible:{type:Boolean,required:!0},initialJsonContent:{type:String,default:"{}"},openaiApiKey:{type:String,default:""},openaiModel:{type:String,default:"gpt-4o-mini"},openaiOrganization:{type:String,default:""}},emits:["close","save","cancel","askAI","toggleAI"],setup(f,{emit:h}){const s=h,o=c=>{try{JSON.parse(c),s("save",c)}catch{alert("Invalid JSON format. Please fix the JSON before saving.")}},i=c=>{s("toggleAI",c)};return(c,a)=>(e.openBlock(),e.createBlock(F,{"is-visible":f.isVisible,title:"Edit response format",description:"Use a JSON schema to define the structure of the model's response format. Learn more.","initial-content":f.initialJsonContent,"openai-api-key":f.openaiApiKey,"openai-model":f.openaiModel,"openai-organization":f.openaiOrganization,onClose:a[0]||(a[0]=u=>c.$emit("close")),onSave:o,onCancel:a[1]||(a[1]=u=>c.$emit("cancel")),onAskAI:a[2]||(a[2]=u=>c.$emit("askAI",u)),onToggleAI:i},null,8,["is-visible","initial-content","openai-api-key","openai-model","openai-organization"]))}}),ci={key:0,class:"freddy-pagination-nav","aria-label":"Pagination"},ai=["disabled"],di={class:"freddy-pagination-dynamic-container"},ui=["onClick","disabled"],hi=["disabled"],pi=e.defineComponent({__name:"Pagination",props:{totalItems:{type:Number,required:!0,default:0},itemsPerPage:{type:Number,required:!0,default:10},currentPage:{type:Number,required:!0,default:1}},emits:["update:currentPage"],setup(f,{emit:h}){const s=f,o=h,i=e.computed(()=>!s.totalItems||isNaN(s.totalItems)?0:Math.ceil(s.totalItems/s.itemsPerPage)),c=e.computed(()=>{const u=[],d=i.value,t=s.currentPage;if(d<=7)for(let I=1;I<=d;I++)u.push(I);else{u.push(1),t>4?u.push("..."):u.push(2,3);for(let I=Math.max(4,t-1);I<=Math.min(d-3,t+1);I++)u.push(I);t<d-4&&u.push("..."),u.push(d-2,d-1,d)}return u});function a(u){u==="..."||u===s.currentPage||typeof u=="number"&&u>=1&&u<=i.value&&o("update:currentPage",u)}return(u,d)=>i.value>0?(e.openBlock(),e.createElementBlock("nav",ci,[e.createElementVNode("button",{class:e.normalizeClass(["freddy-pagination-end-button",{"freddy-pagination-hover-enabled":f.currentPage!==1}]),onClick:d[0]||(d[0]=t=>a(f.currentPage-1)),disabled:f.currentPage===1}," Previous ",10,ai),e.createElementVNode("div",di,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,t=>(e.openBlock(),e.createElementBlock("button",{key:String(t),class:e.normalizeClass(["freddy-pagination-number-button",{active:t===f.currentPage}]),onClick:I=>a(t),disabled:t==="..."||t===f.currentPage},e.toDisplayString(t),11,ui))),128)),e.createElementVNode("button",{class:e.normalizeClass(["freddy-pagination-end-button",{"freddy-pagination-hover-enabled":f.currentPage!==i.value}]),onClick:d[1]||(d[1]=t=>a(f.currentPage+1)),disabled:f.currentPage===i.value||i.value===0}," Next ",10,hi)])])):e.createCommentVNode("",!0)}}),mi=["disabled"],vi=e.defineComponent({__name:"SendButton",props:{disabled:{type:Boolean},active:{type:Boolean},size:{}},setup(f){return l.useTheme(),(h,s)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["chat-bar-send-btn",{active:h.active,[`chat-bar-send-btn--${h.size}`]:!0}]),disabled:h.disabled,onClick:s[0]||(s[0]=o=>h.$emit("click"))},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.IconSend),{class:"chat-bar-send-icon"}))],10,mi))}}),fi={key:0,class:"skeleton-card"},Ii={key:0,class:"skeleton-line skeleton-wave skeleton-w-32 skeleton-h-6 mb-2"},gi={key:1,class:"skeleton-paragraph"},yi={key:0,class:"skeleton-line skeleton-wave skeleton-h-6 skeleton-w-40 mb-2"},ki={key:2,class:"skeleton-single-box"},Ci={key:0,class:"skeleton-line skeleton-wave skeleton-h-6 skeleton-w-40 mb-2"},bi={key:3,class:"skeleton-table"},$i={key:0,class:"skeleton-line skeleton-wave skeleton-h-6 skeleton-w-40"},Pi={class:"table-full"},wi=e.defineComponent({__name:"SkeletonLoader",props:{type:{},hasHeader:{type:Boolean},count:{}},setup(f){const h=f,{type:s,hasHeader:o=!1,count:i=5}=h;return(c,a)=>e.unref(s)==="card"?(e.openBlock(),e.createElementBlock("div",fi,[e.unref(o)?(e.openBlock(),e.createElementBlock("div",Ii)):e.createCommentVNode("",!0),a[0]||(a[0]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-6 skeleton-w-3-4"},null,-1)),a[1]||(a[1]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full"},null,-1)),a[2]||(a[2]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-5-6"},null,-1))])):e.unref(s)==="paragraph"?(e.openBlock(),e.createElementBlock("div",gi,[e.unref(o)?(e.openBlock(),e.createElementBlock("div",yi)):e.createCommentVNode("",!0),a[3]||(a[3]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full"},null,-1)),a[4]||(a[4]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-5-6"},null,-1)),a[5]||(a[5]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-3-4"},null,-1))])):e.unref(s)==="single-box"?(e.openBlock(),e.createElementBlock("div",ki,[e.unref(o)?(e.openBlock(),e.createElementBlock("div",Ci)):e.createCommentVNode("",!0),a[6]||(a[6]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full"},null,-1))])):e.unref(s)==="table"?(e.openBlock(),e.createElementBlock("div",bi,[e.unref(o)?(e.openBlock(),e.createElementBlock("div",$i)):e.createCommentVNode("",!0),e.createElementVNode("table",Pi,[e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i),u=>(e.openBlock(),e.createElementBlock("tr",{key:u},[...a[7]||(a[7]=[e.createElementVNode("td",{class:"td-padding"},[e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-8 skeleton-w-full"})],-1),e.createElementVNode("td",{class:"td-padding"},[e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-8 skeleton-w-full"})],-1)])]))),128))])])])):e.createCommentVNode("",!0)}}),_i={class:"freddy-plugins-slider-container"},Bi={key:0,class:"freddy-plugins-slider-header"},Si={key:0,class:"freddy-plugins-slider-label-section"},Ei={class:"freddy-plugins-slider-label"},qi={key:1,class:"freddy-plugins-slider-value-badge"},Ni=["tabindex","aria-valuemin","aria-valuemax","aria-valuenow","aria-disabled","aria-label"],Vi={key:1,class:"freddy-plugins-slider-hint"},Ti=e.defineComponent({__name:"Slider",props:{modelValue:{},min:{default:0},max:{default:100},step:{default:1},label:{},tooltip:{},tooltipPlacement:{default:"top"},hint:{},disabled:{type:Boolean,default:!1},showValue:{type:Boolean,default:!0},range:{type:Boolean,default:!1},rangeValue:{}},emits:["update:modelValue","update:rangeValue"],setup(f,{emit:h}){const s=f,o=h,i=e.ref(!1),c=e.ref(null),a=e.computed(()=>{var g;const k=((g=s.step.toString().split(".")[1])==null?void 0:g.length)||0;return k>0?s.modelValue.toFixed(k):Math.round(s.modelValue)}),u=e.computed(()=>{const k=s.max-s.min,g=s.modelValue-s.min;return Math.min(100,Math.max(0,g/k*100))}),d=e.computed(()=>u.value),t=k=>{const g=Math.round(k/s.step)*s.step;return Math.min(s.max,Math.max(s.min,g))},I=k=>{if(!c.value)return s.modelValue;const g=c.value.getBoundingClientRect(),b=Math.max(0,Math.min(1,(k-g.left)/g.width)),B=s.min+b*(s.max-s.min),m=Math.round(B/s.step)*s.step;return Math.min(s.max,Math.max(s.min,m))},y=k=>{const g=t(k);g!==s.modelValue&&o("update:modelValue",g)},_=k=>{if(s.disabled)return;k.preventDefault(),k.stopPropagation(),i.value=!0;const g=B=>{if(!i.value)return;B.preventDefault();const m=I(B.clientX);y(m)},b=()=>{i.value=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",g),document.addEventListener("mouseup",b)},S=k=>{if(s.disabled)return;k.preventDefault(),k.stopPropagation(),i.value=!0;const g=B=>{!i.value||!B.touches[0]||(B.preventDefault(),y(I(B.touches[0].clientX)))},b=()=>{i.value=!1,document.removeEventListener("touchmove",g),document.removeEventListener("touchend",b)};document.addEventListener("touchmove",g),document.addEventListener("touchend",b)},v=k=>{if(s.disabled||i.value)return;k.preventDefault(),k.stopPropagation();const g=I(k.clientX);y(g)},P=k=>{if(s.disabled)return;let g=s.modelValue;switch(k.key){case"ArrowLeft":case"ArrowDown":k.preventDefault(),g=s.modelValue-s.step;break;case"ArrowRight":case"ArrowUp":k.preventDefault(),g=s.modelValue+s.step;break;case"Home":k.preventDefault(),g=s.min;break;case"End":k.preventDefault(),g=s.max;break;case"PageDown":k.preventDefault(),g=s.modelValue-s.step*10;break;case"PageUp":k.preventDefault(),g=s.modelValue+s.step*10;break;default:return}y(g)};return(k,g)=>(e.openBlock(),e.createElementBlock("div",_i,[k.label||k.showValue?(e.openBlock(),e.createElementBlock("div",Bi,[k.label?(e.openBlock(),e.createElementBlock("div",Si,[e.createElementVNode("span",Ei,e.toDisplayString(k.label),1),k.tooltip?(e.openBlock(),e.createBlock(N,{key:0,text:k.tooltip,placement:k.tooltipPlacement},{default:e.withCtx(()=>[e.createVNode(l.IconInfoRounded,{class:"freddy-plugins-slider-tooltip-icon"})]),_:1},8,["text","placement"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),k.showValue?(e.openBlock(),e.createElementBlock("div",qi,e.toDisplayString(a.value),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-slider-track-container",{"freddy-plugins-slider-disabled":k.disabled}]),onClick:v,onKeydown:P,tabindex:k.disabled?-1:0,role:"slider","aria-valuemin":k.min,"aria-valuemax":k.max,"aria-valuenow":k.modelValue,"aria-disabled":k.disabled,"aria-label":k.label||"Slider"},[e.createElementVNode("div",{ref_key:"sliderTrack",ref:c,class:"freddy-plugins-slider-track-background"},null,512),e.createElementVNode("div",{class:"freddy-plugins-slider-track-progress",style:e.normalizeStyle({width:u.value+"%"})},null,4),e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-slider-thumb",{"freddy-plugins-slider-thumb-dragging":i.value,"freddy-plugins-slider-thumb-disabled":k.disabled}]),style:e.normalizeStyle({left:d.value+"%"}),onMousedown:_,onTouchstart:S},null,38)],42,Ni),k.hint?(e.openBlock(),e.createElementBlock("p",Vi,e.toDisplayString(k.hint),1)):e.createCommentVNode("",!0)]))}}),Di=l._export_sfc(Ti,[["__scopeId","data-v-156893ff"]]),Fi={class:"freddy-plugins-snackbar-content"},xi={class:"freddy-plugins-snackbar-left"},Ai={class:"freddy-plugins-snackbar-text"},Li=["innerHTML"],Mi=["innerHTML"],Ri=["onClick"],zi=e.defineComponent({__name:"SnackBar",setup(f){l.useTheme();const{snackQueue:h}=l.useSnackBar(),s=c=>{switch(c){case"success":return l.IconCheckInCircle;case"danger":return l.IconCross;case"info":return l.IconInfoRounded;default:return l.IconCheckInCircle}},o=e.computed(()=>{const c=h.value[h.value.length-1];if(!c)return"side70";switch(c.toastContainerSize){case"half":return"half";case"full":return"full";default:return"side70"}}),i=c=>{h.value.splice(c,1)};return(c,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-plugins-snackbar-container",`freddy-plugins-snackbar-container--${o.value}`])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),(u,d)=>(e.openBlock(),e.createElementBlock("div",{key:d,class:e.normalizeClass(["freddy-plugins-snackbar",`freddy-plugins-snackbar--${u.toastType}`])},[e.createElementVNode("div",Fi,[e.createElementVNode("div",xi,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s(u.toastType)),{class:e.normalizeClass(["freddy-plugins-snackbar-icon",[u.toastType==="info"&&"freddy-plugins-snackbar-icon--info",u.toastType==="danger"&&"freddy-plugins-snackbar-icon--danger",u.toastType==="success"&&"freddy-plugins-snackbar-icon--success"]])},null,8,["class"])),e.createElementVNode("div",Ai,[e.createElementVNode("p",{class:"freddy-plugins-snackbar-title",innerHTML:u.title},null,8,Li),e.createElementVNode("p",{class:"freddy-plugins-snackbar-message",innerHTML:u.message},null,8,Mi)])]),e.createElementVNode("button",{class:"freddy-plugins-snackbar-close-btn",onClick:t=>i(d)},[e.createVNode(l.IconLightCross,{class:"freddy-plugins-snackbar-close-icon"})],8,Ri)])],2))),128))],2))}}),Hi={class:"freddy-plugins-switch-slot__header"},Oi={key:0,class:"freddy-plugins-switch-slot__label-section"},Ui={key:0,class:"freddy-plugins-switch-slot__label"},Ki=["aria-checked","tabindex","onKeydown","disabled"],ji={key:0,class:"freddy-plugins-switch-slot__content"},Gi={key:1,class:"freddy-plugins-switch-slot__hint"},Wi=e.defineComponent({__name:"SwitchSlot",props:{modelValue:{type:Boolean},label:{},tooltip:{},tooltipPlacement:{},hint:{},disabled:{type:Boolean},variant:{},showSlotContent:{type:Boolean}},emits:["update:modelValue"],setup(f,{emit:h}){const s=f,o=h,i=c=>{c.stopPropagation(),s.disabled||o("update:modelValue",!s.modelValue)};return(c,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-plugins-switch-slot",{"freddy-plugins-switch-slot--bordered":c.variant==="bordered","freddy-plugins-switch-slot--disabled":c.disabled}])},[e.createElementVNode("div",Hi,[c.label||c.tooltip?(e.openBlock(),e.createElementBlock("div",Oi,[c.label?(e.openBlock(),e.createElementBlock("span",Ui,e.toDisplayString(c.label),1)):e.createCommentVNode("",!0),c.tooltip?(e.openBlock(),e.createBlock(N,{key:1,text:c.tooltip,placement:c.tooltipPlacement},{default:e.withCtx(()=>[e.createVNode(l.IconInfoRounded,{class:"freddy-plugins-switch-slot__tooltip-icon"})]),_:1},8,["text","placement"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:e.normalizeClass(["freddy-plugins-switch-slot__switch",{"freddy-plugins-switch-slot__switch--on":c.modelValue}]),"aria-checked":c.modelValue,role:"switch",tabindex:c.disabled?-1:0,onClick:i,onKeydown:[e.withKeys(e.withModifiers(i,["prevent"]),["space"]),e.withKeys(e.withModifiers(i,["prevent"]),["enter"])],disabled:c.disabled},[...a[0]||(a[0]=[e.createElementVNode("span",{class:"freddy-plugins-switch-slot__track"},null,-1),e.createElementVNode("span",{class:"freddy-plugins-switch-slot__thumb"},null,-1)])],42,Ki)]),c.showSlotContent?(e.openBlock(),e.createElementBlock("div",ji,[e.renderSlot(c.$slots,"content",{},void 0,!0)])):e.createCommentVNode("",!0),c.hint?(e.openBlock(),e.createElementBlock("p",Gi,e.toDisplayString(c.hint),1)):e.createCommentVNode("",!0)],2))}}),Zi=l._export_sfc(Wi,[["__scopeId","data-v-edc0859a"]]),Ji={class:"freddy-plugin-nav-bar"},Qi=["onClick"],Yi=e.defineComponent({__name:"TabList",props:{tabList:{},currentTab:{default:0},activeStateType:{},orientation:{},fullWidth:{type:Boolean}},emits:["tabSwitch"],setup(f,{emit:h}){const s=f,o=h,i=e.ref(s.currentTab),c=a=>{i.value!==a.id&&(i.value=a.id,o("tabSwitch",a.id))};return(a,u)=>(e.openBlock(),e.createElementBlock("div",Ji,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.tabList,(d,t)=>(e.openBlock(),e.createElementBlock("button",{class:"freddy-plugin-tab-list-menu-button",key:t,onClick:I=>c(d)},[e.createTextVNode(e.toDisplayString(d.title)+" ",1),e.createElementVNode("span",{class:e.normalizeClass({"freddy-plugin-active-tab":i.value===d.id})},null,2)],8,Qi))),128))]))}}),Xi={class:"freddy-plugins-toast-wrapper"},el={class:"freddy-plugins-toast-icon-wrapper"},ol={class:"freddy-plugins-toast-message"},nl=["onClick"],tl=e.defineComponent({__name:"ToastMessage",setup(f){const{toastQueue:h}=l.useToast(),s={success:"freddy-plugins-toast-success",danger:"freddy-plugins-toast-danger",info:"freddy-plugins-toast-info"},o=a=>s[a],i=a=>{switch(a){case"success":return l.IconTick;case"danger":return l.IconCross;case"info":return l.IconInfoRounded;default:return l.IconTick}},c=a=>{h.value.splice(a,1)};return(a,u)=>(e.openBlock(),e.createElementBlock("div",Xi,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(h),(d,t)=>(e.openBlock(),e.createElementBlock("div",{key:t,class:e.normalizeClass(["freddy-plugins-toast-item",o(d.toastType)])},[e.createElementVNode("div",el,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i(d.toastType)),{class:"freddy-plugins-toast-icon"}))]),e.createElementVNode("span",ol,e.toDisplayString(d.message),1),e.createElementVNode("button",{class:"freddy-plugins-toast-close-button",onClick:I=>c(t)},[e.createVNode(e.unref(l.IconCross),{class:"freddy-plugins-toast-close-icon"})],8,nl)],2))),128))]))}});function rl(f={}){const{logErrors:h=!0,throwOnCritical:s=!1,maxRetries:o=3}=f,i=e.ref([]),c=e.ref(!1),a=e.ref(0),u=e.computed(()=>i.value.length>0),d=e.computed(()=>i.value[i.value.length-1]||null),t=(P,k)=>{const g={message:P instanceof Error?P.message:String(P),stack:P instanceof Error?P.stack:void 0,timestamp:new Date().toISOString(),context:{...k,retryCount:a.value,userAgent:typeof navigator<"u"?navigator.userAgent:"Unknown"}};if(P&&typeof P=="object"&&"status"in P&&(g.code=P.status),i.value.push(g),h&&process.env.NODE_ENV,s&&v(P))throw P;return g},I=async(P,k)=>{c.value=!0;try{const g=await P();return a.value=0,{data:g,error:null}}catch(g){return{data:null,error:t(g,k)}}finally{c.value=!1}},y=async(P,k)=>{let g=null;for(let b=1;b<=o;b++){a.value=b-1;const B=await I(P,{...k,attempt:b,maxRetries:o});if(B.data!==null)return B;if(g=B.error,g!=null&&g.code&&typeof g.code=="number"&&g.code>=400&&g.code<500)break;b<o&&await new Promise(m=>setTimeout(m,Math.pow(2,b)*1e3))}return{data:null,error:g}},_=()=>{i.value=[],a.value=0},S=P=>{P>=0&&P<i.value.length&&i.value.splice(P,1)},v=P=>{if(P instanceof Error){if(P.name==="NetworkError"||P.name==="TypeError")return!1;if(P.name==="SyntaxError")return!0}return P&&typeof P=="object"&&"status"in P?P.status>=500:!1};return{errors:e.computed(()=>i.value),hasErrors:u,latestError:d,isLoading:e.computed(()=>c.value),retryCount:e.computed(()=>a.value),handleError:t,handleAsync:I,retryAsync:y,clearErrors:_,clearError:S,isCriticalError:v}}function sl(f={}){const{enableMetrics:h=process.env.NODE_ENV==="development",trackMemory:s=!1,sampleRate:o=.1}=f,i=e.ref([]),c=e.ref(!1),a=e.ref(0),u=e.computed(()=>i.value.length===0?0:i.value.reduce((m,n)=>m+n.renderTime,0)/i.value.length),d=e.computed(()=>i.value.length===0?0:Math.max(...i.value.map(B=>B.renderTime))),t=B=>{!h||Math.random()>o||(c.value=!0,a.value=performance.now(),B&&process.env.NODE_ENV)},I=(B,m=1)=>{if(!c.value||!h)return;const $={renderTime:performance.now()-a.value,componentCount:m,timestamp:new Date().toISOString()};if(s&&"memory"in performance){const C=performance.memory;$.memoryUsage=C.usedJSHeapSize}return i.value.push($),i.value.length>100&&i.value.shift(),c.value=!1,B&&process.env.NODE_ENV,$},y=async(B,m)=>{t(m);try{const n=await B(),p=I(m)||{renderTime:0,componentCount:1,timestamp:new Date().toISOString()};return{result:n,metrics:p}}catch(n){throw I(m),n}},_=(B,m)=>{let n;return(...p)=>{clearTimeout(n),n=setTimeout(()=>B(...p),m)}},S=(B,m)=>{let n;return(...p)=>{n||(B(...p),n=!0,setTimeout(()=>n=!1,m))}},v=(B,m=5e3)=>{"requestIdleCallback"in window?window.requestIdleCallback(B,{timeout:m}):setTimeout(B,0)},P=async(B,m=0)=>(m>0&&await new Promise(n=>setTimeout(n,m)),new Promise(n=>{v(async()=>{try{const p=await B();n(p)}catch(p){throw p}})})),k=(B,m,n)=>{const p=Math.ceil(n/m),$=Math.ceil(p*.5);return C=>{const r=Math.max(0,Math.floor(C/m)-$),E=Math.min(B.length,r+p+$*2);return{visibleItems:B.slice(r,E),startIndex:r,endIndex:E,totalHeight:B.length*m,offsetY:r*m}}},g=()=>{i.value=[]},b=()=>({totalMeasurements:i.value.length,averageRenderTime:u.value,maxRenderTime:d.value,recentMetrics:i.value.slice(-10)});return h&&process.env.NODE_ENV==="development"&&e.onMounted(()=>{t("Component Mount"),e.nextTick(()=>{I("Component Mount")})}),{metrics:e.computed(()=>i.value),isTracking:e.computed(()=>c.value),averageRenderTime:u,maxRenderTime:d,startTracking:t,endTracking:I,measureAsync:y,debounce:_,throttle:S,scheduleWork:v,lazyLoad:P,createVirtualList:k,clearMetrics:g,getSummary:b}}exports.ConfirmationModal=l._sfc_main;exports.DeleteConfirmationModal=l._sfc_main$1;exports.IconAddChatPop=l.IconAddChatPop;exports.IconAddFileSystem=l.IconAddFileSystem;exports.IconAddPeople=l.IconAddPeople;exports.IconAitronos=l.IconAitronos;exports.IconApple=l.IconApple;exports.IconApplePay=l.IconApplePay;exports.IconAppsGrid=l.IconAppsGrid;exports.IconArrowDown=l.IconArrowDown;exports.IconArrowLeft=l.IconArrowLeft;exports.IconArrowUp=l.IconArrowUp;exports.IconBadgeCheck=l.IconBadgeCheck;exports.IconBroom=l.IconBroom;exports.IconBuildings=l.IconBuildings;exports.IconCalendarWithTickInside=l.IconCalendarWithTickInside;exports.IconCallNotAllowed=l.IconCallNotAllowed;exports.IconCardPay=l.IconCardPay;exports.IconCaution=l.IconCaution;exports.IconChangeLog=l.IconChangeLog;exports.IconCheckCircleFill=l.IconCheckCircleFill;exports.IconCheckInCircle=l.IconCheckInCircle;exports.IconCheckRounded=l.IconCheckRounded;exports.IconChevronDown=l.IconChevronDown;exports.IconChevronLeft=l.IconChevronLeft;exports.IconChevronRight=l.IconChevronRight;exports.IconChevronUp=l.IconChevronUp;exports.IconCircledCheck=l.IconCircledCheck;exports.IconClock=l.IconClock;exports.IconClosedEnvelope=l.IconClosedEnvelope;exports.IconCloudUpload=l.IconCloudUpload;exports.IconConnectorConfluence=l.IconConnectorConfluence;exports.IconConnectorFigma=l.IconConnectorFigma;exports.IconConnectorFreshDesk=l.IconConnectorFreshDesk;exports.IconConnectorGitHub=l.IconConnectorGitHub;exports.IconConnectorJira=l.IconConnectorJira;exports.IconConnectorLinear=l.IconConnectorLinear;exports.IconConnectorNotion=l.IconConnectorNotion;exports.IconConnectorSlack=l.IconConnectorSlack;exports.IconConnectorZapier=l.IconConnectorZapier;exports.IconCopy=l.IconCopy;exports.IconCross=l.IconCross;exports.IconCrossCircleFill=l.IconCrossCircleFill;exports.IconCrossInCircle=l.IconCrossInCircle;exports.IconCurrentTick=l.IconCurrentTick;exports.IconDataUpload=l.IconDataUpload;exports.IconDelete=l.IconDelete;exports.IconDeleteFillRed=l.IconDeleteFillRed;exports.IconDialingPhone=l.IconDialingPhone;exports.IconDisabledAlert=l.IconDisabledAlert;exports.IconDocumentation=l.IconDocumentation;exports.IconDownload=l.IconDownload;exports.IconDribbble=l.IconDribbble;exports.IconDropdownArrow=l.IconDropdownArrow;exports.IconEdit=l.IconEdit;exports.IconEditLinePath=l.IconEditLinePath;exports.IconEllipse=l._sfc_main$2;exports.IconExcelThumbnail=l.IconExcelThumbnail;exports.IconExpand=l.IconExpand;exports.IconEye=l.IconEye;exports.IconFacebook=l.IconFacebook;exports.IconFigma=l.IconFigma;exports.IconFile=l.IconFile;exports.IconFileSystem=l.IconFileSystem;exports.IconFileUpload=l.IconFileUpload;exports.IconFilter=l.IconFilter;exports.IconFolder=l.IconFolder;exports.IconFreddyHub=l.IconFreddyHub;exports.IconFreddyHubLogo=l.IconFreddyHubLogo;exports.IconFreddyHubNewLogo=l.IconFreddyHubNewLogo;exports.IconFreddyHubTitle=l._sfc_main$3;exports.IconFreddySmall=l.IconFreddySmall;exports.IconGlobExpand=l.IconGlobExpand;exports.IconGlobe=l.IconGlobe;exports.IconGoogle=l.IconGoogle;exports.IconHollowCircle=l.IconHollowCircle;exports.IconHome=l.IconHome;exports.IconInfoRounded=l.IconInfoRounded;exports.IconInvalidInvoice=l.IconInvalidInvoice;exports.IconInvoice=l.IconInvoice;exports.IconInvoiceSwitch=l.IconInvoiceSwitch;exports.IconLapTableBottom=l.IconLapTableBottom;exports.IconLense=l.IconLense;exports.IconLightCross=l.IconLightCross;exports.IconLink04=l.IconLink04;exports.IconLoadingError=l.IconLoadingError;exports.IconLoadingOrg=l.IconLoadingOrg;exports.IconLocationWithCircleIn=l.IconLocationWithCircleIn;exports.IconLock=l.IconLock;exports.IconMarketPlace=l.IconMarketPlace;exports.IconMaximize=l.IconMaximize;exports.IconMicrophone=l.IconMicrophone;exports.IconMutedMicrophone=l.IconMutedMicrophone;exports.IconNewNotification=l.IconNewNotification;exports.IconNewTab=l.IconNewTab;exports.IconNotification=l.IconNotification;exports.IconOpenBook=l.IconOpenBook;exports.IconPaperAirPlane=l.IconPaperAirPlane;exports.IconPauseCircle=l.IconPauseCircle;exports.IconPdfThumbnail=l.IconPdfThumbnail;exports.IconPenEdit=l.IconPenEdit;exports.IconPencil=l.IconPencil;exports.IconPeopleHub=l.IconPeopleHub;exports.IconPersonCircle=l.IconPersonCircle;exports.IconPits=l.IconPits;exports.IconPlay=l.IconPlay;exports.IconPlus=l.IconPlus;exports.IconPolygonDown=l.IconPolygonDown;exports.IconPresentation=l.IconPresentation;exports.IconProgressBase=l.IconProgressBase;exports.IconProgressComplete=l.IconProgressComplete;exports.IconProgressGoing=l.IconProgressGoing;exports.IconPurpose=l.IconPurpose;exports.IconPurseCircleFill=l.IconPurseCircleFill;exports.IconQuestion=l.IconQuestion;exports.IconRadio=l.IconRadio;exports.IconRadioFill=l.IconRadioFill;exports.IconRefresh=l.IconRefresh;exports.IconRevertedTriangle=l.IconRevertedTriangle;exports.IconRobotScreen=l.IconRobotScreen;exports.IconRoundTick=l.IconRoundTick;exports.IconSearch=l.IconSearch;exports.IconSearchOptimised=l.IconSearchOptimised;exports.IconSectionHide=l.IconSectionHide;exports.IconSend=l.IconSend;exports.IconSettings=l.IconSettings;exports.IconSettingsBold=l.IconSettingsBold;exports.IconSize=l.IconSize;exports.IconSliderKnobs=l.IconSliderKnobs;exports.IconSortIdle=l.IconSortIdle;exports.IconSparkle=l.IconSparkle;exports.IconSpotlio=l.IconSpotlio;exports.IconStar=l.IconStar;exports.IconStatistics=l.IconStatistics;exports.IconStopChat=l.IconStopChat;exports.IconStreamLineHub=l.IconStreamLineHub;exports.IconStreamLineHubNewLogo=l.IconStreamLineHubNewLogo;exports.IconSun=l.IconSun;exports.IconSwap=l.IconSwap;exports.IconText=l.IconText;exports.IconTextThumbnail=l.IconTextThumbnail;exports.IconThinDocument=l.IconThinDocument;exports.IconThinFile=l.IconThinFile;exports.IconThumbsDown=l.IconThumbsDown;exports.IconTick=l.IconTick;exports.IconUser=l.IconUser;exports.IconVerticalDots=l.IconVerticalDots;exports.IconVideoCamera=l.IconVideoCamera;exports.IconWarningOctal=l.IconWarningOctal;exports.IconX=l.IconX;exports.IconZip=l._sfc_main$4;exports.aiResponseToChatMessage=l.aiResponseToChatMessage;exports.calculatePercentage=l.calculatePercentage;exports.cloneDeepSafe=l.cloneDeepSafe;exports.copyToClipboard=l.copyToClipboard;exports.createChangesObject=l.createChangesObject;exports.daysInMonth=l.daysInMonth;exports.debounce=l.debounce;exports.deepEqual=l.deepEqual;exports.defaultImageSrc=l.defaultImageSrc;exports.extractStats=l.extractStats;exports.fileSizeFormatter=l.fileSizeFormatter;exports.fillMissingDays=l.fillMissingDays;exports.formatDate=l.formatDate;exports.formatDateToLocaleString=l.formatDateToLocaleString;exports.formatLastUsedDate=l.formatLastUsedDate;exports.getDatesForMonth=l.getDatesForMonth;exports.getDaysInMonth=l.getDaysInMonth;exports.getDisplayContent=l.getDisplayContent;exports.getFileNameFromUrl=l.getFileNameFromUrl;exports.getShortMonthName=l.getShortMonthName;exports.hasOverflow=l.hasOverflow;exports.hasTextImprovements=l.hasTextImprovements;exports.interpolateColor=l.interpolateColor;exports.isValidAIResponse=l.isValidAIResponse;exports.openConfirmBoxModal=l.openConfirmBoxModal;exports.openDeleteConfirmModal=l.openDeleteConfirmModal;exports.parseAITextResponse=l.parseAITextResponse;exports.parseApiResponse=l.parseApiResponse;exports.readableDateFormat=l.readableDateFormat;exports.scrollToBottom=l.scrollToBottom;exports.scrollToElement=l.scrollToElement;exports.useSnackBar=l.useSnackBar;exports.useToast=l.useToast;exports.AdvancedModal=Ve;exports.AnimeSpaceman=_e;exports.AssistantField=Y;exports.AssistantList=Ue;exports.AssistantsHeader=oo;exports.AvatarChoosing=X;exports.AvatarList=ao;exports.BaseButton=j;exports.BaseInput=x;exports.BaseTabButton=ee;exports.CardInput=se;exports.ChooseAssistantAvatar=Vo;exports.CodeBlock=bt;exports.CustomCheckbox=St;exports.DefaultInput=ie;exports.Descriptions=Hr;exports.DiffTextarea=Gr;exports.Dropdown=ns;exports.EditFeaturedExcerptModal=F;exports.EmailCodeVerification=ms;exports.IconStyleDirective=H;exports.InputField=Ts;exports.InstructionsModal=zs;exports.InstructiontextArea=Us;exports.ModalBox=ce;exports.ModalOverlay=Gs;exports.ModelDropdown=ii;exports.OutputModeModal=li;exports.Pagination=pi;exports.PhoneInput=le;exports.RulesManagement=fn;exports.SearchInput=A;exports.SendButton=vi;exports.SimpleChatInterface=ne;exports.SkeletonLoader=wi;exports.Slider=Di;exports.SnackBar=zi;exports.SocialButtons=kt;exports.Spinner=ae;exports.Switch=re;exports.SwitchSlot=Zi;exports.TabList=Yi;exports.TextAreaInputField=te;exports.ToastMessage=tl;exports.Tooltip=N;exports.TooltipV2=oe;exports.VectorFrame=_n;exports.VectorSection=Gn;exports.VoiceList=Yn;exports.VoiceSelection=K;exports.default=$e;exports.frSanitizePlugin=Pe;exports.iconStylePlugin=we;exports.useErrorHandler=rl;exports.usePerformance=sl;exports.vFrSanitize=O;
|
|
79
|
+
User request: ${p}`:p,t={model:"gpt-4o-mini",input:[{role:"system",content:this.getSmartSystemPrompt()},{role:"user",content:d}],temperature:.7},I=await fetch(`${this.baseUrl}/responses`,{method:"POST",headers:{Authorization:`Bearer ${this.apiKey}`,"Content-Type":"application/json"},body:JSON.stringify(t)});if(!I.ok)return{success:!1,error:((o=(await I.json().catch(()=>({}))).error)==null?void 0:o.message)||`API request failed with status ${I.status}: ${I.statusText}`};const w=(u=(a=(c=(i=(await I.json()).output)==null?void 0:i[0])==null?void 0:c.content)==null?void 0:a[0])==null?void 0:u.text;return w?this.processResponse(w,p,s):{success:!1,error:"No response received from AI"}}catch(d){return{success:!1,error:d instanceof Error?d.message:"An unexpected error occurred"}}}isConfigured(){return!!this.apiKey}getStatus(){var p;return{configured:this.isConfigured(),keyLength:(p=this.apiKey)==null?void 0:p.length}}}const D=new Dt("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"),Ft={class:"freddy-plugins-simple-chat-interface"},xt={class:"freddy-plugins-messages-list"},At={key:0,class:"freddy-plugins-user-message-container"},Lt={class:"freddy-plugins-user-bubble"},Mt={class:"freddy-plugins-user-actions"},Rt={class:"freddy-plugins-action-btn",title:"Copy"},zt={class:"freddy-plugins-action-btn",title:"Edit"},Ht={key:1,class:"freddy-plugins-assistant-message-container"},Ot={class:"freddy-plugins-assistant-content"},Ut={class:"freddy-plugins-assistant-text"},Kt={key:0,class:"freddy-plugins-changes-card"},jt={class:"freddy-plugins-changes-header"},Gt={class:"freddy-plugins-header-left"},Wt={class:"freddy-plugins-change-title"},Zt={key:0,class:"freddy-plugins-stat-added"},Jt={key:1,class:"freddy-plugins-stat-removed"},Qt={class:"freddy-plugins-changes-content"},Yt={class:"freddy-plugins-content-description"},Xt={key:0,class:"freddy-plugins-content-actions"},er=["onClick"],or=["onClick"],nr={key:1,class:"freddy-plugins-applied-label"},tr={class:"freddy-plugins-assistant-actions"},rr={class:"freddy-plugins-action-btn",title:"Refresh"},sr={class:"freddy-plugins-action-btn",title:"Copy"},ir={class:"freddy-plugins-action-btn",title:"Thumbs down"},lr={key:0,class:"freddy-plugins-processing-indicator"},cr={class:"freddy-plugins-chat-input-area"},ar={class:"freddy-plugins-folder-btn"},dr=["placeholder","onKeydown"],ur=["disabled"],ne=e.defineComponent({__name:"SimpleChatInterface",props:{placeholder:{},messages:{},enableAI:{type:Boolean},openaiApiKey:{},textBoxContent:{}},emits:["send","acceptChanges","denyChanges","textReplacement","textCompletion"],setup(f,{expose:p,emit:s}){const o=f,i=s,c=e.ref(""),a=e.ref(null),u=e.ref(null),d=e.ref(o.messages||[]),t=e.ref(!1);o.openaiApiKey&&D.setApiKey(o.openaiApiKey),e.watch(()=>o.messages,n=>{n&&(d.value=n,y())}),e.watch(()=>o.openaiApiKey,n=>{n&&D.setApiKey(n)});const I=n=>{switch(n){case"replace":return"Text Replacement";case"complete":return"Text Completion";case"chat":return"AI Response";default:return"Text Improvement"}},C=n=>{switch(n){case"replace":return"Your text has been improved and replaced";case"complete":return"Your text has been continued";case"chat":return"AI provided a conversational response";default:return"Text has been improved"}},w=async n=>{var h,$;if(!D.isConfigured()){const k={id:Date.now().toString(),content:"AI service is not configured. Please provide an OpenAI API key.",sender:"assistant",timestamp:new Date};d.value.push(k),y();return}t.value=!0;try{const k=await D.askAI(n,o.textBoxContent);if(k.success&&k.content){const r={id:Date.now().toString(),content:k.content,sender:"assistant",timestamp:new Date,applied:!1,changes:k.hasChanges?{title:k.changeTitle||I(k.action),description:k.changeDescription||C(k.action),added:((h=k.stats)==null?void 0:h.added)||0,removed:(($=k.stats)==null?void 0:$.removed)||0,data:{originalText:o.textBoxContent,improvedText:k.improvedText||k.content,action:k.action}}:void 0};d.value.push(r),y()}else{const r={id:Date.now().toString(),content:k.error||"Failed to process your request. Please try again.",sender:"assistant",timestamp:new Date};d.value.push(r),y()}}catch{const r={id:Date.now().toString(),content:"An unexpected error occurred while processing your request.",sender:"assistant",timestamp:new Date};d.value.push(r),y()}finally{t.value=!1}},B=async()=>{const n=c.value.trim();if(!n)return;const h={id:Date.now().toString(),content:n,sender:"user",timestamp:new Date};d.value.push(h),i("send",n),c.value="",P(),y(),o.enableAI&&await w(n)},v=()=>{c.value+=`
|
|
80
|
+
`,P()},P=()=>{e.nextTick(()=>{u.value&&(u.value.style.height="auto",u.value.style.height=Math.min(u.value.scrollHeight,120)+"px")})},y=()=>{e.nextTick(()=>{a.value&&(a.value.scrollTop=a.value.scrollHeight)})},g=n=>{i("acceptChanges",n)},b=n=>{n.changes&&(n.changes=void 0),i("denyChanges",n)};return p({addAIResponse:(n,h)=>{const $={id:Date.now().toString(),content:n,sender:"assistant",timestamp:new Date,changes:h};d.value.push($),y()},addAIResponseFromApi:n=>{const h=l.parseApiResponse(n),$=l.getDisplayContent(h),k=l.createChangesObject(h),r={id:Date.now().toString(),content:$,sender:"assistant",timestamp:new Date,applied:!1,changes:k};d.value.push(r),y()}}),(n,h)=>(e.openBlock(),e.createElementBlock("div",Ft,[e.createElementVNode("div",{ref_key:"messagesContainer",ref:a,class:"freddy-plugins-chat-messages"},[e.createElementVNode("div",xt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,$=>(e.openBlock(),e.createElementBlock("div",{key:$.id,class:e.normalizeClass(["freddy-plugins-message",$.sender])},[$.sender==="user"?(e.openBlock(),e.createElementBlock("div",At,[e.createElementVNode("div",Lt,e.toDisplayString($.content),1),e.createElementVNode("div",Mt,[e.createElementVNode("button",Rt,[e.createVNode(e.unref(l.IconCopy),{class:"freddy-plugins-action-icon"})]),e.createElementVNode("button",zt,[e.createVNode(e.unref(l.IconEdit),{class:"freddy-plugins-action-icon"})])])])):(e.openBlock(),e.createElementBlock("div",Ht,[e.createElementVNode("div",Ot,[e.createElementVNode("p",Ut,e.toDisplayString($.content),1),$.changes?(e.openBlock(),e.createElementBlock("div",Kt,[e.createElementVNode("div",jt,[e.createElementVNode("div",Gt,[e.createVNode(e.unref(l.IconFile),{class:"freddy-plugins-building-icon"}),e.createElementVNode("span",Wt,e.toDisplayString($.changes.title||"Instructions"),1),$.changes.added>0?(e.openBlock(),e.createElementBlock("span",Zt,"+"+e.toDisplayString($.changes.added),1)):e.createCommentVNode("",!0),$.changes.removed>0?(e.openBlock(),e.createElementBlock("span",Jt,"-"+e.toDisplayString($.changes.removed),1)):e.createCommentVNode("",!0),h[1]||(h[1]=e.createElementVNode("span",{class:"freddy-plugins-changes-applied"},"Changes applied",-1))])]),e.createElementVNode("div",Qt,[h[5]||(h[5]=e.createElementVNode("div",{class:"freddy-plugins-content-header"},[e.createElementVNode("span",{class:"freddy-plugins-content-title"},"Instructions")],-1)),e.createElementVNode("p",Yt,e.toDisplayString($.changes.description),1),$.applied?(e.openBlock(),e.createElementBlock("div",nr,[e.createVNode(e.unref(l.IconCheckRounded),{class:"freddy-plugins-applied-icon"}),h[4]||(h[4]=e.createTextVNode(" Applied ",-1))])):(e.openBlock(),e.createElementBlock("div",Xt,[e.createElementVNode("button",{class:"freddy-plugins-accept-btn",onClick:k=>g($)},[e.createVNode(e.unref(l.IconCheckRounded),{class:"freddy-plugins-btn-icon"}),h[2]||(h[2]=e.createTextVNode(" Accept ",-1))],8,er),e.createElementVNode("button",{class:"freddy-plugins-deny-btn",onClick:k=>b($)},[e.createVNode(e.unref(l.IconCross),{class:"freddy-plugins-btn-icon"}),h[3]||(h[3]=e.createTextVNode(" Deny ",-1))],8,or)]))])])):e.createCommentVNode("",!0),e.createElementVNode("div",tr,[e.createElementVNode("button",rr,[e.createVNode(e.unref(l.IconRefresh),{class:"freddy-plugins-action-icon"})]),e.createElementVNode("button",sr,[e.createVNode(e.unref(l.IconCopy),{class:"freddy-plugins-action-icon"})]),e.createElementVNode("button",ir,[e.createVNode(e.unref(l.IconThumbsDown),{class:"freddy-plugins-action-icon"})])])])]))],2))),128))]),t.value?(e.openBlock(),e.createElementBlock("div",lr,[...h[6]||(h[6]=[e.createElementVNode("div",{class:"freddy-plugins-processing-content"},[e.createElementVNode("div",{class:"freddy-plugins-processing-spinner"}),e.createElementVNode("span",{class:"freddy-plugins-processing-text"},"AI is processing your request...")],-1)])])):e.createCommentVNode("",!0)],512),e.createElementVNode("div",cr,[e.createElementVNode("button",ar,[e.createVNode(e.unref(l.IconFolder),{class:"freddy-plugins-folder-icon"})]),e.withDirectives(e.createElementVNode("textarea",{ref_key:"inputRef",ref:u,"onUpdate:modelValue":h[0]||(h[0]=$=>c.value=$),placeholder:n.placeholder||"Type here...",class:"freddy-plugins-chat-input",rows:"1",onKeydown:[e.withKeys(e.withModifiers(B,["exact","prevent"]),["enter"]),e.withKeys(e.withModifiers(v,["shift","exact"]),["enter"])],onInput:P},null,40,dr),[[e.vModelText,c.value]]),e.createElementVNode("button",{class:"freddy-plugins-send-button",disabled:!c.value.trim(),onClick:B},[e.createVNode(e.unref(l.IconPaperAirPlane),{class:"freddy-plugins-send-icon"})],8,ur)])]))}}),pr={class:"freddy-plugins-edit-excerpt-modal-content"},hr={class:"freddy-plugins-edit-excerpt-modal-header"},mr={class:"freddy-plugins-edit-excerpt-modal-header-content"},vr={class:"freddy-plugins-edit-excerpt-modal-icon"},fr={class:"freddy-plugins-edit-excerpt-modal-text"},Ir={class:"freddy-plugins-edit-excerpt-modal-title"},gr={class:"freddy-plugins-edit-excerpt-modal-subtitle"},yr={class:"freddy-plugins-edit-excerpt-modal-textarea-section"},kr={class:"freddy-plugins-edit-excerpt-modal-footer"},Cr={class:"freddy-plugins-edit-excerpt-modal-footer-content"},br={key:0,class:"freddy-plugins-edit-excerpt-modal-ai-container"},$r=e.defineComponent({__name:"EditFeaturedExcerptModal",props:{isVisible:{type:Boolean,required:!0},title:{type:String,default:"Edit featured excerpt"},description:{type:String,default:"This will be displayed on your profile."},initialContent:{type:String,default:""},openaiApiKey:{type:String,default:""},openaiModel:{type:String,default:"gpt-4o-mini"},openaiOrganization:{type:String,default:""}},emits:["close","save","cancel","askAI","toggleAI"],setup(f,{emit:p}){const s=f,o=p,i=e.ref(s.initialContent),c=e.ref(!1),a=e.ref([]),u=e.ref(null);e.watch(()=>s.initialContent,g=>{i.value=g});const d=()=>{c.value=!1,a.value=[],o("close")},t=()=>{o("save",i.value)},I=()=>{c.value=!1,a.value=[],o("cancel")},C=()=>{c.value=!0,o("toggleAI",c.value),o("askAI",i.value)},w=async g=>{},B=g=>{g.changes&&g.changes.data&&g.changes.data.improvedText&&(i.value,i.value=g.changes.data.improvedText,g.applied=!0)},v=g=>{},P=g=>{},y=g=>{};return(g,b)=>(e.openBlock(),e.createBlock(e.Transition,{name:"modal"},{default:e.withCtx(()=>[f.isVisible?(e.openBlock(),e.createElementBlock("div",{key:0,class:"freddy-plugins-edit-excerpt-modal-overlay",onClick:e.withModifiers(d,["self"])},[e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-edit-excerpt-modal-container",{"ai-active":c.value}])},[e.createElementVNode("div",pr,[e.createElementVNode("div",hr,[e.createElementVNode("div",mr,[e.createElementVNode("div",vr,[e.createVNode(e.unref(l.IconEditLinePath),{class:"freddy-plugins-edit-excerpt-edit-icon","center-distance":36,"circle-gap":44,"show-circles":!0})]),e.createElementVNode("div",fr,[e.createElementVNode("h2",Ir,e.toDisplayString(f.title),1),e.createElementVNode("p",gr,e.toDisplayString(f.description),1)])]),e.createElementVNode("button",{class:"freddy-plugins-edit-excerpt-modal-close-btn",style:e.normalizeStyle({right:c.value?"52px":"16px"}),onClick:d,"aria-label":"Close modal"},[e.createVNode(e.unref(l.IconCross),{class:"freddy-plugins-edit-excerpt-modal-close-icon"})],4),e.createCommentVNode("",!0),b[1]||(b[1]=e.createElementVNode("div",{class:"freddy-plugins-edit-excerpt-modal-header-spacing"},null,-1))]),e.createElementVNode("div",yr,[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":b[0]||(b[0]=S=>i.value=S),class:"freddy-plugins-edit-excerpt-modal-textarea",placeholder:"The text thats needed",rows:"12"},null,512),[[e.vModelText,i.value]])]),e.createElementVNode("div",kr,[e.createElementVNode("div",Cr,[c.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,class:"freddy-plugins-edit-excerpt-modal-ai-btn",onClick:C},[e.createVNode(e.unref(l.IconSparkle),{class:"freddy-plugins-edit-excerpt-modal-ai-icon"}),b[2]||(b[2]=e.createElementVNode("span",{class:"freddy-plugins-edit-excerpt-modal-ai-text"}," Ask AI ",-1))])),e.createElementVNode("div",{class:"freddy-plugins-edit-excerpt-modal-action-buttons"},[e.createElementVNode("button",{class:"freddy-plugins-edit-excerpt-modal-cancel-btn",onClick:I}," Cancel "),e.createElementVNode("button",{class:"freddy-plugins-edit-excerpt-modal-save-btn",onClick:t}," Save changes ")])])])]),c.value?(e.openBlock(),e.createElementBlock("div",br,[e.createVNode(ne,{ref_key:"chatRef",ref:u,placeholder:"Type here...",messages:a.value,"enable-a-i":!0,"openai-api-key":f.openaiApiKey,"text-box-content":i.value,onSend:w,onAcceptChanges:B,onDenyChanges:v,onTextReplacement:P,onTextCompletion:y},null,8,["messages","openai-api-key","text-box-content"])])):e.createCommentVNode("",!0)],2)])):e.createCommentVNode("",!0)]),_:1}))}}),F=l._export_sfc($r,[["__scopeId","data-v-d2e675b0"]]),Pr={class:"freddy-plugins-textarea-input-field-wrapper"},wr={class:"freddy-plugins-textarea-input-container"},_r={class:"freddy-plugins-textarea-header"},Sr={class:"freddy-plugins-textarea-label-wrapper"},Br={class:"freddy-plugins-textarea-label-container"},Er={key:0,class:"freddy-plugins-textarea-required"},qr={class:"freddy-plugins-textarea-input-wrapper"},Nr=["placeholder","disabled","readonly"],Vr={key:1,class:"freddy-plugins-textarea-diff-container"},Tr={class:"freddy-plugins-textarea-diff-content"},Dr={class:"freddy-plugins-textarea-diff-block freddy-plugins-textarea-diff-block--old"},Fr={class:"freddy-plugins-textarea-diff-block freddy-plugins-textarea-diff-block--new"},xr={key:2,class:"freddy-plugins-textarea-tags-container"},Ar={class:"freddy-plugins-textarea-tags"},Lr={class:"freddy-plugins-textarea-tag-content"},Mr=["onClick","onKeydown","aria-label"],Rr=e.defineComponent({__name:"TextAreaInputField",props:{modelValue:{default:""},label:{default:"Description"},placeholder:{default:"The text thats needed"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},tooltipTitle:{default:""},tooltipDescription:{default:""},showAiButton:{type:Boolean,default:!0},showTags:{type:Boolean,default:!1},tags:{default:()=>[]},showAddTagsPlaceholder:{type:Boolean,default:!1},addTagsPlaceholder:{default:"Add tags..."},hintText:{default:"This is a hint text to help user."},hasError:{type:Boolean,default:!1},errorMessage:{default:""},modalTitle:{default:"Edit Description"},modalDescription:{default:"Provide detailed description for your content."},openaiApiKey:{default:""},openaiModel:{default:"gpt-4o-mini"},openaiOrganization:{default:""},showUnderlines:{type:Boolean,default:!1},dynamicTitle:{default:""},showHint:{type:Boolean,default:!0},diffMode:{type:Boolean,default:!1},oldText:{default:""},newText:{default:""},tagsOnly:{type:Boolean,default:!1}},emits:["update:modelValue","input","focus","blur","ask-ai","expand","remove-tag","tooltip-click","add-tag","tags-click"],setup(f,{expose:p,emit:s}){const o=f,i=s,c=e.ref(null),a=e.ref(null),u=e.ref(o.modelValue),d=e.ref(""),t=e.ref(!1),I=e.ref("expand"),C=e.ref(!1),w=e.computed(()=>o.showTags&&o.tags.length>0?"":o.placeholder);e.watch(()=>o.modelValue,_=>{u.value=_});const B=()=>{i("update:modelValue",u.value),i("input",u.value)},v=_=>{C.value=!0,i("focus",_)},P=_=>{C.value=!1,i("blur",_)},y=_=>{},g=()=>{o.tagsOnly&&i("tags-click")},b=()=>{i("tooltip-click")},S=_=>{(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),b())},m=()=>{d.value=u.value,I.value="ai",t.value=!0,i("ask-ai",u.value)},n=_=>{(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),m())},h=()=>{d.value=u.value,I.value="expand",t.value=!0,i("expand",u.value)},$=_=>{(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),h())},k=_=>{i("remove-tag",_)},r=(_,T)=>{(_.key==="Enter"||_.key===" ")&&(_.preventDefault(),k(T))},E=()=>{u.value=d.value,i("update:modelValue",d.value),i("input",d.value),t.value=!1},q=_=>{u.value=_,i("update:modelValue",_),i("input",_),t.value=!1},G=()=>{u.value=d.value,i("update:modelValue",d.value),i("input",d.value),t.value=!1},de=()=>{i("ask-ai",u.value)},ue=_=>{};return p({focus:()=>{var _;(_=c.value)==null||_.focus()}}),(_,T)=>(e.openBlock(),e.createElementBlock("div",Pr,[e.createElementVNode("div",wr,[e.createElementVNode("div",_r,[e.createElementVNode("div",Sr,[e.createElementVNode("div",Br,[e.createElementVNode("label",{class:e.normalizeClass(["freddy-plugins-textarea-label",{"freddy-plugins-textarea-label--underlined":_.showUnderlines}])},e.toDisplayString(_.dynamicTitle||_.label),3),_.required?(e.openBlock(),e.createElementBlock("span",Er,"*")):e.createCommentVNode("",!0),_.$slots.tooltip?e.renderSlot(_.$slots,"tooltip",{key:1},void 0,!0):_.tooltipTitle||_.tooltipDescription?(e.openBlock(),e.createBlock(oe,{key:2,title:_.tooltipTitle,description:_.tooltipDescription,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("button",{type:"button",class:"freddy-plugins-textarea-tooltip-button","aria-label":"Help",tabindex:"0",onClick:b,onKeydown:S},[e.createVNode(e.unref(l.IconQuestion),{class:"freddy-plugins-textarea-tooltip-icon"})],32)]),_:1},8,["title","description"])):e.createCommentVNode("",!0)])]),_.showAiButton?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"freddy-plugins-textarea-ai-button",onClick:m,onKeydown:n,"aria-label":"Ask AI for help",tabindex:"0"},[e.createVNode(e.unref(l.IconSparkle),{class:"freddy-plugins-textarea-ai-icon"})],32)):e.createCommentVNode("",!0)]),e.createElementVNode("div",qr,[_.diffMode?e.createCommentVNode("",!0):e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:0,ref_key:"textareaRef",ref:c,"onUpdate:modelValue":T[0]||(T[0]=V=>u.value=V),class:e.normalizeClass(["freddy-plugins-textarea-input",{"freddy-plugins-textarea-input--error":_.hasError,"freddy-plugins-textarea-input--disabled":_.disabled,"freddy-plugins-textarea-input--focused":C.value,"freddy-plugins-textarea-input--with-tags":_.showTags&&_.tags.length>0,"freddy-plugins-textarea-input--tags-only":_.tagsOnly}]),placeholder:w.value,disabled:_.disabled,readonly:_.readonly||_.tagsOnly,onInput:B,onFocus:v,onBlur:P,onKeydown:y,onClick:g},null,42,Nr)),[[e.vModelText,u.value]]),_.diffMode?(e.openBlock(),e.createElementBlock("div",Vr,[e.createElementVNode("div",Tr,[e.createElementVNode("div",Dr,e.toDisplayString(_.oldText),1),e.createElementVNode("div",Fr,e.toDisplayString(_.newText),1)])])):e.createCommentVNode("",!0),_.showTags&&_.tags.length>0?(e.openBlock(),e.createElementBlock("div",xr,[e.createElementVNode("div",Ar,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.tags,(V,L)=>(e.openBlock(),e.createElementBlock("div",{key:`${V}-${L}`,class:"freddy-plugins-textarea-tag"},[e.createElementVNode("div",Lr,[e.createElementVNode("span",{class:e.normalizeClass(["freddy-plugins-textarea-tag-text",{"freddy-plugins-textarea-tag-text--underlined":_.showUnderlines}])},e.toDisplayString(V),3)]),e.createElementVNode("button",{type:"button",class:"freddy-plugins-textarea-tag-close",onClick:W=>k(L),onKeydown:W=>r(W,L),"aria-label":`Remove ${V} tag`,tabindex:"0"},[e.createVNode(e.unref(l.IconCross),{class:"freddy-plugins-textarea-tag-close-icon"})],40,Mr)]))),128))]),_.showAddTagsPlaceholder?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["freddy-plugins-textarea-add-tags",{"freddy-plugins-textarea-add-tags--underlined":_.showUnderlines}])},e.toDisplayString(_.addTagsPlaceholder),3)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("button",{type:"button",class:"freddy-plugins-textarea-expand-button",onClick:h,onKeydown:$,"aria-label":"Expand textarea",tabindex:"0"},[e.createVNode(e.unref(l.IconExpand),{class:"freddy-plugins-textarea-expand-icon"})],32)])]),_.showHint&&_.hintText&&!_.hasError?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["freddy-plugins-textarea-hint-text",{"freddy-plugins-textarea-hint-text--underlined":_.showUnderlines}])},e.toDisplayString(_.hintText),3)):e.createCommentVNode("",!0),_.hasError&&_.errorMessage?(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(["freddy-plugins-textarea-error-text",{"freddy-plugins-textarea-error-text--underlined":_.showUnderlines}])},e.toDisplayString(_.errorMessage),3)):e.createCommentVNode("",!0),I.value==="ai"?(e.openBlock(),e.createBlock(F,{key:2,ref_key:"aiModalRef",ref:a,"is-visible":t.value&&I.value==="ai",title:_.modalTitle,description:_.modalDescription,"initial-content":u.value,"openai-api-key":_.openaiApiKey,"openai-model":_.openaiModel,"openai-organization":_.openaiOrganization,"auto-show-a-i":!0,onClose:E,onSave:q,onCancel:G,onAskAI:de,onToggleAI:ue},null,8,["is-visible","title","description","initial-content","openai-api-key","openai-model","openai-organization"])):e.createCommentVNode("",!0),I.value==="expand"?(e.openBlock(),e.createBlock(F,{key:3,"is-visible":t.value&&I.value==="expand",title:_.modalTitle,description:_.modalDescription,"initial-content":u.value,"openai-api-key":"","openai-model":_.openaiModel,"openai-organization":"",onClose:E,onSave:q,onCancel:G},null,8,["is-visible","title","description","initial-content","openai-model"])):e.createCommentVNode("",!0)]))}}),te=l._export_sfc(Rr,[["__scopeId","data-v-be1e5f9b"]]),zr=e.defineComponent({__name:"Descriptions",props:{modelValue:{default:""},label:{default:"Description"},placeholder:{default:"The text thats needed"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!0},tooltipTitle:{default:""},tooltipDescription:{default:""},showAiButton:{type:Boolean,default:!0},stage:{default:"placeholder"},type:{default:"default"},destructive:{type:Boolean,default:!1},tags:{default:()=>[]},hintText:{default:"This is a hint text to help user."},errorMessage:{default:"This is an error message."},modalTitle:{default:"Edit Description"},modalDescription:{default:"Provide detailed description for your content."},openaiApiKey:{default:""},openaiModel:{default:"gpt-4o-mini"},openaiOrganization:{default:""},showUnderlines:{type:Boolean,default:!1},dynamicTitle:{default:""},showHint:{type:Boolean,default:!0},diffMode:{type:Boolean,default:!1},oldText:{default:""},newText:{default:""},tagsOnly:{type:Boolean,default:!1}},emits:["update:modelValue","input","focus","blur","ask-ai","expand","remove-tag","tooltip-click","add-tag","tags-click"],setup(f,{expose:p,emit:s}){const o=f,i=s,c=e.ref(o.modelValue),a=e.ref([...o.tags]);e.watch(()=>o.modelValue,h=>{c.value=h}),e.watch(()=>o.tags,h=>{a.value=[...h]},{deep:!0});const u=e.computed(()=>o.type==="tags"),d=e.computed(()=>o.type==="tags"&&(o.stage==="placeholder"||o.stage==="focused")),t=e.computed(()=>(o.stage==="focused","Add tags...")),I=e.computed(()=>o.stage==="error"||o.destructive);e.computed(()=>I.value&&o.destructive?o.errorMessage:o.hintText),e.computed(()=>o.stage==="placeholder"?o.placeholder:o.stage==="focused"&&o.type==="tags"||o.stage==="default"||o.stage==="focused"?"":o.placeholder);const C=h=>{c.value=h,i("update:modelValue",h)},w=h=>{i("input",h)},B=h=>{i("focus",h)},v=h=>{i("blur",h)},P=h=>{i("ask-ai",h)},y=h=>{i("expand",h)},g=h=>{a.value.splice(h,1),i("remove-tag",h)},b=()=>{i("tooltip-click")},S=h=>{i("add-tag",h)},m=()=>{i("tags-click")};return p({focus:()=>{}}),(h,$)=>(e.openBlock(),e.createBlock(te,{modelValue:c.value,"onUpdate:modelValue":[$[0]||($[0]=k=>c.value=k),C],label:h.label,placeholder:h.placeholder,disabled:h.disabled,readonly:h.readonly,required:h.required,"tooltip-title":h.tooltipTitle,"tooltip-description":h.tooltipDescription,"show-ai-button":h.showAiButton,"show-tags":u.value,tags:a.value,"show-add-tags-placeholder":d.value,"add-tags-placeholder":t.value,"hint-text":h.hintText,"has-error":I.value,"error-message":h.errorMessage,"modal-title":h.modalTitle,"modal-description":h.modalDescription,"openai-api-key":h.openaiApiKey,"openai-model":h.openaiModel,"openai-organization":h.openaiOrganization,"show-underlines":h.showUnderlines,"dynamic-title":h.dynamicTitle,"show-hint":h.showHint,"diff-mode":h.diffMode,"old-text":h.oldText,"new-text":h.newText,"tags-only":h.tagsOnly,onInput:w,onFocus:B,onBlur:v,onAskAi:P,onExpand:y,onRemoveTag:g,onTooltipClick:b,onAddTag:S,onTagsClick:m},null,8,["modelValue","label","placeholder","disabled","readonly","required","tooltip-title","tooltip-description","show-ai-button","show-tags","tags","show-add-tags-placeholder","add-tags-placeholder","hint-text","has-error","error-message","modal-title","modal-description","openai-api-key","openai-model","openai-organization","show-underlines","dynamic-title","show-hint","diff-mode","old-text","new-text","tags-only"]))}}),Hr=l._export_sfc(zr,[["__scopeId","data-v-9bdd8550"]]),Or={class:"freddy-plugins-diff-container"},Ur=["innerHTML"],Kr=["placeholder"],jr=e.defineComponent({__name:"DiffTextarea",props:{modelValue:{},placeholder:{default:"Enter your text..."},originalText:{},improvedText:{},showDiff:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(f,{expose:p,emit:s}){const o=f,i=s,c=e.ref(null),a=e.ref(o.modelValue);e.watch(()=>o.modelValue,t=>{a.value=t});const u=()=>{i("update:modelValue",a.value)},d=e.computed(()=>{if(!o.originalText||!o.improvedText)return"";const t=o.originalText.split(/(\s+)/),I=o.improvedText.split(/(\s+)/);let C="";const w=t.filter(v=>!I.includes(v)&&v.trim()).join(" ");w&&(C+=`<span class="freddy-plugins-diff-removed">${w}</span>`);const B=I.filter(v=>!t.includes(v)&&v.trim()).join(" ");return B&&(C&&(C+="<br>"),C+=`<span class="freddy-plugins-diff-added">${B}</span>`),C||(C=`<span class="freddy-plugins-diff-improved">${o.improvedText}</span>`),C});return p({focus:()=>{var t;return(t=c.value)==null?void 0:t.focus()},blur:()=>{var t;return(t=c.value)==null?void 0:t.blur()}}),(t,I)=>(e.openBlock(),e.createElementBlock("div",Or,[t.showDiff&&d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"freddy-plugins-diff-preview",innerHTML:d.value},null,8,Ur)):e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:1,ref_key:"textareaRef",ref:c,"onUpdate:modelValue":I[0]||(I[0]=C=>a.value=C),class:"freddy-plugins-diff-textarea",placeholder:t.placeholder,onInput:u},null,40,Kr)),[[e.vModelText,a.value]])]))}}),Gr=l._export_sfc(jr,[["__scopeId","data-v-54efeaf3"]]),Wr=["aria-checked","tabindex","onKeydown","disabled"],re=e.defineComponent({__name:"Switch",props:{modelValue:{type:Boolean},disabled:{type:Boolean},size:{}},emits:["update:modelValue"],setup(f,{emit:p}){l.useTheme();const s=f,o=p;function i(c){c.stopPropagation(),s.disabled||o("update:modelValue",!s.modelValue)}return(c,a)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["freddy-plugins-switch",{"freddy-plugins-switch--on":c.modelValue,"freddy-plugins-switch--disabled":c.disabled,[`freddy-plugins-switch--${c.size}`]:!0}]),"aria-checked":c.modelValue,role:"switch",tabindex:c.disabled?-1:0,onClick:i,onKeydown:[e.withKeys(e.withModifiers(i,["prevent"]),["space"]),e.withKeys(e.withModifiers(i,["prevent"]),["enter"])],disabled:c.disabled},[...a[0]||(a[0]=[e.createElementVNode("span",{class:"freddy-plugins-switch__track"},null,-1),e.createElementVNode("span",{class:"freddy-plugins-switch__thumb"},null,-1)])],42,Wr))}}),Zr={key:0,class:"freddy-plugins-dropdown-search-bar"},Jr=["placeholder"],Qr={class:"freddy-plugins-dropdown-options"},Yr=["onClick"],Xr={class:"freddy-plugins-dropdown-option-label"},es={key:1,class:"freddy-plugins-dropdown-option-shortcut"},os={key:0,class:"freddy-plugins-dropdown-no-options"},ns=e.defineComponent({__name:"Dropdown",props:{label:{default:"Select"},size:{default:"sm"},iconOnly:{type:Boolean,default:!1},options:{default:()=>[]},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Search..."},openUp:{type:Boolean,default:!1},chevronRight:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},customIcon:{default:null},optionIconRight:{type:Boolean,default:!1},showShortcut:{type:Boolean,default:!1},background:{default:"transparent"},borderRadius:{default:"8px"},activeBackground:{default:"var(--freddy-bg-tertiary)"},openBackground:{default:"var(--freddy-bg-tertiary)"},variant:{default:"primary"},stayOpen:{type:Boolean,default:!1}},emits:["select","toggle"],setup(f,{emit:p}){const s=f,o=p,i=e.ref(!1),c=e.ref(""),a=e.ref(null),u=e.shallowRef([...s.options]);e.watch(()=>s.options,b=>{u.value=[...b]});const d=()=>{if(a.value)return;const b=u.value.find(S=>S.default);b&&(a.value=b)};e.watch(u,()=>{d()},{immediate:!0});const t=e.computed(()=>s.label!=="Select"?s.label:a.value?a.value.label:"Select"),I=e.computed(()=>s.showIcon?s.customIcon?s.customIcon:s.openUp?l.IconChevronUp:l.IconChevronDown:null),C=()=>{i.value=!i.value,i.value||(c.value="")},w=()=>{i.value=!1,c.value=""},B=e.computed(()=>!s.searchable||!c.value?u.value:u.value.filter(b=>b.label.toLowerCase().includes(c.value.toLowerCase()))),v=(b,S)=>{b.type!=="toggle"&&P(b)},P=b=>{a.value=b,o("select",b),s.stayOpen||w()},y=(b,S)=>{const m=u.value.findIndex(n=>n.value===b.value);m!==-1&&(u.value[m].checked=S),o("toggle",{...b,checked:S})},g=b=>{b.target.closest(".freddy-plugins-dropdown-wrapper")||w()};return e.watch(i,b=>{b?setTimeout(()=>{document.addEventListener("click",g)},0):document.removeEventListener("click",g)}),(b,S)=>(e.openBlock(),e.createElementBlock("div",{class:"freddy-plugins-dropdown-wrapper",onKeydown:e.withKeys(w,["esc"]),tabindex:"0"},[e.createVNode(j,{class:"freddy-plugins-dropdown-trigger",label:t.value,iconOnly:b.iconOnly,rightIcon:b.chevronRight&&b.showIcon?I.value:void 0,leftIcon:!b.chevronRight&&b.showIcon?I.value:void 0,size:b.size,hierarchy:"tertiary",onClick:C,"aria-expanded":i.value,"aria-haspopup":!0,type:"button"},{default:e.withCtx(()=>[e.renderSlot(b.$slots,"button",{},()=>[e.createTextVNode(e.toDisplayString(t.value),1)])]),_:3},8,["label","iconOnly","rightIcon","leftIcon","size","aria-expanded"]),i.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["freddy-plugins-dropdown-menu",{"freddy-plugins-dropdown-menu--up":b.openUp,"freddy-plugins-dropdown-menu--down":!b.openUp}])},[b.searchable?(e.openBlock(),e.createElementBlock("div",Zr,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":S[0]||(S[0]=m=>c.value=m),type:"text",class:"freddy-plugins-dropdown-search-input",placeholder:b.searchPlaceholder},null,8,Jr),[[e.vModelText,c.value]])])):e.createCommentVNode("",!0),e.createElementVNode("ul",Qr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(B.value,m=>(e.openBlock(),e.createElementBlock("li",{key:m.value,class:e.normalizeClass(["freddy-plugins-dropdown-option",{"freddy-plugins-dropdown-option--toggle":m.type==="toggle"}]),onClick:n=>v(m)},[e.createElementVNode("span",Xr,[!b.optionIconRight&&m.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m.icon),{key:0,class:"freddy-plugins-dropdown-option-icon"})):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(m.label),1),b.showShortcut&&m.shortcut?(e.openBlock(),e.createElementBlock("span",es,e.toDisplayString(m.shortcut),1)):e.createCommentVNode("",!0),b.optionIconRight&&m.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m.icon),{key:2,class:"freddy-plugins-dropdown-option-icon freddy-plugins-dropdown-option-icon--right"})):e.createCommentVNode("",!0)]),m.type==="toggle"?(e.openBlock(),e.createBlock(re,{key:0,modelValue:m.checked??!1,size:s.size,"onUpdate:modelValue":n=>{y(m,n)},onClick:S[1]||(S[1]=e.withModifiers(()=>{},["stop"]))},null,8,["modelValue","size","onUpdate:modelValue"])):e.createCommentVNode("",!0)],10,Yr))),128)),B.value.length===0?(e.openBlock(),e.createElementBlock("li",os,[e.renderSlot(b.$slots,"no-options",{},()=>[S[2]||(S[2]=e.createTextVNode("No options",-1))])])):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],32))}}),ts={class:"verification-container"},rs={class:"verification-header"},ss={class:"verification-subtitle"},is={class:"code-input-container"},ls={class:"code-inputs"},cs=["onUpdate:modelValue","onInput","onKeydown","disabled"],as={class:"verification-actions"},ds={key:0,class:"error-message"},us={class:"verification-footer"},ps={class:"resend-text"},hs=["disabled"],ms=e.defineComponent({__name:"EmailCodeVerification",props:{email:{},brand:{default:"contentplate"},loading:{type:Boolean,default:!1},error:{default:""},resendCooldown:{default:0}},emits:["verify","resend"],setup(f,{emit:p}){const s=f,{brand:o,loading:i,error:c,resendCooldown:a}=s,u=p,d=e.ref(["","","",""]),t=e.ref([]),I=e.computed(()=>d.value.every(g=>g!=="")),C=e.computed(()=>d.value.join("")),w=(g,b)=>{const S=b.target,m=S.value;if(!/^\d*$/.test(m)){S.value="";return}d.value[g]=m,m&&g<3&&e.nextTick(()=>{var n;(n=t.value[g+1])==null||n.focus()})},B=(g,b)=>{b.key==="Backspace"&&!d.value[g]&&g>0&&e.nextTick(()=>{var S;(S=t.value[g-1])==null||S.focus()})},v=g=>{var h;g.preventDefault();const b=(h=g.clipboardData)==null?void 0:h.getData("text");if(!b)return;const S=b.replace(/\D/g,"").slice(0,4).split("");d.value=[...S,"","","",""].slice(0,4);const m=d.value.findIndex($=>$===""),n=m===-1?3:m;e.nextTick(()=>{var $;($=t.value[n])==null||$.focus()})},P=()=>{I.value&&u("verify",C.value)},y=()=>{u("resend")};return e.onMounted(()=>{e.nextTick(()=>{var g;(g=t.value[0])==null||g.focus()})}),(g,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["email-verification",`email-verification--${e.unref(o)}`])},[e.createElementVNode("div",ts,[e.createElementVNode("div",rs,[b[1]||(b[1]=e.createElementVNode("h2",{class:"verification-title"},"Verify Your Email",-1)),e.createElementVNode("p",ss,[b[0]||(b[0]=e.createTextVNode(" We've sent a 4-digit verification code to ",-1)),e.createElementVNode("strong",null,e.toDisplayString(g.email),1)])]),e.createElementVNode("form",{onSubmit:e.withModifiers(P,["prevent"]),class:"verification-form"},[e.createElementVNode("div",is,[e.createElementVNode("div",ls,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(4,(S,m)=>e.withDirectives(e.createElementVNode("input",{key:m,ref_for:!0,ref:n=>t.value[m]=n,"onUpdate:modelValue":n=>d.value[m]=n,type:"text",maxlength:"1",class:e.normalizeClass(["code-input",`code-input--${e.unref(o)}`]),onInput:n=>w(m,n),onKeydown:n=>B(m,n),onPaste:v,disabled:e.unref(i),autocomplete:"one-time-code"},null,42,cs),[[e.vModelText,d.value[m]]])),64))])]),e.createElementVNode("div",as,[e.createVNode(j,{type:"submit",label:e.unref(i)?"Verifying...":"Verify Code",hierarchy:"primary",size:"lg",loading:e.unref(i),disabled:!I.value||e.unref(i),class:e.normalizeClass(`verify-button verify-button--${e.unref(o)}`)},null,8,["label","loading","disabled","class"])]),e.unref(c)?(e.openBlock(),e.createElementBlock("div",ds,e.toDisplayString(e.unref(c)),1)):e.createCommentVNode("",!0),e.createElementVNode("div",us,[e.createElementVNode("p",ps,[b[2]||(b[2]=e.createTextVNode(" Didn't receive the code? ",-1)),e.createElementVNode("button",{type:"button",class:"resend-button",disabled:e.unref(a)>0,onClick:y},e.toDisplayString(e.unref(a)>0?`Resend in ${e.unref(a)}s`:"Resend code"),9,hs)])])],32)])],2))}}),vs={class:"freddy-plugins-input-field-wrapper"},fs=["for"],Is={key:0,class:"freddy-plugins-required-asterisk"},gs=e.defineComponent({__name:"BaseInput",props:{size:{default:"md"},colorStyle:{default:"freddy"},state:{default:"placeholder"},destructive:{type:Boolean,default:!1},required:{type:Boolean,default:!1},label:{default:""},hintText:{default:""},disabled:{type:Boolean,default:!1}},emits:["focus","blur"],setup(f,{expose:p,emit:s}){const o=f,i=s,c=e.computed(()=>`input-${Math.random().toString(36).substr(2,9)}`),a=e.computed(()=>({[`freddy-plugins-input-field-container--${o.size}`]:!0,[`freddy-plugins-input-field-container--${o.colorStyle}`]:!0,"freddy-plugins-input-field-container--destructive":o.destructive||o.state==="error","freddy-plugins-input-field-container--focused":o.state==="focused","freddy-plugins-input-field-container--disabled":o.state==="disabled","freddy-plugins-input-field-container--loading":o.state==="loading","freddy-plugins-input-field-container--success":o.state==="success"})),u=()=>{o.state!=="disabled"&&i("focus",new FocusEvent("focus"))};return p({inputId:c,containerClasses:a,focusInput:u}),(d,t)=>(e.openBlock(),e.createElementBlock("div",vs,[d.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:c.value,class:e.normalizeClass(["freddy-plugins-input-field-label",`freddy-plugins-input-field-label--${d.colorStyle}`])},[e.createTextVNode(e.toDisplayString(d.label)+" ",1),d.required?(e.openBlock(),e.createElementBlock("span",Is,"*")):e.createCommentVNode("",!0)],10,fs)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-input-field-container",a.value]),onClick:u},[e.renderSlot(d.$slots,"default",{},void 0,!0)],2),d.hintText?(e.openBlock(),e.createElementBlock("p",{key:1,class:e.normalizeClass(["freddy-plugins-input-hint-text",`freddy-plugins-input-hint-text--${d.colorStyle}`])},e.toDisplayString(d.hintText),3)):e.createCommentVNode("",!0)]))}}),x=l._export_sfc(gs,[["__scopeId","data-v-bb114a19"]]),ys=["src","alt"],ks=["id","placeholder","disabled","readonly","maxlength"],Cs=e.defineComponent({__name:"CardInput",props:{cardNumber:{default:""},cardType:{default:"unknown"},maskInput:{type:Boolean,default:!0},showCardIcon:{type:Boolean,default:!0},placeholder:{default:"1234 5678 9012 3456"},trailingIcon:{},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},size:{default:"md"},colorStyle:{default:"freddy"},state:{default:"placeholder"},destructive:{type:Boolean,default:!1},variant:{},type:{},label:{default:""},hintText:{default:""},required:{type:Boolean,default:!1},value:{},modelValue:{},inputType:{},leadingIcon:{},tooltipText:{},iconLeading:{type:Boolean},helpIcon:{type:Boolean},helpText:{},leadingDropdownText:{},trailingDropdownText:{},leadingText:{},trailingButtonText:{},countryCode:{},countryOptions:{},phoneNumber:{},currency:{},currencyOptions:{},amount:{},showCurrencySymbol:{type:Boolean},protocol:{},allowProtocolChange:{type:Boolean},url:{},tags:{},maxTags:{},allowDuplicates:{type:Boolean},tagSeparators:{},suggestions:{},copyText:{},showCopyButton:{type:Boolean},copySuccessMessage:{}},emits:["update:cardNumber","card-type-detected","update:modelValue","input","focus","blur","trailing-icon-click","keydown","leading-icon-click","trailing-button-click","update:countryCode","update:phoneNumber","country-change","update:currency","update:amount","currency-change","update:protocol","update:url","protocol-change","update:tags","tag-added","tag-removed","max-tags-reached","copy-success","copy-error"],setup(f,{expose:p,emit:s}){const o=f,i=s,c=e.ref(null),a=e.ref(null),u=e.ref(""),d=e.ref(""),t=e.ref("unknown"),I=e.computed(()=>({size:o.size,colorStyle:o.colorStyle,state:o.state,destructive:o.destructive,required:o.required,label:o.label,hintText:o.hintText,disabled:o.disabled})),C=k=>k?typeof k=="object"?k:typeof k=="string"?e.defineAsyncComponent(()=>U(Object.assign({"../../icons/IconAddChatPop.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconAddChatPop$1),"../../icons/IconAddFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconAddFileSystem$1),"../../icons/IconAddPeople.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconAddPeople$1),"../../icons/IconAitronos.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconAitronos$1),"../../icons/IconApple.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconApple$1),"../../icons/IconApplePay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconApplePay$1),"../../icons/IconAppsGrid.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconAppsGrid$1),"../../icons/IconArrowDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconArrowDown$1),"../../icons/IconArrowLeft.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconArrowLeft$1),"../../icons/IconArrowUp.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconArrowUp$1),"../../icons/IconBadgeCheck.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconBadgeCheck$1),"../../icons/IconBroom.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconBroom$1),"../../icons/IconBuildings.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconBuildings$1),"../../icons/IconCalendarWithTickInside.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCalendarWithTickInside$1),"../../icons/IconCallNotAllowed.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCallNotAllowed$1),"../../icons/IconCardPay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCardPay$1),"../../icons/IconCaution.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCaution$1),"../../icons/IconChangeLog.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconChangeLog$1),"../../icons/IconCheckCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCheckCircleFill$1),"../../icons/IconCheckInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCheckInCircle$1),"../../icons/IconCheckRounded.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCheckRounded$1),"../../icons/IconChevronDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconChevronDown$1),"../../icons/IconChevronLeft.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconChevronLeft$1),"../../icons/IconChevronRight.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconChevronRight$1),"../../icons/IconChevronUp.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconChevronUp$1),"../../icons/IconCircledCheck.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCircledCheck$1),"../../icons/IconClock.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconClock$1),"../../icons/IconClosedEnvelope.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconClosedEnvelope$1),"../../icons/IconCloudUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCloudUpload$1),"../../icons/IconConnectorConfluence.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconConnectorConfluence$1),"../../icons/IconConnectorFigma.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconConnectorFigma$1),"../../icons/IconConnectorFreshDesk.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconConnectorFreshDesk$1),"../../icons/IconConnectorGitHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconConnectorGitHub$1),"../../icons/IconConnectorJira.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconConnectorJira$1),"../../icons/IconConnectorLinear.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconConnectorLinear$1),"../../icons/IconConnectorNotion.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconConnectorNotion$1),"../../icons/IconConnectorSlack.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconConnectorSlack$1),"../../icons/IconConnectorZapier.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconConnectorZapier$1),"../../icons/IconCopy.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCopy$1),"../../icons/IconCross.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCross$1),"../../icons/IconCrossCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCrossCircleFill$1),"../../icons/IconCrossInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCrossInCircle$1),"../../icons/IconCurrentTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconCurrentTick$1),"../../icons/IconDataUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconDataUpload$1),"../../icons/IconDelete.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconDelete$1),"../../icons/IconDeleteFillRed.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconDeleteFillRed$1),"../../icons/IconDialingPhone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconDialingPhone$1),"../../icons/IconDisabledAlert.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconDisabledAlert$1),"../../icons/IconDocumentation.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconDocumentation$1),"../../icons/IconDownload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconDownload$1),"../../icons/IconDribbble.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconDribbble$1),"../../icons/IconDropdownArrow.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconDropdownArrow$1),"../../icons/IconEdit.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconEdit$1),"../../icons/IconEditLinePath.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconEditLinePath$1),"../../icons/IconEllipse.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconEllipse),"../../icons/IconExcelThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconExcelThumbnail$1),"../../icons/IconExpand.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconExpand$1),"../../icons/IconEye.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconEye$1),"../../icons/IconFacebook.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFacebook$1),"../../icons/IconFigma.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFigma$1),"../../icons/IconFile.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFile$1),"../../icons/IconFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFileSystem$1),"../../icons/IconFileUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFileUpload$1),"../../icons/IconFilter.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFilter$1),"../../icons/IconFloppy.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFloppy$1),"../../icons/IconFolder.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFolder$1),"../../icons/IconFreddyHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFreddyHub$1),"../../icons/IconFreddyHubLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFreddyHubLogo$1),"../../icons/IconFreddyHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFreddyHubNewLogo$1),"../../icons/IconFreddyHubTitle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFreddyHubTitle),"../../icons/IconFreddySmall.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconFreddySmall$1),"../../icons/IconGlobExpand.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconGlobExpand$1),"../../icons/IconGlobe.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconGlobe$1),"../../icons/IconGoogle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconGoogle$1),"../../icons/IconHollowCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconHollowCircle$1),"../../icons/IconHome.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconHome$1),"../../icons/IconInfoRounded.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconInfoRounded$1),"../../icons/IconInvalidInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconInvalidInvoice$1),"../../icons/IconInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconInvoice$1),"../../icons/IconInvoiceSwitch.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconInvoiceSwitch$1),"../../icons/IconLapTableBottom.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconLapTableBottom$1),"../../icons/IconLense.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconLense$1),"../../icons/IconLightCross.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconLightCross$1),"../../icons/IconLink04.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconLink04$1),"../../icons/IconLoadingError.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconLoadingError$1),"../../icons/IconLoadingOrg.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconLoadingOrg$1),"../../icons/IconLocationWithCircleIn.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconLocationWithCircleIn$1),"../../icons/IconLock.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconLock$1),"../../icons/IconMarketPlace.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconMarketPlace$1),"../../icons/IconMaximize.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconMaximize$1),"../../icons/IconMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconMicrophone$1),"../../icons/IconMutedMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconMutedMicrophone$1),"../../icons/IconNewNotification.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconNewNotification$1),"../../icons/IconNewTab.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconNewTab$1),"../../icons/IconNotification.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconNotification$1),"../../icons/IconOpenBook.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconOpenBook$1),"../../icons/IconPaperAirPlane.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPaperAirPlane$1),"../../icons/IconPauseCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPauseCircle$1),"../../icons/IconPdfThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPdfThumbnail$1),"../../icons/IconPenEdit.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPenEdit$1),"../../icons/IconPencil.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPencil$1),"../../icons/IconPeopleHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPeopleHub$1),"../../icons/IconPersonCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPersonCircle$1),"../../icons/IconPits.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPits$1),"../../icons/IconPlay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPlay$1),"../../icons/IconPlus.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPlus$1),"../../icons/IconPolygonDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPolygonDown$1),"../../icons/IconPresentation.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPresentation$1),"../../icons/IconProgressBase.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconProgressBase$1),"../../icons/IconProgressComplete.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconProgressComplete$1),"../../icons/IconProgressGoing.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconProgressGoing$1),"../../icons/IconPurpose.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPurpose$1),"../../icons/IconPurseCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconPurseCircleFill$1),"../../icons/IconQuestion.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconQuestion$1),"../../icons/IconRadio.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconRadio$1),"../../icons/IconRadioFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconRadioFill$1),"../../icons/IconRefresh.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconRefresh$1),"../../icons/IconRevertedTriangle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconRevertedTriangle$1),"../../icons/IconRobotScreen.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconRobotScreen$1),"../../icons/IconRoudedSiingleSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconRoudedSiingleSparkle$1),"../../icons/IconRoundTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconRoundTick$1),"../../icons/IconSearch.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSearch$1),"../../icons/IconSearchOptimised.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSearchOptimised$1),"../../icons/IconSectionHide.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSectionHide$1),"../../icons/IconSend.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSend$1),"../../icons/IconSettings.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSettings$1),"../../icons/IconSettingsBold.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSettingsBold$1),"../../icons/IconSize.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSize$1),"../../icons/IconSliderKnobs.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSliderKnobs$1),"../../icons/IconSortIdle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSortIdle$1),"../../icons/IconSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSparkle$1),"../../icons/IconSpotlio.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSpotlio$1),"../../icons/IconStar.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconStar$1),"../../icons/IconStatistics.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconStatistics$1),"../../icons/IconStopChat.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconStopChat$1),"../../icons/IconStreamLineHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconStreamLineHub$1),"../../icons/IconStreamLineHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconStreamLineHubNewLogo$1),"../../icons/IconSun.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSun$1),"../../icons/IconSwap.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconSwap$1),"../../icons/IconText.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconText$1),"../../icons/IconTextThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconTextThumbnail$1),"../../icons/IconThinDocument.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconThinDocument$1),"../../icons/IconThinFile.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconThinFile$1),"../../icons/IconThumbsDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconThumbsDown$1),"../../icons/IconTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconTick$1),"../../icons/IconUser.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconUser$1),"../../icons/IconVerticalDots.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconVerticalDots$1),"../../icons/IconVideoCamera.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconVideoCamera$1),"../../icons/IconWarningOctal.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconWarningOctal$1),"../../icons/IconX.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconX$1),"../../icons/IconZip.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(r=>r.IconZip)}),`../../icons/${k}.vue`,4).catch(()=>({template:"<div></div>"}))):null:null,w=e.computed(()=>C(o.trailingIcon)),B=e.computed(()=>{switch(t.value){case"amex":return 17;default:return 19}}),v=e.computed(()=>({[`freddy-plugins-input-field--${o.size}`]:!0,[`freddy-plugins-input-field--${o.colorStyle}`]:!0,"freddy-plugins-input-field--destructive":o.destructive,"freddy-plugins-input-field--focused":o.state==="focused","freddy-plugins-input-field--disabled":o.state==="disabled","freddy-plugins-input-field--with-leading":o.showCardIcon&&t.value!=="unknown","freddy-plugins-input-field--with-trailing":!!w.value})),P=k=>{const r=k.replace(/\D/g,"");return/^4/.test(r)?"visa":/^5[1-5]/.test(r)||/^2[2-7]/.test(r)?"mastercard":/^3[47]/.test(r)?"amex":/^6/.test(r)?"discover":"unknown"},y=k=>{const r=k.replace(/\D/g,"");return P(r)==="amex"?r.replace(/(\d{4})(\d{6})(\d{5})/,"$1 $2 $3").replace(/(\d{4})(\d{1,6})/,"$1 $2").substring(0,17):r.replace(/(\d{4})(\d{4})(\d{4})(\d{4})/,"$1 $2 $3 $4").replace(/(\d{4})(\d{4})(\d{4})/,"$1 $2 $3").replace(/(\d{4})(\d{4})/,"$1 $2").replace(/(\d{4})/,"$1").substring(0,19)},g=k=>{const r={visa:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCA0MCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjI0IiByeD0iNCIgZmlsbD0iIzAwNTFBNSIvPgo8cGF0aCBkPSJNMTYuNzUgN0wxNC4yNSAxN0gxMS43NUwxMy41IDEwLjVMMTIuMjUgOC41SDEwLjc1TDEyLjc1IDdIMTYuNzVaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMjkuMjUgN0wyNi43NSAxN0gyNC4yNUwyNi43NSA3SDI5LjI1WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+",mastercard:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCA0MCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjI0IiByeD0iNCIgZmlsbD0iI0VCMDAxQiIvPgo8Y2lyY2xlIGN4PSIxNSIgY3k9IjEyIiByPSI3IiBmaWxsPSIjRkY1RjAwIi8+CjxjaXJjbGUgY3g9IjI1IiBjeT0iMTIiIHI9IjciIGZpbGw9IiNGRkY1RjAiLz4KPC9zdmc+",amex:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCA0MCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjI0IiByeD0iNCIgZmlsbD0iIzAwNkZDRiIvPgo8cGF0aCBkPSJNMTAgOEgxNEwxNiAxMkwxOCA4SDIyTDE4IDE2SDE0TDEyIDEyTDEwIDE2SDZMMTAgOFoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0yNCA4SDMwVjEwSDI2VjEySDI5VjE0SDI2VjE2SDMwVjE4SDI0VjhaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4=",discover:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCA0MCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQwIiBoZWlnaHQ9IjI0IiByeD0iNCIgZmlsbD0iI0ZGNjAwMCIvPgo8cGF0aCBkPSJNOCA4SDE2VjE2SDhWOFoiIGZpbGw9IndoaXRlIi8+CjxjaXJjbGUgY3g9IjI4IiBjeT0iMTIiIHI9IjYiIGZpbGw9IndoaXRlIi8+CjwvdXZnPg==",unknown:""};return r[k]||r.unknown},b=k=>{const E=k.target.value;u.value=E.replace(/\D/g,""),d.value=y(E);const q=P(u.value);q!==t.value&&(t.value=q,i("card-type-detected",q)),i("update:modelValue",d.value),i("update:cardNumber",u.value),i("input",d.value)},S=k=>{[8,9,27,13,46].indexOf(k.keyCode)!==-1||k.keyCode===65&&k.ctrlKey===!0||k.keyCode===67&&k.ctrlKey===!0||k.keyCode===86&&k.ctrlKey===!0||k.keyCode===88&&k.ctrlKey===!0||k.keyCode>=35&&k.keyCode<=39||(k.shiftKey||k.keyCode<48||k.keyCode>57)&&(k.keyCode<96||k.keyCode>105)&&k.preventDefault()},m=k=>{i("focus",k)},n=k=>{i("blur",k)},h=k=>{i("trailing-icon-click",k)},$=()=>{var k;(k=c.value)==null||k.focus()};return e.watch(()=>o.cardNumber,k=>{k!==u.value&&(u.value=k,d.value=y(k),t.value=P(k))},{immediate:!0}),p({focus:$,inputRef:c}),(k,r)=>(e.openBlock(),e.createBlock(x,e.mergeProps(I.value,{onFocus:m,onBlur:n}),{default:e.withCtx(()=>{var E;return[k.showCardIcon&&t.value!=="unknown"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["freddy-plugins-card-type-icon",`freddy-plugins-card-type-icon--${k.colorStyle}`])},[e.createElementVNode("img",{src:g(t.value),alt:`${t.value} card`,class:"freddy-plugins-card-icon-image"},null,8,ys)],2)):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{id:(E=a.value)==null?void 0:E.inputId,ref_key:"inputRef",ref:c,"onUpdate:modelValue":r[0]||(r[0]=q=>d.value=q),type:"text",inputmode:"numeric",placeholder:k.placeholder,disabled:k.disabled,readonly:k.readonly,maxlength:B.value,class:e.normalizeClass(["freddy-plugins-input-field freddy-plugins-card-input-field",v.value]),onInput:b,onKeydown:S,onFocus:m,onBlur:n},null,42,ks),[[e.vModelText,d.value]]),w.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(w.value),{key:1,class:e.normalizeClass(["freddy-plugins-input-trailing-icon",`freddy-plugins-input-trailing-icon--${k.colorStyle}`]),onClick:h},null,8,["class"])):e.createCommentVNode("",!0)]}),_:1},16))}}),se=l._export_sfc(Cs,[["__scopeId","data-v-3a6797a1"]]),bs=["id","type","placeholder","disabled","readonly"],$s=e.defineComponent({__name:"DefaultInput",props:{placeholder:{default:""},inputType:{default:"text"},modelValue:{default:""},readonly:{type:Boolean,default:!1},leadingIcon:{},trailingIcon:{},tooltipText:{},size:{default:"md"},colorStyle:{default:"freddy"},state:{default:"placeholder"},destructive:{type:Boolean,default:!1},required:{type:Boolean,default:!1},label:{default:""},hintText:{default:""},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","input","focus","blur","keydown","leading-icon-click","trailing-icon-click"],setup(f,{expose:p,emit:s}){const o=f,i=s,c=e.ref(null),a=e.ref(null),u=e.ref(o.modelValue||""),d=e.computed(()=>({size:o.size,colorStyle:o.colorStyle,state:o.state,destructive:o.destructive,required:o.required,label:o.label,hintText:o.hintText,disabled:o.disabled})),t=m=>m?typeof m=="object"?m:typeof m=="string"?e.defineAsyncComponent(()=>U(Object.assign({"../../icons/IconAddChatPop.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconAddChatPop$1),"../../icons/IconAddFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconAddFileSystem$1),"../../icons/IconAddPeople.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconAddPeople$1),"../../icons/IconAitronos.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconAitronos$1),"../../icons/IconApple.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconApple$1),"../../icons/IconApplePay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconApplePay$1),"../../icons/IconAppsGrid.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconAppsGrid$1),"../../icons/IconArrowDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconArrowDown$1),"../../icons/IconArrowLeft.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconArrowLeft$1),"../../icons/IconArrowUp.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconArrowUp$1),"../../icons/IconBadgeCheck.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconBadgeCheck$1),"../../icons/IconBroom.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconBroom$1),"../../icons/IconBuildings.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconBuildings$1),"../../icons/IconCalendarWithTickInside.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCalendarWithTickInside$1),"../../icons/IconCallNotAllowed.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCallNotAllowed$1),"../../icons/IconCardPay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCardPay$1),"../../icons/IconCaution.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCaution$1),"../../icons/IconChangeLog.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconChangeLog$1),"../../icons/IconCheckCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCheckCircleFill$1),"../../icons/IconCheckInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCheckInCircle$1),"../../icons/IconCheckRounded.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCheckRounded$1),"../../icons/IconChevronDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconChevronDown$1),"../../icons/IconChevronLeft.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconChevronLeft$1),"../../icons/IconChevronRight.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconChevronRight$1),"../../icons/IconChevronUp.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconChevronUp$1),"../../icons/IconCircledCheck.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCircledCheck$1),"../../icons/IconClock.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconClock$1),"../../icons/IconClosedEnvelope.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconClosedEnvelope$1),"../../icons/IconCloudUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCloudUpload$1),"../../icons/IconConnectorConfluence.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconConnectorConfluence$1),"../../icons/IconConnectorFigma.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconConnectorFigma$1),"../../icons/IconConnectorFreshDesk.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconConnectorFreshDesk$1),"../../icons/IconConnectorGitHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconConnectorGitHub$1),"../../icons/IconConnectorJira.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconConnectorJira$1),"../../icons/IconConnectorLinear.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconConnectorLinear$1),"../../icons/IconConnectorNotion.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconConnectorNotion$1),"../../icons/IconConnectorSlack.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconConnectorSlack$1),"../../icons/IconConnectorZapier.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconConnectorZapier$1),"../../icons/IconCopy.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCopy$1),"../../icons/IconCross.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCross$1),"../../icons/IconCrossCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCrossCircleFill$1),"../../icons/IconCrossInCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCrossInCircle$1),"../../icons/IconCurrentTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconCurrentTick$1),"../../icons/IconDataUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconDataUpload$1),"../../icons/IconDelete.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconDelete$1),"../../icons/IconDeleteFillRed.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconDeleteFillRed$1),"../../icons/IconDialingPhone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconDialingPhone$1),"../../icons/IconDisabledAlert.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconDisabledAlert$1),"../../icons/IconDocumentation.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconDocumentation$1),"../../icons/IconDownload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconDownload$1),"../../icons/IconDribbble.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconDribbble$1),"../../icons/IconDropdownArrow.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconDropdownArrow$1),"../../icons/IconEdit.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconEdit$1),"../../icons/IconEditLinePath.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconEditLinePath$1),"../../icons/IconEllipse.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconEllipse),"../../icons/IconExcelThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconExcelThumbnail$1),"../../icons/IconExpand.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconExpand$1),"../../icons/IconEye.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconEye$1),"../../icons/IconFacebook.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFacebook$1),"../../icons/IconFigma.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFigma$1),"../../icons/IconFile.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFile$1),"../../icons/IconFileSystem.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFileSystem$1),"../../icons/IconFileUpload.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFileUpload$1),"../../icons/IconFilter.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFilter$1),"../../icons/IconFloppy.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFloppy$1),"../../icons/IconFolder.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFolder$1),"../../icons/IconFreddyHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFreddyHub$1),"../../icons/IconFreddyHubLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFreddyHubLogo$1),"../../icons/IconFreddyHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFreddyHubNewLogo$1),"../../icons/IconFreddyHubTitle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFreddyHubTitle),"../../icons/IconFreddySmall.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconFreddySmall$1),"../../icons/IconGlobExpand.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconGlobExpand$1),"../../icons/IconGlobe.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconGlobe$1),"../../icons/IconGoogle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconGoogle$1),"../../icons/IconHollowCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconHollowCircle$1),"../../icons/IconHome.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconHome$1),"../../icons/IconInfoRounded.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconInfoRounded$1),"../../icons/IconInvalidInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconInvalidInvoice$1),"../../icons/IconInvoice.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconInvoice$1),"../../icons/IconInvoiceSwitch.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconInvoiceSwitch$1),"../../icons/IconLapTableBottom.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconLapTableBottom$1),"../../icons/IconLense.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconLense$1),"../../icons/IconLightCross.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconLightCross$1),"../../icons/IconLink04.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconLink04$1),"../../icons/IconLoadingError.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconLoadingError$1),"../../icons/IconLoadingOrg.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconLoadingOrg$1),"../../icons/IconLocationWithCircleIn.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconLocationWithCircleIn$1),"../../icons/IconLock.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconLock$1),"../../icons/IconMarketPlace.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconMarketPlace$1),"../../icons/IconMaximize.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconMaximize$1),"../../icons/IconMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconMicrophone$1),"../../icons/IconMutedMicrophone.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconMutedMicrophone$1),"../../icons/IconNewNotification.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconNewNotification$1),"../../icons/IconNewTab.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconNewTab$1),"../../icons/IconNotification.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconNotification$1),"../../icons/IconOpenBook.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconOpenBook$1),"../../icons/IconPaperAirPlane.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPaperAirPlane$1),"../../icons/IconPauseCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPauseCircle$1),"../../icons/IconPdfThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPdfThumbnail$1),"../../icons/IconPenEdit.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPenEdit$1),"../../icons/IconPencil.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPencil$1),"../../icons/IconPeopleHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPeopleHub$1),"../../icons/IconPersonCircle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPersonCircle$1),"../../icons/IconPits.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPits$1),"../../icons/IconPlay.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPlay$1),"../../icons/IconPlus.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPlus$1),"../../icons/IconPolygonDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPolygonDown$1),"../../icons/IconPresentation.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPresentation$1),"../../icons/IconProgressBase.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconProgressBase$1),"../../icons/IconProgressComplete.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconProgressComplete$1),"../../icons/IconProgressGoing.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconProgressGoing$1),"../../icons/IconPurpose.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPurpose$1),"../../icons/IconPurseCircleFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconPurseCircleFill$1),"../../icons/IconQuestion.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconQuestion$1),"../../icons/IconRadio.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconRadio$1),"../../icons/IconRadioFill.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconRadioFill$1),"../../icons/IconRefresh.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconRefresh$1),"../../icons/IconRevertedTriangle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconRevertedTriangle$1),"../../icons/IconRobotScreen.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconRobotScreen$1),"../../icons/IconRoudedSiingleSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconRoudedSiingleSparkle$1),"../../icons/IconRoundTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconRoundTick$1),"../../icons/IconSearch.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSearch$1),"../../icons/IconSearchOptimised.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSearchOptimised$1),"../../icons/IconSectionHide.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSectionHide$1),"../../icons/IconSend.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSend$1),"../../icons/IconSettings.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSettings$1),"../../icons/IconSettingsBold.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSettingsBold$1),"../../icons/IconSize.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSize$1),"../../icons/IconSliderKnobs.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSliderKnobs$1),"../../icons/IconSortIdle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSortIdle$1),"../../icons/IconSparkle.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSparkle$1),"../../icons/IconSpotlio.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSpotlio$1),"../../icons/IconStar.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconStar$1),"../../icons/IconStatistics.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconStatistics$1),"../../icons/IconStopChat.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconStopChat$1),"../../icons/IconStreamLineHub.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconStreamLineHub$1),"../../icons/IconStreamLineHubNewLogo.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconStreamLineHubNewLogo$1),"../../icons/IconSun.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSun$1),"../../icons/IconSwap.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconSwap$1),"../../icons/IconText.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconText$1),"../../icons/IconTextThumbnail.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconTextThumbnail$1),"../../icons/IconThinDocument.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconThinDocument$1),"../../icons/IconThinFile.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconThinFile$1),"../../icons/IconThumbsDown.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconThumbsDown$1),"../../icons/IconTick.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconTick$1),"../../icons/IconUser.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconUser$1),"../../icons/IconVerticalDots.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconVerticalDots$1),"../../icons/IconVideoCamera.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconVideoCamera$1),"../../icons/IconWarningOctal.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconWarningOctal$1),"../../icons/IconX.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconX$1),"../../icons/IconZip.vue":()=>Promise.resolve().then(()=>require("./icons-Z_e_V0AI.cjs")).then(n=>n.IconZip)}),`../../icons/${m}.vue`,4).catch(()=>({template:"<div></div>"}))):null:null,I=e.computed(()=>t(o.leadingIcon)),C=e.computed(()=>t(o.trailingIcon)),w=e.computed(()=>({[`freddy-plugins-input-field--${o.size}`]:!0,[`freddy-plugins-input-field--${o.colorStyle}`]:!0,"freddy-plugins-input-field--destructive":o.destructive,"freddy-plugins-input-field--focused":o.state==="focused","freddy-plugins-input-field--disabled":o.state==="disabled","freddy-plugins-input-field--with-leading":!!I.value,"freddy-plugins-input-field--with-trailing":!!C.value})),B=m=>{const n=m.target;u.value=n.value,i("update:modelValue",n.value),i("input",n.value)},v=m=>{i("focus",m)},P=m=>{i("blur",m)},y=m=>{i("keydown",m)},g=m=>{i("leading-icon-click",m)},b=m=>{i("trailing-icon-click",m)},S=()=>{var m;(m=c.value)==null||m.focus()};return e.watch(()=>o.modelValue,m=>{m!==void 0&&(u.value=m)}),p({focus:S,inputRef:c}),(m,n)=>(e.openBlock(),e.createBlock(x,e.mergeProps(d.value,{onFocus:v,onBlur:P}),{default:e.withCtx(()=>{var h;return[I.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(I.value),{key:0,class:e.normalizeClass(["freddy-plugins-input-leading-icon",`freddy-plugins-input-leading-icon--${m.colorStyle}`]),onClick:g},null,8,["class"])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("input",{id:(h=a.value)==null?void 0:h.inputId,ref_key:"inputRef",ref:c,"onUpdate:modelValue":n[0]||(n[0]=$=>u.value=$),type:m.inputType,placeholder:m.placeholder,disabled:m.disabled,readonly:m.readonly,class:e.normalizeClass(["freddy-plugins-input-field",w.value]),onInput:B,onFocus:v,onBlur:P,onKeydown:y},null,42,bs),[[e.vModelDynamic,u.value]]),m.trailingIcon==="IconQuestion"&&m.tooltipText?(e.openBlock(),e.createBlock(N,{key:1,text:m.tooltipText,placement:"top"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C.value),{class:e.normalizeClass(["freddy-plugins-input-trailing-icon",`freddy-plugins-input-trailing-icon--${m.colorStyle}`])},null,8,["class"]))]),_:1},8,["text"])):C.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(C.value),{key:2,class:e.normalizeClass(["freddy-plugins-input-trailing-icon",`freddy-plugins-input-trailing-icon--${m.colorStyle}`]),onClick:b},null,8,["class"])):e.createCommentVNode("",!0)]}),_:1},16))}}),ie=l._export_sfc($s,[["__scopeId","data-v-e865b202"]]),Ps={class:"freddy-plugins-figma-dropdown-text"},ws=["onClick"],_s={class:"freddy-plugins-country-flag"},Ss={class:"freddy-plugins-country-name"},Bs={class:"freddy-plugins-country-dial-code"},Es=["id","placeholder","disabled","readonly"],qs={key:0,class:"freddy-plugins-figma-help-icon"},Ns=e.defineComponent({__name:"PhoneInput",props:{countryCode:{default:"US"},countryOptions:{},phoneNumber:{default:""},placeholder:{default:"Enter phone number"},trailingIcon:{},tooltipText:{},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},size:{default:"md"},colorStyle:{default:"freddy"},state:{default:"placeholder"},destructive:{type:Boolean,default:!1},variant:{},type:{},label:{default:""},hintText:{default:""},required:{type:Boolean,default:!1},value:{},modelValue:{},inputType:{},leadingIcon:{},iconLeading:{type:Boolean},helpIcon:{type:Boolean},helpText:{},leadingDropdownText:{},trailingDropdownText:{},leadingText:{},trailingButtonText:{},currency:{},currencyOptions:{},amount:{},showCurrencySymbol:{type:Boolean},protocol:{},allowProtocolChange:{type:Boolean},url:{},cardNumber:{},cardType:{},maskInput:{type:Boolean},showCardIcon:{type:Boolean},tags:{},maxTags:{},allowDuplicates:{type:Boolean},tagSeparators:{},suggestions:{},copyText:{},showCopyButton:{type:Boolean},copySuccessMessage:{}},emits:["update:countryCode","update:phoneNumber","country-change","update:modelValue","input","focus","blur","keydown","leading-icon-click","trailing-icon-click","trailing-button-click","update:currency","update:amount","currency-change","update:protocol","update:url","protocol-change","update:cardNumber","card-type-detected","update:tags","tag-added","tag-removed","max-tags-reached","copy-success","copy-error"],setup(f,{expose:p,emit:s}){const o=f,i=s,c=e.ref(null),a=e.ref(null),u=e.ref(o.phoneNumber||""),d=e.ref(!1),t=e.ref(o.countryCode||"US"),I=[{code:"US",name:"United States",flag:"🇺🇸",dialCode:"+1"},{code:"GB",name:"United Kingdom",flag:"🇬🇧",dialCode:"+44"},{code:"CA",name:"Canada",flag:"🇨🇦",dialCode:"+1"},{code:"AU",name:"Australia",flag:"🇦🇺",dialCode:"+61"},{code:"DE",name:"Germany",flag:"🇩🇪",dialCode:"+49"},{code:"FR",name:"France",flag:"🇫🇷",dialCode:"+33"},{code:"IT",name:"Italy",flag:"🇮🇹",dialCode:"+39"},{code:"ES",name:"Spain",flag:"🇪🇸",dialCode:"+34"},{code:"JP",name:"Japan",flag:"🇯🇵",dialCode:"+81"},{code:"IN",name:"India",flag:"🇮🇳",dialCode:"+91"}],C=e.computed(()=>({size:o.size,colorStyle:o.colorStyle,state:o.state,destructive:o.destructive,required:o.required,label:o.label,hintText:o.hintText,disabled:o.disabled})),w=e.computed(()=>o.countryOptions||I),B=e.computed(()=>w.value.find(n=>n.code===t.value)||w.value[0]),v=()=>{o.disabled||(d.value=!d.value)},P=n=>{t.value=n.code,i("update:countryCode",n.code),i("country-change",n);const h=u.value.replace(/^\+\d+\s*/,""),$=`${n.dialCode} ${h}`.trim();u.value=$,i("update:phoneNumber",$),i("update:modelValue",$),d.value=!1},y=n=>{const h=n.target;u.value=h.value;const $=`${B.value.dialCode} ${h.value}`;i("update:modelValue",$),i("update:phoneNumber",h.value),i("input",$)},g=n=>{i("focus",n)},b=n=>{i("blur",n)},S=()=>{var n;(n=c.value)==null||n.focus()},m=n=>{n.target.closest(".freddy-plugins-input-field-container")||(d.value=!1)};return e.watch(()=>o.countryCode,n=>{n&&n!==t.value&&(t.value=n)},{immediate:!0}),e.watch(()=>o.phoneNumber,n=>{n!==void 0&&(u.value=n)}),e.onMounted(()=>{document.addEventListener("click",m)}),e.onUnmounted(()=>{document.removeEventListener("click",m)}),p({focus:S,inputRef:c}),(n,h)=>(e.openBlock(),e.createBlock(x,e.mergeProps(C.value,{onFocus:g,onBlur:b}),{default:e.withCtx(()=>{var $;return[e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-figma-dropdown",`freddy-plugins-figma-dropdown--${n.colorStyle}`]),onClick:v},[e.createElementVNode("span",Ps,e.toDisplayString(B.value.code),1),e.createVNode(e.unref(l.IconChevronDown),{class:"freddy-plugins-figma-dropdown-icon"})],2),d.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["freddy-plugins-country-options-dropdown",`freddy-plugins-country-options-dropdown--${n.colorStyle}`])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,k=>(e.openBlock(),e.createElementBlock("div",{key:k.code,class:e.normalizeClass(["freddy-plugins-country-option",`freddy-plugins-country-option--${n.colorStyle}`]),onClick:r=>P(k)},[e.createElementVNode("span",_s,e.toDisplayString(k.flag),1),e.createElementVNode("span",Ss,e.toDisplayString(k.name),1),e.createElementVNode("span",Bs,e.toDisplayString(k.dialCode),1)],10,ws))),128))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-figma-text-input",`freddy-plugins-figma-text-input--${n.colorStyle}`])},[e.withDirectives(e.createElementVNode("input",{id:($=a.value)==null?void 0:$.inputId,ref_key:"inputRef",ref:c,"onUpdate:modelValue":h[0]||(h[0]=k=>u.value=k),type:"tel",placeholder:n.placeholder,disabled:n.disabled,readonly:n.readonly,class:"freddy-plugins-figma-phone-input",onInput:y,onFocus:g,onBlur:b},null,40,Es),[[e.vModelText,u.value]]),n.trailingIcon==="IconQuestion"?(e.openBlock(),e.createElementBlock("div",qs,[n.tooltipText?(e.openBlock(),e.createBlock(N,{key:0,text:n.tooltipText,placement:"top"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.IconQuestion),{class:"freddy-plugins-figma-help-icon-svg"})]),_:1},8,["text"])):(e.openBlock(),e.createBlock(e.unref(l.IconQuestion),{key:1,class:"freddy-plugins-figma-help-icon-svg"}))])):e.createCommentVNode("",!0)],2)]}),_:1},16))}}),le=l._export_sfc(Ns,[["__scopeId","data-v-20d005c2"]]),Vs=e.defineComponent({__name:"InputField",props:{size:{default:"md"},colorStyle:{default:"freddy"},state:{default:"placeholder"},destructive:{type:Boolean,default:!1},variant:{default:"default"},type:{default:"default"},label:{default:""},hintText:{default:""},required:{type:Boolean,default:!1},placeholder:{default:""},value:{},modelValue:{default:""},inputType:{default:"text"},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},leadingIcon:{},trailingIcon:{},tooltipText:{},iconLeading:{type:Boolean},helpIcon:{type:Boolean},helpText:{},leadingDropdownText:{},trailingDropdownText:{},leadingText:{},trailingButtonText:{},countryCode:{default:"US"},countryOptions:{},phoneNumber:{default:""},currency:{},currencyOptions:{},amount:{},showCurrencySymbol:{type:Boolean},protocol:{},allowProtocolChange:{type:Boolean},url:{},cardNumber:{},cardType:{},maskInput:{type:Boolean},showCardIcon:{type:Boolean},tags:{},maxTags:{},allowDuplicates:{type:Boolean},tagSeparators:{},suggestions:{},copyText:{},showCopyButton:{type:Boolean},copySuccessMessage:{}},emits:["update:modelValue","input","focus","blur","keydown","leading-icon-click","trailing-icon-click","trailing-button-click","update:countryCode","update:phoneNumber","country-change","update:currency","update:amount","currency-change","update:protocol","update:url","protocol-change","update:cardNumber","card-type-detected","update:tags","tag-added","tag-removed","max-tags-reached","copy-success","copy-error"],setup(f,{emit:p}){const s=f,o=p,i=e.computed(()=>s.variant||s.type||"default"),c=e.computed(()=>({size:s.size,colorStyle:s.colorStyle,state:s.state,destructive:s.destructive,required:s.required,label:s.label,hintText:s.hintText,placeholder:s.placeholder,countryCode:s.countryCode,phoneNumber:s.phoneNumber,countryOptions:s.countryOptions,trailingIcon:s.trailingIcon,tooltipText:s.tooltipText,disabled:s.disabled,readonly:s.readonly})),a=e.computed(()=>({size:s.size,colorStyle:s.colorStyle,state:s.state,destructive:s.destructive,required:s.required,label:s.label,hintText:s.hintText,placeholder:s.placeholder,cardNumber:s.cardNumber,cardType:s.cardType,maskInput:s.maskInput,showCardIcon:s.showCardIcon,trailingIcon:s.trailingIcon,disabled:s.disabled,readonly:s.readonly})),u=e.computed(()=>({size:s.size,colorStyle:s.colorStyle,state:s.state,destructive:s.destructive,required:s.required,label:s.label,hintText:s.hintText,placeholder:s.placeholder,inputType:s.inputType,modelValue:s.modelValue,leadingIcon:s.leadingIcon,trailingIcon:s.trailingIcon,tooltipText:s.tooltipText,disabled:s.disabled,readonly:s.readonly})),d=m=>{o("update:modelValue",m)},t=m=>{o("input",m)},I=m=>{o("focus",m)},C=m=>{o("blur",m)},w=m=>{o("keydown",m)},B=m=>{o("leading-icon-click",m)},v=m=>{o("trailing-icon-click",m)},P=m=>{o("update:countryCode",m)},y=m=>{o("update:phoneNumber",m)},g=m=>{o("country-change",m)},b=m=>{o("update:cardNumber",m)},S=m=>{o("card-type-detected",m)};return(m,n)=>i.value==="phone"?(e.openBlock(),e.createBlock(le,e.mergeProps({key:0},c.value,{"onUpdate:modelValue":d,"onUpdate:countryCode":P,"onUpdate:phoneNumber":y,onCountryChange:g,onInput:t,onFocus:I,onBlur:C}),null,16)):i.value==="card"?(e.openBlock(),e.createBlock(se,e.mergeProps({key:1},a.value,{"onUpdate:modelValue":d,"onUpdate:cardNumber":b,onCardTypeDetected:S,onInput:t,onFocus:I,onBlur:C,onTrailingIconClick:v}),null,16)):(e.openBlock(),e.createBlock(ie,e.mergeProps({key:2},u.value,{"onUpdate:modelValue":d,onInput:t,onFocus:I,onBlur:C,onKeydown:w,onLeadingIconClick:B,onTrailingIconClick:v}),null,16))}}),Ts=l._export_sfc(Vs,[["__scopeId","data-v-5a761e6c"]]),Ds={name:"ModalBox",props:{isVisible:{type:Boolean,default:!0},largeModel:{type:Boolean,default:!0}},methods:{closeModal(){this.$emit("close")}}},Fs={key:0,class:"fixed z-[9998] top-0 left-0 w-full h-full bg-modalBackgroundBlur flex justify-center items-center"},xs={class:"flex justify-center items-center"},As={class:"freddy-plugins-modal-header"},Ls={class:"freddy-plugins-modal-body"},Ms={class:"freddy-plugins-modal-footer"};function Rs(f,p,s,o,i,c){return e.openBlock(),e.createBlock(e.Transition,{name:"modal"},{default:e.withCtx(()=>[s.isVisible?(e.openBlock(),e.createElementBlock("div",Fs,[e.createElementVNode("div",xs,[e.createElementVNode("div",{class:e.normalizeClass({"p-8 bg-background rounded-[2.5rem] overflow-hidden text-white":s.largeModel,"freddy-plugins-modal-container-large":s.largeModel})},[e.createElementVNode("div",As,[e.renderSlot(f.$slots,"header")]),e.createElementVNode("div",Ls,[e.renderSlot(f.$slots,"body")]),e.createElementVNode("div",Ms,[e.renderSlot(f.$slots,"footer")])],2)])])):e.createCommentVNode("",!0)]),_:3})}const ce=l._export_sfc(Ds,[["render",Rs]]),zs=e.defineComponent({__name:"InstructionsModal",props:{isVisible:{type:Boolean,required:!0}},setup(f){return(p,s)=>(e.openBlock(),e.createBlock(ce,{isVisible:f.isVisible},{header:e.withCtx(()=>[...s[0]||(s[0]=[e.createElementVNode("h2",null,"Instructions",-1)])]),body:e.withCtx(()=>[...s[1]||(s[1]=[e.createElementVNode("p",null,"Instructions",-1)])]),_:1},8,["isVisible"]))}}),Hs=["value","placeholder"],Os=e.defineComponent({__name:"InstructiontextArea",props:{inputValue:{},placeholder:{},height:{}},emits:["update:inputValue"],setup(f,{emit:p}){const s=f,o=p,i=e.computed(()=>s.height||"40px"),c=a=>{const u=a.target;o("update:inputValue",u.value)};return(a,u)=>(e.openBlock(),e.createElementBlock("input",{type:"text",value:a.inputValue,placeholder:a.placeholder,style:e.normalizeStyle({width:"100%",height:i.value}),onInput:c,class:"instruction-text-input","aria-label":"Instruction input"},null,44,Hs))}}),Us=l._export_sfc(Os,[["__scopeId","data-v-d4000e78"]]),Ks={class:"freddy-plugins-modal-header"},js={class:"freddy-plugins-modal-body"},Gs=e.defineComponent({__name:"ModalOverlay",props:{modalTitle:{},headerClass:{},disableClickOutside:{type:Boolean}},emits:["close"],setup(f,{emit:p}){l.useTheme();const s=f,o=p,i=()=>{o("close")},c=()=>{s.disableClickOutside||i()};return(a,u)=>(e.openBlock(),e.createElementBlock("div",{role:"dialog","aria-modal":"true",class:"freddy-plugins-modal-overlay",onClick:c},[e.createElementVNode("div",{class:"freddy-plugins-modal-content",onClick:u[0]||(u[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("header",Ks,[e.createElementVNode("h2",{class:e.normalizeClass(["freddy-plugins-modal-title",a.headerClass])},e.toDisplayString(a.modalTitle),3),e.createElementVNode("button",{class:"freddy-plugins-modal-close",onClick:i},[e.createVNode(l.IconLightCross,{class:"freddy-plugins-modal-close-icon"})])]),e.createElementVNode("div",js,[e.renderSlot(a.$slots,"content")])])]))}}),ae=e.defineComponent({__name:"Spinner",props:{customClass:{}},setup(f){return l.useTheme(),(p,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-plugin-spinner",p.customClass])},null,2))}}),Ws=["placeholder","maxlength"],A=e.defineComponent({inheritAttrs:!1,__name:"SearchInput",props:{placeholder:{default:"Search here..."},showLoaderForSearch:{type:Boolean,default:!1},maxCharLimit:{default:void 0},showCloseButton:{type:Boolean,default:!1}},emits:["update:searchInput","clear"],setup(f,{emit:p}){const s=e.useAttrs(),o=e.ref(null),i=e.ref(null),c=e.ref(null),a=p,u=()=>{var I;(I=i.value)==null||I.focus()},d=()=>{a("update:searchInput",o.value)},t=()=>{a("clear")};return(I,C)=>{var w;return e.openBlock(),e.createElementBlock("div",{ref_key:"dropdownRef",ref:c,class:e.normalizeClass(["freddy-search-wrapper",e.unref(s).class]),onClick:u},[e.createVNode(e.unref(l.IconSearchOptimised),{class:"freddy-search-icon"}),e.withDirectives(e.createElementVNode("input",{type:"text",id:"search-input",class:"freddy-search-input",ref_key:"searchInput",ref:i,"onUpdate:modelValue":C[0]||(C[0]=B=>o.value=B),onInput:d,placeholder:I.placeholder,maxlength:I.maxCharLimit},null,40,Ws),[[e.vModelText,o.value]]),I.showLoaderForSearch?(e.openBlock(),e.createBlock(ae,{key:0,class:"freddy-search-spinner"})):e.createCommentVNode("",!0),I.showCloseButton&&!I.showLoaderForSearch&&((w=o.value)!=null&&w.length)?(e.openBlock(),e.createBlock(e.unref(l.IconCross),{key:1,class:"freddy-search-close",onClick:t})):e.createCommentVNode("",!0)],2)}}}),Zs={class:"model-dropdown-selected-content"},Js=["src","alt"],Qs={class:"model-dropdown-placeholder"},Ys={key:0,class:"model-dropdown-menu"},Xs={key:0,class:"model-dropdown-search"},ei={class:"model-dropdown-options"},oi=["onClick"],ni=["src","alt"],ti={class:"model-dropdown-option-value"},ri={key:0,class:"model-dropdown-no-options"},si=e.defineComponent({__name:"ModelDropdown",props:{options:{},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Search providers..."},modelPlaceholder:{default:"Select a model"},size:{default:"md"}},emits:["select"],setup(f,{emit:p}){const s=f,o=p,i=e.ref(!1),c=e.ref(""),a=e.ref(null),u=e.computed(()=>!s.searchable||!c.value?s.options:s.options.filter(w=>w.value.toLowerCase().includes(c.value.toLowerCase()))),d=()=>{i.value=!i.value,i.value||(c.value="")},t=()=>{i.value=!1,c.value=""},I=w=>{a.value=w,o("select",w),t()},C=w=>{w.target.closest(".model-dropdown-wrapper")||t()};return e.watch(i,w=>{w?setTimeout(()=>{document.addEventListener("click",C)},0):document.removeEventListener("click",C)}),e.onUnmounted(()=>{document.removeEventListener("click",C)}),(w,B)=>{var v,P;return e.openBlock(),e.createElementBlock("div",{class:"model-dropdown-wrapper",onKeydown:e.withKeys(t,["esc"])},[e.createElementVNode("div",{class:e.normalizeClass(["model-dropdown-trigger",[`model-dropdown-trigger--${w.size}`,{"model-dropdown-trigger--open":i.value}]]),onClick:d},[e.createElementVNode("div",Zs,[(v=a.value)!=null&&v.imageSrc?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.value.imageSrc,alt:a.value.value,class:"model-dropdown-selected-image"},null,8,Js)):e.createCommentVNode("",!0),e.createElementVNode("span",Qs,e.toDisplayString(((P=a.value)==null?void 0:P.value)||w.modelPlaceholder),1)]),i.value?(e.openBlock(),e.createBlock(l.IconChevronUp,{key:1,class:"model-dropdown-chevron"})):(e.openBlock(),e.createBlock(l.IconChevronDown,{key:0,class:"model-dropdown-chevron"}))],2),i.value?(e.openBlock(),e.createElementBlock("div",Ys,[w.searchable?(e.openBlock(),e.createElementBlock("div",Xs,[e.createVNode(A,{modelValue:c.value,"onUpdate:modelValue":B[0]||(B[0]=y=>c.value=y),placeholder:w.searchPlaceholder,showCloseButton:!0},null,8,["modelValue","placeholder"])])):e.createCommentVNode("",!0),e.createElementVNode("ul",ei,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,y=>{var g;return e.openBlock(),e.createElementBlock("li",{key:y.id,class:e.normalizeClass(["model-dropdown-option",{"model-dropdown-option--selected":((g=a.value)==null?void 0:g.id)===y.id}]),onClick:b=>I(y)},[y.imageSrc?(e.openBlock(),e.createElementBlock("img",{key:0,src:y.imageSrc,alt:y.value,class:"model-dropdown-option-image"},null,8,ni)):e.createCommentVNode("",!0),e.createElementVNode("span",ti,e.toDisplayString(y.value),1)],10,oi)}),128)),u.value.length===0?(e.openBlock(),e.createElementBlock("li",ri," No providers found ")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],32)}}}),ii=l._export_sfc(si,[["__scopeId","data-v-75f8685b"]]),li=e.defineComponent({__name:"OutputModeModal",props:{isVisible:{type:Boolean,required:!0},initialJsonContent:{type:String,default:"{}"},openaiApiKey:{type:String,default:""},openaiModel:{type:String,default:"gpt-4o-mini"},openaiOrganization:{type:String,default:""}},emits:["close","save","cancel","askAI","toggleAI"],setup(f,{emit:p}){const s=p,o=c=>{try{JSON.parse(c),s("save",c)}catch{alert("Invalid JSON format. Please fix the JSON before saving.")}},i=c=>{s("toggleAI",c)};return(c,a)=>(e.openBlock(),e.createBlock(F,{"is-visible":f.isVisible,title:"Edit response format",description:"Use a JSON schema to define the structure of the model's response format. Learn more.","initial-content":f.initialJsonContent,"openai-api-key":f.openaiApiKey,"openai-model":f.openaiModel,"openai-organization":f.openaiOrganization,onClose:a[0]||(a[0]=u=>c.$emit("close")),onSave:o,onCancel:a[1]||(a[1]=u=>c.$emit("cancel")),onAskAI:a[2]||(a[2]=u=>c.$emit("askAI",u)),onToggleAI:i},null,8,["is-visible","initial-content","openai-api-key","openai-model","openai-organization"]))}}),ci={key:0,class:"freddy-pagination-nav","aria-label":"Pagination"},ai=["disabled"],di={class:"freddy-pagination-dynamic-container"},ui=["onClick","disabled"],pi=["disabled"],hi=e.defineComponent({__name:"Pagination",props:{totalItems:{type:Number,required:!0,default:0},itemsPerPage:{type:Number,required:!0,default:10},currentPage:{type:Number,required:!0,default:1}},emits:["update:currentPage"],setup(f,{emit:p}){const s=f,o=p,i=e.computed(()=>!s.totalItems||isNaN(s.totalItems)?0:Math.ceil(s.totalItems/s.itemsPerPage)),c=e.computed(()=>{const u=[],d=i.value,t=s.currentPage;if(d<=7)for(let I=1;I<=d;I++)u.push(I);else{u.push(1),t>4?u.push("..."):u.push(2,3);for(let I=Math.max(4,t-1);I<=Math.min(d-3,t+1);I++)u.push(I);t<d-4&&u.push("..."),u.push(d-2,d-1,d)}return u});function a(u){u==="..."||u===s.currentPage||typeof u=="number"&&u>=1&&u<=i.value&&o("update:currentPage",u)}return(u,d)=>i.value>0?(e.openBlock(),e.createElementBlock("nav",ci,[e.createElementVNode("button",{class:e.normalizeClass(["freddy-pagination-end-button",{"freddy-pagination-hover-enabled":f.currentPage!==1}]),onClick:d[0]||(d[0]=t=>a(f.currentPage-1)),disabled:f.currentPage===1}," Previous ",10,ai),e.createElementVNode("div",di,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,t=>(e.openBlock(),e.createElementBlock("button",{key:String(t),class:e.normalizeClass(["freddy-pagination-number-button",{active:t===f.currentPage}]),onClick:I=>a(t),disabled:t==="..."||t===f.currentPage},e.toDisplayString(t),11,ui))),128)),e.createElementVNode("button",{class:e.normalizeClass(["freddy-pagination-end-button",{"freddy-pagination-hover-enabled":f.currentPage!==i.value}]),onClick:d[1]||(d[1]=t=>a(f.currentPage+1)),disabled:f.currentPage===i.value||i.value===0}," Next ",10,pi)])])):e.createCommentVNode("",!0)}}),mi=["disabled"],vi=e.defineComponent({__name:"SendButton",props:{disabled:{type:Boolean},active:{type:Boolean},size:{}},setup(f){return l.useTheme(),(p,s)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(["chat-bar-send-btn",{active:p.active,[`chat-bar-send-btn--${p.size}`]:!0}]),disabled:p.disabled,onClick:s[0]||(s[0]=o=>p.$emit("click"))},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.IconSend),{class:"chat-bar-send-icon"}))],10,mi))}}),fi={key:0,class:"skeleton-card"},Ii={key:0,class:"skeleton-line skeleton-wave skeleton-w-32 skeleton-h-6 mb-2"},gi={key:1,class:"skeleton-paragraph"},yi={key:0,class:"skeleton-line skeleton-wave skeleton-h-6 skeleton-w-40 mb-2"},ki={key:2,class:"skeleton-single-box"},Ci={key:0,class:"skeleton-line skeleton-wave skeleton-h-6 skeleton-w-40 mb-2"},bi={key:3,class:"skeleton-table"},$i={key:0,class:"skeleton-line skeleton-wave skeleton-h-6 skeleton-w-40"},Pi={class:"table-full"},wi=e.defineComponent({__name:"SkeletonLoader",props:{type:{},hasHeader:{type:Boolean},count:{}},setup(f){const p=f,{type:s,hasHeader:o=!1,count:i=5}=p;return(c,a)=>e.unref(s)==="card"?(e.openBlock(),e.createElementBlock("div",fi,[e.unref(o)?(e.openBlock(),e.createElementBlock("div",Ii)):e.createCommentVNode("",!0),a[0]||(a[0]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-6 skeleton-w-3-4"},null,-1)),a[1]||(a[1]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full"},null,-1)),a[2]||(a[2]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-5-6"},null,-1))])):e.unref(s)==="paragraph"?(e.openBlock(),e.createElementBlock("div",gi,[e.unref(o)?(e.openBlock(),e.createElementBlock("div",yi)):e.createCommentVNode("",!0),a[3]||(a[3]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full"},null,-1)),a[4]||(a[4]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-5-6"},null,-1)),a[5]||(a[5]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-3-4"},null,-1))])):e.unref(s)==="single-box"?(e.openBlock(),e.createElementBlock("div",ki,[e.unref(o)?(e.openBlock(),e.createElementBlock("div",Ci)):e.createCommentVNode("",!0),a[6]||(a[6]=e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full"},null,-1))])):e.unref(s)==="table"?(e.openBlock(),e.createElementBlock("div",bi,[e.unref(o)?(e.openBlock(),e.createElementBlock("div",$i)):e.createCommentVNode("",!0),e.createElementVNode("table",Pi,[e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(i),u=>(e.openBlock(),e.createElementBlock("tr",{key:u},[...a[7]||(a[7]=[e.createElementVNode("td",{class:"td-padding"},[e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-8 skeleton-w-full"})],-1),e.createElementVNode("td",{class:"td-padding"},[e.createElementVNode("div",{class:"skeleton-line skeleton-wave skeleton-h-8 skeleton-w-full"})],-1)])]))),128))])])])):e.createCommentVNode("",!0)}}),_i={class:"freddy-plugins-slider-container"},Si={key:0,class:"freddy-plugins-slider-header"},Bi={key:0,class:"freddy-plugins-slider-label-section"},Ei={class:"freddy-plugins-slider-label"},qi={key:1,class:"freddy-plugins-slider-value-badge"},Ni=["tabindex","aria-valuemin","aria-valuemax","aria-valuenow","aria-disabled","aria-label"],Vi={key:1,class:"freddy-plugins-slider-hint"},Ti=e.defineComponent({__name:"Slider",props:{modelValue:{},min:{default:0},max:{default:100},step:{default:1},label:{},tooltip:{},tooltipPlacement:{default:"top"},hint:{},disabled:{type:Boolean,default:!1},showValue:{type:Boolean,default:!0},range:{type:Boolean,default:!1},rangeValue:{}},emits:["update:modelValue","update:rangeValue"],setup(f,{emit:p}){const s=f,o=p,i=e.ref(!1),c=e.ref(null),a=e.computed(()=>{var g;const y=((g=s.step.toString().split(".")[1])==null?void 0:g.length)||0;return y>0?s.modelValue.toFixed(y):Math.round(s.modelValue)}),u=e.computed(()=>{const y=s.max-s.min,g=s.modelValue-s.min;return Math.min(100,Math.max(0,g/y*100))}),d=e.computed(()=>u.value),t=y=>{const g=Math.round(y/s.step)*s.step;return Math.min(s.max,Math.max(s.min,g))},I=y=>{if(!c.value)return s.modelValue;const g=c.value.getBoundingClientRect(),b=Math.max(0,Math.min(1,(y-g.left)/g.width)),S=s.min+b*(s.max-s.min),m=Math.round(S/s.step)*s.step;return Math.min(s.max,Math.max(s.min,m))},C=y=>{const g=t(y);g!==s.modelValue&&o("update:modelValue",g)},w=y=>{if(s.disabled)return;y.preventDefault(),y.stopPropagation(),i.value=!0;const g=S=>{if(!i.value)return;S.preventDefault();const m=I(S.clientX);C(m)},b=()=>{i.value=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",g),document.addEventListener("mouseup",b)},B=y=>{if(s.disabled)return;y.preventDefault(),y.stopPropagation(),i.value=!0;const g=S=>{!i.value||!S.touches[0]||(S.preventDefault(),C(I(S.touches[0].clientX)))},b=()=>{i.value=!1,document.removeEventListener("touchmove",g),document.removeEventListener("touchend",b)};document.addEventListener("touchmove",g),document.addEventListener("touchend",b)},v=y=>{if(s.disabled||i.value)return;y.preventDefault(),y.stopPropagation();const g=I(y.clientX);C(g)},P=y=>{if(s.disabled)return;let g=s.modelValue;switch(y.key){case"ArrowLeft":case"ArrowDown":y.preventDefault(),g=s.modelValue-s.step;break;case"ArrowRight":case"ArrowUp":y.preventDefault(),g=s.modelValue+s.step;break;case"Home":y.preventDefault(),g=s.min;break;case"End":y.preventDefault(),g=s.max;break;case"PageDown":y.preventDefault(),g=s.modelValue-s.step*10;break;case"PageUp":y.preventDefault(),g=s.modelValue+s.step*10;break;default:return}C(g)};return(y,g)=>(e.openBlock(),e.createElementBlock("div",_i,[y.label||y.showValue?(e.openBlock(),e.createElementBlock("div",Si,[y.label?(e.openBlock(),e.createElementBlock("div",Bi,[e.createElementVNode("span",Ei,e.toDisplayString(y.label),1),y.tooltip?(e.openBlock(),e.createBlock(N,{key:0,text:y.tooltip,placement:y.tooltipPlacement},{default:e.withCtx(()=>[e.createVNode(l.IconInfoRounded,{class:"freddy-plugins-slider-tooltip-icon"})]),_:1},8,["text","placement"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),y.showValue?(e.openBlock(),e.createElementBlock("div",qi,e.toDisplayString(a.value),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-slider-track-container",{"freddy-plugins-slider-disabled":y.disabled}]),onClick:v,onKeydown:P,tabindex:y.disabled?-1:0,role:"slider","aria-valuemin":y.min,"aria-valuemax":y.max,"aria-valuenow":y.modelValue,"aria-disabled":y.disabled,"aria-label":y.label||"Slider"},[e.createElementVNode("div",{ref_key:"sliderTrack",ref:c,class:"freddy-plugins-slider-track-background"},null,512),e.createElementVNode("div",{class:"freddy-plugins-slider-track-progress",style:e.normalizeStyle({width:u.value+"%"})},null,4),e.createElementVNode("div",{class:e.normalizeClass(["freddy-plugins-slider-thumb",{"freddy-plugins-slider-thumb-dragging":i.value,"freddy-plugins-slider-thumb-disabled":y.disabled}]),style:e.normalizeStyle({left:d.value+"%"}),onMousedown:w,onTouchstart:B},null,38)],42,Ni),y.hint?(e.openBlock(),e.createElementBlock("p",Vi,e.toDisplayString(y.hint),1)):e.createCommentVNode("",!0)]))}}),Di=l._export_sfc(Ti,[["__scopeId","data-v-156893ff"]]),Fi={class:"freddy-plugins-snackbar-content"},xi={class:"freddy-plugins-snackbar-left"},Ai={class:"freddy-plugins-snackbar-text"},Li=["innerHTML"],Mi=["innerHTML"],Ri=["onClick"],zi=e.defineComponent({__name:"SnackBar",setup(f){l.useTheme();const{snackQueue:p}=l.useSnackBar(),s=c=>{switch(c){case"success":return l.IconCheckInCircle;case"danger":return l.IconCross;case"info":return l.IconInfoRounded;default:return l.IconCheckInCircle}},o=e.computed(()=>{const c=p.value[p.value.length-1];if(!c)return"side70";switch(c.toastContainerSize){case"half":return"half";case"full":return"full";default:return"side70"}}),i=c=>{p.value.splice(c,1)};return(c,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-plugins-snackbar-container",`freddy-plugins-snackbar-container--${o.value}`])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(p),(u,d)=>(e.openBlock(),e.createElementBlock("div",{key:d,class:e.normalizeClass(["freddy-plugins-snackbar",`freddy-plugins-snackbar--${u.toastType}`])},[e.createElementVNode("div",Fi,[e.createElementVNode("div",xi,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s(u.toastType)),{class:e.normalizeClass(["freddy-plugins-snackbar-icon",[u.toastType==="info"&&"freddy-plugins-snackbar-icon--info",u.toastType==="danger"&&"freddy-plugins-snackbar-icon--danger",u.toastType==="success"&&"freddy-plugins-snackbar-icon--success"]])},null,8,["class"])),e.createElementVNode("div",Ai,[e.createElementVNode("p",{class:"freddy-plugins-snackbar-title",innerHTML:u.title},null,8,Li),e.createElementVNode("p",{class:"freddy-plugins-snackbar-message",innerHTML:u.message},null,8,Mi)])]),e.createElementVNode("button",{class:"freddy-plugins-snackbar-close-btn",onClick:t=>i(d)},[e.createVNode(l.IconLightCross,{class:"freddy-plugins-snackbar-close-icon"})],8,Ri)])],2))),128))],2))}}),Hi={class:"freddy-plugins-switch-slot__header"},Oi={key:0,class:"freddy-plugins-switch-slot__label-section"},Ui={key:0,class:"freddy-plugins-switch-slot__label"},Ki=["aria-checked","tabindex","onKeydown","disabled"],ji={key:0,class:"freddy-plugins-switch-slot__content"},Gi={key:1,class:"freddy-plugins-switch-slot__hint"},Wi=e.defineComponent({__name:"SwitchSlot",props:{modelValue:{type:Boolean},label:{},tooltip:{},tooltipPlacement:{},hint:{},disabled:{type:Boolean},variant:{},showSlotContent:{type:Boolean}},emits:["update:modelValue"],setup(f,{emit:p}){const s=f,o=p,i=c=>{c.stopPropagation(),s.disabled||o("update:modelValue",!s.modelValue)};return(c,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["freddy-plugins-switch-slot",{"freddy-plugins-switch-slot--bordered":c.variant==="bordered","freddy-plugins-switch-slot--disabled":c.disabled}])},[e.createElementVNode("div",Hi,[c.label||c.tooltip?(e.openBlock(),e.createElementBlock("div",Oi,[c.label?(e.openBlock(),e.createElementBlock("span",Ui,e.toDisplayString(c.label),1)):e.createCommentVNode("",!0),c.tooltip?(e.openBlock(),e.createBlock(N,{key:1,text:c.tooltip,placement:c.tooltipPlacement},{default:e.withCtx(()=>[e.createVNode(l.IconInfoRounded,{class:"freddy-plugins-switch-slot__tooltip-icon"})]),_:1},8,["text","placement"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("button",{class:e.normalizeClass(["freddy-plugins-switch-slot__switch",{"freddy-plugins-switch-slot__switch--on":c.modelValue}]),"aria-checked":c.modelValue,role:"switch",tabindex:c.disabled?-1:0,onClick:i,onKeydown:[e.withKeys(e.withModifiers(i,["prevent"]),["space"]),e.withKeys(e.withModifiers(i,["prevent"]),["enter"])],disabled:c.disabled},[...a[0]||(a[0]=[e.createElementVNode("span",{class:"freddy-plugins-switch-slot__track"},null,-1),e.createElementVNode("span",{class:"freddy-plugins-switch-slot__thumb"},null,-1)])],42,Ki)]),c.showSlotContent?(e.openBlock(),e.createElementBlock("div",ji,[e.renderSlot(c.$slots,"content",{},void 0,!0)])):e.createCommentVNode("",!0),c.hint?(e.openBlock(),e.createElementBlock("p",Gi,e.toDisplayString(c.hint),1)):e.createCommentVNode("",!0)],2))}}),Zi=l._export_sfc(Wi,[["__scopeId","data-v-edc0859a"]]),Ji={class:"freddy-plugin-nav-bar"},Qi=["onClick"],Yi=e.defineComponent({__name:"TabList",props:{tabList:{},currentTab:{default:0},activeStateType:{},orientation:{},fullWidth:{type:Boolean}},emits:["tabSwitch"],setup(f,{emit:p}){const s=f,o=p,i=e.ref(s.currentTab),c=a=>{i.value!==a.id&&(i.value=a.id,o("tabSwitch",a.id))};return(a,u)=>(e.openBlock(),e.createElementBlock("div",Ji,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.tabList,(d,t)=>(e.openBlock(),e.createElementBlock("button",{class:"freddy-plugin-tab-list-menu-button",key:t,onClick:I=>c(d)},[e.createTextVNode(e.toDisplayString(d.title)+" ",1),e.createElementVNode("span",{class:e.normalizeClass({"freddy-plugin-active-tab":i.value===d.id})},null,2)],8,Qi))),128))]))}}),Xi={class:"freddy-plugins-toast-wrapper"},el={class:"freddy-plugins-toast-icon-wrapper"},ol={class:"freddy-plugins-toast-message"},nl=["onClick"],tl=e.defineComponent({__name:"ToastMessage",setup(f){const{toastQueue:p}=l.useToast(),s={success:"freddy-plugins-toast-success",danger:"freddy-plugins-toast-danger",info:"freddy-plugins-toast-info"},o=a=>s[a],i=a=>{switch(a){case"success":return l.IconTick;case"danger":return l.IconCross;case"info":return l.IconInfoRounded;default:return l.IconTick}},c=a=>{p.value.splice(a,1)};return(a,u)=>(e.openBlock(),e.createElementBlock("div",Xi,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(p),(d,t)=>(e.openBlock(),e.createElementBlock("div",{key:t,class:e.normalizeClass(["freddy-plugins-toast-item",o(d.toastType)])},[e.createElementVNode("div",el,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i(d.toastType)),{class:"freddy-plugins-toast-icon"}))]),e.createElementVNode("span",ol,e.toDisplayString(d.message),1),e.createElementVNode("button",{class:"freddy-plugins-toast-close-button",onClick:I=>c(t)},[e.createVNode(e.unref(l.IconCross),{class:"freddy-plugins-toast-close-icon"})],8,nl)],2))),128))]))}});function rl(f={}){const{logErrors:p=!0,throwOnCritical:s=!1,maxRetries:o=3}=f,i=e.ref([]),c=e.ref(!1),a=e.ref(0),u=e.computed(()=>i.value.length>0),d=e.computed(()=>i.value[i.value.length-1]||null),t=(P,y)=>{const g={message:P instanceof Error?P.message:String(P),stack:P instanceof Error?P.stack:void 0,timestamp:new Date().toISOString(),context:{...y,retryCount:a.value,userAgent:typeof navigator<"u"?navigator.userAgent:"Unknown"}};if(P&&typeof P=="object"&&"status"in P&&(g.code=P.status),i.value.push(g),p&&process.env.NODE_ENV,s&&v(P))throw P;return g},I=async(P,y)=>{c.value=!0;try{const g=await P();return a.value=0,{data:g,error:null}}catch(g){return{data:null,error:t(g,y)}}finally{c.value=!1}},C=async(P,y)=>{let g=null;for(let b=1;b<=o;b++){a.value=b-1;const S=await I(P,{...y,attempt:b,maxRetries:o});if(S.data!==null)return S;if(g=S.error,g!=null&&g.code&&typeof g.code=="number"&&g.code>=400&&g.code<500)break;b<o&&await new Promise(m=>setTimeout(m,Math.pow(2,b)*1e3))}return{data:null,error:g}},w=()=>{i.value=[],a.value=0},B=P=>{P>=0&&P<i.value.length&&i.value.splice(P,1)},v=P=>{if(P instanceof Error){if(P.name==="NetworkError"||P.name==="TypeError")return!1;if(P.name==="SyntaxError")return!0}return P&&typeof P=="object"&&"status"in P?P.status>=500:!1};return{errors:e.computed(()=>i.value),hasErrors:u,latestError:d,isLoading:e.computed(()=>c.value),retryCount:e.computed(()=>a.value),handleError:t,handleAsync:I,retryAsync:C,clearErrors:w,clearError:B,isCriticalError:v}}function sl(f={}){const{enableMetrics:p=process.env.NODE_ENV==="development",trackMemory:s=!1,sampleRate:o=.1}=f,i=e.ref([]),c=e.ref(!1),a=e.ref(0),u=e.computed(()=>i.value.length===0?0:i.value.reduce((m,n)=>m+n.renderTime,0)/i.value.length),d=e.computed(()=>i.value.length===0?0:Math.max(...i.value.map(S=>S.renderTime))),t=S=>{!p||Math.random()>o||(c.value=!0,a.value=performance.now(),S&&process.env.NODE_ENV)},I=(S,m=1)=>{if(!c.value||!p)return;const $={renderTime:performance.now()-a.value,componentCount:m,timestamp:new Date().toISOString()};if(s&&"memory"in performance){const k=performance.memory;$.memoryUsage=k.usedJSHeapSize}return i.value.push($),i.value.length>100&&i.value.shift(),c.value=!1,S&&process.env.NODE_ENV,$},C=async(S,m)=>{t(m);try{const n=await S(),h=I(m)||{renderTime:0,componentCount:1,timestamp:new Date().toISOString()};return{result:n,metrics:h}}catch(n){throw I(m),n}},w=(S,m)=>{let n;return(...h)=>{clearTimeout(n),n=setTimeout(()=>S(...h),m)}},B=(S,m)=>{let n;return(...h)=>{n||(S(...h),n=!0,setTimeout(()=>n=!1,m))}},v=(S,m=5e3)=>{"requestIdleCallback"in window?window.requestIdleCallback(S,{timeout:m}):setTimeout(S,0)},P=async(S,m=0)=>(m>0&&await new Promise(n=>setTimeout(n,m)),new Promise(n=>{v(async()=>{try{const h=await S();n(h)}catch(h){throw h}})})),y=(S,m,n)=>{const h=Math.ceil(n/m),$=Math.ceil(h*.5);return k=>{const r=Math.max(0,Math.floor(k/m)-$),E=Math.min(S.length,r+h+$*2);return{visibleItems:S.slice(r,E),startIndex:r,endIndex:E,totalHeight:S.length*m,offsetY:r*m}}},g=()=>{i.value=[]},b=()=>({totalMeasurements:i.value.length,averageRenderTime:u.value,maxRenderTime:d.value,recentMetrics:i.value.slice(-10)});return p&&process.env.NODE_ENV==="development"&&e.onMounted(()=>{t("Component Mount"),e.nextTick(()=>{I("Component Mount")})}),{metrics:e.computed(()=>i.value),isTracking:e.computed(()=>c.value),averageRenderTime:u,maxRenderTime:d,startTracking:t,endTracking:I,measureAsync:C,debounce:w,throttle:B,scheduleWork:v,lazyLoad:P,createVirtualList:y,clearMetrics:g,getSummary:b}}exports.ConfirmationModal=l._sfc_main;exports.DeleteConfirmationModal=l._sfc_main$1;exports.IconAddChatPop=l.IconAddChatPop;exports.IconAddFileSystem=l.IconAddFileSystem;exports.IconAddPeople=l.IconAddPeople;exports.IconAitronos=l.IconAitronos;exports.IconApple=l.IconApple;exports.IconApplePay=l.IconApplePay;exports.IconAppsGrid=l.IconAppsGrid;exports.IconArrowDown=l.IconArrowDown;exports.IconArrowLeft=l.IconArrowLeft;exports.IconArrowUp=l.IconArrowUp;exports.IconBadgeCheck=l.IconBadgeCheck;exports.IconBroom=l.IconBroom;exports.IconBuildings=l.IconBuildings;exports.IconCalendarWithTickInside=l.IconCalendarWithTickInside;exports.IconCallNotAllowed=l.IconCallNotAllowed;exports.IconCardPay=l.IconCardPay;exports.IconCaution=l.IconCaution;exports.IconChangeLog=l.IconChangeLog;exports.IconCheckCircleFill=l.IconCheckCircleFill;exports.IconCheckInCircle=l.IconCheckInCircle;exports.IconCheckRounded=l.IconCheckRounded;exports.IconChevronDown=l.IconChevronDown;exports.IconChevronLeft=l.IconChevronLeft;exports.IconChevronRight=l.IconChevronRight;exports.IconChevronUp=l.IconChevronUp;exports.IconCircledCheck=l.IconCircledCheck;exports.IconClock=l.IconClock;exports.IconClosedEnvelope=l.IconClosedEnvelope;exports.IconCloudUpload=l.IconCloudUpload;exports.IconConnectorConfluence=l.IconConnectorConfluence;exports.IconConnectorFigma=l.IconConnectorFigma;exports.IconConnectorFreshDesk=l.IconConnectorFreshDesk;exports.IconConnectorGitHub=l.IconConnectorGitHub;exports.IconConnectorJira=l.IconConnectorJira;exports.IconConnectorLinear=l.IconConnectorLinear;exports.IconConnectorNotion=l.IconConnectorNotion;exports.IconConnectorSlack=l.IconConnectorSlack;exports.IconConnectorZapier=l.IconConnectorZapier;exports.IconCopy=l.IconCopy;exports.IconCross=l.IconCross;exports.IconCrossCircleFill=l.IconCrossCircleFill;exports.IconCrossInCircle=l.IconCrossInCircle;exports.IconCurrentTick=l.IconCurrentTick;exports.IconDataUpload=l.IconDataUpload;exports.IconDelete=l.IconDelete;exports.IconDeleteFillRed=l.IconDeleteFillRed;exports.IconDialingPhone=l.IconDialingPhone;exports.IconDisabledAlert=l.IconDisabledAlert;exports.IconDocumentation=l.IconDocumentation;exports.IconDownload=l.IconDownload;exports.IconDribbble=l.IconDribbble;exports.IconDropdownArrow=l.IconDropdownArrow;exports.IconEdit=l.IconEdit;exports.IconEditLinePath=l.IconEditLinePath;exports.IconEllipse=l._sfc_main$2;exports.IconExcelThumbnail=l.IconExcelThumbnail;exports.IconExpand=l.IconExpand;exports.IconEye=l.IconEye;exports.IconFacebook=l.IconFacebook;exports.IconFigma=l.IconFigma;exports.IconFile=l.IconFile;exports.IconFileSystem=l.IconFileSystem;exports.IconFileUpload=l.IconFileUpload;exports.IconFilter=l.IconFilter;exports.IconFloppy=l.IconFloppy;exports.IconFolder=l.IconFolder;exports.IconFreddyHub=l.IconFreddyHub;exports.IconFreddyHubLogo=l.IconFreddyHubLogo;exports.IconFreddyHubNewLogo=l.IconFreddyHubNewLogo;exports.IconFreddyHubTitle=l._sfc_main$3;exports.IconFreddySmall=l.IconFreddySmall;exports.IconGlobExpand=l.IconGlobExpand;exports.IconGlobe=l.IconGlobe;exports.IconGoogle=l.IconGoogle;exports.IconHollowCircle=l.IconHollowCircle;exports.IconHome=l.IconHome;exports.IconInfoRounded=l.IconInfoRounded;exports.IconInvalidInvoice=l.IconInvalidInvoice;exports.IconInvoice=l.IconInvoice;exports.IconInvoiceSwitch=l.IconInvoiceSwitch;exports.IconLapTableBottom=l.IconLapTableBottom;exports.IconLense=l.IconLense;exports.IconLightCross=l.IconLightCross;exports.IconLink04=l.IconLink04;exports.IconLoadingError=l.IconLoadingError;exports.IconLoadingOrg=l.IconLoadingOrg;exports.IconLocationWithCircleIn=l.IconLocationWithCircleIn;exports.IconLock=l.IconLock;exports.IconMarketPlace=l.IconMarketPlace;exports.IconMaximize=l.IconMaximize;exports.IconMicrophone=l.IconMicrophone;exports.IconMutedMicrophone=l.IconMutedMicrophone;exports.IconNewNotification=l.IconNewNotification;exports.IconNewTab=l.IconNewTab;exports.IconNotification=l.IconNotification;exports.IconOpenBook=l.IconOpenBook;exports.IconPaperAirPlane=l.IconPaperAirPlane;exports.IconPauseCircle=l.IconPauseCircle;exports.IconPdfThumbnail=l.IconPdfThumbnail;exports.IconPenEdit=l.IconPenEdit;exports.IconPencil=l.IconPencil;exports.IconPeopleHub=l.IconPeopleHub;exports.IconPersonCircle=l.IconPersonCircle;exports.IconPits=l.IconPits;exports.IconPlay=l.IconPlay;exports.IconPlus=l.IconPlus;exports.IconPolygonDown=l.IconPolygonDown;exports.IconPresentation=l.IconPresentation;exports.IconProgressBase=l.IconProgressBase;exports.IconProgressComplete=l.IconProgressComplete;exports.IconProgressGoing=l.IconProgressGoing;exports.IconPurpose=l.IconPurpose;exports.IconPurseCircleFill=l.IconPurseCircleFill;exports.IconQuestion=l.IconQuestion;exports.IconRadio=l.IconRadio;exports.IconRadioFill=l.IconRadioFill;exports.IconRefresh=l.IconRefresh;exports.IconRevertedTriangle=l.IconRevertedTriangle;exports.IconRobotScreen=l.IconRobotScreen;exports.IconRoudedSiingleSparkle=l.IconRoudedSiingleSparkle;exports.IconRoundTick=l.IconRoundTick;exports.IconSearch=l.IconSearch;exports.IconSearchOptimised=l.IconSearchOptimised;exports.IconSectionHide=l.IconSectionHide;exports.IconSend=l.IconSend;exports.IconSettings=l.IconSettings;exports.IconSettingsBold=l.IconSettingsBold;exports.IconSize=l.IconSize;exports.IconSliderKnobs=l.IconSliderKnobs;exports.IconSortIdle=l.IconSortIdle;exports.IconSparkle=l.IconSparkle;exports.IconSpotlio=l.IconSpotlio;exports.IconStar=l.IconStar;exports.IconStatistics=l.IconStatistics;exports.IconStopChat=l.IconStopChat;exports.IconStreamLineHub=l.IconStreamLineHub;exports.IconStreamLineHubNewLogo=l.IconStreamLineHubNewLogo;exports.IconSun=l.IconSun;exports.IconSwap=l.IconSwap;exports.IconText=l.IconText;exports.IconTextThumbnail=l.IconTextThumbnail;exports.IconThinDocument=l.IconThinDocument;exports.IconThinFile=l.IconThinFile;exports.IconThumbsDown=l.IconThumbsDown;exports.IconTick=l.IconTick;exports.IconUser=l.IconUser;exports.IconVerticalDots=l.IconVerticalDots;exports.IconVideoCamera=l.IconVideoCamera;exports.IconWarningOctal=l.IconWarningOctal;exports.IconX=l.IconX;exports.IconZip=l._sfc_main$4;exports.aiResponseToChatMessage=l.aiResponseToChatMessage;exports.calculatePercentage=l.calculatePercentage;exports.cloneDeepSafe=l.cloneDeepSafe;exports.copyToClipboard=l.copyToClipboard;exports.createChangesObject=l.createChangesObject;exports.daysInMonth=l.daysInMonth;exports.debounce=l.debounce;exports.deepEqual=l.deepEqual;exports.defaultImageSrc=l.defaultImageSrc;exports.extractStats=l.extractStats;exports.fileSizeFormatter=l.fileSizeFormatter;exports.fillMissingDays=l.fillMissingDays;exports.formatDate=l.formatDate;exports.formatDateToLocaleString=l.formatDateToLocaleString;exports.formatLastUsedDate=l.formatLastUsedDate;exports.getDatesForMonth=l.getDatesForMonth;exports.getDaysInMonth=l.getDaysInMonth;exports.getDisplayContent=l.getDisplayContent;exports.getFileNameFromUrl=l.getFileNameFromUrl;exports.getShortMonthName=l.getShortMonthName;exports.hasOverflow=l.hasOverflow;exports.hasTextImprovements=l.hasTextImprovements;exports.interpolateColor=l.interpolateColor;exports.isValidAIResponse=l.isValidAIResponse;exports.openConfirmBoxModal=l.openConfirmBoxModal;exports.openDeleteConfirmModal=l.openDeleteConfirmModal;exports.parseAITextResponse=l.parseAITextResponse;exports.parseApiResponse=l.parseApiResponse;exports.readableDateFormat=l.readableDateFormat;exports.scrollToBottom=l.scrollToBottom;exports.scrollToElement=l.scrollToElement;exports.useSnackBar=l.useSnackBar;exports.useToast=l.useToast;exports.AdvancedModal=Ve;exports.AnimeSpaceman=_e;exports.AssistantField=Y;exports.AssistantList=Ue;exports.AssistantsHeader=oo;exports.AvatarChoosing=X;exports.AvatarList=ao;exports.BaseButton=j;exports.BaseInput=x;exports.BaseTabButton=ee;exports.CardInput=se;exports.ChooseAssistantAvatar=Vo;exports.CodeBlock=bt;exports.CustomCheckbox=Bt;exports.DefaultInput=ie;exports.Descriptions=Hr;exports.DiffTextarea=Gr;exports.Dropdown=ns;exports.EditFeaturedExcerptModal=F;exports.EmailCodeVerification=ms;exports.IconStyleDirective=H;exports.InputField=Ts;exports.InstructionsModal=zs;exports.InstructiontextArea=Us;exports.ModalBox=ce;exports.ModalOverlay=Gs;exports.ModelDropdown=ii;exports.OutputModeModal=li;exports.Pagination=hi;exports.PhoneInput=le;exports.RulesManagement=fn;exports.SearchInput=A;exports.SendButton=vi;exports.SimpleChatInterface=ne;exports.SkeletonLoader=wi;exports.Slider=Di;exports.SnackBar=zi;exports.SocialButtons=kt;exports.Spinner=ae;exports.Switch=re;exports.SwitchSlot=Zi;exports.TabList=Yi;exports.TextAreaInputField=te;exports.ToastMessage=tl;exports.Tooltip=N;exports.TooltipV2=oe;exports.VectorFrame=_n;exports.VectorSection=Gn;exports.VoiceList=Yn;exports.VoiceSelection=K;exports.default=$e;exports.frSanitizePlugin=Pe;exports.iconStylePlugin=we;exports.useErrorHandler=rl;exports.usePerformance=sl;exports.vFrSanitize=O;
|
|
81
81
|
//# sourceMappingURL=index.cjs.map
|