PageSourceSearch

https://community.moneyhabitudes.com/packs/js/BuilderDesignPanel-b41213c988fbc3ee.chunk.js

js moneyhabitudes.com collected 2026-09-28 10:20:00 UTC 4,323 bytes, 2 lines download raw bytes

1"use strict";(self.rspackChunkcircle=self.rspackChunkcircle||[]).push([[10125],{27242(e,n,t){t.d(n,{B:()=>f});var i=t(391426),r=t(828246),a=t(890341),l=t(547570),s=t(417980),c=t(852362),o="circle_ai_home.credits_exhausted_banner",d=function(){var e=(0,a.G)(),n=(0,r.U)(),t=(0,c.X)().trackEvent;return(0,i.jsx)("div",{className:"w-full pb-3",children:(0,i.jsx)(l.F,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(n){var i;i=t[n],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i})}return e}({variant:"info",layout:"horizontal",title:(0,s.t)("".concat(o,".title")),description:(0,s.t)(e?"".concat(o,".subtitle"):"".concat(o,".subtitle_coming_soon"))},e&&{secondaryActionProps:{children:(0,s.t)("".concat(o,".add_credits")),className:"ml-2",onClick:function(){t("circle_ai.credits_exhausted_banner.add_button.clicked",{}),n.show()}}}))})},u=t(925161),f=function(e){var n=e.canSendAiChat,t=e.isCommunityOnTrial,r=e.insideConversation;return n?null:t?(0,i.jsx)(u.I,{insideConversation:void 0!==r&&r}):(0,i.jsx)(d,{})}},925161(e,n,t){var i=t(391426),r=t(24814),a=t(915779),l=t(547570),s=t(519104),c=t(417980),o=function(e){var n=e.insideConversation,t=void 0!==n&&n,o=(0,s.Z)(),d=(0,r.V)(function(e){return e.setConversationPanelState});return(0,i.jsx)("div",{className:"w-full pb-3",children:(0,i.jsx)(l.F,{variant:"info",layout:"horizontal",title:(0,c.t)("circle_ai_home.trial_limit_banner.title"),description:(0,c.t)("circle_ai_home.trial_limit_banner.subtitle"),secondaryActionProps:{children:(0,c.t)("circle_ai_home.trial_limit_banner.cta"),className:"ml-3",onClick:function(){t&&d("default"),o({to:a.ty.plans.general,search:{sales_utm_campaign:"caiplusfit"}})}}})})};t.d(n,{I:()=>o})},493042(e,n,t){t.d(n,{DesignPanel:()=>p});var i=t(391426),r=t(452825),a=t(343608),l=t(27242),s=t(847627),c=t(962506),o=t(374812),d=t(640668),u=t(55383),f=function(){var e=(0,o.a)(),n=(0,d.B)().isCommunityOnTrial,t=(0,u.Z)(function(e){return e.closeDesignPanel}),r=!e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.B,{canSendAiChat:e,isCommunityOnTrial:n}),(0,i.jsx)(s.E,{onSend:function(e,n){if(!r&&e.trim()){var i=c.B.getState().activeConversation.id;c.B.getState().setPendingInitialMessage(function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(n){var i;i=t[n],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i})}return e}({body:n,target:"panel",text:e},i?{conversationId:i}:{})),i||c.B.getState().startNewChat({openPanel:!1}),t()}},isRunning:!1,disabled:r})]})},b=t(34819),m=t(892907),v=t(417980),h=function(){var e=(0,u.Z)(function(e){return e.closeDesignPanel});return(0,i.jsxs)("div",{className:"flex h-[52px] w-full shrink-0 items-center justify-between px-4",children:[(0,i.jsx)(m.o5,{variant:"heading-md",children:(0,v.t)("settings.site.pages.builder.design")}),(0,i.jsx)(b.K,{variant:"ghost",size:"sm",icon:"cross","aria-label":(0,v.t)("close"),onClick:e,"data-testid":"design-panel-close"})]})},p=function(){return(0,i.jsxs)("div",{className:"flex size-full flex-col gap-3",children:[(0,i.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden rounded-xl border border-primary bg-primary shadow-2xs","data-testid":"builder-design-panel",children:[(0,i.jsx)(h,{}),(0,i.jsx)(r.c,{}),(0,i.jsx)("div",{id:a.R,className:"flex min-h-0 flex-1 flex-col overflow-hidden"})]}),(0,i.jsx)(f,{})]})}},343608(e,n,t){var i="builder-design-panel-body",r="#".concat(i);t.d(n,{R:()=>i,q:()=>r})},374812(e,n,t){var i=t(320759),r=t(230763),a=t(172327),l=function(){var e=(0,r.Od)().currentCommunity,n=(0,i.p0)().isCircleAiAllowed,t=(0,a.J)(),l=t.data,s=t.isLoading;return(null==e||!e.subscription_cancelled)&&(!!n||!!s||!l||l.usage.available_credits>0)};t.d(n,{a:()=>l})}}]);
2//# sourceMappingURL=/packs/js/BuilderDesignPanel-b41213c988fbc3ee.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.