PageSourceSearch

https://bridgecitysoccer.org/chunk-46AY3ZMA.js

js bridgecitysoccer.org collected 2026-10-04 20:40:02 UTC 63,485 bytes, 507 lines download raw bytes

1import{$f as Fe,Bb as Ie,Cc as Ae,Ce as Re,Ec as ie,Gc as Me,Hc as ke,Ia as X,Kb as Z,Kg as Oe,Mb as ee,Sg as ze,_f as $e,ag as Ne,b as j,bg as We,cc as te,d as H,gd as Ve,id as Ue,jb as Y,k as G,kh as qe,mb as De,sc as Le,ve as ne,ye as Be}from"./chunk-X5J6QTCG.js";import{$ as pe,$a as m,Aa as M,Ad as Ee,Ba as ue,Db as N,Fa as r,Fb as z,Gb as ve,Hb as k,Ib as e,Jb as h,Ka as I,Kb as g,Lb as L,Lc as Se,Ma as V,Na as _e,Qb as w,Rb as y,Sa as T,Sb as E,T as re,U as b,V as de,Vd as Pe,Wc as q,Xa as le,_ as me,ba as xe,bb as p,be as J,cc as he,d as F,db as O,dc as W,eb as U,fa as u,fb as B,fi as Te,ga as _,gb as x,hb as i,hd as be,ib as n,jb as C,lc as D,mc as fe,nb as ge,nc as A,ob as Ce,pj as Q,qb as S,qc as se,sb as v,tb as c,vd as we,w as ae,wd as ye,yd as K}from"./chunk-SMW7PHYX.js";import"./chunk-BMIYOSOG.js";var He=(()=>{let s=class s{};s.\u0275fac=function(l){return new(l||s)},s.\u0275cmp=V({type:s,selectors:[["ng-component"]],standalone:!1,decls:1,vars:0,template:function(l,d){l&1&&C(0,"router-outlet")},dependencies:[ye],encapsulation:2});let o=s;return o})();var R=(()=>{let s=class s{constructor(a){this.webAPI=a}getConversions(){return this.webAPI.getData("admin/site-conversion")}getConversion(a){return this.webAPI.getData(`admin/site-conversion/${a}`)}getPages(a,l,d,P,f,ce){let $=new be().append("page",l.toString()).append("rows",d.toString()).append("includeCount",P.toString());return f&&($=$.append("search",f)),ce&&($=$.append("orderBy",ce)),this.webAPI.getData(`admin/site-conversion/${a}/pages`,$)}startConversion(a){return this.webAPI.postData("admin/site-conversion",a)}stopConversion(a){return this.webAPI.postData(`admin/site-conversion/${a}/stop`,{})}addPage(a,l){return this.webAPI.postData(`admin/site-conversion/${a}/page`,l)}excludePages(a,l){return this.webAPI.postData(`admin/site-conversion/${a}/pages/exclude`,l)}includePages(a,l){return this.webAPI.postData(`admin/site-conversion/${a}/pages/include`,l)}confirmPageSelection(a){return this.webAPI.postData(`admin/site-conversion/${a}/confirm-pages`,{})}rerunPage(a,l){return this.webAPI.postData(`admin/site-conversion/${a}/page/${l}/rerun`,{})}deletePage(a,l){return this.webAPI.deleteData(`admin/site-conversion/${a}/page/${l}`)}publishPages(a,l){return this.webAPI.postData(`admin/site-conversion/${a}/publish-pages`,l)}
1deletePages(a,l){return this.webAPI.postData(`admin/site-conversion/${a}/delete-pages`,l)}deleteConversion(a){return this.webAPI.deleteData(`admin/site-conversion/${a}`)}};s.\u0275fac=function(l){return new(l||s)(xe(Te))},s.\u0275prov=me({token:s,factory:s.\u0275fac});let o=s;return o})();var st=()=>({width:"100%"}),Ke=o=>["./",o];function ct(o,s){o&1&&e(0,`
2            Only the page at this URL is imported \u2014 no sitemap crawl, and the site's theme and navigation are left untouched. Add more pages one at a time from the conversion afterwards.
3          `)}function dt(o,s){o&1&&e(0,`
4            The crawl will list every page it finds and then pause. Nothing is fetched or converted until you pick the pages you want, so a site with hundreds of pages is fine here.
5          `)}function mt(o,s){o&1&&e(0,`
6            A maximum of 100 pages will be imported per conversion. Please run this in off hours as it may take a while and consume significant server resources.
7          `)}function pt(o,s){if(o&1){let t=S();e(0,`
8                `),i(1,"div",24),e(2,`
9                  `),i(3,"p-checkbox",31),E("ngModelChange",function(l){u(t);let d=c(2);return y(d.importTheme,l)||(d.importTheme=l),_(l)}),n(),e(4,`
10                  `),i(5,"label",32),e(6,"Import theme"),n(),e(7,`
11                `),n(),e(8,`
12                `),i(9,"div",24),e(10,`
13                  `),i(11,"p-checkbox",33),E("ngModelChange",function(l){u(t);let d=c(2);return y(d.importNavigation,l)||(d.importNavigation=l),_(l)}),n(),e(12,`
14                  `),i(13,"label",34),e(14,"Import navigation"),n(),e(15,`
15                `),n(),e(16,`
16                `),i(17,"div",24),e(18,`
17                  `),i(19,"p-checkbox",35),E("ngModelChange",function(l){u(t);let d=c(2);return y(d.reviewPagesBeforeConverting,l)||(d.reviewPagesBeforeConverting=l),_(l)}),n(),e(20,`
18                  `),i(21,"label",36),e(22,"Choose pages"),n(),e(23,`
19                `),n(),e(24,`
20              `)}if(o&2){let t=c(2);r(3),w("ngModel",t.importTheme),x("binary",!0)("disabled",t.starting),r(8),w("ngModel",t.importNavigation),x("binary",!0)("disabled",t.starting),r(8),w("ngModel",t.reviewPagesBeforeConverting),x("binary",!0)("disabled",t.starting)}}function xt(o,s){if(o&1){let t=S();e(0,`
21                `),i(1,"div",24),e(2,`
22                  `),i(3,"p-checkbox",37),E("ngModelChange",function(l){u(t);let d=c(2);return y(d.modernizeTheme,l)||(d.modernizeTheme=l),_(l)}),n(),e(4,`
23                  `),i(5,"label",38),e(6,"Modernize theme palette & fonts (requires Import theme)"),n(),e(7,`
24                `),n(),e(8,`
25              `)}if(o&2){let t=c(2);r(3),w("ngModel",t.modernizeTheme),x("binary",!0)("disabled",t.starting||!t.importTheme)}}function ut(o,s){if(o&1){let t=S();e(0,`
26    `),i(1,"div",2),e(2,`
27      `),i(3,"div",3),e(4,`
28        `),i(5,"app-inline-alert",4),e(6,`
29          `),m(7,ct,1,0)(8,dt,1,0)(9,mt,1,0),n(),e(10,`
30        `),i(11,"div",5),e(12,`
31          `),i(13,"h5",6),e(14),n(),e(15,`
32          `),i(16,"button",7),v("click",function(){u(t);let l=c();return _(l.startConversion())}),e(17,`
33            `),C(18,"i"),e(19),n(),e(20,`
34        `),n(),e(21,`
35        `),i(22,"div",8),e(23,`
36          `),i(24,"label",9),e(25,"Convert"),n(),e(26,`
37          `),i(27,"p-selectButton",10),E("ngModelChange",function(l){u(t);let d=c();return y(d.singlePageOnly,l)||(d.singlePageOnly=l),_(l)}),n(),e(28,`
38        `),n(),e(29,`
39        `),i(30,"div",11),e(31,`
40          `),i(32,"div",12),e(33,`
41            `),i(34,"label",13),e(35),n(),e(36,`
42            `),i(37,"div",14),e(38,`
43              `),i(39,"input",15),E("ngModelChange",function(l){u(t);let d=c();return y(d.sourceUrl,l)||(d.sourceUrl=l),_(l)}),n(),e(40,`
44              `),m(41,pt,25,9),n(),e(42,`
45          `),n(),e(43,`
46        `),n(),e(44,`
47        `),i(45,"div",16),e(46,`
48          `),i(47,"div",17),e(48,`
49            `),i(49,"label",18),e(50,`
50              `),i(51,"span"),e(52,"AI Creativity"),n(),e(53,`
51              `),i(54,"small",19),e(55),n(),e(56,`
52            `),n(),e(57,`
53            `),i(58,"p-slider",20),E("ngModelChange",function(l){u(t);let d=c();
53return y(d.creativityLevel,l)||(d.creativityLevel=l),_(l)}),n(),e(59,`
54            `),i(60,"small",21),e(61,`
55              0 = preserve source verbatim \xB7 70+ enables AI rewriting of headings, copy and CTAs \xB7 95+ allows reimagining layout
56            `),n(),e(62,`
57          `),n(),e(63,`
58          `),i(64,"div",17),e(65,`
59            `),i(66,"label",22),e(67,"Optional AI passes"),n(),e(68,`
60            `),i(69,"div",23),e(70,`
61              `),m(71,xt,9,3),i(72,"div",24),e(73,`
62                `),i(74,"p-checkbox",25),E("ngModelChange",function(l){u(t);let d=c();return y(d.suggestLiveDataUpgrades,l)||(d.suggestLiveDataUpgrades=l),_(l)}),n(),e(75,`
63                `),i(76,"label",26),e(77,"Suggest live-data component upgrades (e.g. Staff List, Calendar)"),n(),e(78,`
64              `),n(),e(79,`
65              `),i(80,"div",24),e(81,`
66                `),i(82,"p-checkbox",27),E("ngModelChange",function(l){u(t);let d=c();return y(d.qualityScoring,l)||(d.qualityScoring=l),_(l)}),n(),e(83,`
67                `),i(84,"label",28),e(85,"Score each converted page for quality & reviewer notes"),n(),e(86,`
68              `),n(),e(87,`
69              `),i(88,"div",24),e(89,`
70                `),i(90,"p-checkbox",29),E("ngModelChange",function(l){u(t);let d=c();return y(d.preserveSourceText,l)||(d.preserveSourceText=l),_(l)}),n(),e(91,`
71                `),i(92,"label",30),e(93,"Preserve original text exactly (AI restyles layout & visuals only, never the wording)"),n(),e(94,`
72              `),n(),e(95,`
73            `),n(),e(96,`
74          `),n(),e(97,`
75        `),n(),e(98,`
76      `),n(),e(99,`
77    `),n(),e(100,`
78  `)}if(o&2){let t=c();r(7),p(t.singlePageOnly?7:t.reviewPagesBeforeConverting?8:9),r(7),h(t.singlePageOnly?"Import a Single Page":"Import External Website"),r(2),x("disabled",!(t.sourceUrl!=null&&t.sourceUrl.trim())||t.starting),r(2),k(t.starting?"fa fa-spinner fa-spin mr-1":"fa-regular fa-play mr-1"),r(),g("",t.singlePageOnly?"Convert Page":t.reviewPagesBeforeConverting?"Find Pages":"Start Conversion",`
79          `),r(8),x("options",t.conversionModes),w("ngModel",t.singlePageOnly),x("allowEmpty",!1)("disabled",t.starting),r(8),h(t.singlePageOnly?"Page URL":"Website URL"),r(4),w("ngModel",t.sourceUrl),x("placeholder",t.singlePageOnly?"https://example.com/page-to-import":"https://example.com")("disabled",t.starting),r(2),p(t.singlePageOnly?-1:41),r(14),L("",t.creativityLevel," \u2014 ",t.creativityLevel>=95?"Reimagined":t.creativityLevel>=70?"Modernized":t.creativityLevel>=30?"Enhanced":"Faithful"),r(3),ve(he(34,st)),w("ngModel",t.creativityLevel),x("min",0)("max",100)("step",5)("disabled",t.starting),r(13),p(t.singlePageOnly?-1:71),r(3),w("ngModel",t.suggestLiveDataUpgrades),x("binary",!0)("disabled",t.starting),r(8),w("ngModel",t.qualityScoring),x("binary",!0)("disabled",t.starting),r(8),w("ngModel",t.preserveSourceText),x("binary",!0)("disabled",t.starting)}}function _t(o,s){o&1&&(e(0,`
80    `),i(1,"app-loader"),e(2,"Loading conversions..."),n(),e(3,`
81  `))}function gt(o,s){o&1&&(e(0,`
82        `),i(1,"tr"),e(2,`
83          `),i(3,"th"),e(4,"Source URL"),n(),e(5,`
84          `),i(6,"th"),e(7,"Status"),n(),e(8,`
85          `),i(9,"th"),e(10,"Pages"),n(),e(11,`
86          `),i(12,"th"),e(13,"Images"),n(),e(14,`
87          `),i(15,"th"),e(16,"Started"),n(),e(17,`
88          `),i(18,"th"),e(19,"Completed"),n(),e(20,`
89          `),C(21,"th"),e(22,`
90        `),n(),e(23,`
91      `))}function Ct(o,s){o&1&&(e(0,`
92              `),i(1,"span",50),e(2,"(single page)"),n(),e(3,`
93            `))}function vt(o,s){if(o&1&&(e(0,`
94              `),i(1,"a",51),e(2,"Choose pages to convert"),n(),e(3,`
95            `)),o&2){let t=c().$implicit;r(),x("routerLink",W(1,Ke,t.siteConversionID))}}function ht(o,s){if(o&1&&(e(0,`
96              `),i(1,"span",52),e(2),n(),e(3,`
97            `)),o&2){let t=c().$implicit;r(2),g("(",t.failedPages," failed)")}}function ft(o,s){if(o&1&&(e(0,`
98              `),i(1,"span",53),e(2),n(),e(3,`
99            `)),o&2){let t=c().$implicit;r(2),g("(",t.skippedPages," skipped)")}}function St(o,s){if(o&1&&(e(0,`
100              `),i(1,"span",54),e(2),n(),e(3,`
101            `)),o&2){let t=c().$implicit;r(2),g("(",t.duplicateImages," dupes)")}}function bt(o,s){if(o&1&&(e(0,`
102              `),i(1,"span",55),e(2),n(),e(3,`
103            `)),o&2){let t=c().$implicit;r(2),g("(",t.failedImages," failed)")}}function wt(o,s){if(o&1){let t=S();e(0,`
104        `),i(1,"tr"),e(2,`
105          `),i(3,"td"),e(4,`
106            `),i(5,"a",43),e(6),n(),e(7,`
107            `),m(8,Ct,4,0),m(9,vt,4,3),n(),e(10,`
108          `),i(11,"td"),e(12,`
109            `),i(13,"app-pill",44),e(14),n(),e(15,`
110          `),n(),e(16,`
111          `),i(17,"td"),e(18),m(19,ht,4,1),m(20,ft,4,1),n(),e(21,`
112          `),i(22,"td"),e(23),m(24,St,4,1),m(25,bt,4,1),n(),e(26,`
113          `),i(27,"td"),e(28),D(29,"date"),n(),e(30,`
114          `),i(31,"td"),e(32),D(33,"date"),n(),e(34,`
115          `),i(35,"td"),e(36,`
116            `),i(37,"div",45),e(38,`
117              `),i(39,"a",46),e(40,`
118                `),C(41,"i",47),e(42,`View
119              `),n(),e(43,`
120              `),i(44,"button",48),v("click",function(){let l=u(t).$implicit,d=c(2);return _(d.confirmDelete(l))}),e(45,`
121                `),C(46,"i",49),e(47,`
122              `),n(),e(48,`
123            `),n(),e(49,`
124          `),n(),e(50,`
125        `),n(),e(51,`
126      `)}if(o&2){let t=s.$implicit,a=c(2);r(5),x("href",t.sourceUrl,M),r(),g(`
127              `,t.sourceUrl,`
128            `),r(2),p(t.singlePageOnly?8:-1),r(),p(t.status==="AWAITING_SELECTION"?9:-1),r(4),x("status",a.getStatusClass(t.status)),r(),h(t.status),r(4),L(`
129            `,t.completedPages," / ",t.totalPages,`
130            `),r(),p(t.failedPages?19:-1),r(),p(t.skippedPages?20:-1),r(3),L(`
131            `,t.uploadedImages," / ",t.totalImages,`
132            `),r(),p(t.duplicateImages?24:-1),r(),p(t.failedImages?25:-1),r(3),h(A(29,17,t.createdAt,"short")),r(4),h(t.completedAt?A(33,20,t.completedAt,"short"):"\u2014"),r(7),x("routerLink",W(23,Ke,t.siteConversionID))}}function yt(o,s){o&1&&(e(0,`
133        `),i(1,"tr"),e(2,`
134          `),i(3,"td",56),e(4,"No site conversions yet. Enter a URL above to get started."),n(),e(5,`
135        `),n(),e(6,`
136      `))}function Et(o,s){if(o&1&&(e(0,`
137    `),i(1,"p-table",39),e(2,`
138      `),T(3,gt,24,0,"ng-template",40),e(4,`
139      `),T(5,wt,52,25,"ng-template",41),e(6,`
140      `),T(7,yt,7,0,"ng-template",42),e(8,`
141    `),n(),e(9,`
142  `)),o&2){let t=c();r(),x("value",t.conversions)("loading",t.loading)}}function Pt(o,s){if(o&1){let t=S();e(0,`
143    `),i(1,"app-yes-no-modal",57),v("onYesSelect",function(){u(t);let l=c();return _(l.deleteConversion())})("onNoSelect",function(){u(t);let l=c();return _(l.cancelDelete())}),e(2,`
144    `),n(),e(3,`
145  `)}if(o&2){let t=c();r(),x("modalTextAsAlert",!1)("loading",t.deleting)}}var Je=(()=>{let s=class s{get hasConversion(){return this.conversions.length>0}constructor(a,l){this.siteConversionService=a,this.siteDataService=l,this.conversions=[],this.loading=!0,this.starting=!1,this.sourceUrl="",this.importTheme=!1,this.importNavigation=!0,this.creativityLevel=0,this.modernizeTheme=!1,this.suggestLiveDataUpgrades=!1,this.qualityScoring=!1,this.preserveSourceText=!1,this.singlePageOnly=!1,this.reviewPagesBeforeConverting=!1,this.conversionModes=[{label:"Entire site",value:!1},{label:"Single page",value:!0}],this.showConfirmDelete=!1,this.deleting=!1,this.conversionToDelete=null,this.unsubscribe$=new F}ngOnInit(){this.loadConversions()}loadConversions(){this.loading=!0,this.siteConversionService.getConversions().pipe(b(this.unsubscribe$)).subscribe({next:a=>{this.conversions=a,this.loading=!1,this.siteDataService.hideSiteLoader()},error:()=>{this.siteDataService.showSiteErrorAlert("Unable to load site conversions."),this.loading=!1,this.siteDataService.hideSiteLoader()}})}startConversion(){this.sourceUrl?.trim()&&(this.starting=!0,this.siteConversionService.startConversion({sourceUrl:this.sourceUrl.trim(),importTheme:this.importTheme,importNavigation:this.importNavigation,creativityLevel:this.creativityLevel,modernizeTheme:this.modernizeTheme,suggestLiveDataUpgrades:this.suggestLiveDataUpgrades,qualityScoring:this.qualityScoring,preserveSourceText:this.preserveSourceText,singlePageOnly:this.singlePageOnly,reviewPagesBeforeConverting:this.reviewPagesBeforeConverting}).pipe(b(this.unsubscribe$)).subscribe({next:()=>{this.siteDataService.showSiteSuccessAlert(this.startedMessage()),this.sourceUrl="",this.starting=!1,this.loadConversions()},error:a=>{let l=a?.error||(this.singlePageOnly?"Unable to start page conversion.":"Unable to start site conversion.");this.siteDataService.showSiteErrorAlert(l),this.starting=!1}}))}startedMessage(){return this.singlePageOnly?"Page conversion started successfully.":this.reviewPagesBeforeConverting?"Crawl started \u2014 open the conversion to choose which pages to convert.":"Site conversion started successfully."}confirmDelete(a){this.conversionToDelete=a,this.showConfirmDelete=!0}cancelDelete(){this.showConfirmDelete=!1,this.conversionToDelete=null}deleteConversion(){this.conversionToDelete&&(this.deleting=!0,this.siteConversionService.deleteConversion(this.conversionToDelete.siteConversionID).pipe(b(this.unsubscribe$)).subscribe({next:()=>{this.siteDataService.showSiteSuccessAlert("Conversion deleted."),this.deleting=!1,this.showConfirmDelete=!1,this.conversionToDelete=null,this.loadConversions()},error:()=>{this.siteDataService.showSiteErrorAlert("Unable to delete conversion."),this.deleting=!1,this.showConfirmDelete=!1,this.conversionToDelete=null}}))}getStatusClass(a){switch(a){case"COMPLETED":return"success";case"FAILED":return"error";case"CANCELLED":return"warning";case"QUEUED":return"primary";case"AWAITING_SELECTION":return"warning";default:return"default"}}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}};s.\u0275fac=function(l){return new(l||s)(I(R),I(Q))},s.\u0275cmp=V({type:s,selectors:[["ng-component"]],standalone:!1,decls:10,vars:4,consts:[["role","main"],["pageTitle","Site Conversion"],[1,"card","mb-3"],[1,"card-body"],["alertType","warning",1,"pb-1"],[1,"d-flex","justify-content-between","align-items-center","pt-2","mb-2"],[1,"card-title","mb-0"],["type","button",1,"btn","btn-primary",3,"click","disabled"],[1,"mb-3"],["id","conversionScope",1,"form-label","mb-1","d-block"],["optionLabel","label","optionValue","value","size","small","ariaLabelledBy","conversionScope",3,"ngModelChange","options","ngModel","allowEmpty","disabled"],[1,"d-flex","gap-2","align-items-end"],[1,"flex-grow-1"],["for","sourceUrl",1,"form-label","pr-1"],[1,"d-flex","gap-3","align-items-center"],["id","sourceUrl","type","url","pInputText","",1,"flex-grow-1",3,"ngModelChange","ngModel","placeholder","disabled"],[1,"row","mt-3","g-3"],[1,"col-md-6"],["for","creativityLevel",1,"form-label","d-flex","justify-content-between","mb-1"],[1,"text-muted"],["id","creativityLevel",3,"ngModelChange","ngModel","min","max","step","disabled"],[1,"text-muted","d-block","mt-1"],[1,"form-label","mb-1"],[1,"d-flex","flex-column","gap-2"],[1,"d-flex","align-items-center"],["inputId","suggestLiveDataUpgrades",3,"ngModelChange","ngModel","binary","disabled"],["for","suggestLiveDataUpgrades",1,"pl-1","ms-1","mb-0"],["
145inputId","qualityScoring",3,"ngModelChange","ngModel","binary","disabled"],["for","qualityScoring",1,"pl-1","ms-1","mb-0"],["inputId","preserveSourceText",3,"ngModelChange","ngModel","binary","disabled"],["for","preserveSourceText",1,"pl-1","ms-1","mb-0"],["inputId","importTheme",3,"ngModelChange","ngModel","binary","disabled"],["for","importTheme",1,"pl-1","ms-1","mb-0","text-nowrap"],["inputId","importNavigation",3,"ngModelChange","ngModel","binary","disabled"],["for","importNavigation",1,"pl-1","ms-1","mb-0","text-nowrap"],["inputId","reviewPagesBeforeConverting",3,"ngModelChange","ngModel","binary","disabled"],["for","reviewPagesBeforeConverting","pTooltip","Crawl the site, then pause so you can choose which of the discovered pages to convert",1,"pl-1","ms-1","mb-0","text-nowrap"],["inputId","modernizeTheme",3,"ngModelChange","ngModel","binary","disabled"],["for","modernizeTheme",1,"pl-1","ms-1","mb-0"],["styleClass","p-datatable-sm","responsiveLayout","scroll",3,"value","loading"],["pTemplate","header"],["pTemplate","body"],["pTemplate","emptymessage"],["target","_blank","rel","noopener noreferrer",3,"href"],[3,"status"],[1,"d-inline-flex","align-items-center"],[1,"btn","btn-naked","btn-sm",3,"routerLink"],[1,"fa-regular","fa-eye","mr-1"],["type","button","pTooltip","Delete conversion","aria-label","Delete conversion",1,"btn","btn-red","btn-sm","ms-1",3,"click"],["aria-hidden","true",1,"fa-regular","fa-trash"],["pTooltip","Only this page was imported \u2014 no sitemap crawl, theme and navigation untouched",1,"text-muted","ms-1"],[1,"ms-1",3,"routerLink"],[1,"text-danger","ms-1"],["pTooltip","Dead links listed in the source sitemap (HTTP 404/410) \u2014 not conversion failures",1,"text-warning","ms-1"],["pTooltip","Duplicate references \u2014 the same image appears in more than one place, so its upload was reused",1,"text-muted","ms-1"],["pTooltip","Images that could not be imported \u2014 open the conversion for each URL and reason",1,"text-danger","ms-1"],["colspan","7",1,"text-center","text-muted","py-4"],["headerText","Confirm Delete","modalText","Delete this conversion? All pages created by it will be moved to Trash. This cannot be undone.","yesButtonText","Yes, Delete","yesButtonLoadingText","Deleting","noButtonText","No",3,"onYesSelect","onNoSelect","modalTextAsAlert","loading"]],template:function(l,d){l&1&&(i(0,"main",0),e(1,`
146  `),C(2,"app-admin-header",1),e(3,`
147
148  `),e(4,`
149  `),m(5,ut,101,35),m(6,_t,4,0),m(7,Et,10,2),m(8,Pt,4,2),n(),e(9,`
150`)),l&2&&(r(5),p(d.hasConversion?-1:5),r(),p(d.loading&&!d.conversions.length?6:-1),r(),p(!d.loading||d.conversions.length?7:-1),r(),p(d.showConfirmDelete?8:-1))},dependencies:[j,H,G,X,K,J,Z,ee,ne,Re,ie,te,Y,Ae,Ve,q],encapsulation:2});let o=s;return o})();var Tt=o=>["/admin/content/page-builder/1/content",o],Dt=(o,s)=>s.label,It=(o,s)=>s.sourceUrl;function Lt(o,s){if(o&1&&(e(0,`
151              `),i(1,"strong"),e(2),n(),e(3,` included
152              `),i(4,"span",30),e(5),n(),e(6,`
153            `)),o&2){let t=c(2);r(2),h(t.conversion.includedPages),r(3),g("/ ",t.conversion.excludedPages," excluded")}}function At(o,s){if(o&1&&(e(0,`
154              `),i(1,"strong"),e(2),n(),e(3)),o&2){let t=c(2);r(2),h(t.conversion.completedPages),r(),g(" / ",t.conversion.totalPages,`
155            `)}}function Mt(o,s){if(o&1&&(e(0,`
156              `),i(1,"span",31),e(2),n(),e(3,`
157            `)),o&2){let t=c(2);r(2),g("(",t.conversion.failedPages," failed)")}}function kt(o,s){if(o&1&&(e(0,`
158              `),i(1,"span",32),e(2),n(),e(3,`
159            `)),o&2){let t=c(2);r(2),g("(",t.conversion.skippedPages," skipped)")}}function Vt(o,s){if(o&1&&(e(0,`
160              `),i(1,"span",33),e(2),n(),e(3,`
161            `)),o&2){let t=c(2);r(2),g("(",t.conversion.duplicateImages," duplicates)")}}function Ut(o,s){if(o&1&&(e(0,`
162              `),i(1,"span",34),e(2),n(),e(3,`
163            `)),o&2){let t=c(2);r(2),g("(",t.conversion.failedImages," failed)")}}function Bt(o,s){if(o&1&&(e(0,`
164              `),i(1,"span"),e(2),D(3,"date"),D(4,"date"),n(),e(5,`
165            `)),o&2){let t=c(2);r(2),L("",A(3,2,t.conversion.createdAt,"shortTime")," \u2014 ",A(4,5,t.conversion.completedAt,"shortTime"))}}function Rt(o,s){if(o&1&&(e(0,`
166              `),i(1,"span"),e(2),D(3,"date"),n(),e(4,`
167            `)),o&2){let t=c(2);r(2),g("Started ",A(3,1,t.conversion.createdAt,"short"))}}function $t(o,s){if(o&1&&(e(0,`
168            `),i(1,"app-pill",35),e(2),n(),e(3,`
169          `)),o&2){let t=s.$implicit;r(),x("status",t.enabled?"success":"default")("icon",t.enabled?"fa-regular fa-check":"fa-regular fa-minus")("iconFirst",!0)("tooltipText",t.tooltip),r(),g(`
170              `,t.label,`
171            `)}}function Ft(o,s){if(o&1&&(e(0,`
172              `),C(1,"p-progressBar",39),e(2,`
173            `)),o&2){let t=c(3);r(),x("value",t.getProgressPercent())}}function Nt(o,s){if(o&1){let t=S();e(0,`
174          `),i(1,"div",36),e(2,`
175            `),m(3,Ft,3,1),i(4,"div",37),e(5,`
176              `),i(6,"button",38),v("click",function(){u(t);let l=c(2);return _(l.stopConversion())}),e(7,`
177                `),C(8,"i"),e(9),n(),e(10,`
178            `),n(),e(11,`
179          `),n(),e(12,`
180        `)}if(o&2){let t=c(2);r(3),p(t.isAwaitingSelection()?-1:3),r(3),x("disabled",t.stopping),r(2),k(t.stopping?"fa fa-spinner fa-spin mr-1":"fa-regular fa-stop-circle mr-1"),r(),g("",t.isAwaitingSelection()?"Cancel Conversion":"Stop Conversion",`
181              `)}}function Wt(o,s){if(o&1&&(e(0,`
182          `),i(1,"div",36),e(2,`
183            `),i(3,"app-inline-alert",40),e(4),n(),e(5,`
184          `),n(),e(6,`
185        `)),o&2){let t=c(2);r(3),x("isInline",!0),r(),h(t.conversion.errorMessage)}}function Ot(o,s){if(o&1){let t=S();e(0,`
186          `),i(1,"div",36),e(2,`
187            `),i(3,"div",41),e(4,`
188              `),i(5,"div",42),e(6,`
189                `),i(7,"label",43),e(8,"Add a page"),n(),e(9,`
190                `),i(10,"input",44),E("ngModelChange",function(l){u(t);let d=c(2);
190return y(d.addPageUrl,l)||(d.addPageUrl=l),_(l)}),v("keydown.enter",function(){u(t);let l=c(2);return _(l.addPage())}),n(),e(11,`
191              `),n(),e(12,`
192              `),i(13,"button",45),v("click",function(){u(t);let l=c(2);return _(l.addPage())}),e(14,`
193                `),C(15,"i"),e(16,`Convert Page
194              `),n(),e(17,`
195            `),n(),e(18,`
196          `),n(),e(19,`
197        `)}if(o&2){let t=c(2);r(10),w("ngModel",t.addPageUrl),x("disabled",t.addingPage),r(3),x("disabled",!(t.addPageUrl!=null&&t.addPageUrl.trim())||t.addingPage),r(2),k(t.addingPage?"fa fa-spinner fa-spin mr-1":"fa-regular fa-plus mr-1")}}function zt(o,s){if(o&1&&(e(0,`
198                `),i(1,"span",31),e(2),n(),e(3,`
199              `)),o&2){let t=c(3);r(2),L(`
200                  Limited to `,t.conversion.maxCuratedPages,` pages per conversion \u2014 exclude
201                  `,t.conversion.includedPages-t.conversion.maxCuratedPages,` more.
202                `)}}function qt(o,s){if(o&1){let t=S();e(0,`
203      `),i(1,"div",6),e(2,`
204        `),i(3,"div",7),e(4,`
205          `),i(5,"app-inline-alert",46),e(6),n(),e(7,`
206          `),i(8,"div",47),e(9,`
207            `),i(10,"div",48),e(11,`
208              `),i(12,"app-pill",49),e(13),n(),e(14,`
209              `),i(15,"app-pill",50),e(16),n(),e(17,`
210              `),m(18,zt,4,2),n(),e(19,`
211            `),i(20,"button",51),v("click",function(){u(t);let l=c(2);return _(l.confirmPageSelection())}),e(21,`
212              `),C(22,"i"),e(23),n(),e(24,`
213          `),n(),e(25,`
214        `),n(),e(26,`
215      `),n(),e(27,`
216    `)}if(o&2){let t=c(2);r(6),g(`
217            The crawl found `,t.conversion.includedPages+t.conversion.excludedPages,` page(s). Nothing has been
218            fetched or converted yet \u2014 exclude what you don't want in the table below, then start the conversion.
219            Excluded pages stay listed here, and you can import any of them one at a time later.
220          `),r(7),g("",t.conversion.includedPages," to convert"),r(3),g("",t.conversion.excludedPages," excluded"),r(2),p(t.selectionOverLimit?18:-1),r(2),x("disabled",t.confirming||t.reviewBusy||!t.conversion.includedPages||t.selectionOverLimit),r(2),k(t.confirming?"fa fa-spinner fa-spin mr-1":"fa-regular fa-play mr-1"),r(),g("Convert ",t.conversion.includedPages,` Page(s)
221            `)}}function jt(o,s){o&1&&(e(0,`
222                          `),i(1,"span",58),e(2,"Inline SVG icon"),n(),e(3,`
223                        `))}function Ht(o,s){if(o&1&&(e(0,`
224                          `),i(1,"a",59),e(2),n(),e(3,`
225                        `)),o&2){let t=c().$implicit;r(),x("href",t.sourceUrl,M)("pTooltip",t.sourceUrl),r(),g(`
226                            `,t.sourceUrl,`
227                          `)}}function Gt(o,s){if(o&1&&(e(0,`
228                          `),i(1,"a",11),e(2),n(),e(3,`
229                        `)),o&2){let t=c().$implicit;r(),x("href",t.pageUrl,M),r(),h(t.pageUrl)}}function Kt(o,s){o&1&&(e(0,`
230                          `),i(1,"span"),e(2,"\u2014"),n(),e(3,`
231                        `))}function Jt(o,s){if(o&1&&(e(0,`
232                    `),i(1,"tr"),e(2,`
233                      `),i(3,"td",56),e(4,`
234                        `),m(5,jt,4,0)(6,Ht,4,3),n(),e(7,`
235                      `),i(8,"td"),e(9),n(),e(10,`
236                      `),i(11,"td",57),e(12,`
237                        `),m(13,Gt,4,2)(14,Kt,4,0),n(),e(15,`
238                      `),i(16,"td",55),e(17),n(),e(18,`
239                    `),n(),e(19,`
240                  `)),o&2){let t=s.$implicit,a=c(3);r(5),p(a.isInlineSvgMarker(t.sourceUrl)?5:6),r(4),h(t.reason),r(4),p(t.pageUrl?13:14),r(4),h(t.occurrences)}}function Qt(o,s){if(o&1&&(e(0,`
241      `),i(1,"p-accordion",17),e(2,`
242        `),i(3,"p-accordion-panel",18),e(4,`
243          `),i(5,"p-accordion-header"),e(6,`
244            `),i(7,"span",19),e(8,"Failed Images"),n(),e(9,`
245            `),i(10,"span",52),e(11),n(),e(12,`
246          `),n(),e(13,`
247          `),i(14,"p-accordion-content"),e(15,`
248            `),i(16,"div",53),e(17,`
249              `),i(18,"table",54),e(19,`
250                `),i(20,"thead"),e(21,`
251                  `),i(22,"tr"),e(23,`
252                    `),i(24,"th"),e(25,"Image"),n(),e(26,`
253                    `),i(27,"th"),e(28,"Reason"),n(),e(29,`
254                    `),i(30,"th"),e(31,"First seen on"),n(),e(32,`
255                    `),i(33,"th",55),e(34,"References"),n(),e(35,`
256                  `),n(),e(36,`
257                `),n(),e(37,`
258                `),i(38,"tbody"),e(39,`
259                  `),U(40,Jt,20,4,null,null,It),n(),e(42,`
260              `),n(),e(43,`
261            `),n(),e(44,`
262          `),n(),e(45,`
263        `),n(),e(46,`
264      `),n(),e(47,`
265    `)),o&2){let t=c(2);r(11),g("(",t.conversion.imageFailures.length,")"),r(29),B(t.conversion.imageFailures)}}function Xt(o,s){if(o&1&&(e(0,`
266            `),i(1,"span",52),e(2),n(),e(3,`
267          `)),o&2){let t=c(2);r(2),g("(",t.conversion.logs.length," entries)")}}function Yt(o,s){if(o&1&&(e(0,`
268            `),i(1,"div",60),e(2,`
269              `),i(3,"small",61),e(4),D(5,"utcDate"),n(),e(6,`
270              `),i(7,"span",62),e(8),n(),e(9,`
271            `),n(),e(10,`
272          `)),o&2){let t=s.$implicit,a=c(2);r(),x("ngClass",a.getLogLevelClass(t.level)),r(3),h(A(5,3,t.timestamp,"MMM d, y, h:mm:ss a")),r(4),h(t.message)}}function Zt(o,s){if(o&1){let t=S();e(0,`
273            `),i(1,"div",63),e(2,`
274              `),i(3,"button",64),v("click",function(){u(t);let l=c(2);return _(l.loadMoreLogs())}),e(4,"Load More"),n(),e(5,`
275            `),n(),e(6,`
276          `)}}function ei(o,s){o&1&&(e(0,`
277            `),i(1,"div",65),e(2,`
278              No log entries yet.
279            `),n(),e(3,`
280          `))}function ti(o,s){if(o&1){let t=S();e(0,`
281          `),e(1,`
282          `),i(2,"span",67),e(3),n(),e(4,`
283          `),i(5,"button",68),v("click",function(){u(t);let l=c(3);return _(l.setAllMatchingExcluded(!0))}),e(6,`
284            `),C(7,"i",69),e(8),n(),e(9,`
285          `),i(10,"button",68),v("click",function(){u(t);let l=c(3);return _(l.setAllMatchingExcluded(!1))}),e(11,`
286            `),C(12,"i",70),e(13),n(),e(14,`
287        `)}if(o&2){let t=c(3);r(3),g(`
288            `,t.searchTerm!=null&&t.searchTerm.trim()?"Apply to every page matching your search:":"Apply to every discovered page:",`
289          `),r(2),x("disabled",t.reviewBusy||t.confirming),r(3),g("Exclude All",t.searchTerm!=null&&t.searchTerm.trim()?" Matching":"",`
290          `),r(2),x("disabled",t.reviewBusy||t.confirming),r(3),g("Include All",t.searchTerm!=null&&t.searchTerm.trim()?" Matching":"",`
291          `)}}function ii(o,s){if(o&1){let t=S();e(0,`
292          `),i(1,"span",30),e(2),n(),e(3,`
293          `),i(4,"button",68),v("click",function(l){u(t);let d=N(10);return _(d.toggle(l))}),e(5,`
294            Actions `),C(6,"i",71),e(7,`
295          `),n(),e(8,`
296          `),C(9,"p-menu",72,3),e(11,`
297        `)}if(o&2){let t=c(3);r(2),g("",t.selectedPageIds.size," page(s) selected"),r(2),x("disabled",t.publishing||t.deleting||t.reviewBusy),r(5),x("popup",!0)("model",t.isAwaitingSelection()?t.reviewActionItems:t.bulkActionItems)}}function ni(o,s){if(o&1&&(e(0,`
298      `),i(1,"div",66),e(2,`
299        `),m(3,ti,15,5),m(4,ii,12,4),n(),e(5,`
300    `)),o&2){let t=c(2);r(3),p(t.isAwaitingSelection()?3:-1),r(),p(t.selectedPageIds.size>0?4:-1)}}function oi(o,s){if(o&1&&(e(0,`
301                      `),C(1,"p-sortIcon",81),e(2,`
302                    `)),o&2){let t=c().$implicit;r(),x("field",t.field)}}function ai(o,s){if(o&1&&(e(0,`
303                  `),i(1,"th",80),e(2),m(3,oi,3,1),n(),e(4,`
304                `)),o&2){let t=s.$implicit;r(),x("pSortableColumn",t.field?t.field:null),le("aria-label","Activate to sort"),r(),g(`
305                    `,t.header,`
306                    `),r(),p(t.field?3:-1)}}function ri(o,s){if(o&1){let t=S();e(0,`
307              `),i(1,"tr"),e(2,`
308                `),i(3,"th",78),e(4,`
309                  `),i(5,"p-checkbox",79),v("onChange",function(){u(t);let l=c(3);return _(l.toggleSelectAll())}),e(6,`
310                  `),n(),e(7,`
311                `),n(),e(8,`
312                `),U(9,ai,5,4,null,null,O),n(),e(11,`
313            `)}if(o&2){let t=c(3);r(5),x("binary",!0)("ngModel",t.allSelected),r(4),B(t.searchColumns)}}function li(o,s){if(o&1){let t=S();e(0,`
314                    `),i(1,"p-checkbox",84),v("onChange",function(){u(t);let l=c().$implicit,d=c(3);return _(d.togglePageSelection(l.siteConversionPageID))}),e(2,`
315                    `),n(),e(3,`
316                  `)}if(o&2){let t=c().$implicit,a=c(3);r(),x("binary",!0)("ngModel",a.isPageSelected(t.siteConversionPageID))}}function si(o,s){if(o&1){let t=S();e(0,`
317                    `),i(1,"span",85),v("mouseenter",function(l){u(t);let d=c().$implicit;c(2);let P=N(136),f=c();return _(f.showClassification(l,d,P))})("mouseleave",function(){u(t),c(3);let l=N(136),d=c();return _(d.hideClassification(l))}),e(2,`
318                      `),i(3,"app-pill",13),e(4),n(),e(5,`
319                    `),n(),e(6,`
320                  `)}if(o&2){let t=c().$implicit,a=c(3);r(3),x("status",a.getStatusClass(t.status)),r(),h(t.status)}}function ci(o,s){if(o&1&&(e(0,`
321                    `),i(1,"app-pill",13),e(2),n(),e(3,`
322                  `)),o&2){let t=c().$implicit,a=c(3);r(),x("status",a.getStatusClass(t.status)),r(),h(t.status)}}function di(o,s){if(o&1&&(e(0,`
323                    `),i(1,"span"),e(2),n(),e(3,`
324                  `)),o&2){let t=c().$implicit;r(),z("text-success",t.qualityScore>=80)("text-warning",t.qualityScore>=50&&t.qualityScore<80)("text-danger",t.qualityScore<50),r(),g(`
325                      `,t.qualityScore,`
326                    `)}}function mi(o,s){o&1&&(e(0,`
327                    `),i(1,"span",30),e(2,"\u2014"),n(),e(3,`
328                  `))}function pi(o,s){if(o&1&&(e(0,`
329                    `),C(1,"i",86),e(2,`
330                  `)),o&2){let t=c().$implicit;r(),x("pTooltip",t.qualityNotes)}}function xi(o,s){o&1&&(e(0,`
331                    `),i(1,"span",30),e(2,"\u2014"),n(),e(3,`
332                  `))}function ui(o,s){if(o&1){let t=S();e(0,`
333                    `),i(1,"a",87),e(2),n(),e(3,`
334                    `),i(4,"button",88),v("click",function(l){u(t);let d=c().$implicit;c(2);let P=N(128),f=c();return _(f.showPreview(l,f.getPagePreviewUrl(d.createdPageBuilderPageID),P))}),e(5,`
335                      `),C(6,"i",89),e(7,`
336                    `),n(),e(8,`
337                  `)}if(o&2){let t=c().$implicit;r(),x("routerLink",W(2,Tt,t.createdPageBuilderPageID)),r(),g(`
338                      Page #`,t.createdPageBuilderPageID,`
339                    `)}}function _i(o,s){o&1&&(e(0,`
340                    `),i(1,"span"),e(2,"\u2014"),n(),e(3,`
341                  `))}function gi(o,s){if(o&1){let t=S();e(0,`
342                    `),i(1,"button",90),v("click",function(){u(t);let l=c().$implicit,d=c(3);return _(d.rerunPage(l))}),e(2,`
343                      `),C(3,"i"),e(4,`
344                    `),n(),e(5,`
345                  `)}if(o&2){let t=c().$implicit,a=c(3);r(),x("pTooltip",t.status==="EXCLUDED"?"Import this page after all \u2014 it was left out of the conversion":"Convert this page again \u2014 replaces the CMS page it created")("disabled",a.isActive()||a.rerunningPageId===t.siteConversionPageID),r(2),k(a.rerunningPageId===t.siteConversionPageID?"fa fa-spinner fa-spin":"fa-regular fa-rotate-right")}}function Ci(o,s){if(o&1){let t=S();e(0,`
346                    `),i(1,"button",91),v("click",function(){u(t);let l=c().$implicit,d=c(3);return _(d.deletePage(l))}),e(2,`
347                      `),C(3,"i",92),e(4,`
348                    `),n(),e(5,`
349                  `)}if(o&2){let t=c(4);r(),x("disabled",t.isActive())}}function vi(o,s){if(o&1&&(e(0,`
350              `),i(1,"tr"),e(2,`
351                `),i(3,"td",82),e(4,`
352                  `),m(5,li,4,2),n(),e(6,`
353                `),i(7,"td",56),e(8,`
354                  `),i(9,"a",11),e(10),n(),e(11,`
355                `),n(),e(12,`
356                `),i(13,"td"),e(14),n(),e(15,`
357                `),i(16,"td"),e(17,`
358                  `),m(18,si,7,2),m(19,ci,4,2),n(),e(20,`
359                `),i(21,"td",55),e(22,`
360                  `),m(23,di,4,7)(24,mi,4,0),n(),e(25,`
361                `),i(26,"td",55),e(27,`
362                  `),m(28,pi,3,1)(29,xi,4,0),n(),e(30,`
363                `),i(31,"td"),e(32,`
364                  `),m(33,ui,9,4),m(34,_i,4,0),n(),e(35,`
365                `),i(36,"td",83),e(37),n(),e(38,`
366                `),i(39,"td",55),e(40,`
367                  `),m(41,gi,6,4),m(42,Ci,6,1),n(),e(43,`
368              `),n(),e(44,`
369            `)),o&2){let t=s.$implicit,a=c(3);r(5),p(t.status!=="DELETED"?5:-1),r(4),x("href",t.sourceUrl,M),r(),g(`
370                    `,t.sourceUrl,`
371                  `),r(4),h(t.category),r(4),p(t.classificationJson?18:-1),r(),p(t.classificationJson?-1:19),r(4),p(t.qualityScore!=null?23:24),r(5),p(t.qualityNotes?28:29),r(5),p(t.createdPageBuilderPageID?33:-1),r(),p(t.createdPageBuilderPageID?-1:34),r(2),z("text-danger",t.status==="FAILED")("text-warning",t.status==="SKIPPED"),r(),g(`
372                  `,t.errorMessage||"\u2014",`
373                `),r(4),p(a.canRerun(t)?41:-1),r(),p(t.status!=="DELETED"?42:-1)}}function hi(o,s){if(o&1&&(e(0,`
374              `),i(1,"tr"),e(2,`
375                `),i(3,"td",93),e(4,`
376                  The search criteria produced no results.
377                `),n(),e(5,`
378              `),n(),e(6,`
379            `)),o&2){let t=s.$implicit;r(3),le("colspan",t.length+1)}}function fi(o,s){if(o&1){let t=S();e(0,`
380      `),i(1,"div"),e(2,`
381        `),i(3,"div",73),e(4,`
382          `),i(5,"p-table",74),v("onLazyLoad",function(l){u(t);let d=c(2);return _(d.search(l))}),e(6,`
383            `),T(7,ri,12,2,"ng-template",75),e(8,`
384            `),T(9,vi,45,17,"ng-template",76),e(10,`
385            `),T(11,hi,7,1,"ng-template",77),e(12,`
386          `),n(),e(13,`
387        `),n(),e(14,`
388      `),n(),e(15,`
389    `)}if(o&2){let t=c(2);
389r(5),x("columns",t.searchColumns)("value",t.searchResults)("lazy",!0)("paginator",!0)("alwaysShowPaginator",!1)("totalRecords",t.totalRecords)("rows",25)("loading",t.pagesLoading)}}function Si(o,s){if(o&1&&(e(0,`
390        `),C(1,"iframe",94),D(2,"safeUrl"),e(3,`
391      `)),o&2){let t=c(3);r(),x("src",fe(2,1,t.previewUrl),ue)}}function bi(o,s){if(o&1&&(e(0,`
392      `),m(1,Si,4,3)),o&2){let t=c(2);r(),p(t.previewUrl?1:-1)}}function wi(o,s){o&1&&(e(0,`
393                      `),C(1,"i",98),e(2,`
394                    `))}function yi(o,s){o&1&&(e(0,`
395                      `),C(1,"i",99),e(2,`
396                    `))}function Ei(o,s){if(o&1&&(e(0,`
397                `),i(1,"tr"),e(2,`
398                  `),i(3,"td",30),e(4),n(),e(5,`
399                  `),i(6,"td")(7,"strong"),e(8),n()(),e(9,`
400                  `),i(10,"td"),e(11),n(),e(12,`
401                  `),i(13,"td"),e(14,`
402                    `),i(15,"span"),e(16),n(),e(17,`
403                  `),n(),e(18,`
404                  `),i(19,"td",97),e(20),n(),e(21,`
405                  `),i(22,"td"),e(23,`
406                    `),m(24,wi,3,0),m(25,yi,3,0),n(),e(26,`
407                `),n(),e(27,`
408              `)),o&2){let t=s.$implicit,a=s.$index;r(4),h(a+1),r(4),h(t.component),r(3),h(t.layout),r(4),z("text-success",t.confidence>=80)("text-warning",t.confidence>=50&&t.confidence<80)("text-danger",t.confidence<50),r(),g(`
409                      `,t.confidence,`%
410                    `),r(4),h(t.heading),r(4),p(t.isLiveData?24:-1),r(),p(t.manualConnectionRequired?25:-1)}}function Pi(o,s){if(o&1&&(e(0,`
411        `),i(1,"div",95),e(2,`
412          `),i(3,"table",96),e(4,`
413            `),i(5,"thead"),e(6,`
414              `),i(7,"tr"),e(8,`
415                `),i(9,"th"),e(10,"#"),n(),e(11,`
416                `),i(12,"th"),e(13,"Component"),n(),e(14,`
417                `),i(15,"th"),e(16,"Layout"),n(),e(17,`
418                `),i(18,"th"),e(19,"Confidence"),n(),e(20,`
419                `),i(21,"th"),e(22,"Heading"),n(),e(23,`
420                `),i(24,"th"),e(25,"Live"),n(),e(26,`
421              `),n(),e(27,`
422            `),n(),e(28,`
423            `),i(29,"tbody"),e(30,`
424              `),U(31,Ei,28,13,null,null,O),n(),e(33,`
425          `),n(),e(34,`
426        `),n(),e(35,`
427      `)),o&2){let t=c(3);r(31),B(t.classificationSections)}}function Ti(o,s){o&1&&(e(0,`
428        `),i(1,"div",100),e(2,`
429          No classification data available.
430        `),n(),e(3,`
431      `))}function Di(o,s){if(o&1&&(e(0,`
432      `),m(1,Pi,36,0),m(2,Ti,4,0)),o&2){let t=c(2);r(),p(t.classificationSections.length?1:-1),r(),p(t.classificationSections.length?-1:2)}}function Ii(o,s){if(o&1){let t=S();e(0,`
433  `),i(1,"main",4),v("keydown.enter",function(){u(t);let l=c();return _(l.run())}),e(2,`
434    `),i(3,"app-admin-header",5),e(4,`
435    `),n(),e(5,`
436    `),e(6,`
437    `),i(7,"div",6),e(8,`
438      `),i(9,"div",7),e(10,`
439        `),i(11,"div",8),e(12,`
440          `),i(13,"div",9),e(14,`
441            `),i(15,"label",10),e(16,"Source URL"),n(),e(17,`
442            `),i(18,"a",11),e(19),n(),e(20,`
443          `),n(),e(21,`
444          `),i(22,"div",12),e(23,`
445            `),i(24,"label",10),e(25,"Status"),n(),e(26,`
446            `),i(27,"app-pill",13),e(28),n(),e(29,`
447          `),n(),e(30,`
448          `),i(31,"div",12),e(32,`
449            `),i(33,"label",10),e(34,"Pages"),n(),e(35,`
450            `),m(36,Lt,7,2)(37,At,4,2),m(38,Mt,4,1),m(39,kt,4,1),n(),e(40,`
451          `),i(41,"div",12),e(42,`
452            `),i(43,"label",10),e(44,"Images"),n(),e(45,`
453            `),i(46,"strong"),e(47),n(),e(48),m(49,Vt,4,1),m(50,Ut,4,1),n(),e(51,`
454          `),i(52,"div",12),e(53,`
455            `),i(54,"label",10),e(55,"Duration"),n(),e(56,`
456            `),m(57,Bt,6,8),m(58,Rt,5,4),n(),e(59,`
457        `),n(),e(60,`
458        `),e(61,`
459        `),i(62,"div",14),e(63,`
460          `),i(64,"label",15),e(65,"Import settings"),n(),e(66,`
461          `),i(67,"app-pill",16),e(68),n(),e(69,`
462          `),U(70,$t,4,5,null,null,Dt),n(),e(72,`
463        `),e(73,`
464        `),m(74,Nt,13,5),m(75,Wt,7,2),m(76,Ot,20,5),n(),e(77,`
465    `),n(),e(78,`
466    `),e(79,`
467    `),m(80,qt,28,8),m(81,Qt,48,1),i(82,"p-accordion",17),e(83,`
468      `),i(84,"p-accordion-panel",18),e(85,`
469        `),i(86,"p-accordion-header"),e(87,`
470          `),i(88,"span",19),e(89,"Activity Log"),n(),e(90,`
471          `),m(91,Xt,4,1),n(),e(92,`
472        `),i(93,"p-accordion-content"),e(94,`
473        `),i(95,"div",20),v("scroll",function(l){u(t);let d=c();return _(d.onLogScroll(l))}),e(96,`
474          `),U(97,Yt,11,6,null,null,O),m(99,Zt,7,0),m(100,ei,4,0),n(),e(101,`
475        `),n(),e(102,`
476      `),n(),e(103,`
477    `),n(),e(104,`
478    `),e(105,`
479    `),i(106,"app-admin-filter",21),v("adminFilterReset",function(){u(t);let l=c();return _(l.resetFilters())})("adminFilterSearch",function(){u(t);let l=c();return _(l.run())}),e(107,`
480      `),ge(108,22),e(109,`
481        `),i(110,"div",23),e(111,`
482          `),i(112,"span",24),e(113,`
483            `),C(114,"i",25),e(115,`
484            `),i(116,"input",26),E("ngModelChange",function(l){u(t);let d=c();return y(d.searchTerm,l)||(d.searchTerm=l),_(l)}),n(),e(117,`
485            `),C(118,"label",27),e(119,`
486          `),n(),e(120,`
487        `),n(),e(121,`
488      `),Ce(),e(122,`
489    `),n(),e(123,`
490    `),e(124,`
491    `),m(125,ni,6,2),m(126,fi,16,8),i(127,"p-popover",28,0),v("onHide",function(){u(t);let l=c();return _(l.clearPreview())}),e(129,`
492        `),T(130,bi,2,1,"ng-template",null,1,se),e(132,`
493    `),n(),e(133,`
494    `),e(134,`
495    `),i(135,"p-popover",29,2),e(137,`
496        `),T(138,Di,3,2,"ng-template",null,1,se),e(140,`
497    `),n(),e(141,`
498    `),C(142,"p-confirmDialog"),e(143,`
499  `),n(),e(144,`
500`)}if(o&2){let t=c();r(3),x("pageTitle","Site Conversion #"+t.conversion.siteConversionID)("showBackButton",!0),r(15),x("href",t.conversion.sourceUrl,M),r(),g(`
501              `,t.conversion.sourceUrl,`
502            `),r(8),x("status",t.getStatusClass(t.conversion.status)),r(),h(t.conversion.status),r(8),p(t.isAwaitingSelection()?36:37),r(2),p(t.conversion.failedPages?38:-1),r(),p(t.conversion.skippedPages?39:-1),r(8),h(t.conversion.uploadedImages),r(),g(" / ",t.conversion.totalImages,`
503            `),r(),p(t.conversion.duplicateImages?49:-1),r(),p(t.conversion.failedImages?50:-1),r(7),p(t.conversion.completedAt?57:-1),r(),p(t.conversion.completedAt?-1:58),r(10),L(`
504            Creativity: `,t.conversion.creativityLevel," (",t.creativityLabel,`)
505          `),r(2),B(t.optionChips),r(4),p(t.isActive()?74:-1),r(),p(t.conversion.errorMessage?75:-1),r(),p(t.isActive()?-1:76),r(4),p(t.isAwaitingSelection()?80:-1),r(),p(t.conversion.imageFailures!=null&&t.conversion.imageFailures.length?81:-1),r(10),p(t.conversion.logs!=null&&t.conversion.logs.length?91:-1),r(6),B(t.visibleLogs),r(2),p(t.hasMoreLogs()?99:-1),r(),p(t.conversion.logs!=null&&t.conversion.logs.length?-1:100),r(6),x("marginTop",!0),r(10),w("ngModel",t.searchTerm),r(9),p(t.isAwaitingSelection()||t.selectedPageIds.size>0?125:-1),r(),p(t.showTable?126:-1)}}function Li(o,s){o&1&&(e(0,`
506  `),i(1,"app-loader"),e(2,"Loading conversion details..."),n(),e(3,`
507`))}var Qe=(()=>{let s=class s{constructor(a,l,d,P){this.siteConversionService=a,this.siteDataService=l,this.confirmationService=d,this.route=P,this.conversion=null,this.loading=!0,this.stopping=!1,this.addPageUrl="",this.addingPage=!1,this.rerunningPageId=null,this.visibleLogs=[],this.previewUrl="",this.classificationSections=[],this.optionChips=[],this.creativityLabel="",this.searchResults=[],this.searchTerm="",this.totalRecords=0,this.pagesLoading=!1,this.showTable=!1,this.selectedPageIds=new Set,this.allSelected=!1,this.publishing=!1,this.deleting=!1,this.reviewBusy=!1,this.confirming=!1,this.bulkActionItems=[{label:"Publish Selected",icon:"fa-regular fa-circle-check",command:()=>this.publishSelected()},{label:"Delete Selected",icon:"fa-regular fa-trash",command:()=>this.deleteSelected()}],this.reviewActionItems=[{label:"Exclude Selected",icon:"fa-regular fa-ban",command:()=>this.setSelectedExcluded(!0)},{label:"Include Selected",icon:"fa-regular fa-circle-plus",command:()=>this.setSelectedExcluded(!1)}],this.searchColumns=[{header:"Source URL",field:"sourceUrl"},{header:"Category",field:"category"},{header:"Status",field:"status"},{header:"Quality",field:"qualityScore"},{header:"Notes",field:null},{header:"CMS Page",field:null},{header:"Error",field:null},{header:"",field:null}],this.currentPage=1,this.rows=25,this.logPageSize=100,this.logDisplayCount=100,this.unsubscribe$=new F,this.pagePollStop$=new F}ngOnInit(){this.route.params.pipe(b(this.unsubscribe$)).subscribe({next:a=>{this.siteConversionID=+a.id,this.loadConversion(),this.startPolling()}})}loadConversion(){this.siteConversionService.getConversion(this.siteConversionID).pipe(b(this.unsubscribe$)).subscribe({next:a=>{this.conversion=a,this.updateVisibleLogs(),this.buildOptionChips(),this.loading=!1,this.siteDataService.hide
507SiteLoader(),this.showTable||this.run()},error:()=>{this.siteDataService.showSiteErrorAlert("Unable to load conversion details."),this.loading=!1,this.siteDataService.hideSiteLoader()}})}startPolling(){ae(5e3,5e3).pipe(b(this.unsubscribe$),de(()=>this.isActive()&&!this.isAwaitingSelection()),re(()=>this.siteConversionService.getConversion(this.siteConversionID))).subscribe({next:a=>{this.conversion=a,this.updateVisibleLogs(),this.buildOptionChips()}})}startPagePolling(){this.pagePollStop$.next(),ae(5e3,5e3).pipe(b(this.unsubscribe$),b(this.pagePollStop$),re(()=>this.siteConversionService.getPages(this.siteConversionID,this.currentPage,this.rows,!1,this.searchTerm,this.orderBy))).subscribe({next:a=>{this.searchResults=a.results,this.hasPagesInFlight()||(this.pagePollStop$.next(),this.loadConversion())},error:()=>{this.pagePollStop$.next()}})}hasPagesInFlight(){return this.searchResults.some(a=>a.status==="PENDING"||a.status==="PROCESSING")}buildOptionChips(){if(!this.conversion){this.optionChips=[],this.creativityLabel="";return}let a=this.conversion.creativityLevel;this.creativityLabel=a>=95?"Reimagined":a>=70?"Modernized":a>=30?"Enhanced":"Faithful",this.optionChips=[{label:"Import theme",enabled:this.conversion.importTheme,tooltip:"Import the source site's colors, logo and favicon into the club theme"},{label:"Modernize palette & fonts",enabled:this.conversion.modernizeTheme,tooltip:"AI-modernized color palette and font pairing instead of copying the source values"},{label:"Import navigation",enabled:this.conversion.importNavigation,tooltip:"Build CMS navigation from the source site's menu structure"},{label:"Live-data suggestions",enabled:this.conversion.suggestLiveDataUpgrades,tooltip:"Flag static sections that could connect to live platform data (staff, calendar, ...)"},{label:"Quality scoring",enabled:this.conversion.qualityScoring,tooltip:"Score each converted page 0-100 with reviewer notes"},{label:"Preserve source text",enabled:this.conversion.preserveSourceText,tooltip:"Keep all wording exactly as scraped \u2014 AI restyles layout and visuals only"},{label:"Choose pages",enabled:this.conversion.reviewPagesBeforeConverting,tooltip:"The crawl paused after discovery so an admin picked which pages to convert"}]}isInlineSvgMarker(a){return!!a&&a.toLowerCase().startsWith(s.INLINE_SVG_MARKER_PREFIX)}isActive(){return this.conversion?!["COMPLETED","FAILED","CANCELLED"].includes(this.conversion.status):!0}isAwaitingSelection(){return this.conversion?.status==="AWAITING_SELECTION"}get selectionOverLimit(){return!!this.conversion&&this.conversion.includedPages>this.conversion.maxCuratedPages}search(a=null){if(a&&(a.rows&&(this.rows=a.rows),this.currentPage=Math.floor((a.first??0)/this.rows)+1,a.sortField)){let d=Array.isArray(a.sortField)?a.sortField[0]:a.sortField;this.orderBy=d+" "+(a.sortOrder===1?"ASC":"DESC")}let l=this.totalRecords===0;this.pagesLoading=!0,this.siteConversionService.getPages(this.siteConversionID,this.currentPage,this.rows,l,this.searchTerm,this.orderBy).pipe(b(this.unsubscribe$)).subscribe({next:d=>{this.searchResults=d.results,l&&(this.totalRecords=d.count),this.pagesLoading=!1},error:()=>{this.siteDataService.showSiteErrorAlert("Unable to load pages."),this.pagesLoading=!1}})}run(){this.currentPage=1,this.totalRecords=0,this.showTable?this.search():this.showTable=!0}resetFilters(){this.searchTerm="",this.run()}getProgressPercent(){return!this.conversion||!this.conversion.totalPages?0:Math.round(this.conversion.completedPages/this.conversion.totalPages*100)}getStatusClass(a){switch(a){case"COMPLETED":return"success";case"FAILED":return"error";case"CANCELLED":return"warning";case"SKIPPED":return"warning";case"QUEUED":return"primary";case"PROCESSING":return"primary";case"EXCLUDED":return"warning";case"AWAITING_SELECTION":return"warning";default:return"default"}}stopConversion(){this.confirmationService.confirm({message:"Are you sure you want to stop this conversion? Pages already converted will be kept.",header:"Stop Conversion",icon:"fa-regular fa-triangle-exclamation",accept:()=>{this.stopping=!0,this.siteConversionService.stopConversion(this.siteConversionID).subscribe({next:()=>{this.loadConversion(),this.stopping=!1},error:()=>{this.siteDataService.showSiteErrorAlert("Unable to stop conversion."),this.stopping=!1}})}})}addPage(){this.addPageUrl?.trim()&&(this.addingPage=!0,this.siteConversionService.addPage(this.siteConversionID,{pageUrl:this.addPageUrl.trim()}).pipe(b(this.unsubscribe$)).subscribe({next:()=>{this.siteDataService.showSiteSuccessAlert("Page added \u2014 conversion in progress."),this.addPageUrl="",this.addingPage=!1,this.loadConversion(),this.run(),this.startPolling(),this.startPagePolling()},error:a=>{let l=a?.error||"Unable to add page.";this.siteDataService.showSiteErrorAlert(l),this.addingPage=!1}}))}getLogLevelClass(a){switch(a){case"ERROR":return"text-danger";case"WARNING":return"text-warning";default:return""}}updateVisibleLogs(){if(!this.conversion?.logs){this.visibleLogs=[];return}this.visibleLogs=this.conversion.logs.slice(0,this.logDisplayCount)}hasMoreLogs(){return!!this.conversion?.logs&&this.logDisplayCount<this.conversion.logs.length}loadMoreLogs(){this.logDisplayCount+=this.logPageSize,this.updateVisibleLogs()}onLogScroll(a){let l=a.target;l.scrollHeight-l.scrollTop-l.clientHeight<50&&this.loadMoreLogs()}canRerun(a){return["COMPLETED","FAILED","SKIPPED","EXCLUDED"].includes(a.status)}rerunPage(a){this.confirmationService.confirm({message:a.createdPageBuilderPageID?"Convert this page again? The CMS page it produced will be moved to trash and rebuilt from the source URL.":"Convert this page again from its source URL?",header:"Re-run Page",icon:"fa-regular fa-rotate-right",accept:()=>{this.rerunningPageId=a.siteConversionPageID,this.siteConversionService.rerunPage(this.siteConversionID,a.siteConversionPageID).pipe(b(this.unsubscribe$)).subscribe({next:()=>{this.siteDataService.showSiteSuccessAlert("Page queued for re-conversion."),this.rerunningPageId=null,this.search(),this.startPagePolling()},error:l=>{let d=l?.error||"Unable to re-run page.";this.siteDataService.showSiteErrorAlert(d),this.rerunningPageId=null}})}})}deletePage(a){this.confirmationService.confirm({message:"Delete this page? This will move the CMS page to trash.",header:"Confirm Delete",icon:"fa-regular fa-triangle-exclamation",accept:()=>{this.siteConversionService.deletePage(this.siteConversionID,a.siteConversionPageID).pipe(b(this.unsubscribe$)).subscribe({next:()=>{this.siteDataService.showSiteSuccessAlert("Page deleted."),this.loadConversion(),this.run()},error:()=>{this.siteDataService.showSiteErrorAlert("Unable to delete page.")}})}})}setSelectedExcluded(a){let l=Array.from(this.selectedPageIds);l.length&&this.applyReview({siteConversionPageIds:l},a,()=>this.search())}setAllMatchingExcluded(a){let l=this.searchTerm?.trim()?`every page matching "${this.searchTerm.trim()}"`:"every discovered page";this.confirmationService.confirm({message:a?`Exclude ${l} from this conversion?`:`Put ${l}
507 back into this conversion?`,header:a?"Exclude Pages":"Include Pages",icon:"fa-regular fa-triangle-exclamation",accept:()=>this.applyReview({allMatchingSearch:!0,search:this.searchTerm},a,()=>this.run())})}applyReview(a,l,d){this.reviewBusy=!0,(l?this.siteConversionService.excludePages(this.siteConversionID,a):this.siteConversionService.includePages(this.siteConversionID,a)).pipe(b(this.unsubscribe$)).subscribe({next:f=>{this.conversion&&(this.conversion.includedPages=f.includedPages,this.conversion.excludedPages=f.excludedPages),this.siteDataService.showSiteSuccessAlert(l?`${f.updatedCount} page(s) excluded.`:`${f.updatedCount} page(s) included.`),this.selectedPageIds.clear(),this.allSelected=!1,this.reviewBusy=!1,d()},error:f=>{this.siteDataService.showSiteErrorAlert(f?.error||"Unable to update the page selection."),this.reviewBusy=!1}})}confirmPageSelection(){this.conversion&&this.confirmationService.confirm({message:`Convert the ${this.conversion.includedPages} included page(s)? ${this.conversion.excludedPages} excluded page(s) will be left alone \u2014 you can still import any of them one at a time afterwards.`,header:"Start Conversion",icon:"fa-regular fa-play",accept:()=>{this.confirming=!0,this.siteConversionService.confirmPageSelection(this.siteConversionID).pipe(b(this.unsubscribe$)).subscribe({next:()=>{this.siteDataService.showSiteSuccessAlert("Conversion started."),this.confirming=!1,this.selectedPageIds.clear(),this.allSelected=!1,this.conversion&&(this.conversion.status="QUEUED"),this.loadConversion(),this.run(),this.startPolling()},error:a=>{this.siteDataService.showSiteErrorAlert(a?.error||"Unable to start the conversion."),this.confirming=!1}})}})}get publishablePages(){return this.searchResults.filter(a=>a.createdPageBuilderPageID&&a.status==="COMPLETED")}get selectablePages(){return this.searchResults.filter(a=>a.status!=="DELETED")}togglePageSelection(a){this.selectedPageIds.has(a)?this.selectedPageIds.delete(a):this.selectedPageIds.add(a),this.allSelected=this.selectablePages.length>0&&this.selectablePages.every(l=>this.selectedPageIds.has(l.siteConversionPageID))}toggleSelectAll(){this.allSelected?(this.selectablePages.forEach(a=>this.selectedPageIds.delete(a.siteConversionPageID)),this.allSelected=!1):(this.selectablePages.forEach(a=>this.selectedPageIds.add(a.siteConversionPageID)),this.allSelected=!0)}isPageSelected(a){return this.selectedPageIds.has(a)}publishSelected(){let a=Array.from(this.selectedPageIds);a.length&&this.confirmationService.confirm({message:`Publish ${a.length} selected page(s)? They will become visible on your site.`,header:"Confirm Publish",icon:"fa-regular fa-circle-check",accept:()=>{this.publishing=!0,this.siteConversionService.publishPages(this.siteConversionID,a).pipe(b(this.unsubscribe$)).subscribe({next:l=>{this.siteDataService.showSiteSuccessAlert(`${l.publishedCount} page(s) published successfully.`),this.selectedPageIds.clear(),this.allSelected=!1,this.publishing=!1,this.run()},error:()=>{this.siteDataService.showSiteErrorAlert("Unable to publish pages."),this.publishing=!1}})}})}deleteSelected(){let a=Array.from(this.selectedPageIds);a.length&&this.confirmationService.confirm({message:`Delete ${a.length} selected page(s)? This will move the associated CMS pages to trash.`,header:"Confirm Delete",icon:"fa-regular fa-triangle-exclamation",accept:()=>{this.deleting=!0,this.siteConversionService.deletePages(this.siteConversionID,a).pipe(b(this.unsubscribe$)).subscribe({next:l=>{this.siteDataService.showSiteSuccessAlert(`${l.deletedCount} page(s) deleted successfully.`),this.selectedPageIds.clear(),this.allSelected=!1,this.deleting=!1,this.run()},error:()=>{this.siteDataService.showSiteErrorAlert("Unable to delete pages."),this.deleting=!1}})}})}showPreview(a,l,d){this.previewUrl=l,d.show(a)}clearPreview(){this.previewUrl=""}showClassification(a,l,d){if(l.classificationJson){try{let P=JSON.parse(l.classificationJson);this.classificationSections=P.map(f=>({component:f.Component,layout:f.Layout,confidence:f.Confidence!=null?Math.round(f.Confidence*100):null,heading:f.Heading||"\u2014",isLiveData:f.IsLiveData,manualConnectionRequired:f.ManualConnectionRequired}))}catch(P){this.classificationSections=[]}d.show(a)}}hideClassification(a){a.hide(),this.classificationSections=[]}getPagePreviewUrl(a){return`/club/${a}`}ngOnDestroy(){this.pagePollStop$.next(),this.pagePollStop$.complete(),this.unsubscribe$.next(),this.unsubscribe$.complete()}};s.INLINE_SVG_MARKER_PREFIX="https://inline-svg.invalid/",s.\u0275fac=function(l){return new(l||s)(I(R),I(Q),I(Pe),I(we))},s.\u0275cmp=V({type:s,selectors:[["ng-component"]],standalone:!1,decls:2,vars:2,consts:[["pagePreview",""],["content",""],["classificationPanel",""],["actionMenu",""],["role","main",3,"keydown.enter"],["parentLinkText","Site Conversions","parentLinkUrl","../",3,"pageTitle","showBackButton"],[1,"card","mb-3"],[1,"card-body"],[1,"row"],[1,"col-md-4"],[1,"text-muted","d-block"],["target","_blank","rel","noopener noreferrer",3,"href"],[1,"col-md-2"],[3,"status"],[1,"d-flex","flex-wrap","align-items-center","gap-2","mt-3"],[1,"text-muted","mb-0","mr-2"],["status","primary","tooltipText","0 = preserve source verbatim, 70+ = AI rewriting of copy, 95+ = reimagined layout"],[1,"mb-3"],["value","0"],[1,"fw-bold","pr-1"],[1,"list-group","list-group-flush",2,"max-height","400px","overflow-y","auto",3,"scroll"],[3,"adminFilterReset","adminFilterSearch","marginTop"],["primary",""],[1,"col","pr-0"],[1,"p-input-icon-left","full-width"],[1,"fa","fa-magnifying-glass"],["type","text","id","pageSearch","pInputText","","placeholder","Search pages",1,"full-width","pl-4",3,"ngModelChange","ngModel"],["for","pageSearch",1,"sr-only"],["styleClass","preview-panel",3,"onHide"],["styleClass","classification-panel"],[1,"text-muted"],[1,"text-danger"],["pTooltip","Dead links listed in the source sitemap (HTTP 404/410) \u2014 not conversion failures",1,"text-warning"],["pTooltip","Duplicate references \u2014 the same image appears in more than one place, so its upload was reused instead of re-downloaded",1,"text-muted"],["pTooltip","Images that could not be imported \u2014 see the Failed Images panel below for each URL and reason",1,"text-danger"],[3,"status","icon","iconFirst","tooltipText"],[1,"mt-3"],[1,"mt-2","text-end"],["type","button",1,"btn","btn-danger","btn-sm",3,"click","disabled"],[3,"value"],["alertType","error",3,"isInline"],[1,"d-flex","gap-2","align-items-end"],[1,"flex-grow-1"],["for","addPageUrl",1,"form-label"],["id","addPageUrl","type","url","pInputText","","placeholder","https://example.com/page-to-import",1,"full-width",3,"ngModelChange","keydown.enter","ngModel","disabled"],["type","button",1,"btn","btn-primary","btn-sm",3,"click","disabled"],["alertType","warning",1,"pb-1"],[1,"d-flex","flex-wrap","justify-content-between","align-items-center","gap-2","pt-2"],[1,"d-flex","align-items-center","gap-2"],["status","success"],["status","default"],["type","button",1,"btn","btn-primary",3,"click","disabled"],[1,"text-muted","ms-2"],[1,"table-responsive",2,"max-height","400px","overflow-y","auto"],[1,"table","table-striped","table-sm","mb-0"],[1,"text-center"],[1,"text-truncate",2,"max-width","300px"],[1,"text-truncate",2,"max-width","220px"],["pTooltip","An icon embedded directly in the source page's markup \u2014 it has no downloadable URL",1,"text-muted"],["target","_blank","rel","noopener noreferrer",3,"href","pTooltip"],[1,"list-group-item","py-2","px-3",3,"ngClass"],[1,"text-muted","me-2","pr-2"],[1,"me-2","pr-1"],[1,"list-group-item","text-center","py-2"],["type","button",1,"btn","btn-naked","btn-sm",3,"click"],[1,"list-group-item","text-center","text-muted","py-3"],[1,"d-flex","flex-wrap","align-items-center","justify-content-end","gap-2","mb-2"],[1,"text-muted","me-auto"],["type","button",1,"btn","btn-sm",3,"click","disabled"],[1,"fa-regular","fa-ban","mr-1"],[1,"fa-regular","fa-circle-plus","mr-1"],[1,"fa-regular","fa-chevron-down","ml-1"],[3,"popup","model"],[1,"table-responsive"],[1,"table","table-striped","table-sm",3,"onLazyLoad","columns","value","lazy","paginator","alwaysShowPaginator","totalRecords","rows","loading"],["pTemplate","header"],["pTemplate","body"],["pTemplate","emptymessage"],[2,"width","3rem","text-align","center"],["pTooltip","Select all publishable pages",3,"onChange","binary","ngModel"],[3,"pSortableColumn"],[3,"field"],[2,"text-align","center"],[1,"text-truncate",2,"max-width","200px"],[3,"onChange","binary","ngModel"],[2,"cursor","pointer",3,"mouseenter","mouseleave"],["tooltipStyleClass","sp-tooltip","tooltipPosition","left",1,"fa-regular","fa-note-sticky",3,"pTooltip"],[3,"routerLink"],["type","button","pTooltip","Preview page","tooltipPosition","top",1,"btn","btn-naked","btn-sm","ml-1",3,"click"],[1,"fa-regular","fa-eye"],["type","button","tooltipPosition","left",1,"btn","btn-naked","btn-sm",3,"click","pTooltip","disabled"],["type","button","pTooltip","Delete page","tooltipPosition","left",1,"btn","btn-naked","btn-sm",3,"click","disabled"],[1,"fa-regular","fa-tras
507h"],[2,"text-align","left"],["title","Page preview","sandbox","allow-same-origin allow-scripts",1,"page-preview-iframe",3,"src"],[2,"max-height","400px","overflow-y","auto","min-width","420px"],[1,"table","table-sm","table-striped","mb-0",2,"font-size","0.85rem"],[1,"text-truncate",2,"max-width","150px"],[1,"fa-regular","fa-circle-check","text-success"],["pTooltip","Manual connection required",1,"fa-regular","fa-circle-exclamation","text-warning"],[1,"p-3","text-muted"]],template:function(l,d){l&1&&(m(0,Ii,145,29),m(1,Li,4,0)),l&2&&(p(d.conversion?0:-1),r(),p(d.loading&&!d.conversion?1:-1))},dependencies:[Se,j,H,G,X,K,J,Z,ee,ne,Be,ie,Me,ke,te,Y,Oe,De,Le,ze,We,$e,Fe,Ne,q,Ue,Ie],styles:[".page-preview-iframe[_ngcontent-%COMP%]{width:600px;height:400px;border:var(--border)}"]});let o=s;return o})();var un=(()=>{let s=class s{};s.\u0275fac=function(l){return new(l||s)},s.\u0275mod=_e({type:s}),s.\u0275inj=pe({providers:[R],imports:[qe,Ee.forChild([{path:"",component:He,children:[{path:":id",component:Qe},{path:"",component:Je}]}])]});let o=s;return o})();export{un as SiteConversionModule};

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.