1"use strict";(self.webpackChunkng_rolls_2=self.webpackChunkng_rolls_2||[]).push([[170],{9170:(Rt,A,l)=>{l.r(A),l.d(A,{SettingsViewModule:()=>Pt});var I=l(6895),Ce=l(6582),O=l(266),L=l(4859),C=l(1892),T=l(3087),e=l(4650);let pe=(()=>{class _{}return _.\u0275fac=function(t){return new(t||_)},_.\u0275mod=e.oAB({type:_}),_.\u0275inj=e.cJS({imports:[I.ez,L.ot,C.hO,T.MM,T.b4,T.dK,T.Y2,T.Gu,T.V$,T.O_,T.bX,T.Vv,T.go,T.yw,T.eO,T.G_,T.ZY,T.rV,T.mt]}),_})();var me=l(9639),g=l(4092),Ge=l(4716),Le=l(9670),Ae=l(5550),Oe=l(2265),b=l(4425),c=l(4006),D=l(4385),p=l(5938),be=l(7579),P=l(1135),De=l(3900),Pe=l(7272),R=l(9646),Re=l(5963),h=l(4004),he=l(8505),ve=l(8746),$e=l(5698),ye=l(6683),we=l(9548),v=l(9549),xe=l(3238),He=l(6700),Xe=l(532);function Ze(_,n){1&_&&e._UZ(0,"blocking-spinner")}function ze(_,n){1&_&&(e.ynx(0),e.TgZ(1,"span"),e.SDv(2,26),e.qZA(),e.BQk())}function Ve(_,n){1&_&&(e.TgZ(0,"span"),e.SDv(1,27),e.qZA())}function Be(_,n){if(1&_){const t=e.EpF();e.ynx(0),e.TgZ(1,"div"),e.SDv(2,22),e.qZA(),e.TgZ(3,"button",23),e.NdJ("cdkCopyToClipboardCopied",function(o){e.CHM(t);const s=e.oxw();return e.KtG(s.onCopied(o))}),e.ALo(4,"async"),e.YNc(5,ze,3,0,"ng-container",24),e.ALo(6,"async"),e.YNc(7,Ve,2,0,"ng-template",null,25,e.W1O),e.qZA(),e.BQk()}if(2&_){const t=e.MAs(8),i=e.oxw();e.xp6(3),e.Q6J("cdkCopyToClipboard",e.lcZ(4,3,i.embedHtml$)),e.xp6(2),e.Q6J("ngIf",e.lcZ(6,5,i.htmlCopied$))("ngIfElse",t)}}let Je=(()=>{class _{constructor(t,i,o,s){this.fb=t,this.dlgRef=i,this.rollsQuery=o,this.rollsSvc=s,this.destroy$=new be.x,this.roll=this.rollsQuery.getActive(),this.htmlCopyTrigger$=new P.X(!1),this.busy$=new P.X(!1),this.htmlCopied$=this.htmlCopyTrigger$.pipe((0,De.w)(E=>E?(0,Pe.z)((0,R.of)(!0),(0,Re.H)(2e3).pipe((0,h.U)(()=>!1))):(0,R.of)(!1))),this.embedHtml$=this.rollsQuery.activeRoll$.pipe((0,h.U)(E=>`<iframe src="${E.url}" width=700 height=500 referrerpolicy="no-referrer" allow="fullscreen *; clipboard-write *; clipboard-read *"></iframe>`)),this.form=this.fb.group({token:[this.roll.token],embed_mode:[this.roll.embed_mode??"disabled"]})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}dismiss(){this.dlgRef.close()}onCopied(t){this.htmlCopyTrigger$.next(t)}onSubmit(){this.busy$.next(!0),(0,ye.d)(250,this.rollsSvc.update(this.form.value)).pipe((0,he.b)(()=>this.dismiss()),(0,ve.x)(()=>this.busy$.next(!1)),(0,$e.q)(1)).subscribe()}}return _.\u0275fac=function(t){return new(t||_)(e.Y36(c.qu),e.Y36(p.so),e.Y36(g.Qy),e.Y36(g.u5))},_.\u0275cmp=e.Xpm({type:_,selectors:[["embed-mode-dialog"]],standalone:!0,features:[e.jDz],decls:28,vars:6,consts:function(){let n,t,i,o,s,E,r,u,f,M,m,G;return n=$localize`:@@embedModeSettingDialogTitleâ88bc238759634f30a873bc41b6b6384ad40a8ea7â2712813593160146918: Embed mode 2`,t=$localize`:@@embedModeSettingDialogSubtitleâ6988de5c531fbb732d818057fd74b840d8b6177bâ8300639513316511905: Chose whether this roll can be embedded in other websites. `,i=$localize`:@@chooseEmbedModeLabelâ50a0aca407cccaf4515aa345db54a7ff852eb09bâ688466022896501078:Choose embed mode`,o=$localize`:@@disabledâf39256070bfc0714020dfee08895421fc1527014â5769292297914455214:Disabled`,s=$localize`:@@enabledâf50a33d3c339f8f4a465141f8caa5d2d8c005251â4816216590591222133:Enabled`,E=$localize`:@@enabled_optimizedâ3ebf88e9bf61f40be46c690f570217b74451eab3â4011885648008969102:Enabled with optimization (simplified layout)`,r=$localize`:@@embedModeEnabledOptimizedNoteâ3ecb84e9598bef825d30ee4d2f7e58360d725852â4154120986530603469: Note: Enabled with optimization provides a simplified layout by hiding the main menu, share button and view counts, and disabling the outline and carousel views. `,u=$localize`:@@cancelâd7b35c384aecd25a516200d6921836374613dfe7â2159130950882492111:Cancel`,f=$localize`:@@saveâ52c9a103b812f258bcddc3d90a6e3f46871d25feâ3768927257183755959:Save`,M=$localize`:âbb77bed0119fa8c174bb8b8cdfb61e878f7e3be8â5927156277020214947:Copy HTML to embed this roll in another website to the clipboard.`,m=$localize`:@@htmlCopiedâ501c37ede010e2df9eb7b59ca7d6ac3d73ce146câ5392341774767336507:Copied!`,G=$localize`:@@copyHtmlâ1b7ab70ec77b53e142c45708c3ffbfcaffb89e3bâ4276510529822072426:Copy HTML`,[[4,"ngIf"],["mat-dialog-title",""],n,[1,"roll-dialog__strong-text"],t,["i
2d","form",3,"formGroup","ngSubmit"],["appearance","outline",1,"w-full"],i,["formControlName","embed_mode"],["modeSelect",""],["value","disabled"],o,["value","enabled"],s,["value","enabled_optimized"],E,[1,"mb16"],r,["mat-stroked-button","","color","primary",3,"click"],u,["type","submit","form","form","mat-flat-button","","color","primary",3,"disabled"],f,M,["mat-flat-button","","color","primary",1,"embed-mode-dialog__copy-html-button","mt8",3,"cdkCopyToClipboard","cdkCopyToClipboardCopied"],[4,"ngIf","ngIfElse"],["notCopied",""],m,G]},template:function(t,i){1&t&&(e.YNc(0,Ze,1,0,"blocking-spinner",0),e.ALo(1,"async"),e._UZ(2,"dialog-dismiss"),e.TgZ(3,"header",1),e.SDv(4,2),e.qZA(),e.TgZ(5,"mat-dialog-content")(6,"div",3),e.SDv(7,4),e.qZA(),e.TgZ(8,"form",5),e.NdJ("ngSubmit",function(){return i.onSubmit()}),e.TgZ(9,"mat-form-field",6)(10,"mat-label"),e.SDv(11,7),e.qZA(),e.TgZ(12,"mat-select",8,9)(14,"mat-option",10),e.SDv(15,11),e.qZA(),e.TgZ(16,"mat-option",12),e.SDv(17,13),e.qZA(),e.TgZ(18,"mat-option",14),e.SDv(19,15),e.qZA()()(),e.TgZ(20,"div",16),e.SDv(21,17),e.qZA()(),e.YNc(22,Be,9,7,"ng-container",0),e.qZA(),e.TgZ(23,"mat-dialog-actions")(24,"button",18),e.NdJ("click",function(){return i.dismiss()}),e.SDv(25,19),e.qZA(),e.TgZ(26,"button",20),e.SDv(27,21),e.qZA()()),2&t&&(e.Q6J("ngIf",e.lcZ(1,4,i.busy$)),e.xp6(8),e.Q6J("formGroup",i.form),e.xp6(14),e.Q6J("ngIf","disabled"!==i.form.get("embed_mode").value),e.xp6(4),e.Q6J("disabled",i.form.invalid||!i.form.dirty))},dependencies:[I.ez,I.O5,I.Ov,c.UX,c._Y,c.JJ,c.JL,c.sg,c.u,L.ot,L.lW,p.Is,p.uh,p.xY,p.H8,D.LD,v.KE,v.hX,D.gD,xe.ey,b.Iq,b.i3,we.M1,He.n,C.oy,Xe.k],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] form[_ngcontent-%COMP%]{margin-top:1rem}[_nghost-%COMP%] .embed-mode-dialog__copy-html-button[_ngcontent-%COMP%]{width:120px;min-width:120px}"]}),_})();var ke=l(7633);function Qe(_,n){1&_&&(e.TgZ(0,"div"),e.SDv(1,11),e.qZA())}function Ue(_,n){1&_&&(e.TgZ(0,"div"),e.SDv(1,12),e.qZA())}function Ye(_,n){if(1&_&&(e.YNc(0,Qe,2,0,"div",10),e.YNc(1,Ue,2,0,"div",10)),2&_){const t=n.isOn;e.Q6J("ngIf",t),e.xp6(1),e.Q6J("ngIf",!t)}}function Fe(_,n){1&_&&e.GkF(0)}let qe=(()=>{class _{constructor(){this.valueCtx={isOn:!1},this.onOpenDialog=new e.vpe}onEditClick(){this.onOpenDialog.emit()}}return _.\u0275fac=function(t){return new(t||_)},_.\u0275cmp=e.Xpm({type:_,selectors:[["settings-list-item"]],inputs:{title:["item-title","title"],subtitle:["item-subtitle","subtitle"],valueTemplate:"valueTemplate",valueCtx:"valueCtx"},outputs:{onOpenDialog:"onOpenDialog"},decls:13,vars:4,consts:function(){let n,t,i;return n=$localize`:@@editâ28f86ffd419b869711aa13f5e5ff54be6d70731câ7585826646011739428:Edit`,t=$localize`:@@onâ2ff387ade72f4ff445245518a3a020b1cafe2d92â8990769651805334695:On`,i=$localize`:@@offâa7804fe870222d53868f968e434a3412e2b2b3c1â3500458863157551898:Off`,[["onOffValueTemplate",""],[1,"settings-view__list-item__pane","settings-view__list-item__pane--info"],[1,"settings-view__list-item__title"],[1,"settings-view__list-item__subtitle"],[1,"settings-view__list-item__pane","settings-view__list-item__pane--control"],[1,"settings-view__list-item__value"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"settings-view__list-item__action"],["mat-button","","color","primary",3,"click"],n,[4,"ngIf"],t,i]},template:function(t,i){if(1&t&&(e.YNc(0,Ye,2,2,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1)(3,"div",2),e._uU(4),e.qZA(),e.TgZ(5,"div",3),e._uU(6),e.qZA()(),e.TgZ(7,"div",4)(8,"div",5),e.YNc(9,Fe,1,0,"ng-container",6),e.qZA(),e.TgZ(10,"div",7)(11,"button",8),e.NdJ("click",function(){return i.onEditClick()}),e.SDv(12,9),e.qZA()()()),2&t){const o=e.MAs(1);e.xp6(4),e.Oqu(i.title),e.xp6(2),e.Oqu(i.subtitle),e.xp6(3),e.Q6J("ngTemplateOutlet",i.valueTemplate?i.valueTemplate:o)("ngTemplateOutletContext",i.valueCtx)}},dependencies:[I.O5,I.tP,L.lW],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:1rem 2rem;width:100%;padding:20px 0}[_nghost-%COMP%] .settings-view__list-item__pane--info[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .settings-view__list-item__pane--control[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .settings-view__list-item__title[_ngcontent-%COMP%]{font-size:18px;text-transform:capitalize}[_nghost-%COMP%] .settings-view__list-item__subtitle[_ngcontent-%COMP%]{color:#737373;font-size:14px;font-weight:400;margin-top:4px}[_nghost-%COMP%] .settings-view__list-item__value[_ngcontent-%COMP%]{color:#737373;font-weight:700}[_nghost-%COMP%] .settings-view__list-item__action[_ngcontent-%COMP%]{color:var(--bu-brand__color);margin-left:16px}[_nghost-%COMP%] .settings-view__list-item__action[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font:400 16px/36px Roboto Condensed,sans-serif;text-transform:lowercase}@media (max-width: 47.99em){[_nghost-%COMP%]{flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .settings-view__list-item__pane[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .settings-view__list-item__pane--info[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .settings-view__list-item__pane--control[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between}}"]}),_})(),Ke=(()=>{class _{constructor(){}ngOnInit(){}}return _.\u0275fac=function(t){return new(t||_)},_.\u0275cmp=e.Xpm({type:_,selectors:[["settings-list-divider"]],decls:0,vars:0,template:function(t,i){},styles:["[_nghost-%COMP%]{display:block;margin:0;border-top-width:1px;border-top-style:solid;border-top-color:#0000001f}"]}),_})();function We(_,n){if(1&_&&(e.TgZ(0,"div"),e.SDv(1,8),e.qZA()),2&_){const t=e.oxw().value;e.xp6(1),e.pQV(t)(t),e.QtT(1)}}function je(_,n){1&_&&(e.TgZ(0,"div"),e.SDv(1,9),e.qZA())}function et(_,n){if(1&_&&(e.YNc(0,We,2,2,"div",7),e.YNc(1,je,2,0,"div",7)),2&_){const t=n.value;e.Q6J("ngIf",t),e.xp6(1),e.Q6J("ngIf",!t)}}function tt(_,n){if(1&_&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&_){const t=e.oxw().value;e.xp6(1),e.Oqu(t)}}function _t(_,n){1&_&&(e.TgZ(0,"div"),e.SDv(1,10),e.qZA())}function nt(_,n){if(1&_&&(e.YNc(0,tt,2,1,"div",7),e.YNc(1,_t,2,0,"div",7)),2&_){const t=n.value;e.Q6J("ngIf",t),e.xp6(1),e.Q6J("ngIf",!t)}}function it(_,n){1&_&&(e.TgZ(0,"div"),e._uU(1,"Bublup"),e.qZA())}function ot(_,n){1&_&&(e.TgZ(0,"div"),e.SDv(1,11),e.qZA())}function St(_,n){if(1&_&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&_){const t=e.oxw().value;e.xp6(1),e.Oqu(t.label)}}function lt(_,n){if(1&_&&(e.YNc(0,it,2,0,"div",7),e.YNc(1,ot,2,0,"div",7),e.YNc(2,St,2,1,"div",7)),2&_){const t=n.value;e.Q6J("ngIf","bublup"===t.branding_mode||!t),e.xp6(1),e.Q6J("ngIf","none"===t.branding_mode),e.xp6(1),e.Q6J("ngIf","custom"===t.branding_mode)}}function Tt(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,14),e.qZA())}function st(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,15),e.qZA())}function at(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,16),e.qZA())}function gt(_,n){if(1&_&&(e.YNc(0,Tt,2,0,"div",12),e.YNc(1,st,2,0,"div",12),e.YNc(2,at,2,0,"div",12)),2&_){const t=n.value;e.Q6J("ngIf","hidden"===t||!t),e.xp6(1),e.Q6J("ngIf","float"===t),e.xp6(1),e.Q6J("ngIf","gutter"===t)}}function Et(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,17),e.qZA())}function dt(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,18),e.qZA())}function It(_,n){if(1&_&&(e.YNc(0,Et,2,0,"div",12),e.YNc(1,dt,2,0,"div",12)),2&_){const t=n.value;e.Q6J("ngIf","always"===t||!t),e.xp6(1),e.Q6J("ngIf","auto"===t)}}function ct(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,19),e.qZA())}function Nt(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,20),e.qZA())}function rt(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,21),e.qZA())}function ut(_,n){if(1&_&&(e.YNc(0,ct,2,0,"div",12),e.YNc(1,Nt,2,0,"div",12),e.YNc(2,rt,2,0,"div",12)),2&_){const t=n.value;e.Q6J("ngIf","visible"===t||!t),e.xp6(1),e.Q6J("ngIf","hidden"===t),e.xp6(1),e.Q6J("ngIf","hide_embedded"===t)}}function ft(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,22),e.qZA())}function Mt(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,23),e.qZA())}function Ct(_,n){1&_&&(e.TgZ(0,"div",13),e.SDv(1,24),e.qZA())}function pt(_,n){if(1&_&&(e.YNc(0,ft,2,0,"div",12),e.YNc(1,Mt,2,0,"div",12),e.YNc(2,Ct,2,0,"div",12)),2&_){const t=n.value;e.Q6J("ngIf","disabled"===t||!t),e.xp6(1),e.Q6J("ngIf","enabled"===t),e.xp6(1),e.Q6J("ngIf","enabled_optimized"===t)}}const d=function(_){return{isOn:_}};function mt(_,n){if(1&_){const t=e.EpF();e.ynx(0),e.TgZ(1,"settings-list-item",43),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw(2);return e.KtG(o.openFooterBorderDialog())}
2),e.qZA(),e._UZ(2,"settings-list-divider"),e.BQk()}if(2&_){const t=e.oxw().ngIf;e.xp6(1),e.Q6J("valueCtx",e.VKq(1,d,t.footer_border))}}const N=function(_){return{value:_}};function Gt(_,n){if(1&_){const t=e.EpF();e.ynx(0),e.TgZ(1,"settings-list-item",25),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openManageUrlDialog())}),e.qZA(),e._UZ(2,"settings-list-divider"),e.TgZ(3,"settings-list-item",26),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openBrandingDialog())}),e.qZA(),e._UZ(4,"settings-list-divider"),e.TgZ(5,"settings-list-item",27),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openFacebookNotifyDialog())}),e.qZA(),e._UZ(6,"settings-list-divider"),e.TgZ(7,"settings-list-item",28),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openGoogleAnalyticsDialog())}),e.qZA(),e._UZ(8,"settings-list-divider"),e.TgZ(9,"settings-list-item",29),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openSearchIndexingDialog())}),e.qZA(),e._UZ(10,"settings-list-divider"),e.TgZ(11,"settings-list-item",30),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openPasswordDialog())}),e.qZA(),e._UZ(12,"settings-list-divider"),e.TgZ(13,"settings-list-item",31),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openViewCountDialog())}),e.qZA(),e._UZ(14,"settings-list-divider"),e.TgZ(15,"settings-list-item",32),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openDisableDownloadsDialog())}),e.qZA(),e._UZ(16,"settings-list-divider"),e.TgZ(17,"settings-list-item",33),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openHideShareButtonDialog())}),e.qZA(),e._UZ(18,"settings-list-divider"),e.TgZ(19,"settings-list-item",34),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openLinkItemIconsDialog())}),e.qZA(),e._UZ(20,"settings-list-divider"),e.TgZ(21,"settings-list-item",35),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openHiddenOGDataDialog())}),e.qZA(),e._UZ(22,"settings-list-divider"),e.TgZ(23,"settings-list-item",36),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openCarouselViewDialog())}),e.qZA(),e._UZ(24,"settings-list-divider"),e.TgZ(25,"settings-list-item",37),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openOutlineViewDialog())}),e.qZA(),e._UZ(26,"settings-list-divider"),e.TgZ(27,"settings-list-item",38),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openNoteStylesDialog())}),e.qZA(),e._UZ(28,"settings-list-divider"),e.TgZ(29,"settings-list-item",39),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openSidebarLinksDialog())}),e.qZA(),e._UZ(30,"settings-list-divider"),e.TgZ(31,"settings-list-item",40),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openExternalLinksDialog())}),e.qZA(),e._UZ(32,"settings-list-divider"),e.TgZ(33,"settings-list-item",41),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openMainMenuModeDialog())}),e.qZA(),e._UZ(34,"settings-list-divider"),e.YNc(35,mt,3,3,"ng-container",7),e.ALo(36,"async"),e.TgZ(37,"settings-list-item",42),e.NdJ("onOpenDialog",function(){e.CHM(t);const o=e.oxw();return e.KtG(o.openEmbedModeDialog())}),e.qZA(),e._UZ(38,"settings-list-divider"),e.BQk()}if(2&_){const t=n.ngIf,i=e.oxw(),o=e.MAs(1),s=e.MAs(5),E=e.MAs(3),r=e.MAs(7),u=e.MAs(9),f=e.MAs(11),M=e.MAs(13);e.xp6(1),e.Q6J("valueTemplate",o)("valueCtx",e.VKq(28,N,null==t.roll_aliases?null:t.roll_aliases.length)),e.xp6(2),e.Q6J("valueTemplate",s)("valueCtx",e.VKq(30,N,t.effective_branding)),e.xp6(2),e.Q6J("valueCtx",e.VKq(32,d,t.enable_og_cache_bust)),e.xp6(2),e.Q6J("valueTemplate",E)("valueCtx",e.VKq(34,N,null==t.effective_branding?null:t.effective_branding.ga_id)),e.xp6(2),e.Q6J("valueCtx",e.VKq(36,d,t.public_wrap)),e.xp6(2),e.Q6J("valueCtx",e.VKq(38,d,t.protected_wrap)),e.xp6(2),e.Q6J("valueCtx",e.VKq(40,d,t.display_view_count)),e.xp6(2),e.Q6J("valueCtx",e.VKq(42,d,t.download_disabled)),e.xp6(2),e.Q6J("valueCtx",e.VKq(44,d,t.share_disabled)),e.xp6(2),e.Q6J("valueCtx",e.VKq(46,d,t.enable_link_icons)),e.xp6(2),e.Q6J("valueCtx",e.VKq(48,d,t.allow_hidden_og_image)),e.xp6(2),e.Q6J("valueCtx",e.VKq(50,d,t.hide_carousel_view)),e.xp6(2),e.Q6J("valueCtx",e.VKq(52,d,t.hide_outline_view)),e.xp6(2),e.Q6J("valueCtx",e.VKq(54,d,t.preserve_note_styles)),e.xp6(2),e.Q6J("valueTemplate",r)("valueCtx",e.VKq(56,N,t.sidebar_links_display_mode)),e.xp6(2),e.Q6J("valueTemplate",u)("valueCtx",e.VKq(58,N,t.external_links_menu_mode)),e.xp6(2),e.Q6J("valueTemplate",f)("valueCtx",e.VKq(60,N,t.main_menu_mode)),e.xp6(2),e.Q6J("ngIf",e.lcZ(36,26,i.showFooterBorder$)),e.xp6(2),e.Q6J("valueTemplate",M)("valueCtx",e.VKq(62,N,t.embed_mode))}}let Lt=(()=>{class _{constructor(t,i,o,s,E){this.dialogSvc=t,this.prDlgSvc=i,this.rollsQuery=o,this.userQuery=s,this.brandingDlgSvc=E,this.activeRoll$=this.rollsQuery.activeRoll$,this.show
2FooterBorder$=(0,Oe.f)(this.rollsQuery.isBublupBranded$)}openDisableDownloadsDialog(){return this.withFeatureCheck(g.G.DOWNLOAD_DISABLE,()=>this.dialogSvc.open(T.$9))}openFacebookNotifyDialog(){const t=$localize`:@@facebookSettingTitle:Roll cover on Facebook`;return this.withDraftCheck(t,()=>this.dialogSvc.open(T.iH))}openBrandingDialog(){return this.withFeatureCheck(g.G.BRANDING,()=>this.brandingDlgSvc.open({overridesTab:C.AT.NONE}))}openGoogleAnalyticsDialog(){const t=$localize`:@@analyticsSettingTitle:Google analytics`;return this.withDraftCheck(t,()=>this.withFeatureCheck(g.G.ANALYTICS,()=>this.dialogSvc.open(T.JJ)))}openHideShareButtonDialog(){return this.withFeatureCheck(g.G.SHARE_DISABLE,()=>this.dialogSvc.open(T.yx))}openManageUrlDialog(){this.dialogSvc.open(T.aD)}openPasswordDialog(){const t=this.rollsQuery.getIsProtected(),i=this.userQuery.getIsFeatureAllowed(g.G.PASSWORD_PROTECTION);return t&&!i?this.dialogSvc.open(T.ip):this.withFeatureCheck(g.G.PASSWORD_PROTECTION,()=>this.dialogSvc.open(T.q8,{panelClass:"roll-dialog--password-setting"}))}openSearchIndexingDialog(){const t=$localize`:@@indexingSettingTitle:Search engine indexing`;return this.withDraftCheck(t,()=>this.dialogSvc.open(T.IN))}openViewCountDialog(){this.dialogSvc.open(T.pz)}openLinkItemIconsDialog(){this.dialogSvc.open(T.je)}openHiddenOGDataDialog(){this.dialogSvc.open(Ae.C)}openCarouselViewDialog(){this.dialogSvc.open(T.Vq)}openOutlineViewDialog(){this.dialogSvc.open(T.mt)}openNoteStylesDialog(){this.dialogSvc.open(T.xr)}openSidebarLinksDialog(){this.dialogSvc.open(T.PU)}openExternalLinksDialog(){this.dialogSvc.open(T.T6)}openMainMenuModeDialog(){this.dialogSvc.open(T.jK)}openFooterBorderDialog(){this.dialogSvc.open(T.r)}openEmbedModeDialog(){this.dialogSvc.open(Je)}withFeatureCheck(t,i){return this.userQuery.getIsFeatureAllowed(t)?i():this.prDlgSvc.open({feature:t})}withDraftCheck(t,i){return this.rollsQuery.getDraft()?this.dialogSvc.open(T.lB,{data:{setting:t}}):i()}}return _.\u0275fac=function(t){return new(t||_)(e.Y36(ke.xA),e.Y36(C.G),e.Y36(g.Qy),e.Y36(g.fE),e.Y36(C.dz))},_.\u0275cmp=e.Xpm({type:_,selectors:[["settings-list"]],decls:16,vars:3,consts:function(){let n,t,i,o,s,E,r,u,f,M,m,G,a,$,y,w,x,H,X,Z,z,V,B,J,k,Q,U,Y,F,q,K,W,j,ee,te,_e,ne,ie,oe,Se,le,Te,se,ae,ge,Ee,de,Ie,ce,Ne,re,ue,fe,Me;return n=$localize`:â8cea729c0ea9b46f1ce8b919f0929c07a5fdb9c1â3924626427135743106:{VAR_PLURAL, plural, =1 {URL} other {URLs}}`,n=e.Zx4(n,{VAR_PLURAL:"\ufffd1\ufffd"}),t=$localize`:@@urlMgmtSettingValueâb9f6db5aa13c7cfb378ef67f4afaa07efbe16e72â3110032237577349019:${"\ufffd0\ufffd"}:INTERPOLATION: ${n}:ICU: `,i=$localize`:@@offâa7804fe870222d53868f968e434a3412e2b2b3c1â3500458863157551898:Off`,o=$localize`:@@offâa7804fe870222d53868f968e434a3412e2b2b3c1â3500458863157551898:Off`,s=$localize`:@@noBrandingâd0a4898f10be21830a010c161570140244723303â290445975890224490:No branding`,E=$localize`:@@doNotShowSettingValueâ9f6e04910c07dbbb8c26dd7552ac0f543f9bd5a5â124917405805236745:Do not show`,r=$localize`:@@showFloatingSettingValueâ3095a4c99f9e06d8db854899af99a6726675cfc0â7433437916957008405:Show floating`,u=$localize`:@@showInSidebarSettingValueâfd138a99fd7021a69ec423cd307888b22c604e28â6547434316666873134:Show in a sidebar`,f=$localize`:@@alwaysShowSettingValueâf76f4aa889d089efa96afb0a514551be5eb3f260â9212449559226155586:Always`,M=$localize`:@@autoSettingValueâ5fb13fb4a8447e59cdf05dc196ade39c02a6f8aaâ616064537937996961:Auto`,m=$localize`:@@avisibleSettingValueâ3791f31b6e77519450e9f2e33fd86259da5a8f60â3712758505200425308:Visible`,G=$localize`:@@hiddenSettingValueâc09a68321f26f058b547021e6e2c167ae22c6e24â996392855508119363:Hidden`,a=$localize`:@@hideEmbeddedSettingValueâf55be7e879c85fd1e9044ab7d73562a05807391câ7524325811375465611:Hide when embedded`,$=$localize`:@@disabledâf39256070bfc0714020dfee08895421fc1527014â5769292297914455214:Disabled`,y=$localize`:@@enabledâf50a33d3c339f8f4a465141f8caa5d2d8c005251â4816216590591222133:Enabled`,w=$localize`:@@enabledOptimizedLabelâ99aafec9351f40623cbbefe7ac59c665fb8fdc48â3972589065078103976:Enabled (optimized)`,x=$localize`:@@urlSettingTitleâf367899bbd64759e3f5cb4fbae19e7211b44df3bâ3785369837064025523:Manage roll URLs`,H=$localize`:@@urlSettingSubtitleâ8a76773247ebe1ec8a733d68b7b32806fb8afb59â718315934065954082:Add or remove URLs people can use to access this roll`,X=$localize`:@@brandingSettingTitleâc3349cdffebb067a0169c77021b4f5532f14b43fâ6283742617642842956:Branding`,Z=$localize`:@@brandingSettingSubtitleâfe9f5f8d7b5b1b94e7ebe970606fe9d4054982b3â2740391715813650814:Configure branding for this roll`,z=$localize`:@@facebookSettingTitleâ10e92b786ac0e258fe2f8292a32912493104c4ffâ2000367193117937621:Roll cover on Facebook`,V=$localize`:@@facebookSettingSubtitleâf5031f71d80544bbccc65b419bac30401dbfe5bdâ5874804075608363027:When this roll's cover info is changed, ask Facebook to start using it for new posts`,B=$localize`:@@anal
2yticsSettingTitleâ8de285a7e929b32d6b1b06d076f78d7edfa53fe9â8371767040196523375:Google analytics`,J=$localize`:@@analyticsSettingSubtitleâd03f56f721aa61fd5b95537360bd3fb8bc43516bâ3109647488375713589:Use Google Analytics to track this roll`,k=$localize`:@@indexingSettingTitleâ1e8b53e525f3ffa96a6165b6c8ce769d81868ba2â3405122070990669308:Search engine indexing`,Q=$localize`:@@indexingSettingSubtitleâ1c2e5c3188b53bbfd978ecf3e464bc7ff1595e3fâ7026958693166011577:Share info about this roll with search engines`,U=$localize`:@@passwordSettingTitleâ427589505741d1da181b756815701e756184cb8dâ7321299026311900359:Password protection`,Y=$localize`:@@passwordSettingSubtitleâa665e5d4b18fb62975ca98f185fc6bb26b6c82cdâ3265279630282378483:Password protect this roll`,F=$localize`:@@viewcountSettingTitleâ85372427aae634fc888664c63affe28402317ac1â5786554957146908543:Display view count`,q=$localize`:@@viewcountSettingSubtitleâ4d168a71879940af8bb94e2cc8d5a6d453407c5fâ1160153008278725577:Display the number of times this roll has been viewed.`,K=$localize`:@@downloadsSettingTitleâ11a8ed9dc8911ad491fb9029506242abf9c9cad7â3257649866775208948:Disable downloads`,W=$localize`:@@downloadsSettingSubtitleâcd31cb8216fb090257dbb6da2b7cf993dda1e2cfâ4372739856871430638:Prevent viewers of this roll from downloading audio, video, and images.`,j=$localize`:@@hideShareButtonSettingTitleâ450d079cfc086334712559180338e999fb933550â7183290072482437451:Hide share button`,ee=$localize`:@@hideShareButtonSettingSubtitleâ2b4e313a8a49f8f6e3f462cb0a3ce623e7473dffâ889181509166222882:Don't display the share button.`,te=$localize`:@@linkItemIconsSettingTitleâ7878e47542045f70e6e09d70eb40ba3960789a07â2260734117638575937:Icons for link items`,_e=$localize`:@@linkItemIconsSettingSubtitleâ18e6cf900689b20d46618b941dc4898fd8dcd770â2940970241299438265:Display an icon for all link items.`,ne=$localize`:@@hiddenOGDataSettingTitleâe1442cb4d88ffeee0e3611bdac8c81214356edc4â6891087966502277318:Show âhidden coverâ images when sharing`,ie=$localize`:@@hiddenOGDataSettingSubtitleâ6e670cafa0200b9c1c89db65180b3d0f5636101câ1325395058859090242:When the rollâs cover image is set to âhiddenâ, still display the cover image in previews when sharing via text message, email, and to social media platforms.`,oe=$localize`:@@carouselViewSettingTitleâ04d721679cdefd508e0e0367622020d6e007e8a1â1861092376205873033:Disable carousel view`,Se=$localize`:@@carouselViewSettingSubtitleâ99bc4d1cd6fb4c415759e5dad8ff48ffae140e9aâ7012662547651246049:Don't allow the âcarousel viewâ in this roll. Viewers of the roll will not be able to play videos, open documents, or get access to full-size images.`,le=$localize`:@@outlineViewSettingTitleâ5dc57c01fabf6a3c3aebb5d09fa86390d8db9e3dâ4656939336097019677:Disable outline view`,Te=$localize`:@@outlineViewSettingSubtitleâf3512cfae116b17339ec2317342cfb0e8bcd309dâ1186246843918205794:Don't allow the âoutline viewâ in this roll.`,se=$localize`:@@preserveNoteStyleSettingTitleâ3d7dca970aeb4649883e03e1afb03e8754ee3765â6978676227389430934:Copy note styles`,ae=$localize`:@@note
2ColorsSettingSubtitleâ5d4539c4bb6ec61596c578ae9249bec1a95f62dfâ5680147381049429707:Use the same styling as that used in the source space's note (e.g., font colors). You may want to ensure that the note colors contrast well with the selected roll theme. You can always change the styling by editing the note.`,ge=$localize`:@@sidebarLinksSettingTitleâed23ab250c517f1d996f8aa18d0bf366e51f3056â4485571699308876262:Jump-to link buttons`,Ee=$localize`:@@sidebarLinksSettingSubtitleâ50f90b3035e2f30ad4f417133cce49d7b154bac2â2215666717393411307:Jump-to links are always shown in the main menu. Choose whether you also want them to show as buttons in your roll.`,de=$localize`:@@otherLinksSettingTitleâb17dfc4b141170d471453855b7c72841549ac30dâ8565814094710897847:âOther Linksâ`,Ie=$localize`:@@otherLinksSettingSubtitleâ3c84c8ccc42b1fa5158fe05cb5c455ccf434775aâ8311551878907361359:Choose when to show âOther Linksâ in the main menu.`,ce=$localize`:@@mainMenuModeSettingTitleâa369bc4fc12585a3940feffbf0ae781035bf20e3â2299287739451025258:Main menu visibility`,Ne=$localize`:@@mainMenuModeSettingSubtitleâfed343b0e78fe3544c18fa71106d26a94d4e6e8dâ6397114769411761230:Choose when to display the main menu.`,re=$localize`:@@embedModeâ47adc5800f6c84a50f45475424a6dbf4eb2d9b0dâ5933573594557938350:Embed mode`,ue=$localize`:@@embedModeDescriptionâ59d2add357d61faf79f94bd91e3c08e4098387f4â5946204748812217505:Chose whether this roll can be embedded in other websites.`,fe=$localize`:@@footerBorderSettingTitleâ505d32178a6294c79bd862df35e47ed0f28933d8â6773817565258897933:Border for footer`,Me=$localize`:@@footerBorderSettingSubtitleâ37754d8092ba7c4ee8d21d54c9d2a643a26ff2c3â5649720760480719427:Display a border above the roll's footer.`,[["urlMgmtTemplate",""],["valueOrOffTemplate",""],["brandingTemplate",""],["sidebarLinksTemplate",""],["otherLinksTemplate",""],["mainMenuModeTemplate",""],["embedModeTemplate",""],[4,"ngIf"],t,i,o,s,["style","white-space: nowrap;",4,"ngIf"],[2,"white-space","nowrap"],E,r,u,f,M,m,G,a,$,y,w,["item-title",x,"item-subtitle",H,3,"valueTemplate","valueCtx","onOpenDialog"],["item-title",X,"item-subtitle",Z,3,"valueTemplate","valueCtx","onOpenDialog"],["item-title",z,"item-subtitle",V,3,"valueCtx","onOpenDialog"],["item-title",B,"item-subtitle",J,3,"valueTemplate","valueCtx","onOpenDialog"],["item-title",k,"item-subtitle",Q,3,"valueCtx","onOpenDialog"],["item-title",U,"item-subtitle",Y,3,"valueCtx","onOpenDialog"],["item-title",F,"item-subtitle",q,3,"valueCtx","onOpenDialog"],["item-title",K,"item-subtitle",W,3,"valueCtx","onOpenDialog"],["item-title",j,"item-subtitle",ee,3,"valueCtx","onOpenDialog"],["item-title",te,"item-subtitle",_e,3,"valueCtx","onOpenDialog"],["item-title",ne,"item-subtitle",ie,3,"valueCtx","onOpenDialog"],["item-title",oe,"item-subtitle",Se,3,"valueCtx","onOpenDialog"],["item-title",le,"item-subtitle",Te,3,"valueCtx","onOpenDialog"],["item-title",se,"item-subtitle",ae,3,"valueCtx","onOpenDialog"],["item-title",ge,"item-subtitle",Ee,3,"valueTemplate","valueCtx","onOpenDialog"],["item-title",de,"item-subtitle",Ie,3,"valueTemplate","valueCtx","onOpenDialog"],["item-title",ce,"item-subtitle",Ne,3,"valueTemplate","valueCtx","onOpenDialog"],["item-title",re,"item-subtitle",ue,3,"valueTemplate","valueCtx","onOpenDialog"],["item-title",fe,"item-subtitle",Me,3,"valueCtx","onOpenDialog"]]},template:function(t,i){1&t&&(e.YNc(0,et,2,2,"ng-template",null,0,e.W1O),e.YNc(2,nt,2,2,"ng-template",null,1,e.W1O),e.YNc(4,lt,3,3,"ng-template",null,2,e.W1O),e.YNc(6,gt,3,3,"ng-template",null,3,e.W1O),e.YNc(8,It,2,2,"ng-template",null,4,e.W1O),e.YNc(10,ut,3,3,"ng-template",null,5,e.W1O),e.YNc(12,pt,3,3,"ng-template",null,6,e.W1O),e.YNc(14,Gt,39,64,"ng-container",7),e.ALo(15,"async")),2&t&&(e.xp6(14),e.Q6J("ngIf",e.lcZ(15,1,i.activeRoll$)))},dependencies:[I.O5,qe,Ke,I.Ov],styles:["[_nghost-%COMP%] settings-list-divider[_ngcontent-%COMP%]:last-child{margin-bottom:16px}"],changeDetection:0}),_})();var At=l(5332);let Ot=(()=>{class _{constructor(){}}return _.\u0275fac=function(t){return new(t||_)},_.\u0275cmp=e.Xpm({type:_,selectors:[["settings-view-title"]],decls:3,vars:0,consts:function(){let n,t;return n=$localize`:@@backToRollâe473258da9229c746f128cb7d9d91b2ed1effb2aâ1100018141391728092:Back to roll`,t=$localize`:@@settingsâ121cc5391cd2a5115bc2b3160379ee5b36cd7716â4930506384627295710:Settings`,[["matTooltip",n],t]},template:function(t,i){1&t&&(e._UZ(0,"back-button",0),e.TgZ(1,"div"),e.SDv(2,1),e.qZA())},dependencies:[O.gM,At.W],styles:["[_nghost-%COMP%]{position:fixed;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;min-height:60px;max-height:60px;height:60px;font-size:24px;padding:0 24px 0 12px;background:var(--bu-brand-blue);color:#fff}[_nghost-%COMP%] back-button[_ngcontent-%COMP%]{margin-right:12px}"],changeDetection:0}),_}
2)(),bt=(()=>{class _{constructor(t,i,o,s){this.logger=t,this.actions$=i,this.uiSvc=o,this.uiQuery=s}ngOnInit(){this.logger.debug("SettingsViewComponent.ngOnInit()"),this.editModeOnInit=this.uiQuery.getEditMode(),this.uiSvc.updateSettingsActive(!0),this.uiSvc.updateEditMode(!1),this.uiSvc.updateAppBusy(!1),this.actions$.dispatch(g.qf.removeLoadScreen())}ngOnDestroy(){this.logger.debug("SettingsViewComponent.ngOnDestroy()"),this.uiSvc.updateSettingsActive(!1),this.uiSvc.updateEditMode(this.editModeOnInit)}}return _.\u0275fac=function(t){return new(t||_)(e.Y36(Ge.m),e.Y36(Le.eX),e.Y36(g.HL),e.Y36(g.YU))},_.\u0275cmp=e.Xpm({type:_,selectors:[["settings-view"]],decls:2,vars:0,template:function(t,i){1&t&&e._UZ(0,"settings-view-title")(1,"settings-list")},dependencies:[Lt,Ot],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;height:100%;width:100%}[_nghost-%COMP%] settings-list[_ngcontent-%COMP%]{padding:0 24px;margin-top:60px;width:100%;max-width:1024px}"],changeDetection:0}),_})();var Dt=l(7229);let Pt=(()=>{class _{constructor(t){t.augment()}}return _.\u0275fac=function(t){return new(t||_)(e.LFG(Dt.e))},_.\u0275mod=e.oAB({type:_}),_.\u0275inj=e.cJS({imports:[I.ez,Ce.Bz.forChild([{path:"",component:bt}]),O.AV,me.nU,pe]}),_})()}}]);
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.