1import{a as ue,b as ve}from"./chunk-M7LBFLIX.js";import{a as se,b as ce,c as de}from"./chunk-FVO5CXM5.js";import{a as $,b as he}from"./chunk-ZEONSQ4A.js";import"./chunk-5PW3IXDN.js";import"./chunk-P27FRGFY.js";import{B as oe,C as le,c as J,e as I,k as X,l as Z,t as ee,u as te,v as ie,w as ne,x as ae,y as re}from"./chunk-TT2QA5N2.js";import"./chunk-6MOVM5NX.js";import{f as V,h as Y,i as j,m as z,n as q}from"./chunk-REXD3XXG.js";import"./chunk-XZTRQ27X.js";import{b as H,c as W,e as K,f as Q}from"./chunk-OVGYRFXU.js";import{i as G,o as P,s as D,z as U}from"./chunk-MZWCCPRN.js";import{Ic as l,Jc as w,Nb as v,Ob as f,Oc as o,P as ge,Pc as k,Qc as c,Tb as h,Ub as e,Vb as t,Wb as g,Xa as y,Ya as A,Z as b,a as F,fc as E,gb as i,hc as M,kb as O,lb as S,md as N,tc as T,td as R,ub as B,uc as L,wc as a,xc as x,yc as d}from"./chunk-JXIB5BED.js";import{e as me}from"./chunk-J6LPXIX4.js";function Ke(s,C){s&1&&(e(0,"span",4),g(1,"i",68),t())}function Qe(s,C){if(s&1&&(e(0,"figure",40),g(1,"img",69),t()),s&2){let r=M();i(),h("src",r.coverUrl,A)("alt",r.form.get("title")?.value||"Cover")}}function $e(s,C){if(s&1&&(e(0,"p",47),a(1),t()),s&2){let r=M();i(),x(r.coverError)}}function Je(s,C){s&1&&(e(0,"span",4),g(1,"i",70),t())}function Xe(s,C){s&1&&(e(0,"span",4),g(1,"i",71),t())}function Ze(s,C){s&1&&(e(0,"span",4),g(1,"i",68),t())}function et(s,C){s&1&&(e(0,"span",4),g(1,"i",71),t())}function tt(s,C){if(s&1&&(e(0,"div",54)(1,"span",4),g(2,"i",72),t(),a(3),t()),s&2){let r=M();i(3),d(" ",r.saveSuccess," ")}}function it(s,C){if(s&1&&(e(0,"span",63),a(1),o(2,"translate"),t()),s&2){let r=M();i(),d(" ",k(2,1,"BLOG_ADMIN.FORM.CATEGORY_"+r.form.get("category")?.value.toUpperCase())," ")}}function nt(s){return s.toLowerCase().normalize("NFD").replace(/[Ì-ͯ]/g,"").replace(/[^a-z0-9\s-]/g,"").trim().replace(/\s+/g,"-").replace(/-+/g,"-").slice(0,80)}var fe,Ee,_e,Ce,be,Oe,Se,Me,xe,Ie,ke,Fe,ye,Ae,Be,Te,Le,we,Ne,Re,Ge,Pe,De,Ue,Ve,Ye,je,ze,qe,He,We,Ot,at=me(()=>{R();ge();U();le();q();Q();de();ve();he();R();U();le();q();de();Q();fe=()=>({default:"Nouvel article"}),Ee=()=>({default:"\xC9dition d\u2019un article"}),_e=()=>["admin","blog"],Ce=()=>({default:"Retour \xE0 la liste"}),be=()=>({default:"Titre"}),Oe=()=>({default:"Slug"}),Se=()=>({default:"Utilis\xE9 dans l\u2019URL, par ex. : /blog/mon-super-article. Laisser vide pour le g\xE9n\xE9rer automatiquement."}),Me=()=>({default:"Langue de l\u2019article"}),xe=()=>({default:"Contenu"}),Ie=()=>({height:"400px"}),ke=()=>({default:"Cat\xE9gorie"}),Fe=()=>({default:"S\xE9lectionner..."}),ye=()=>({default:"R\xE9daction & \xE9criture"}),Ae=()=>({default:"Acad\xE9mique"}),Be=()=>({default:"Traduction"}),Te=()=>({default:"IA & productivit\xE9"}),Le=()=>({default:"L\xE9gal & conformit\xE9"}),we=()=>({default:"SEO & visibilit\xE9"}),Ne=()=>({default:"Mises \xE0 jour Textiaa"}),Re=()=>({default:"Marketing & growth"}),Ge=()=>({default:"\xC9tudes de cas"}),Pe=()=>({default:"Image de couverture"}),De=()=>({default:"Choisir une image"}),Ue=()=>({default:"Upload\u2026"}),Ve=()=>({default:"Supprimer"}),Ye=()=>({default:"Enregistrer"}),je=()=>({default:"Pr\xE9visualiser"}),ze=()=>({default:"G\xE9n\xE9rer avec l\u2019IA"}),qe=s=>({"is-active":s}),He=()=>({default:"Pr\xE9visualisation de l\u2019article"}),We=()=>({default:"Fermer"});Ot=(()=>{class s{fb=b(re);service=b(ue);route=b(V);router=b(Y);cdr=b(N);translate=b(H);coverFile;form;articleId=null;isNew=!0;loading=!1;saving=!1;generating=!1;showPreview=!1;busy=!1;today=new Date;coverUrl=null;coverUploading=!1;coverError=null;slugTouched=!1;subs=new F;generatingTags=!1;constructor(){this.form=this.fb.group({title:["",I.required],slug:[""],tags:[""],content:["",I.required],category:[""],language:[this.translate.currentLang||"fr",I.required]})}ngOnInit(){this.subs.add(this.form.get("title").valueChanges.subscribe(u=>{!this.slugTouched&&this.isNew&&(this.form.get("slug").setValue(nt(u||""),{emitEvent:!1}),this.cdr.markForCheck())})),this.subs.add(this.form.get("slug").valueChanges.subscribe(()=>{this.slugTouched=!0}));let r=this.route.snapshot.paramMap.get("id");r&&(this.articleId=Number(r),this.isNew=!1,this.loadArticle())}loadArticle(){this.articleId&&(this.loading=!0,this.cdr.markForCheck(),this.service.get(this.articleId).subscribe({next:r=>{let u=Array.isArray(r.tags)?r.tags.join(", "):"";this.form.patchValue({title:r.title,slug:r.slug,tags:u,content:r.content,category:r.category??"",language:r.language||this.translate.currentLang||"fr"}),this.loading=!1,this.coverUrl=r.cover_url??null,this.cdr.markForCheck()},error:()=>{this.loading=!1,this.cdr.markForCheck()}}))}onCoverSelected(r){let n=r.target.files?.[0];
1if(this.coverError=null,!!n){if(!n.type.startsWith("image/")){this.coverError=this.translate.instant("COMMON.INVALID_FILE",{default:"Fichier invalide."});return}this.coverFile=n,this.articleId?this.uploadCover():this.coverError=this.translate.instant("BLOG_ADMIN.COVER.SAVE_FIRST",{default:"Enregistre l\u2019article d\u2019abord pour ajouter une image de couverture."}),this.cdr.markForCheck()}}uploadCover(){!this.articleId||!this.coverFile||(this.coverUploading=!0,this.coverError=null,this.cdr.markForCheck(),this.service.uploadCover(this.articleId,this.coverFile).subscribe({next:r=>{this.coverUrl=r.cover_url??null,this.coverUploading=!1,this.cdr.markForCheck()},error:()=>{this.coverUploading=!1,this.coverError=this.translate.instant("COMMON.ERROR",{default:"Une erreur est survenue."}),this.cdr.markForCheck()}}))}removeCover(){this.articleId&&(this.coverUploading=!0,this.coverError=null,this.cdr.markForCheck(),this.service.deleteCover(this.articleId).subscribe({next:r=>{this.coverUrl=r.cover_url??null,this.coverUploading=!1,this.cdr.markForCheck()},error:()=>{this.coverUploading=!1,this.coverError=this.translate.instant("COMMON.ERROR",{default:"Une erreur est survenue."}),this.cdr.markForCheck()}}))}saveSuccess=null;onSave(){if(this.form.invalid)return;let r=this.form.value,u=(r.tags||"").split(",").map(m=>m.trim().toLowerCase()).filter(m=>m.length>0&&m.length<=32).slice(0,6),n={title:r.title,slug:this.slugTouched&&r.slug||null,tags:u,content:r.content,category:r.category||null,language:r.language||this.translate.currentLang||"fr"};this.saving=!0,this.busy=!0,this.saveSuccess=null,this.form.disable({emitEvent:!1}),this.cdr.markForCheck();let p=this.translate.currentLang||"fr";(this.isNew?this.service.create(n):this.service.update(this.articleId,n)).subscribe({next:m=>{if(this.saving=!1,this.busy=!1,this.isNew)this.router.navigate(["/",p,"admin","blog",m.id,"edit"]);else{let pe=Array.isArray(m.tags)?m.tags.join(", "):"";this.slugTouched=!1,this.form.patchValue({title:m.title,slug:m.slug,tags:pe,content:m.content,category:m.category??"",language:m.language||p},{emitEvent:!1}),this.form.enable({emitEvent:!1}),this.saveSuccess=`Sauvegard\xE9 \u2014 slug : ${m.slug}`,setTimeout(()=>{this.saveSuccess=null,this.cdr.markForCheck()},4e3),this.cdr.markForCheck()}},error:()=>{this.saving=!1,this.busy=!1,this.form.enable({emitEvent:!1}),this.cdr.markForCheck()}})}onPreview(){if(this.form.invalid){this.form.markAllAsTouched();return}this.showPreview=!0,this.cdr.markForCheck()}closePreview(){this.showPreview=!1,this.cdr.markForCheck()}onGenerateWithAI(){let r=this.form.get("title")?.value,u=this.form.get("category")?.value||null,n=this.form.get("language")?.value||this.translate.currentLang||"fr";if(!r)return;let p={topic:r,category:u,language:n};this.generating=!0,this.busy=!0,this.form.disable({emitEvent:!1}),this.cdr.markForCheck(),this.service.generate(p).subscribe({next:_=>{this.articleId=_.id,this.isNew=!1;let m=Array.isArray(_.tags)?_.tags.join(", "):"";this.form.patchValue({title:_.title,slug:_.slug,tags:m,content:_.content,category:u,language:n}),this.generating=!1,this.busy=!1,this.form.enable({emitEvent:!1}),this.cdr.markForCheck()},error:()=>{this.generating=!1,this.busy=!1,this.form.enable({emitEvent:!1}),this.cdr.markForCheck()}})}onGenerateTags(){let r=this.form.get("title")?.value;r&&(this.generatingTags=!0,this.cdr.markForCheck(),this.subs.add(this.service.generateTags({topic:r,category:this.form.get("category")?.value||void 0,language:this.form.get("language")?.value||"fr"}).subscribe({next:u=>{this.form.get("tags").setValue(u.tags.join(", "),{emitEvent:!1}),this.generatingTags=!1,this.cdr.markForCheck()},error:()=>{this.generatingTags=!1,this.cdr.markForCheck()}})))}ngOnDestroy(){this.subs.unsubscribe()}static \u0275fac=function(u){return new(u||s)};static \u0275cmp=B({type:s,selectors:[["app-blog-editor"]],decls:175,vars:173,consts:[[1,"blog-editor-page","my-6",3,"formGroup"],[1,"blog-editor-header","mb-4"],[1,"title","is-3","mb-0"],["type","button",1,"button","is-light",3,"routerLink"],[1,"icon"],[1,"pi","pi-arrow-left"],[1,"columns","is-variable","is-4","is-multiline"],[1,"column","is-12-tablet","is-two-thirds-desktop"],[1,"field"],[1,"label"],[1,"control"],["type","text","formControlName","title",1,"input"],["type","text","formControlName","slug",1,"input"],[1,"help"],[1,"select","is-fullwidth"],["formControlName","language"],["value","fr"],["value","en"],["value","es"],["value","de"],["value","it"],["value","pt"],["value","pl"],["value","ar"],[1,"control","tags-input-wrap"],["type","text","formControlName","tags",1,"input",3,"placeholder"],["type","button","title","G\xE9n\xE9rer les tags avec l'IA",1,"button","is-small","tags-gen-btn",3,"click","disabled"],["formControlName","content"],[1,"column","is-12-tablet","is-one-third-desktop"],["formControlName","category"],["value",""],["value","writing"],["value","academic"],["value","translation"],["value","ai"],["value","legal"],["value","seo"],["value","updates"],["value","marketing"],["value","case_study"],[1,"image","is-16by9","mb-2"],[1,"file","is-fullwidth","has-name"],[1,"file-label"],["type","file","accept","image/*",1,"file-input",3,"change"],[1,"file-cta"],[1,"pi","pi-image"],[1,"file-name"],[1,"help","is-danger"],["type","button",1,"button","is-light","mt-2",3,"click","disabled"],[1,"pi","pi-trash"],[1,"field","is-grouped","mt-4","is-flex-wrap-wrap","gap-2"],["type","button",1,"button","is-link",3,"click","disabled"],["type","button",1,"button","is-light",3,"click","disabled"],["type","button",1,"button","is-link","is-outlined",3,"click","disabled"],[1,"n
1otification","is-success","is-light","mt-3","py-2","px-3",2,"font-size","0.85rem"],[1,"modal",3,"ngClass"],[1,"modal-background",3,"click"],[1,"modal-card","modal-card-blog-preview"],[1,"modal-card-head"],[1,"modal-card-title"],["aria-label","close",1,"delete",3,"click"],[1,"modal-card-body"],[1,"is-size-7","has-text-grey","mb-3"],[1,"tag","is-info","is-light","mr-2"],[1,"title","is-3","mb-3"],[1,"content","blog-preview-content",3,"innerHTML"],[1,"modal-card-foot","is-justify-content-flex-end"],["type","button",1,"button",3,"click"],[1,"pi","pi-sparkles"],[3,"src","alt"],[1,"pi","pi-save"],[1,"pi","pi-spin","pi-spinner"],[1,"pi","pi-check-circle"]],template:function(u,n){if(u&1&&(e(0,"section",0)(1,"div",1)(2,"h1",2),a(3),o(4,"translate"),o(5,"translate"),t(),e(6,"button",3),o(7,"langLink"),e(8,"span",4),g(9,"i",5),t(),e(10,"span"),a(11),o(12,"translate"),t()()(),e(13,"div",6)(14,"div",7)(15,"div",8)(16,"label",9),a(17),o(18,"translate"),t(),e(19,"div",10),g(20,"input",11),O(),t()(),e(21,"div",8)(22,"label",9),a(23),o(24,"translate"),t(),e(25,"div",10),g(26,"input",12),O(),t(),e(27,"p",13),a(28),o(29,"translate"),t()(),e(30,"div",8)(31,"label",9),a(32),o(33,"translate"),t(),e(34,"div",10)(35,"div",14)(36,"select",15)(37,"option",16),a(38,"Fran\xE7ais"),t(),e(39,"option",17),a(40,"English"),t(),e(41,"option",18),a(42,"Espa\xF1ol"),t(),e(43,"option",19),a(44,"Deutsch"),t(),e(45,"option",20),a(46,"Italiano"),t(),e(47,"option",21),a(48,"Portugu\xEAs"),t(),e(49,"option",22),a(50,"Polski"),t(),e(51,"option",23),a(52,"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"),t()(),O(),t()()(),e(53,"div",8)(54,"label",9),a(55,"Tags"),t(),e(56,"div",24),g(57,"input",25),O(),e(58,"button",26),E("click",function(){return n.onGenerateTags()}),v(59,Ke,2,0,"span",4),e(60,"span"),a(61,"IA"),t()()(),e(62,"p",13),a(63," S\xE9par\xE9s par des virgules \u2014 cliquez "),e(64,"strong"),a(65,"IA"),t(),a(66," pour les g\xE9n\xE9rer automatiquement. "),t()(),e(67,"div",8)(68,"label",9),a(69),o(70,"translate"),t(),g(71,"quill-editor",27),O(),t()(),e(72,"div",28)(73,"div",8)(74,"label",9),a(75),o(76,"translate"),t(),e(77,"div",10)(78,"div",14)(79,"select",29)(80,"option",30),a(81),o(82,"translate"),t(),e(83,"option",31),a(84),o(85,"translate"),t(),e(86,"option",32),a(87),o(88,"translate"),t(),e(89,"option",33),a(90),o(91,"translate"),t(),e(92,"option",34),a(93),o(94,"translate"),t(),e(95,"option",35),a(96),o(97,"translate"),t(),e(98,"option",36),a(99),o(100,"translate"),t(),e(101,"option",37),a(102),o(103,"translate"),t(),e(104,"option",38),a(105),o(106,"translate"),t(),e(107,"option",39),a(108),o(109,"translate"),t()(),O(),t()()(),e(110,"div",8)(111,"label",9),a(112),o(113,"translate"),t(),v(114,Qe,2,2,"figure",40),e(115,"div",41)(116,"label",42)(117,"input",43),E("change",function(_){return n.onCoverSelected(_)}),t(),e(118,"span",44)(119,"span",4),g(120,"i",45),t(),e(121,"span",42),a(122),o(123,"translate"),t()(),e(124,"span",46),a(125),o(126,"translate"),t()()(),v(127,$e,2,1,"p",47),e(128,"button",48),E("click",function(){return n.removeCover()}),e(129,"span",4),g(130,"i",49),t(),e(131,"span"),a(132),o(133,"translate"),t()()(),e(134,"div",50)(135,"div",10)(136,"button",51),E("click",function(){return n.onSave()}),v(137,Je,2,0,"span",4),v(138,Xe,2,0,"span",4),e(139,"span"),a(140),o(141,"translate"),t()()(),e(142,"div",10)(143,"button",52),E("click",function(){return n.onPreview()}),a(144),o(145,"translate"),t()(),e(146,"div",10)(147,"button",53),E("click",function(){return n.onGenerateWithAI()}),v(148,Ze,2,0,"span",4),v(149,et,2,0,"span",4),e(150,"span"),a(151),o(152,"translate"),t()()()(),v(153,tt,4,1,"div",54),t()()(),e(154,"div",55)(155,"div",56),E("click",function(){return n.closePreview()}),t(),e(156,"div",57)(157,"header",58)(158,"p",59),a(159),o(160,"translate"),t(),e(161,"button",60),E("click",function(){return n.closePreview()}),t()(),e(162,"section",61)(163,"p",62),v(164,it,3,3,"span",63),e(165,"span"),a(166),o(167,"date"),t()(),e(168,"h2",64),a(169),t(),g(170,"article",65),t(),e(171,"footer",66)(172,"button",67),E("click",function(){return n.closePreview()}),a(173),o(174,"translate"),t()()()()),u&2){let p;h("formGroup",n.form),i(3),d(" ",n.isNew?c(4,52,"BLOG_ADMIN.CREATE_TITLE",l(14
11,fe)):c(5,55,"BLOG_ADMIN.EDIT_TITLE",l(142,Ee))," "),i(3),h("routerLink",k(7,58,l(143,_e))),i(5),x(c(12,60,"COMMON.BACK",l(144,Ce))),i(6),d(" ",c(18,63,"BLOG_ADMIN.FORM.TITLE_LABEL",l(145,be))," "),i(3),S(),i(3),d(" ",c(24,66,"BLOG_ADMIN.FORM.SLUG_LABEL",l(146,Oe))," "),i(3),S(),i(2),d(" ",c(29,69,"BLOG_ADMIN.FORM.SLUG_HELP",l(147,Se))," "),i(4),d(" ",c(33,72,"BLOG_ADMIN.FORM.LANGUAGE_LABEL",l(148,Me))," "),i(4),S(),i(21),h("placeholder",n.generatingTags?"G\xE9n\xE9ration en cours\u2026":"detection-ia, chatgpt, plagiat"),S(),i(),T("is-loading",n.generatingTags),h("disabled",n.generatingTags||n.busy||!n.form.get("title")?.value),i(),f(n.generatingTags?-1:59),i(10),d(" ",c(70,75,"BLOG_ADMIN.FORM.CONTENT_LABEL",l(149,xe))," "),i(2),L(l(150,Ie)),S(),i(4),d(" ",c(76,78,"BLOG_ADMIN.FORM.CATEGORY_LABEL",l(151,ke))," "),i(4),S(),i(2),d(" ",c(82,81,"BLOG_ADMIN.FORM.CATEGORY_PLACEHOLDER",l(152,Fe))," "),i(3),d(" ",c(85,84,"BLOG_ADMIN.FORM.CATEGORY_WRITING",l(153,ye))," "),i(3),d(" ",c(88,87,"BLOG_ADMIN.FORM.CATEGORY_ACADEMIC",l(154,Ae))," "),i(3),d(" ",c(91,90,"BLOG_ADMIN.FORM.CATEGORY_TRANSLATION",l(155,Be))," "),i(3),d(" ",c(94,93,"BLOG_ADMIN.FORM.CATEGORY_AI",l(156,Te))," "),i(3),d(" ",c(97,96,"BLOG_ADMIN.FORM.CATEGORY_LEGAL",l(157,Le))," "),i(3),d(" ",c(100,99,"BLOG_ADMIN.FORM.CATEGORY_SEO",l(158,we))," "),i(3),d(" ",c(103,102,"BLOG_ADMIN.FORM.CATEGORY_UPDATES",l(159,Ne))," "),i(3),d(" ",c(106,105,"BLOG_ADMIN.FORM.CATEGORY_MARKETING",l(160,Re))," "),i(3),d(" ",c(109,108,"BLOG_ADMIN.FORM.CATEGORY_CASE_STUDY",l(161,Ge))," "),i(4),d(" ",c(113,111,"BLOG_ADMIN.COVER.LABEL",l(162,Pe))," "),i(2),f(n.coverUrl?114:-1),i(8),d(" ",c(123,114,"BLOG_ADMIN.COVER.CHOOSE",l(163,De))," "),i(3),d(" ",n.coverUploading?c(126,117,"COMMON.LOADING",l(164,Ue)):" "," "),i(2),f(n.coverError?127:-1),i(),h("disabled",!n.coverUrl||n.coverUploading||n.busy),i(4),x(c(133,120,"COMMON.REMOVE",l(165,Ve))),i(4),h("disabled",n.form.invalid||n.saving||n.generating||n.busy),i(),f(n.saving?-1:137),i(),f(n.saving?138:-1),i(2),x(c(141,123,"COMMON.SAVE",l(166,Ye))),i(3),h("disabled",n.form.invalid||n.busy),i(),d(" ",c(145,126,"COMMON.PREVIEW",l(167,je))," "),i(3),h("disabled",n.busy||!n.form.get("title")?.value),i(),f(n.generating?-1:148),i(),f(n.generating?149:-1),i(2),d(" ",c(152,129,"BLOG_ADMIN.GENERATE_AI",l(168,ze))," "),i(2),f(n.saveSuccess?153:-1),i(),h("ngClass",w(169,qe,n.showPreview)),i(5),d(" ",c(160,132,"BLOG_ADMIN.PREVIEW.TITLE",l(171,He))," "),i(5),f(n.form.get("category")?.value?164:-1),i(2),d(" ",c(167,135,n.today,"dd/MM/yyyy")," "),i(3),d(" ",n.form.get("title")?.value," "),i(),h("innerHTML",(p=n.form.get("content"))==null?null:p.value,y),i(3),d(" ",c(174,138,"COMMON.CLOSE",l(172,We))," ")}},dependencies:[D,G,oe,ne,ae,J,ie,X,Z,te,ee,z,j,K,ce,se,P,W,$],styles:["[_nghost-%COMP%]{display:block}.tags-input-wrap[_ngcontent-%COMP%]{display:flex;gap:.4rem;align-items:center}.tags-input-wrap[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{flex:1}.tags-gen-btn[_ngcontent-%COMP%]{white-space:nowrap;flex-shrink:0;background:#f0eeff;color:#6d28d9;border-color:#c4b5fd;font-weight:600}.tags-gen-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#e0d9ff}.blog-editor-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.blog-editor-header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{white-space:nowrap}.blog-editor-page[_ngcontent-%COMP%]{padding:1rem;max-width:1325px;margin:0 auto}@media screen and (max-width:1023px){.blog-editor-page[_ngcontent-%COMP%]{margin-left:1rem;margin-right:1rem}}@media screen and (max-width:768px){.blog-editor-header[_ngcontent-%COMP%]{align-items:flex-start;flex-direction:column}.blog-editor-header[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{align-self:stretch;justify-content:center}}[_nghost-%COMP%] .modal-card-blog-preview{width:min(1000px,96vw);max-height:calc(100vh - 5rem)}[_nghost-%COMP%] .modal-card-blog-preview .modal-card-body{overflow-y:auto;overflow-x:hidden}[_nghost-%COMP%] .blog-preview-content{font-size:.95rem;line-height:1.6;overflow-x:hidden;word-wrap:break-word}[_nghost-%COMP%] .blog-preview-content img, [_nghost-%COMP%] .blog-preview-content iframe{max-width:100%;height:auto;display:block;margin:1rem auto}
1@media screen and (max-width:768px){[_nghost-%COMP%] .modal-card-blog-preview{width:100vw;max-height:calc(100vh - 2rem);margin:0 .5rem}[_nghost-%COMP%] .modal-card-blog-preview .modal-card-body{padding:1rem}[_nghost-%COMP%] .blog-preview-content{font-size:.9rem}}"]})}return s})()});at();export{Ot as BlogEditorComponent};
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.