PageSourceSearch

https://midlandsoccerclub.com/chunk-CBXCHUKF.js

js midlandsoccerclub.com collected 2026-10-09 22:40:58 UTC 42,441 bytes, 270 lines download raw bytes

1import{a as Ke}from"./chunk-IPNZ22E3.js";import{ja as ze,p as Ge}from"./chunk-IWH6QETE.js";import"./chunk-WR7JO7XW.js";import"./chunk-HEXCNDVV.js";import"./chunk-MB6YAV2B.js";import"./chunk-4NM77DS2.js";import"./chunk-ADMKBOBN.js";import"./chunk-LCPPMNQ3.js";import"./chunk-BT6MT7GL.js";import{a as $e,b as He,d as Ye}from"./chunk-5D7LV4AS.js";import"./chunk-XPLYBCSC.js";import"./chunk-UD33NWAA.js";import"./chunk-7TB77G3Z.js";import"./chunk-PXZNPNHI.js";import"./chunk-KWNDGQWR.js";import"./chunk-2ZFY6MCW.js";import"./chunk-KQ7PEKEE.js";import"./chunk-KVMIYEBS.js";import"./chunk-DLHY2JKF.js";import"./chunk-WLMRFXCZ.js";import"./chunk-WN3UI2QV.js";import"./chunk-YVLOHBDK.js";import"./chunk-Z3AXU4EF.js";import"./chunk-TP3A6IN2.js";import"./chunk-XNFXA3ZT.js";import"./chunk-QLTRNXEK.js";import"./chunk-TEFEWVO6.js";import"./chunk-ZB64W4XA.js";import"./chunk-SVABVB5X.js";import"./chunk-CMY6WAF3.js";import{t as we}from"./chunk-FUY7HSJY.js";import{a as Se,d as Ee}from"./chunk-JTYXZXFU.js";import"./chunk-7MK6I7GJ.js";import"./chunk-3HFTO6XY.js";import"./chunk-XNSH6ILV.js";import"./chunk-IZKA562T.js";import"./chunk-BROSYERN.js";import"./chunk-Y2KCFOCP.js";import"./chunk-Z52L74DH.js";import"./chunk-QH3IRCHN.js";import"./chunk-PLEH3NAH.js";import"./chunk-GXCJ5QS4.js";import"./chunk-22ACI5KU.js";import"./chunk-FXUQQQIE.js";import"./chunk-FSUBAQYH.js";import"./chunk-7CVCGK4Q.js";import"./chunk-FWW3IJT2.js";import"./chunk-B6LCWWQX.js";import"./chunk-HYGNXZJR.js";import"./chunk-B6XXRKU5.js";import"./chunk-6Q5DDO7R.js";import"./chunk-RW2MVE4O.js";import"./chunk-3ZVRFUA4.js";import"./chunk-H4PCL6BZ.js";import"./chunk-NXTJBJRP.js";import"./chunk-U22BTVEZ.js";import{Ag as Oe,B as me,Be as De,Ce as Le,D as _e,Gb as Ie,Ia as ye,Kb as Pe,Mb as Te,Wg as Ue,Xg as We,Yg as qe,Zg as Fe,_g as je,b as de,d as ce,gd as Ae,jb as be,k as pe,kh as Qe,sg as Be,ve as ke,vg as Me,wg as Ve,xb as ve,xg as Re,yg as Ne,zg as F}from"./chunk-X5J6QTCG.js";import{$ as B,$a as u,Aa as K,Ad as q,Fa as s,Fb as W,Gb as ne,Hb as R,Ib as e,Ic as se,Jb as w,Ka as A,Kb as I,Lb as ae,Ma as X,Na as M,Ni as fe,Qb as v,Ra as Z,Rb as S,Sa as J,Sb as E,U as k,V as G,Xa as ee,_ as Y,bb as g,ca as z,cb as V,cc as oe,eb as D,fa as m,fb as L,fi as he,ga as _,gb as p,hb as r,hd as le,ib as o,jb as x,kd as N,nb as te,ob as ie,p as $,pj as Ce,qb as f,qc as re,sb as C,tb as c,vd as ue,x as H,xd as ge,yd as xe}from"./chunk-SMW7PHYX.js";import"./chunk-BMIYOSOG.js";var O=(()=>{let l=class l{constructor(){this.webAPI=z(he)}startSession(a,n){return this.webAPI.postData("admin/page-builder-agent/sessions",{prompt:a,creativityLevel:n})}startEditSession(a){return this.webAPI.postData("admin/page-builder-agent/sessions",{sourcePageBuilderPageID:a})}getSessions(){return this.webAPI.getData("admin/page-builder-agent/sessions")}getSession(a){return this.webAPI.getData(`admin/page-builder-agent/sessions/${a}`)}getSessionStatus(a){return this.webAPI.getData(`admin/page-builder-agent/sessions/${a}/status`)}sendMessage(a,n,d=null){return this.webAPI.postData(`admin/page-builder-agent/sessions/${a}/messages`,{message:n,selections:d})}getLibraryImages(a){let n=new le;return a.forEach(d=>n=n.append("ids",d.toString())),this.webAPI.getData("admin/page-builder-agent/library-images",n)}publishDraft(a){return this.webAPI.postData(`admin/page-builder-agent/drafts/${a}/publish`,{})}discardDraft(a){return this.webAPI.postData(`admin/page-builder-agent/drafts/${a}/discard`,{})}undoDraft(a){return this.webAPI.postData(`admin/page-builder-agent/drafts/${a}/undo`,{})}};l.\u0275fac=function(n){return new(n||l)},l.\u0275prov=Y({token:l,factory:l.\u0275fac});let i=l;return i})();var h=(function(i){return i[i.QUEUED=1]="QUEUED",i[i.RUNNING=2]="RUNNING",i[i.AWAITING_REVIEW=3]="AWAITING_REVIEW",i[i.NEEDS_INPUT=4]="NEEDS_INPUT",i[i.APPLIED=5]="APPLIED",i[i.DISCARDED=6]="DISCARDED",i[i.FAILED=7]="FAILED",i[i.UNDONE=8]="UNDONE",i})(h||{});var Q=(function(i){return i[i.ASSISTANT=1]="ASSISTANT",i[i.USER=2]="USER",i})(Q||{});var Xe=["Before I build this, I need a few answers:","A couple of things that would sharpen this:"],Ze={get_site_context:"Reviewed your site and existing pages",get_draft_page_structure:"Read the current draft page",get_content_type_catalog:"Checked the available section types",get_component_options:"Looked up a section's setting options",list_teams:"Looked through your teams",list_library_images:"Browsed your image library",generate_image:"Generated an image for your page",propose_page_plan:"Drafted your page",propose_page_edits:"Made a quick edit to your page",present_questions:"Asked you a few questions"};function Je(i,l){let t=l?` (the ${l.replace(/_/g," ").toLowerCase()} section)`:"";return`In section ${i}${t}: `}var et={[h.QUEUED]:"Queued",[h.RUNNING]:"Working",[h.AWAITING_REVIEW]:"Ready for review",[h.NEEDS_INPUT]:"Waiting for your reply",[h.APPLIED]:"Published",[h.DISCARDED]:"Discarded",[h.FAILED]:"Failed",[h.UNDONE]:"Returned to draft"},tt={[h.QUEUED]:"info",[h.RUNNING]:"info",[h.AWAITING_REVIEW]:"warning",[h.NEEDS_INPUT]:"warning",[h.APPLIED]:"success",[h.DISCARDED]:"disabled",[h.FAILED]:"error",[h.UNDONE]:"default"};var ot=()=>({width:"100%"}),rt=(i,l)=>l.id,st=(i,l)=>l.sequence;function lt(i,l){if(i&1){let t=f();e(0,`
2          `),r(1,"label",4),e(2,"Recent sessions"),o(),e(3,`
3          `),r(4,"p-select",5),C("ngModelChange",function(n){m(t);let d=c(2);return _(d.openSession(n))}),e(5,`
4          `),o(),e(6,`
5        `)}if(i&2){let t=c(2);s(4),p("options",t.sessionOptions)("ngModel",t.selectedSessionID)}}function dt(i,l){if(i&1){let t=f();e(0,`
6          `),r(1,"button",6),C("click",function(){m(t);let n=c(2);return _(n.startOver())}),e(2,`
7            `),x(3,"i",7),e(4,`New Page
8          `),o(),e(5,`
9        `)}}function ct(i,l){if(i&1&&(e(0,`
10      `),r(1,"span",3),e(2,`
11        `),u(3,lt,7,2),u(4,dt,6,0),o(),e(5,`
12    `)),i&2){let t=c();s(3),g(t.sessionOptions.length?3:-1),s(),g(t.session?4:-1)}}function pt(i,l){i&1&&(e(0,`
13    `),r(1,"app-inline-alert",8),e(2,`
14      The AI Page Builder is not enabled for your club. Contact Sprocket Sports support if you would like to join
15      the beta.
16    `),o(),e(3,`
17  `)),i&2&&(s(),p("isInline",!0))}function mt(i,l){if(i&1&&(e(0,`
18            `),r(1,"div",15),e(2),o(),e(3,`
19          `)),i&2){let t=c(4);s(2),I("",t.openingElapsedSeconds,"s elapsed")}}function _t(i,l){if(i&1&&(e(0,`
20        `),r(1,"app-loader"),e(2,"Opening your page with the AI assistant"),o(),e(3,`
21        `),r(4,"div",14),e(5,`
22          `),r(6,"div"),e(7),o(),e(8,`
23          `),u(9,mt,4,1),o(),e(10,`
24      `)),i&2){let t=c(3);s(7),w(t.openingStageText),s(2),g(t.openingElapsedSeconds>=5?9:-1)}}function ut(i,l){i&1&&(e(0,`
25        `),r(1,"app-loader"),e(2,"Loading session..."),o(),e(3,`
26      `))}function gt(i,l){if(i&1&&(e(0,`
27      `),u(1,_t,11,2)(2,ut,4,0)),i&2){let t=c(2);s(),g(t.openingPage?1:2)}}function xt(i,l){if(i&1&&(e(0,`
28                  `),r(1,"a",21),e(2,`
29                    `),x(3,"i",22),e(4,`Open in editor
30                  `),o(),e(5,`
31                `)),i&2){let t=c(3);s(),p("routerLink",t.editorLink)}}function ht(i,l){if(i&1&&(e(0,`
32                      `),r(1,"li"),e(2),o(),e(3,`
33                    `)),i&2){let t=l.$implicit;s(2),w(t)}}function ft(i,l){if(i&1&&(e(0,`
34                `),r(1,"app-inline-alert",23),e(2,`
35                  `),r(3,"span",24),e(4,"This draft has problems the assistant needs to fix:"),o(),e(5,`
36                  `),r(6,"ul",25),e(7,`
37                    `),D(8,ht,4,1,null,null,V),o(),e(10,`
38                `),o(),e(11,`
39              `)),i&2){let t=c(3);s(),p("isInline",!0),s(7),L(t.session.draft.validation.errors)}}function Ct(i,l){if(i&1&&(e(0,`
40                      `),r(1,"li"),e(2),o(),e(3,`
41                    `)),i&2){let t=l.$implicit;s(2),w(t)}}function yt(i,l){if(i&1&&(e(0,`
42                `),r(1,"app-inline-alert",26),e(2,`
43                  `),r(3,"span",24),e(4,"The assistant couldn't do everything \u2014 finish these in the editor:"),o(),e(5,`
44                  `),r(6,"ul",25),e(7,`
45                    `),D(8,Ct,4,1,null,null,V),o(),e(10,`
46                `),o(),e(11,`
47              `)),i&2){let t=c(3);s(),p("isInline",!0),s(7),L(t.session.draft.plan.warnings)}}function bt(i,l){if(i&1&&(e(0,`
48                `),r(1,"span",27),e(2,`
49                  `),x(3,"i",28),e(4),o(),e(5,`
50              `)),i&2){let t=c(3);s(),p("pTooltip",t.session.draft.plan.assumptions.join(" \u2022 ")),s(3),I("",t.session.draft.plan.assumptions.length,`
51                  assumption(s) made
52                `)}}function wt(i,l){if(i&1){let t=f();e(0,`
53                `),r(1,"button",29),C("click",function(){m(t);let n=c(3);return _(n.requestAction("discard"))}),e(2,`
54                  `),x(3,"i",30),e(4,`Discard
55                `),o(),e(5,`
56              `)}if(i&2){let t=c(3);s(),p("disabled",t.actionBusy||t.isProcessing(t.session.statusID))}}function vt(i,l){if(i&1){let t=f();e(0,`
57                `),r(1,"button",31),C("click",function(){m(t);let n=c(3);return _(n.requestAction("publish"))}),e(2,`
58                  `),x(3,"i",32),e(4,`Publish
59                `),o(),e(5,`
60              `)}if(i&2){let t=c(3);s(),p("disabled",t.actionBusy||t.isProcessing(t.session.statusID))}}function St(i,l){if(i&1){let t=f();e(0,`
61                `),r(1,"button",33),C("click",function(){m(t);let n=c(3);return _(n.requestAction("undo"))}),e(2,`
62                  `),x(3,"i",34),e(4,`Return to draft
63                `),o(),e(5,`
64              `)}if(i&2){let t=c(3);s(),p("disabled",t.actionBusy)}}function Et(i,l){if(i&1){let t=f();e(0,`
65        `),r(1,"div",16),e(2,`
66          `),r(3,"div",17),e(4,`
67            `),e(5,`
68            `),r(6,"app-page-preview-frame",18),C("deviceChange",function(n){m(t);let d=c(2);return _(d.previewDevice=n)}),e(7,`
69
70              `),te(8,19),e(9,`
71                `),u(10,xt,6,1),ie(),e(11,`
72
73              `),e(12,`
74              `),u(13,ft,12,1),u(14,yt,12,1),o(),e(15,`
75            `),r(16,"div",20),e(17,`
76              `),u(18,bt,6,2),u(19,wt,6,1),u(20,vt,6,1),u(21,St,6,1),o(),e(22,`
77          `),o(),e(23,`
78        `),o(),e(24,`
79      `)}if(i&2){let t=c(2);s(),W("preview-wrapper-desktop",t.previewDevice===t.PreviewClass.DESKTOP)("preview-wrapper-wide",t.chatCollapsed),s(5),p("heading",(t.
79session.draft.plan==null?null:t.session.draft.plan.title)||"Draft page")("headingBadge","v"+t.session.draft.version)("url",t.previewUrl)("showDeviceToggle",!0)("showRefresh",!0)("busy",t.isProcessing(t.session.statusID))("busyText",t.previewBusyText),s(4),g(t.editorLink?10:-1),s(3),g(!(t.session.draft.validation==null||t.session.draft.validation.errors==null)&&t.session.draft.validation.errors.length?13:-1),s(),g(!(t.session.draft.plan==null||t.session.draft.plan.warnings==null)&&t.session.draft.plan.warnings.length?14:-1),s(4),g(!(t.session.draft.plan==null||t.session.draft.plan.assumptions==null)&&t.session.draft.plan.assumptions.length?18:-1),s(),g(t.session.draft.canDiscard?19:-1),s(),g(t.session.draft.canPublish?20:-1),s(),g(t.session.draft.canUndo?21:-1)}}function It(i,l){if(i&1){let t=f();e(0,`
80              `),r(1,"app-checkbox-row",50),E("ngModelChange",function(n){m(t);let d=c(3);return S(d.prompt,n)||(d.prompt=n),_(n)}),e(2,`
81              `),o(),e(3,`
82            `)}if(i&2){let t=l.$implicit,a=l.$index,n=c(3);s(),p("compact",!0)("inputId","examplePrompt-"+a)("optionValue",t),v("ngModel",n.prompt),p("label",t)}}function Pt(i,l){if(i&1){let t=f();e(0,`
83
84          `),r(1,"div",35),e(2,`
85            `),x(3,"hr",36),e(4,`
86            `),r(5,"span",37),e(6,"Create a page with AI"),o(),e(7,`
87            `),x(8,"hr",36),e(9,`
88          `),o(),e(10,`
89
90          `),r(11,"div",38),e(12,`
91            `),r(13,"strong"),e(14,"Describe the page"),o(),e(15," you want \u2014 "),r(16,"strong"),e(17,"what it's about, how it should be laid out"),o(),e(18,`
92            \u2014 and the assistant will build it as a draft you can preview, edit, and refine in conversation.
93            `),r(19,"strong"),e(20,"Nothing appears on your site until you publish"),o(),e(21,`.
94          `),o(),e(22,`
95
96          `),r(23,"div",39),e(24,"Try an example \u2014 pick a prompt that matches the page you'd like to create."),o(),e(25,`
97          `),r(26,"div",40),e(27,`
98            `),D(28,It,4,5,null,null,V),o(),e(30,`
99
100          `),r(31,"div",41),e(32,`
101            `),r(33,"label",42),e(34,"What page would you like to create?"),o(),e(35,`
102            `),r(36,"textarea",43),E("ngModelChange",function(n){m(t);let d=c(2);return S(d.prompt,n)||(d.prompt=n),_(n)}),o(),e(37,`
103          `),o(),e(38,`
104
105          `),r(39,"div",44),e(40,`
106            `),r(41,"label",45),e(42,`
107              `),r(43,"span"),e(44,"AI creativity"),o(),e(45,`
108              `),r(46,"span",11),e(47),o(),e(48,`
109            `),o(),e(49,`
110            `),r(50,"p-slider",46),E("ngModelChange",function(n){m(t);let d=c(2);return S(d.creativityLevel,n)||(d.creativityLevel=n),_(n)}),o(),e(51,`
111            `),r(52,"span",47),e(53,`
112                `),r(54,"div",48)(55,"strong"),e(56,"Faithful"),o(),e(57," - sticks to your words"),o(),e(58,` 
113                
114                `),r(59,"div",48)(60,"strong"),e(61,"Enhanced"),o(),e(62," - polishes the copy"),o(),e(63,`
115                
116                `),r(64,"div",49)(65,"strong"),e(66,"Modernized"),o(),e(67," and "),r(68,"strong"),e(69,"Reimagined"),o(),e(70," - design freely with the facts you give"),o(),e(71,`
117            `),o(),e(72,`
118          `),o(),e(73,`
119
120          `),r(74,"div"),e(75,`
121            `),r(76,"button",31),C("click",function(){m(t);let n=c(2);return _(n.startSession())}),e(77,`
122              `),x(78,"i"),e(79),o(),e(80,`
123          `),o(),e(81,`
124        `)}if(i&2){let t=c(2);s(28),L(t.examplePrompts),s(8),v("ngModel",t.prompt),s(11),ae("",t.creativityLevel," \u2014 ",t.creativityLabel),s(3),ne(oe(14,ot)),v("ngModel",t.creativityLevel),p("min",0)("max",100)("step",5)("disabled",t.starting),s(26),p("disabled",t.starting||!t.prompt.trim()),s(2),R(t.starting?"fa fa-spinner fa-spin mr-1":"fa-duotone fa-sparkles mr-1"),s(),I(`
125              `,t.starting?"Starting\u2026":"Draft my page",`
126            `)}}function Tt(i,l){if(i&1&&(e(0,`
127                      `),r(1,"span",57),e(2),o(),e(3,`
128                    `)),i&2){let t=c(4);s(2),w(t.workingStats)}}function At(i,l){if(i&1&&(e(0,`
129                `),r(1,"div",54),e(2,`
130                  `),x(3,"i",55),e(4,`
131                  `),r(5,"span"),e(6,`
132                    `),r(7,"span",56),e(8),o(),e(9,`
133                    `),u(10,Tt,4,1),o(),e(11,`
134                `),o(),e(12,`
135              `)),i&2){let t=c(3);s(8),w(t.workingLabel),s(2),g(t.workingStats?10:-1)}}function kt(i,l){if(i&1){let t=f();e(0,`
136                    `),r(1,"app-agent-question-panel",63),C("answeredChange",function(n){m(t);let d=c(4);return _(d.questionsAnswered=n)})("quickAnswer",function(){m(t);let n=c(4);return _(n.onQuickAnswer())}),e(2,`
137                    `),o(),e(3,`
138                  `)}if(i&2){let t=c(4);s(),p("questions",t.activeQuestions)("questionKey",t.activeQuestionMessageID)("heading",t.questionPanelHeading)("hint",t.questionPanelHint)("disabled",t.sendingReply)}}function Dt(i,l){if(i&1&&(e(0,`
139                            `),x(1,"img",68),e(2,`
140                          `)),i&2){let t=c().$implicit;s(),p("src",t.file,K)("alt",t.altText||t.title||"Attached image")}}function Lt(i,l){i&1&&(e(0,`
141                            `),e(1,`
142                            `),x(2,"i",69),e(3,`
143                          `))}function Bt(i,l){if(i&1){let t=f();e(0,`
144                        `),r(1,"li",64),e(2,`
145                          `),u(3,Dt,3,2)(4,Lt,4,0),r(5,"span",65),e(6),o(),e(7,`
146                          `),r(8,"button",66),C("click",function(){let n=m(t).$implicit,d=c(4);return _(d.removeAttachedImage(n))}),e(9,`
147                            `),x(10,"i",67),e(11,`
148                          `),o(),e(12,`
149                        `),o(),e(13,`
150                      `)}if(i&2){let t=l.$implicit;s(3),g(t.file?3:4),s(3),w(t.title||"Image"),s(2),ee("aria-label","Remove attached image "+(t.title||""))}}function Mt(i,l){if(i&1){let t=f();e(0,`
151                `),r(1,"div",58),e(2,`
152
153                  `),e(3,`
154                  `),u(4,kt,4,5),r(5,"app-agent-reply-composer",59),E("valueChange",function(n){m(t);let d=c(3);return S(d.reply,n)||(d.reply=n),_(n)}),C("send",function(){m(t);let n=c(3);return _(n.submitReply())}),e(6,`
155
156                    `),e(7,`
157                    `),r(8,"ul",60),e(9,`
158                      `),D(10,Bt,14,3,null,null,rt),o(),e(12,`
159
160                    `),r(13,"button",61),C("click",function(){m(t);let n=c(3);return _(n.openLibraryPicker())}),e(14,`
161                      `),x(15,"i",62),e(16,`Attach image
162                    `),o(),e(17,`
163                  `),o(),e(18,`
164                `),o(),e(19,`
165              `)}if(i&2){let t=c(3);s(4),g(t.showQuestionPanel?4:-1),s(),p("label",t.composerLabel)("placeholder",t.composerPlaceholder)("hint",t.composerHint)("sending",t.sendingReply)("canSend",t.canSubmit)("sendLabel",t.sendLabel),v("value",t.reply),s(3),W("mt-2",t.attachedImages.length),s(2),L(t.attachedImages),s(3),p("disabled",t.sendingReply)}}function Vt(i,l){i&1&&(e(0,`
166                `),r(1,"p",70),e(2,`
167                  This page is live. Fine-tune it in the page editor (including a friendly URL under page
168                  settings), or start a new page.
169                `),o(),e(3,`
170              `))}function Rt(i,l){if(i&1){let t=f();e(0,`
171                    `),e(1,`
172                    `),r(2,"label",72),e(3,"Adjust your request and try again"),o(),e(4,`
173                    `),r(5,"textarea",73),E("ngModelChange",function(n){m(t);let d=c(4);return S(d.reply,n)||(d.reply=n),_(n)}),o(),e(6,`
174                    `),r(7,"p",74),e(8),o(),e(9,`
175                    `),r(10,"div",75),e(11,`
176                      `),r(12,"button",66),C("click",function(){m(t);let n=c(4);return _(n.startOver())}),e(13,`
177                        Start a new page instead
178                      `),o(),e(14,`
179                      `),r(15,"button",31),C("click",function(){m(t);let n=c(4);return _(n.sendReply())}),e(16,`
180                        `),x(17,"i"),e(18),o(),e(19,`
181                    `),o(),e(20,`
182                  `)}if(i&2){let t=c(4);s(5),v("ngModel",t.reply),s(3),w(t.retryHint),s(7),p("disabled",!t.canSendReply),s(2),R(t.sendingReply?"fa fa-spinner fa-spin mr-1":"fa-regular fa-rotate-right mr-1"),s(),I(`
183                        `,t.sendingReply?"Trying again\u2026":"Try again",`
184                      `)}}function Nt(i,l){if(i&1){let t=f();e(0,`
185                    `),r(1,"p",76),e(2,`
186                      Retrying here won't help \u2014 this page needs to be started from scratch in a new session.
187                    `),o(),e(3,`
188                    `),r(4,"app-inline-alert",77),e(5),o(),e(6,`
189                    `),r(7,"button",78),C("click",function(){m(t);let n=c(4);return _(n.startOver())}),e(8,`
190                      `),x(9,"i",7),e(10,`Start a new page
191                    `),o(),e(11,`
192                  `)}if(i&2){let t=c(4);s(4),p("isInline",!0),s(),I(`
193                      `,t.startOverWarning,`
194                    `)}}function Ot(i,l){if(i&1&&(e(0,`
195                `),r(1,"div",58),e(2,`
196                  `),r(3,"app-inline-alert",71),e(4,`
197                    `),r(5,"span",24),e(6),o(),e(7),o(),e(8,`
198
199                  `),u(9,Rt,21,6)(10,Nt,12,2),o(),e(11,`
200              `)),i&2){let t=c(3);s(3),p("alertType",t.canRetryFailure?"warning":"error")("isInline",!0),s(3),w(t.failureHeadline),s(),I(`
201                    `,t.session.errorMessage||"Something went wrong while drafting your page.",`
202                  `),s(2),g(t.canRetryFailure?9:10)}}function Ut(i,l){if(i&1&&(e(0,`
203                      `),r(1,"li",82),e(2,`
204                        `),x(3,"i",83),e(4),o(),e(5,`
205                    `)),i&2){let t=l.$implicit,a=c(4);s(4),I("",a.friendlyAction(t),`
206                      `)}}function Wt(i,l){if(i&1&&(e(0,`
207                `),r(1,"div",79),e(2,`
208                  `),r(3,"span",80),e(4,"Agent activity"),o(),e(5,`
209                  `),r(6,"ul",81),e(7,`
210                    `),D(8,Ut,6,1,null,null,st),o(),e(10,`
211                `),o(),e(11,`
212              `)),i&2){let t=c(3);s(8),L(t.session.actions)}}function qt(i,l){if(i&1){let t=f();e(0,`
213          `),r(1,"app-agent-chat-panel",51),E("collapsedChange",function(n){m(t);let d=c(2);return S(d.chatCollapsed,n)||(d.chatCollapsed=n),_(n)}),e(2,`
214            `),x(3,"app-pill",52),e(4,`
215
216              `),e(5,`
217              `),x(6,"app-agent-chat-transcript",53),e(7,`
218
219              `),e(8,`
220              `),u(9,At,13,2),u(10,Mt,20,11),u(11,Vt,4,0),u(12,Ot,12,5),u(13,Wt,12,0),o(),e(14,`
221        `)}if(i&2){let t=c(2);s(),p("canCollapse",t.canHideChat),v("collapsed",t.chatCollapsed),s(2),p("status",t.statusPill(t.session.statusID))("text",t.statusLabel(t.session.statusID)),s(3),p("messages",t.session.messages)("segments",t.transcriptSegments)("selections",t.transcriptSelections),s(3),g(t.isProcessing(t.session.statusID)?9:-1),s(),g(t.canReply?10:-1),s(),g(t.session.statusID===t.SessionStatus.APPLIED?11:-1),s(),g(t.hasFailed?12:-1),s(),g(t.session.actions!=null&&t.session.actions.length?13:-1)}}function Ft(i,l){if(i&1){let t=f();e(0,`
222        `),r(1,"p-tabs",84),E("valueChange",function(n){m(t);let d=c(2);return S(d.libraryPickerTab,n)||(d.libraryPickerTab=n),_(n)}),e(2,`
223          `),r(3,"p-tablist"),e(4,`
224            `),r(5,"p-tab",85),e(6,"Select from Library"),o(),e(7,`
225            `),r(8,"p-tab",85),e(9,"Upload from Device"),o(),e(10,`
226          `),o(),e(11,`
227          `),r(12,"p-tabpanels"),e(13,`
228            `),r(14,"p-tabpanel",85),e(15,`
229              `),r(16,"app-library-image-select",86),C("selectedImage",function(n){m(t);let d=c(2);return _(d.attachLibraryImage(n))}),o(),e(17,`
230            `),o(),e(18,`
231            `),r(19,"p-tabpanel",85),e(20,`
232              `),r(21,"app-library-edit",87),C("onClose",function(n){m(t);let d=c(2);return _(d.uploadedImageSaved(n))})("onCancel",function(){m(t);let n=c(2);return _(n.showLibraryPicker=!1)}),o(),e(22,`
233            `),o(),e(23,`
234          `),o(),e(24,`
235        `),o(),e(25,`
236      `)}if(i&2){let t=c(2);s(),v("value",t.libraryPickerTab),s(4),p("value",0),s(3),p("value",1),s(6),p("value",0),s(5),p("value",1),s(2),p("mediaContent",t.uploadMediaContent)}}function jt(i,l){if(i&1){let t=f();e(0,`
237      `),r(1,"app-yes-no-modal",88),C("onYesSelect",function(){m(t);let n=c(2);return _(n.confirmActionYes())})("onNoSelect",function(){m(t);let n=c(2);return _(n.cancelAction())}),e(2,`
238      `),o(),e(3,`
239    `)}if(i&2){let t=c(2);s(),p("modalText",t.confirmText)("loading",t.actionBusy)("alertType",t.confirmAction==="discard"?"warning":"info")}}function Qt(i,l){if(i&1){let t=f();e(0,`
240
241    `),r(1,"app-inline-alert",9),e(2,`
242      `),x(3,"app-pill",10),e(4,`
243      `),r(5,"span",11),e(6,`
244        Pages are drafted for your review \u2014 nothing appears on your site until you publish.
245      `),o(),e(7,`
246    `),o(),e(8,`
247
248    `),u(9,gt,3,1),r(10,"div",12),e(11,`
249
250      `),e(12,`
251      `),u(13,Et,25,18),r(14,"div"),e(15,`
252
253        `),e(16,`
254        `),u(17,Pt,82,15),u(18,qt,15,12),o(),e(19,`
255
256    `),o(),e(20,`
257
258    `),e(21,`
259    `),r(22,"p-dialog",13),E("visibleChange",function(n){m(t);let d=c();return S(d.showLibraryPicker,n)||(d.showLibraryPicker=n),_(n)}),e(23,`
260      `),u(24,Ft,26,6),o(),e(25,`
261
262    `),e(26,`
263    `),u(27,jt,4,3)}if(i&2){let t=c();s(),p("alertType","info")("isInline",!1),s(8),g(t.loadingSession?9:-1),s(4),g(t.session!=null&&t.session.draft?13:-1),s(),R(t.chatColumnClass),s(3),g(!t.session&&!t.loadingSession?17:-1),s(),g(t.session?18:-1),s(4),v("visible",t.showLibraryPicker),p("modal",!0),s(2),g(t.showLibraryPicker?24:-1),s(3),g(t.confirmAction?27:-1)}}var it=(()=>{let l=class l extends Ke{get api(){return this.pageBuilderAgentService}constructor(a,n,d,y,b,P){super(a),this.pageBuilderAgentService=n,this.libraryService=d,this.route=y,this.router=b,this.location=P,this.display={statusLabels:et,statusPills:tt,toolActionLabels:Ze},this.copy={workingReading:"Reading your request and reviewing your site\u2026",retryNarrowerAsk:"one section, or the page without the parts that need data the assistant may not have.",retryFirstHint:"Narrowing it down usually does it: fewer sections, shorter copy, or describing one part of the page at a time. Your conversation and anything already drafted are kept."},this.creativityLevel=50,this.confirmAction=null,this.actionBusy=!1,this.showLibraryPicker=!1,this.libraryPickerTab=0,this.uploadMediaContent=null,this.attachedImages=[],this.pendingPreset=null,this.pendingSectionIndex=0,this.pendingSectionComponent=null,this.openingPage=!1,this.openingElapsedSeconds=0,this.transcriptSegments={},this.transcriptSelections={}
263,this.libraryImageCache=new Map,this.previewUrl="",this.previewKey="",this.PreviewClass=F,this.previewDevice=F.DESKTOP,this.SessionStatus=h,this.MessageRole=Q,this.examplePrompts=["Create a tryouts page for our fall travel teams: dates the first week of September, what players should bring, and a call-to-action button linking to our registration page",'Make a "New Family Welcome" page that explains how our club works, what to expect each season, and answers the questions new parents always ask',"Build a volunteer information page describing the roles we need each season, with an FAQ about time commitment and a contact call-to-action"];let T=this.router.currentNavigation()?.extras?.state;this.pendingPreset=T?.preset??null,this.pendingSectionIndex=+(T?.sectionIndex??0),this.pendingSectionComponent=T?.sectionComponent??null}ngOnInit(){this.checkFeature(fe.ENABLE_AI_PAGE_BUILDER_AGENT,()=>{let a=+(this.route.snapshot.queryParamMap.get("sourcePageId")??0);a>0?this.openEditSession(a):this.loadSessions()})}openEditSession(a){this.starting=!0,this.loadingSession=!0,this.openingPage=!0,this.openingElapsedSeconds=0,H(1e3).pipe(G(()=>this.openingPage),k(this.unsubscribe$)).subscribe({next:()=>{this.openingElapsedSeconds++},error:()=>{}}),this.pageBuilderAgentService.startEditSession(a).pipe($(l.EDIT_OPEN_TIMEOUT_MS),k(this.unsubscribe$)).subscribe({next:n=>{this.starting=!1,this.loadingSession=!1,this.openingPage=!1;try{this.setSession(n),this.pendingPreset==="modernize"&&!this.reply?this.reply=l.MODERNIZE_PROMPT:this.pendingPreset==="section"&&!this.reply&&this.pendingSectionIndex>0&&(this.reply=Je(this.pendingSectionIndex,this.pendingSectionComponent)),this.pendingPreset=null,this.loadSessions()}catch(d){console.error("Edit session opened but the screen failed to render it",d),this.siteDataService.showSiteErrorAlert("The assistant opened your page, but this screen failed to display it. Refresh the page to pick the session back up.")}},error:n=>{this.starting=!1,this.loadingSession=!1,this.openingPage=!1,this.pendingPreset=null,n?.name==="TimeoutError"?this.siteDataService.showSiteErrorAlert("Opening this page with the assistant is taking too long. Please try again; if it keeps happening, contact support."):n?.status===N.TooManyRequests?this.siteDataService.showSiteWarnAlert(this.extractErrorMessage(n)||"You have reached the assistant usage limit. Please try again later."):this.siteDataService.showSiteErrorAlert(this.extractErrorMessage(n)||"The assistant could not open that page for editing."),this.returnToPageEditor(a)}})}get openingStageText(){return this.openingElapsedSeconds<8?"Reading your page\u2026":this.openingElapsedSeconds<20?"Preparing a working draft for the assistant\u2026":"Still working \u2014 large pages can take a little longer."}returnToPageEditor(a){let n=this.route.pathFromRoot.map(d=>d.snapshot.paramMap.get("pageType")).find(d=>!!d)??`${Ee.STANDARD}`;this.router.navigate(["/admin/content/page-builder",n,"content",a],{replaceUrl:!0})}startOver(){super.startOver(),this.location.replaceState(this.router.url.split("?")[0])}applySessionDerivedState(){this.prepareTranscript(),this.buildPreviewUrl(this.session?.draft??null)}clearAgentState(){this.attachedImages=[],this.transcriptSegments={},this.transcriptSelections={},this.previewUrl="",this.previewKey=""}chatColumnWidth(){return this.session?.draft?"col":"col-xl-9"}get creativityLabel(){return this.creativityLevel<=24?"Faithful":this.creativityLevel<=69?"Enhanced":this.creativityLevel<=89?"Modernized":"Reimagined"}startSession(){let a=(this.prompt||"").trim();!a||this.starting||this.startWith(this.pageBuilderAgentService.startSession(a,this.creativityLevel))}openLibraryPicker(){this.libraryPickerTab=0,this.uploadMediaContent=new we,this.showLibraryPicker=!0}uploadedImageSaved(a){this.showLibraryPicker=!1;let n=a?.libraryItemId;if(!n){this.siteDataService.showSiteErrorAlert("There was a problem uploading your image. Please try again.");return}this.libraryService.getLibraryItem(n).pipe(k(this.unsubscribe$)).subscribe({next:d=>{this.attachLibraryImage(d??this.fallbackLibraryItem(a))},error:()=>{this.attachLibraryImage(this.fallbackLibraryItem(a))}})}
263fallbackLibraryItem(a){let n=a.libraryItem??new Se;return n.id=a.libraryItemId,n}attachLibraryImage(a){this.showLibraryPicker=!1,a?.id&&(this.attachedImages.some(n=>n.id===a.id)||(this.attachedImages=[...this.attachedImages,a]))}removeAttachedImage(a){this.attachedImages=this.attachedImages.filter(n=>n.id!==a.id)}get canSendReply(){return!this.sendingReply&&(!!this.reply?.trim()||this.attachedImages.length>0)}composerHasExtraContent(){return this.attachedImages.length>0}composeOutgoingMessage(){let a=(this.reply||"").trim(),n=this.attachedImages.map(d=>`[library:${d.id} "${d.title??"image"}"]`).join(" ");return[a,n].filter(d=>d).join(" ")}onReplySent(){for(let a of this.attachedImages)this.libraryImageCache.set(a.id,{libraryItemID:a.id,title:a.title,altText:a.altText,url:a.file});this.attachedImages=[]}get startOverWarning(){return this.session?.draft?.createdPageBuilderPageID?"A new session starts the page from scratch. The draft page this session already built stays in your Pages list \u2014 publish it above, or open it in the page editor to keep that work \u2014 but this conversation and everything the assistant learned in it are lost.":"Nothing has been built yet, so there is no page to lose \u2014 but this conversation and everything the assistant learned in it are. Describing the page in smaller pieces tends to work better on the second go."}get questionPanelHeading(){return this.replyingToDraft?"Ways to sharpen this page":"A few answers first"}get questionPanelHint(){return this.replyingToDraft?"Answer any of these to refine the page \u2014 or skip them and just describe what you want changed.":"Pick the answers that fit, or write your own. Anything you skip, the assistant decides for you and records as an assumption."}get composerLabel(){return this.soleOpenQuestion?this.soleOpenQuestion.question:this.showQuestionPanel?this.replyingToDraft?"Want anything else changed?":"Anything else the assistant should know?":this.replyingToDraft?"Want anything changed? Tell the assistant":"The assistant needs a little more information"}get composerPlaceholder(){return this.showQuestionPanel?"Optional \u2014 anything the questions above don't cover\u2026":this.soleOpenQuestion?"Type your answer\u2026":this.replyingToDraft?"e.g. Add an FAQ section about what to bring, and make the tone more welcoming\u2026":"Type your answer\u2026"}get composerHint(){let a=[];return this.showQuestionPanel&&a.push("Sent together with the answers you picked above."),this.replyingToDraft&&a.push("The assistant reads the current page first \u2014 edits you made in the page editor are kept."),a.length>0?a.join(" "):null}get confirmText(){switch(this.confirmAction){case"publish":return"Publish this page to your public site? You can return it to draft afterwards if needed.";case"discard":return"Discard this draft? The draft page moves to the CMS trash.";case"undo":return"Return this published page to draft? It will no longer be visible on your public site.";default:return""}}requestAction(a){this.confirmAction=a}cancelAction(){this.confirmAction=null}confirmActionYes(){let a=this.session?.draft?.draftID,n=this.confirmAction;if(!a||!n||this.actionBusy)return;this.actionBusy=!0,(n==="publish"?this.pageBuilderAgentService.publishDraft(a):n==="discard"?this.pageBuilderAgentService.discardDraft(a):this.pageBuilderAgentService.undoDraft(a)).pipe(k(this.unsubscribe$)).subscribe({next:()=>{this.actionBusy=!1,this.confirmAction=null,n==="publish"?this.siteDataService.showSiteSuccessAlert("Your page is live! Set a friendly URL in the page editor settings if you haven't yet."):n==="discard"?this.siteDataService.showSiteSuccessAlert("Draft discarded."):this.siteDataService.showSiteSuccessAlert("The page was returned to draft."),this.refreshSession()},error:y=>{this.actionBusy=!1,this.confirmAction=null;let b=[N.BadRequest,N.Conflict].includes(y?.status)?this.extractErrorMessage(y):null;this.siteDataService.showSiteErrorAlert(b||"There was a problem completing that action. Please try again.")}})}get draftPageID(){return this.session?.draft?.createdPageBuilderPageID??null}get editorLink(){return this.draftPageID?`/admin/content/page-builder/1/content/${this.draftPageID}`:null}get previewBusyText(){let a=this.workingStats;return`The assistant is updating this page\u2026${a?` (${a})`:""}`}prepareTranscript(){let a={},n={},d=new Set;for(let y of this.session?.messages??[])a[y.messageID]=this.buildSegments(this.transcriptText(y),d),y.selections?.selections?.length&&(n[y.messageID]=y.selections);this.transcriptSegments=a,this.transcriptSelections=n,d.size&&this.lookupLibraryImages([...d])}transcriptText(a){return a?.selections?.selections?.length?a.selections.comment??"":!a?.message||!this.isActiveQuestionMessage(a)?a?.message:Be(a.message,Xe)}buildSegments(a,n){let d=[];if(!a)return d;let y=/\[library:(\d+)\s+"([^"]*)"\]/g,b=0,P;for(;(P=y.exec(a))!==null;){P.index>
263b&&d.push({text:a.slice(b,P.index)});let T=+P[1],U=this.libraryImageCache.get(T);U===void 0&&n.add(T),d.push({image:{libraryItemID:T,title:U?.title||P[2]||"Attached image",url:U?.url}}),b=y.lastIndex}return b<a.length&&d.push({text:a.slice(b)}),d}lookupLibraryImages(a){this.pageBuilderAgentService.getLibraryImages(a).pipe(k(this.unsubscribe$)).subscribe({next:n=>{for(let d of a)this.libraryImageCache.set(d,n?.find(y=>y.libraryItemID===d)??null);this.prepareTranscript()},error:()=>{for(let n of a)this.libraryImageCache.set(n,null)}})}buildPreviewUrl(a){if(!a?.createdPageBuilderPageID){this.previewUrl="",this.previewKey="";return}let n=`${a.draftID}:${a.version}:${a.statusID}`;n!==this.previewKey&&(this.previewKey=n,this.previewUrl=`/club/${a.createdPageBuilderPageID}?agentPreview=${a.version}`)}};l.EDIT_OPEN_TIMEOUT_MS=9e4,l.MODERNIZE_PROMPT="Modernize this page\u2019s design: open with a banner header, present sets of items as content cards where that reads better, alternate section background colors from our theme palette for rhythm, polish the copy, and end with a clear call to action. Keep every piece of existing content and information \u2014 nothing should be removed.",l.\u0275fac=function(n){return new(n||l)(A(Ce),A(O),A($e),A(ue),A(ge),A(se))},l.\u0275cmp=X({type:l,selectors:[["ng-component"]],standalone:!1,features:[Z],decls:11,vars:3,consts:[["customButtonContent",""],["role","main"],["pageTitle","AI Page Builder","parentLinkUrl","/admin/content/page-builder/1","parentLinkText","Pages",3,"showBackButton"],[1,"nowrap"],["for","sessionSelect",1,"sr-only"],["inputId","sessionSelect","placeholder","Recent sessions",1,"flex-grow-1",3,"ngModelChange","options","ngModel"],["type","button",1,"btn","btn-secondary","ml-2","text-nowrap",3,"click"],[1,"fa-regular","fa-plus","mr-1"],["alertType","warning",1,"mt-3",3,"isInline"],[1,"d-inline-block","my-3","full-width",3,"alertType","isInline"],["status","color1","text","Beta","styleClass","mr-2"],[1,"text-small","text-grey"],[1,"row"],["header","Attach an image","styleClass","largeWidthDialog admin-wrapper pba-attach-image-dialog",3,"visibleChange","visible","modal"],["data-testid","agent-open-progress",1,"text-center","text-grey","mt-2"],[1,"text-small","mt-1"],[1,"col-auto","preview-wrapper","mb-3","agent-work-column"],[1,"card","preview-card","p-0"],["styleClass","card-header","headingIcon","fa-regular fa-file-lines","frameTitle","Draft page preview","emptyText","No preview yet \u2014 the draft still has validation errors. Ask the assistant to fix them.",1,"flex-grow-1","d-block","full-width",3,"deviceChange","heading","headingBadge","url","showDeviceToggle","showRefresh","busy","busyText"],["actions",""],[1,"card-footer","d-flex","align-items-center","justify-content-end","flex-wrap","border-top","py-2","px-3","mx-0","mt-0"],[1,"btn","btn-naked","btn-sm","py-1",3,"routerLink"],[1,"fa-regular","fa-pencil","mr-1"],["alertType","error",1,"d-block","m-3",3,"isInline"],[1,"fw-600","d-block","mb-1"],[1,"m-0","pl-3"],["alertType","info",1,"d-block","m-3",3,"isInline"],["tooltipPosition","top",1,"text-small","text-grey","mr-auto",3,"pTooltip"],[1,"fa-regular","fa-circle-info","mr-1"],["type","button",1,"btn","btn-red","mr-2",3,"click","disabled"],[1,"fa-regular","fa-trash","mr-1"],["type","button",1,"btn","btn-primary",3,"click","disabled"],[1,"fa-regular","fa-circle-check","mr-1"],["type","button",1,"btn","btn-secondary",3,"click","disabled"],[1,"fa-regular","fa-rotate-left","mr-1"],[1,"d-flex","align-items-center","my-4"],[1,"flex-grow-1"],[1,"small-label","mx-3"],[1,"border-all","border-radius","text-medium","text-grey","p-3","mb-5","bg-primary"],[1,"text-medium","fw-600","mb-1"],[1,"mb-5"],[1,"form-group"],["for","agentPrompt",1,"fw-600"],["id","agentPrompt","rows","4","maxlength","2000","placeholder","e.g. Create a tryouts page for next month with the schedule, what to bring, and a signup button linking to /register\u2026",1,"form-control","auto-grow",3,"ngModelChange","ngModel"],[1,"form-group","my-5"],["for","creativityLevel",1,"fw-600","d-flex","justify-content-between"],["id","creativityLevel",3,"ngModelChange","ngModel","min","max","step","disabled"],[1,"text-small","text-grey","d-sm-block","mt-2","d-md-flex","justify-content-between"],[1,"text-center","mr-3","pb-sm-1"],[1,"text-center"],["styleClass","mb-2 mx-0","controlGroupName","examplePrompt",3,"ngModelChange","compact","inputId","optionValue","ngModel","label"],[1,"d-block",3,"collapsedChange","canCollapse","collapsed"],["slot","status",3,"status","text"],["data-testid","agent-transcript",3,"messages","segments","selections"],["role","status",1,"d-flex","align-items-center","text-grey","mt-2"],[1,"fa","fa-spinner","fa-spin","mr-2"],[1,"text-medium","d-block"],[1,"text-small"],[1,"border-top","pt-3","mt-3"],[3,"valueChange","send","label","placeholder","hint","sending","canSe
263nd","sendLabel","value"],["chips","",1,"no-bullets","p-0","m-0","d-flex","flex-wrap"],["actions","","type","button","pTooltip","Attach an image from your Library, or upload one from your device","tooltipPosition","top",1,"btn","btn-tertiary","btn-sm","mr-2",3,"click","disabled"],[1,"fa-regular","fa-image","mr-1"],[1,"d-block","mb-3",3,"answeredChange","quickAnswer","questions","questionKey","heading","hint","disabled"],[1,"chat-attachment","d-inline-flex","align-items-center","border-all","border-grey-lt","border-radius","p-1","mr-2","mt-1"],[1,"chat-attachment-label","text-small","mx-2"],["type","button",1,"btn","btn-naked","btn-sm",3,"click"],[1,"fa-regular","fa-times"],[3,"src","alt"],["aria-hidden","true",1,"fa-regular","fa-image","chat-attachment-placeholder"],[1,"text-small","text-grey","border-top","pt-3","mt-3","mb-0"],[1,"d-block",3,"alertType","isInline"],["for","agentRetry",1,"fw-600","mt-3"],["id","agentRetry","rows","4","maxlength","2000","placeholder","Describe the page again, more simply\u2026",1,"form-control","auto-grow",3,"ngModelChange","ngModel"],[1,"text-small","text-grey","mt-1","mb-0"],[1,"d-flex","justify-content-between","align-items-center","flex-wrap","mt-2"],[1,"text-medium","mt-3","mb-2"],["alertType","info",1,"d-block","mb-2",3,"isInline"],["type","button",1,"btn","btn-primary",3,"click"],[1,"border-top","pt-2","mt-3"],[1,"small-label"],[1,"no-bullets","p-0","m-0","mt-1"],[1,"text-small","text-grey","mb-1"],[1,"fa-regular","fa-circle-check","text-green","mr-1"],[3,"valueChange","value"],[3,"value"],[3,"selectedImage"],[3,"onClose","onCancel","mediaContent"],[3,"onYesSelect","onNoSelect","modalText","loading","alertType"]],template:function(n,d){n&1&&(r(0,"main",1),e(1,`
264
265  `),r(2,"app-admin-header",2),e(3,`
266    `),J(4,ct,6,2,"ng-template",null,0,re),e(6,`
267  `),o(),e(7,`
268
269  `),u(8,pt,4,1),u(9,Qt,28,12),o(),e(10,`
270`)),n&2&&(s(2),p("showBackButton",!0),s(6),g(d.featureChecked&&!d.featureEnabled?8:-1),s(),g(d.featureEnabled?9:-1))},dependencies:[de,ce,me,pe,ye,xe,Pe,Te,ke,De,Le,Me,Ve,Re,Ne,Oe,Ie,ve,be,Ue,je,Fe,We,qe,Ae,Ge,He],styles:[".chat-attachment[_ngcontent-%COMP%]{max-width:100%}.chat-attachment[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:32px;width:32px;flex-shrink:0;object-fit:cover;border-radius:4px}.chat-attachment[_ngcontent-%COMP%]   .chat-attachment-label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-attachment[_ngcontent-%COMP%]   .chat-attachment-placeholder[_ngcontent-%COMP%]{height:32px;width:32px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}  .pba-attach-image-dialog .p-dialog-content{min-height:60vh}.preview-wrapper[_ngcontent-%COMP%]{max-width:80%}.preview-wrapper.preview-wrapper-desktop[_ngcontent-%COMP%]{flex:0 0 100%;max-width:100%}@media(min-width:992px){.preview-wrapper.preview-wrapper-desktop[_ngcontent-%COMP%]{flex-basis:67%;max-width:67%}}@media(min-width:992px){.preview-wrapper.preview-wrapper-wide.preview-wrapper-wide[_ngcontent-%COMP%]{flex-basis:calc(100% - 3rem);max-width:calc(100% - 3rem)}}.preview-wrapper[_ngcontent-%COMP%]   .preview-card[_ngcontent-%COMP%]{position:sticky;top:1rem;height:calc(100vh - 2rem);display:flex;flex-direction:column}"]});let i=l;return i})();var nt=(()=>{let l=class l{};l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=M({type:l}),l.\u0275inj=B({imports:[q.forChild([{path:"",component:it}]),q]});let i=l;return i})();var Gi=(()=>{let l=class l{};l.\u0275fac=function(n){return new(n||l)},l.\u0275mod=M({type:l}),l.\u0275inj=B({providers:[O],imports:[Qe,_e,ze,Ye,nt]});let i=l;return i})();export{Gi as PageBuilderAgentModule};

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.