1import{a as V,b as Gt}from"./chunk-3GJNJZWY.js";import{a as _t,b as At}from"./chunk-274OYHOQ.js";import"./chunk-DFPAUOHB.js";import{c as mt,d as Rt}from"./chunk-AZS3QIZL.js";import"./chunk-UYRUDIUB.js";import{a as Ct,b as Nt}from"./chunk-OUWEUXNL.js";import{A as Et,C as Tt,c as ht,i as ut,k as Ot,p as ft,r as Mt,v as Pt,w as bt,x as xt}from"./chunk-PXI4RNCT.js";import{a as S,b as pt}from"./chunk-KXNDLGYE.js";import{f as ot,i as at,m as rt,n as ct}from"./chunk-MJC7NEL7.js";import"./chunk-G7CCAZ6K.js";import{b as lt,c as st,e as dt,f as gt}from"./chunk-P2NB64WX.js";import{A as nt,G as it,M as St,n as J,o as K,s as Z,v as tt,z as et}from"./chunk-H3JKYH2Z.js";import{A as I,Ac as Y,Da as j,Dc as T,Ec as v,Fc as k,H as q,Jc as w,Lc as X,Mb as A,Ob as f,Pb as M,Pc as c,Q as wt,Qc as l,Rb as B,Rc as F,Sb as N,Tb as G,Ub as O,V as H,Vb as e,Wb as n,Zc as $,_ as P,cc as E,ea as _,fa as C,gc as u,hb as i,ic as g,j as D,lb as b,mb as x,qa as W,ta as U,uc as R,ud as L,vb as Q,xc as a,yc as d,zc as h}from"./chunk-6ZKZEUGL.js";import{e as z}from"./chunk-J6LPXIX4.js";var vt,kt=z(()=>{"use strict";L();St();wt();j();pt();L();vt=(()=>{class r{http=P(it);base=(S.apiUrl||"").replace(/\/+$/,"");api=`${this.base}/api/v1/citations`;headers=new nt({"Content-Type":"application/json"});searchReferences(t,s=10,o){return this.http.post(`${this.api}/search`,{query:t,limit:s,locale:o},{headers:this.headers,withCredentials:!0}).pipe(I(this.handleError))}formatReference(t,s){return this.http.post(`${this.api}/format`,{reference:t,style:s},{headers:this.headers,withCredentials:!0}).pipe(I(this.handleError))}getSavedCitations(){return this.http.get(this.api,{withCredentials:!0}).pipe(I(this.handleError))}saveCitation(t){return this.http.post(this.api,t,{headers:this.headers,withCredentials:!0}).pipe(I(this.handleError))}deleteCitation(t){return this.http.delete(`${this.api}/${t}`,{withCredentials:!0}).pipe(I(this.handleError))}getCitationQuota(){return this.http.get(`${this.api}/quota`,{withCredentials:!0}).pipe(I(this.handleError))}handleError(t){return console.error("[CitationService] API error",t),D(()=>t)}static \u0275fac=function(s){return new(s||r)};static \u0275prov=H({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})()});function Wt(r,m){if(r&1&&(e(0,"option",11),a(1),n()),r&2){let t=m.$implicit,s=g();O("value",t),i(),d(s.styleLabelFor(t))}}function Ut(r,m){r&1&&(a(0),c(1,"translate"),e(2,"a",48),c(3,"langLink"),a(4),c(5,"translate"),n()),r&2&&(h(" ",l(1,3,"CITATION_GENERATOR.QUOTA.EXCEEDED")," "),i(2),O("routerLink",l(3,5,w(9,Vt))),i(2),h(" ",l(5,7,"CITATION_GENERATOR.QUOTA.UPGRADE")," "))}function jt(r,m){r&1&&(a(0),c(1,"translate")),r&2&&h(" ",l(1,1,"CITATION_GENERATOR.QUOTA.UNLIMITED")," ")}function Qt(r,m){if(r&1&&(a(0),c(1,"translate")),r&2){let t=g(2);h(" ",F(1,1,"CITATION_GENERATOR.QUOTA.BADGE",X(4,zt,t.quota().used,t.quota().limit))," ")}}function Yt(r,m){if(r&1&&(e(0,"div",46)(1,"span",47),a(2),n(),e(3,"span"),f(4,Ut,6,10)(5,jt,2,3)(6,Qt,2,7),n()()),r&2){let t=g();R("cg-quota-badge--danger",t.quotaExceeded()),i(2),h(" ",t.quotaExceeded()?"lock":"auto_awesome"," "),i(2),M(t.quotaExceeded()?4:t.quota().unlimited?5:6)}}function Xt(r,m){r&1&&(e(0,"span",18),a(1,"refresh"),n())}function $t(r,m){r&1&&(e(0,"span",18),a(1,"search"),n())}function Jt(r,m){if(r&1&&(e(0,"div",21),a(1),n()),r&2){let t=g();i(),d(t.searchError)}}function Kt(r,m){if(r&1){let t=E();e(0,"div",22)(1,"div",49)(2,"span",50),a(3,"edit"),n(),e(4,"h3",51),a(5),c(6,"translate"),n()(),e(7,"div",52)(8,"div",53)(9,"label",9),a(10),c(11,"translate"),n(),e(12,"input",54),k("ngModelChange",function(o){_(t);let p=g();return v(p.manualRef.title,o)||(p.manualRef.title=o),C(o)}),n(),b(),n(),e(13,"div",53)(14,"label",9),a(15),c(16,"translate"),n(),e(17,"input",55),c(18,"translate"),k("ngModelChange",function(o){_(t);let p=g();return v(p.manualAuthorsInput,o)||(p.manualAuthorsInput=o),C(o)}),n(),b(),n(),e(19,"div",56)(20,"label",9),a(21),c(22,"translate"),n(),e(23,"input",57),k("ngModelChange",function(o){_(t);let p=g();return v(p.manualRef.published_year,o)||(p.manualRef.published_year=o),C(o)}),n(),b(),n(),e(24,"div",56)(25,"label",9),a(26),c(27,"translate"),n(),e(28,"input",54),k("ngModelChange",function(o){_(t);let p=g();return v(p.manualRef.journal,o)||(p.manualRef.journal=o),C(o)}),n(),b(),n(),e(29,"div",56)(30,"label",9),a(31),c(32,"translate"),n(),e(33,"input",54),k("ngModelChange",function(o){_(t);let p=g();return v(p.manualRef.doi,o)||(p.manualRef.doi=o),C(o)}),n(),b(),n(),e(34,"div",56)(35,"label",9),a(36),c(37,"translate"),n(),e(38,"input",54),k("ngModelChange",function(o){_(t);let p=g();return v(p.manualRef.url,o)||(p.manualRef.url=o),C(o)}),n(),b(),n()(),e(39,"button",58),u("click",function(){_(t);let o=g();return C(o.generateManualCitation())}),e(40,"span",18),a(41,"auto_fix_high"),n(),e(42,"span"),a(43),c(44,"translate"),n()()()}if(r&2){let t=g();i(5),d(l(6,15,"CITATION_GENERATOR.MANUAL_CITE")),i(5),h("",l(11,17,"CITATION_GENERATOR.FIELDS.TITLE")," *"),i(2),T("ngModel",t.manualRef.title),x(),i(3),d(l(16,19,"CITATION_GENERATOR.FIELDS.AUTHORS")),i(2),T("ngModel",t.manualAuthorsInput),O("placeholder",l(18,21,"CITATION_GENERATOR.FIELDS.AUTHORS_PLACEHOLDER")),x(),i(4),d(l(22,23,"CITATION_GENERATOR.FIELDS.YEAR")),i(2),T("ngModel",t.manualRef.published_year),x(),i(3),d(l(27,25,"CITATION_GENERATOR.FIELDS.JOURNAL")),i(2),T("ngModel",t.manualRef.journal),x(),i(3),d(l(32,27,"CITATION_GENERATOR.FIELDS.DOI")),i(2),T("ngModel",t.manualRef.doi),x(),i(3),d(l(37,29,"CITATION_GENERATOR.FIELDS.URL")),i(2),T("ngModel",t.manualRef.url),x(),i(5),d(l(44,31,"CITATION_GENERATOR.GENERATE"))}}function Zt(r,m){if(r&1&&(e(0,"span",64),a(1,"\u25CF"),n(),e(2,"span"),a(3),n()),r&2){let t=g().$implicit;i(3),d(t.published_year)}}function te(r,m){if(r&1&&(e(0,"span",64),a(1,"\u25CF"),n(),e(2,"span"),a(3),n()),r&2){let t=g().$implicit;i(3),d(t.journal)}}function ee(r,m){if(r&1){let t=E();e(0,"div",61),u("click",function(){let o=_(t).$implicit,p=g(2);return C(p.selectResult(o))}),e(1,"div",62),a(2),n(),e(3,"div",63)(4,"span"),a(5),n(),f(6,Zt,4,1),f(7,te,4,1),n()()}if(r&2){let t=m.$implicit,s=g(2);R("is-active",s.selectedRef===t),i(2),d(t.title),i(3),d(s.getAuthorsString(t.authors)),i(),M(t.published_year?6:-1),i(),M(t.journal?7:-1)}}function ne(r,m){if(r&1&&(e(0,"div",23)(1,"p",59),a(2),c(3,"translate"),n(),N(4,ee,8,6,"div",60,Dt),n()),r&2){let t=g();i(2),d(l(3,1,"CITATION_GENERATOR.SELECT_SOURCE")),i(2),G(t.searchResults)}}
1function ie(r,m){r&1&&(e(0,"div",24)(1,"span",65),a(2,"inbox"),n(),a(3),c(4,"translate"),n()),r&2&&(i(3),h(" ",l(4,1,"CITATION_GENERATOR.NO_RESULTS")," "))}function oe(r,m){if(r&1){let t=E();e(0,"div",68)(1,"pre"),a(2),n(),e(3,"button",71),u("click",function(){_(t);let o=g(2);return C(o.copyCitation(o.formattedCitation.formatted))}),e(4,"span",18),a(5,"content_copy"),n(),e(6,"span"),a(7),c(8,"translate"),c(9,"translate"),n()()()}if(r&2){let t=g(2);i(2),d(t.formattedCitation.formatted),i(5),h(" ",t.copied?l(8,2,"CITATION_GENERATOR.COPIED"):l(9,4,"CITATION_GENERATOR.COPY")," ")}}function ae(r,m){if(r&1){let t=E();e(0,"div",69)(1,"div",72)(2,"div",73),a(3),c(4,"translate"),n(),e(5,"div",74),a(6),n(),e(7,"button",75),u("click",function(){_(t);let o=g(2);return C(o.copyCitation(o.formattedCitation.in_text_parenthetical))}),e(8,"span",76),a(9,"content_copy"),n()()(),e(10,"div",72)(11,"div",73),a(12),c(13,"translate"),n(),e(14,"div",74),a(15),n(),e(16,"button",75),u("click",function(){_(t);let o=g(2);return C(o.copyCitation(o.formattedCitation.in_text_narrative))}),e(17,"span",18),a(18,"content_copy"),n()()()()}if(r&2){let t=g(2);i(3),d(l(4,4,"CITATION_GENERATOR.PARENTHETICAL")),i(3),d(t.formattedCitation.in_text_parenthetical),i(6),d(l(13,6,"CITATION_GENERATOR.NARRATIVE")),i(3),d(t.formattedCitation.in_text_narrative)}}function re(r,m){if(r&1){let t=E();e(0,"div",25)(1,"div",66)(2,"ul")(3,"li",67),u("click",function(){_(t);let o=g();return C(o.activeTab="biblio")}),e(4,"a"),a(5),c(6,"translate"),n()(),e(7,"li",67),u("click",function(){_(t);let o=g();return C(o.activeTab="intext")}),e(8,"a"),a(9),c(10,"translate"),n()()()(),f(11,oe,10,6,"div",68)(12,ae,19,8,"div",69),e(13,"div",70)(14,"button",17),u("click",function(){_(t);let o=g();return C(o.saveCitation())}),e(15,"span",18),a(16,"bookmark"),n(),e(17,"span"),a(18),c(19,"translate"),c(20,"translate"),n()()()()}if(r&2){let t=g();i(3),R("is-active",t.activeTab==="biblio"),i(2),d(l(6,9,"CITATION_GENERATOR.BIBLIOGRAPHY")),i(2),R("is-active",t.activeTab==="intext"),i(2),d(l(10,11,"CITATION_GENERATOR.IN_TEXT")),i(2),M(t.activeTab==="biblio"?11:12),i(3),O("disabled",t.quotaExceeded()),i(4),h(" ",t.saved?l(19,13,"CITATION_GENERATOR.SAVED"):l(20,15,"CITATION_GENERATOR.SAVE")," ")}}function ce(r,m){if(r&1){let t=E();e(0,"div",81)(1,"div",83)(2,"div",84),a(3),n(),e(4,"div",85)(5,"span",86),a(6),c(7,"uppercase"),n(),e(8,"span",87),a(9),c(10,"date"),n()()(),e(11,"div",88)(12,"button",75),c(13,"translate"),u("click",function(){let o=_(t).$implicit,p=g(2);return C(p.copyCitation(o.formatted_bibliography))}),e(14,"span",18),a(15,"content_copy"),n()(),e(16,"button",89),c(17,"translate"),u("click",function(){let o=_(t).$implicit,p=g(2);return C(p.deleteCitation(o.id))}),e(18,"span",18),a(19,"clear"),n()()()()}if(r&2){let t=m.$implicit;i(3),d(t.formatted_bibliography),i(3),d(l(7,5,t.citation_style)),i(3),d(F(10,7,t.created_at,"
1short")),i(3),A("aria-label",l(13,10,"CITATION_GENERATOR.COPY")),i(4),A("aria-label",l(17,12,"CITATION_GENERATOR.DELETE"))}}function le(r,m){if(r&1){let t=E();e(0,"nav",82)(1,"button",90),u("click",function(){_(t);let o=g(2);return C(o.prevHistoryPage())}),e(2,"span",18),a(3,"chevron_left"),n()(),e(4,"span",91),a(5),n(),e(6,"button",90),u("click",function(){_(t);let o=g(2);return C(o.nextHistoryPage())}),e(7,"span",18),a(8,"chevron_right"),n()()()}if(r&2){let t=g(2);i(),O("disabled",t.historyPage===0),i(4),Y(" ",t.historyPage+1," / ",t.totalHistoryPages," "),i(),O("disabled",t.historyPage>=t.totalHistoryPages-1)}}function se(r,m){if(r&1&&(e(0,"div",26)(1,"h2",77)(2,"span",78),a(3,"history"),n(),a(4),c(5,"translate"),e(6,"span",79),a(7),n()(),e(8,"div",80),N(9,ce,20,14,"div",81,Ht),n(),f(11,le,9,4,"nav",82),n()),r&2){let t=g();i(4),h(" ",l(5,3,"CITATION_GENERATOR.HISTORY")," "),i(3),h("(",t.savedCitations.length,")"),i(2),G(t.paginatedCitations),i(2),M(t.totalHistoryPages>1?11:-1)}}function de(r,m){if(r&1){let t=E();e(0,"div",92)(1,"button",93),u("click",function(){let o=_(t).$implicit,p=g();return C(p.toggleFaq(o))}),e(2,"span"),a(3),c(4,"translate"),n(),e(5,"span",94),a(6),n()(),e(7,"div",95)(8,"p"),a(9),c(10,"translate"),n()()()}if(r&2){let t=m.$implicit,s=g();R("cg-faq-item--open",s.openFaqIndex===t),i(),O("id","faq-btn-"+t),A("aria-expanded",s.openFaqIndex===t)("aria-controls","faq-answer-"+t),i(2),d(l(4,10,"CITATION_GENERATOR.FAQ.Q"+t)),i(3),h(" ",s.openFaqIndex===t?"expand_less":"expand_more"," "),i(),O("id","faq-answer-"+t),A("aria-labelledby","faq-btn-"+t),i(2),d(l(10,12,"CITATION_GENERATOR.FAQ.A"+t))}}var Lt,Bt,yt,Ft,Vt,zt,Dt,Ht,It,Le,ge=z(()=>{L();et();Tt();gt();ct();j();Nt();Rt();Gt();At();pt();kt();L();Tt();ct();et();gt();Lt=()=>["academic-outline"],Bt=()=>["ai-grammar"],yt=()=>["academic"],Ft=()=>["ai-homework"],Vt=()=>["/plans"],zt=(r,m)=>({used:r,limit:m}),Dt=(r,m)=>m.doi||m.title,Ht=(r,m)=>m.id;It={apa:"APA 7th edition",mla:"MLA 9th edition",harvard:"Harvard",chicago:"Chicago 17th edition",ieee:"IEEE",vancouver:"Vancouver"},Le=(()=>{class r{citationService=P(vt);translate=P(lt);seo=P(Ct);auth=P(mt);route=P(ot);platformId=P(U);styles=["apa","mla","harvard","chicago","ieee","vancouver"];selectedStyle="apa";searchQuery="";isSearching=!1;searchResults=[];searchError=null;selectedRef=null;formattedCitation=null;isFormatting=!1;showManualForm=!1;manualRef={title:"",authors:[],published_year:null,journal:"",doi:"",url:""};manualAuthorsInput="";savedCitations=[];isLoadingHistory=!1;quota=W(null);quotaExceeded=$(()=>{let t=this.quota();return t!==null&&!t.unlimited&&t.remaining<=0});copied=!1;saved=!1;activeTab="biblio";historyPage=0;historyPerPage=5;faqItems=[1,2,3,4,5,6,7];openFaqIndex=null;toggleFaq(t){this.openFaqIndex=this.openFaqIndex===t?null:t}langSub;get styleLabel(){return It[this.selectedStyle]}styleLabelFor(t){return It[t]}get paginatedCitations(){let t=this.historyPage*this.historyPerPage;return this.savedCitations.slice(t,t+this.historyPerPage)}get totalHistoryPages(){return Math.ceil(this.savedCitations.length/this.historyPerPage)}nextHistoryPage(){this.historyPage<this.totalHistoryPages-1&&this.historyPage++}prevHistoryPage(){this.historyPage>0&&this.historyPage--}ngOnInit(){this.setSeo(),this.langSub=this.translate.onLangChange.subscribe(()=>this.setSeo()),tt(this.platformId)&&(this.loadHistory(),this.loadQuota())}loadQuota(){this.auth.isLoggedIn()&&this.citationService.getCitationQuota().subscribe({next:t=>this.quota.set(t),error:()=>{}})}ngOnDestroy(){this.langSub?.unsubscribe()}setSeo(){let t=this.translate.currentLang||"fr",s=this.translate.instant("CITATION_GENERATOR.PAGE_TITLE"),o=this.translate.instant("CITATION_GENERATOR.PAGE_DESC");this.seo.setTitle(s),this.seo.setDescription(o),this.seo.setRobotsIndex(),this.seo.setCanonical(),this.seo.setOgBasics({siteName:"Textiaa",type:"website",image:`${S.appBaseUrl}/assets/og/og-image.jpg`}),this.seo.setHreflangsAuto(S.appBaseUrl,["fr","en","pl","es","de","it","ar"]),this.seo.setJsonLd({"@context":"https://schema.org","@type":"WebPage",name:s,description:o,inLanguage:t,url:`${S.appBaseUrl}/${t}/citation-generator`,publisher:{"@type":"Organization",name:"Textiaa",url:S.appBaseUrl}})}onSearch(){let t=this.searchQuery.trim();if(!t||t.length<2)return;this.isSearching=!0,this.searchError=null,this.searchResults=[],this.selectedRef=null,this.formattedCitation=null;let s=this.translate.currentLang||void 0;this.citationService.searchReferences(t,10,s).pipe(q(()=>this.isSearching=!1)).subscribe({next:o=>{this.searchResults=o,setTimeout(()=>{let p=document.getElementById("search-results");p&&p.scrollIntoView({behavior:"smooth",block:"start"})},100)},error:o=>{this.searchError=V(o)?this.translate.instant("COMMON.EMAIL_NOT_VERIFIED"):this.translate.instant("CITATION_GENERATOR.SEARCH_ERROR")}})}selectResult(t){this.selectedRef=t,this.showManualForm=!1,this.format(t)}onStyleChange(){this.selectedRef?this.format(this.selectedRef):this.showManualForm&&this.manualRef.title&&this.format(this.manualRef)}format(t){this.isFormatting=!0,this.citationService.formatReference(t,this.selectedStyle).pipe(q(()=>this.isFormatting=!1)).subscribe({next:s=>{this.formattedCitation=s,setTimeout(()=>this.scrollToCitationPanel(),100)},error:()=>{this.searchError=this.translate.instant("CITATION_GENERATOR.FORMAT_ERROR")}})}scrollToCitationPanel(){let t=document.querySelector(".citation-panel");t&&t.scrollIntoView({behavior:"smooth",block:"start"})}toggleManualForm(){this.showManualForm=!this.showManualForm,this.showManualForm&&(this.selectedRef=null,this.formattedCitation=null,this.searchResults=[])}generateManualCitation(){let t=this.manualAuthorsInput.split(",").map(s=>
1s.trim()).filter(Boolean);this.manualRef.authors=t,this.manualRef.title.trim()&&this.format(this.manualRef)}copyCitation(t){navigator.clipboard.writeText(t).then(()=>{this.copied=!0,setTimeout(()=>this.copied=!1,1500)})}saveCitation(){if(!this.formattedCitation)return;let t=this.showManualForm?this.manualRef:this.selectedRef;if(!t||!t.title)return;let s={reference:t,style:this.selectedStyle,formatted:this.formattedCitation.formatted,in_text_parenthetical:this.formattedCitation.in_text_parenthetical,in_text_narrative:this.formattedCitation.in_text_narrative,is_manual:this.showManualForm};this.citationService.saveCitation(s).subscribe({next:()=>{this.saved=!0,setTimeout(()=>this.saved=!1,1500),this.loadHistory(),this.loadQuota(),setTimeout(()=>this.scrollToHistory(),300)},error:o=>{o?.status===402?this.loadQuota():V(o)?this.searchError=this.translate.instant("COMMON.EMAIL_NOT_VERIFIED"):this.searchError=this.translate.instant("CITATION_GENERATOR.SAVE_ERROR")}})}scrollToHistory(){let t=document.querySelector(".history-section");t&&t.scrollIntoView({behavior:"smooth",block:"start"})}loadHistory(){this.isLoadingHistory=!0,this.citationService.getSavedCitations().pipe(q(()=>this.isLoadingHistory=!1)).subscribe({next:t=>{this.savedCitations=t},error:()=>{}})}deleteCitation(t){this.citationService.deleteCitation(t).subscribe({next:()=>this.loadHistory(),error:()=>{this.searchError=this.translate.instant("CITATION_GENERATOR.DELETE_ERROR")}})}getAuthorsString(t){return!t||t.length===0?"":t.length<=2?t.join(", "):`${t[0]} et al.`}static \u0275fac=function(s){return new(s||r)};static \u0275cmp=Q({type:r,selectors:[["app-citation-generator"]],decls:128,vars:94,consts:[[1,"section","citation-section"],[1,"container"],[1,"citation-header"],[1,"citation-icon"],[1,"material-icons",2,"font-size","22px"],[1,"title"],[1,"subtitle"],[1,"controls-bar"],[1,"style-box"],[1,"label"],[3,"ngModelChange","change","ngModel"],[3,"value"],["role","status",1,"cg-quota-badge",3,"cg-quota-badge--danger"],[1,"search-wrapper"],[1,"search-input-wrap"],[1,"material-icons","search-icon"],["type","text","maxlength","300",1,"input",3,"ngModelChange","keyup.enter","ngModel","placeholder"],[1,"button","is-link",3,"click","disabled"],[1,"icon","material-icons",2,"font-size","18px"],[1,"manual-toggle"],[1,"button","manual-cite-btn",3,"click"],[1,"notification","is-danger","is-light"],[1,"manual-form"],["id","search-results",1,"results-list"],["id","search-results",1,"no-results"],[1,"citation-panel"],[1,"history-section"],[1,"section","cg-seo-section"],[1,"title","is-4","cg-seo-title"],[1,"cg-seo-intro"],[1,"columns","is-multiline","cg-features","mt-5"],[1,"column","is-4"],[1,"cg-feature-card"],[1,"material-icons","cg-feature-icon"],[1,"cg-feature-title"],[1,"cg-feature-text"],[1,"cg-related","mt-5"],[1,"cg-related-title"],[1,"cg-related-links"],[1,"cg-related-link",3,"routerLink"],[1,"material-icons"],["aria-labelledby","cg-faq-heading",1,"section","cg-faq-section"],[1,"container","cg-faq-container"],["id","cg-faq-heading",1,"cg-faq-title"],[1,"cg-faq-list"],[1,"cg-faq-item",3,"cg-faq-item--open"],["role","status",1,"cg-quota-badge"],[1,"material-icons","cg-quota-icon"],[1,"cg-quota-upgrade-link",3,"routerLink"],[1,"manual-header"],[1,"manual-icon","material-icons",2,"font-size","18px"],[1,"subtitle","is-6"],[1,"columns","is-multiline"],[1,"column","is-6"],["type","text",1,"input",3,"ngModelChange","ngModel"],["type","text",1,"input",3,"ngModelChange","ngModel","placeholder"],[1,"column","is-3"],["type","number",1,"input",3,"ngModelChange","ngModel"],[1,"button","is-link",3,"click"],[1,"results-hint"],[1,"result-card",3,"is-active"],[1,"result-card",3,"click"],[1,"result-title"],[1,"result-meta"],[1,"dot"],[1,"material-icons",2,"font-size","1.5rem","display","block","margin-bottom","0.5rem","color","#d1d5db"],[1,"tabs","is-boxed"],[3,"click"],[1,"citation-block"],[1,"in-text-grid"],[1,"save-row"],[1,"button","copy-btn",3,"click"],[1,"in-text-card"],[1,"in-text-label"],[1,"in-text-value"],[1,"button","is-small","is-ghost",3,"click"],[1,"icon","material-icons"],[1,"history-title"],[1,"material-icons",2,"font-size","20px"],[1,"history-count"],[1,"history-list"],[1,"history-card"],["role","navigation","aria-label","pagination",1,"pagination","is-centered","is-small"],[1,"history-main"],[1,"history-text"],[1,"history-meta"],[1,"tag"],[1,"is-size-7","has-text-grey"],[1,"history-actions"],[1,"button","is-small","is-ghost","has-text-danger",3,"click"],[1,"button","is-small",3,"click","disabled"],[1,"pagination-info"],[1,"cg-faq-item"],[1,"cg-faq-question",3,"click","id"],["aria-hidden","true",1,"material-icons","cg-faq-chevron"],["role","regi
1on",1,"cg-faq-answer",3,"id"]],template:function(s,o){s&1&&(e(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"span",4),a(5,"bookmark"),n()(),e(6,"h1",5),a(7),c(8,"translate"),n(),e(9,"p",6),a(10),c(11,"translate"),n()(),e(12,"div",7)(13,"div",8)(14,"label",9),a(15),c(16,"translate"),n(),e(17,"select",10),k("ngModelChange",function(y){return v(o.selectedStyle,y)||(o.selectedStyle=y),y}),u("change",function(){return o.onStyleChange()}),N(18,Wt,2,2,"option",11,B),n(),b(),n(),f(20,Yt,7,4,"div",12),n(),e(21,"div",13)(22,"div",14)(23,"span",15),a(24,"search"),n(),e(25,"input",16),c(26,"translate"),k("ngModelChange",function(y){return v(o.searchQuery,y)||(o.searchQuery=y),y}),u("keyup.enter",function(){return o.onSearch()}),n(),b(),n(),e(27,"button",17),u("click",function(){return o.onSearch()}),f(28,Xt,2,0,"span",18)(29,$t,2,0,"span",18),e(30,"span"),a(31),c(32,"translate"),n()()(),e(33,"div",19)(34,"button",20),u("click",function(){return o.toggleManualForm()}),e(35,"span",18),a(36,"edit"),n(),e(37,"span"),a(38),c(39,"translate"),n()()(),f(40,Jt,2,1,"div",21),f(41,Kt,45,33,"div",22),f(42,ne,6,3,"div",23),f(43,ie,5,3,"div",24),f(44,re,21,17,"div",25),f(45,se,12,5,"div",26),n()(),e(46,"section",27)(47,"div",1)(48,"h2",28),a(49),c(50,"translate"),n(),e(51,"p",29),a(52),c(53,"translate"),n(),e(54,"div",30)(55,"div",31)(56,"div",32)(57,"span",33),a(58,"format_quote"),n(),e(59,"h3",34),a(60),c(61,"translate"),n(),e(62,"p",35),a(63),c(64,"translate"),n()()(),e(65,"div",31)(66,"div",32)(67,"span",33),a(68,"bolt"),n(),e(69,"h3",34),a(70),c(71,"translate"),n(),e(72,"p",35),a(73),c(74,"translate"),n()()(),e(75,"div",31)(76,"div",32)(77,"span",33),a(78,"bookmark_added"),n(),e(79,"h3",34),a(80),c(81,"translate"),n(),e(82,"p",35),a(83),c(84,"translate"),n()()()(),e(85,"div",36)(86,"h3",37),a(87),c(88,"translate"),n(),e(89,"div",38)(90,"a",39),c(91,"langLink"),e(92,"span",40),a(93,"description"),n(),a(94),c(95,"translate"),n(),e(96,"a",39),c(97,"langLink"),e(98,"span",40),a(99,"spellcheck"),n(),a(100),c(101,"translate"),n(),e(102,"a",39),c(103,"langLink"),e(104,"span",40),a(105,"menu_book"),n(),a(106),c(107,"translate"),n(),e(108,"a",39),c(109,"langLink"),e(110,"span",40),a(111,"library_books"),n(),a(112),c(113,"translate"),n(),e(114,"a",39),c(115,"langLink"),e(116,"span",40),a(117,"assignment"),n(),a(118),c(119,"translate"),n()()()()(),e(120,"section",41)(121,"div",42)(122,"h2",43),a(123),c(124,"translate"),n(),e(125,"div",44),N(126,de,11,14,"div",45,B),n()()()),s&2&&(i(7),d(l(8,37,"CITATION_GENERATOR.PAGE_TITLE")),i(3),d(l(11,39,"CITATION_GENERATOR.PAGE_DESC")),i(5),d(l(16,41,"CITATION_GENERATOR.STYLE_LABEL")),i(2),T("ngModel",o.selectedStyle),x(),i(),G(o.styles),i(2),M(o.quota()?20:-1),i(5),T("ngModel",o.searchQuery),O("placeholder",l(26,43,"CITATION_GENERATOR.SEARCH_PLACEHOLDER")),x(),i(2),O("disabled",o.isSearching),i(),M(o.isSearching?28:29),i(3),d(l(32,45,"CITATION_GENERATOR.SEARCH_BUTTON")),i(7),d(l(39,47,"CITATION_GENERATOR.MANUAL_CITE")),i(2),M(o.searchError?40:-1),i(),M(o.showManualForm?41:-1),i(),M(!o.showManualForm&&o.searchResults.length>0?42:-1),i(),M(!o.showManualForm&&!o.isSearching&&o.searchQuery&&o.searchResults.length===0&&!o.searchError?43:-1),i(),M(o.formattedCitation?44:-1),i(),M(o.savedCitations.length>0?45:-1),i(4),d(l(50,49,"CITATION_GENERATOR.SEO.ABOUT_TITLE")),i(3),d(l(53,51,"CITATION_GENERATOR.SEO.ABOUT_TEXT")),i(8),d(l(61,53,"CITATION_GENERATOR.SEO.F1_TITLE")),i(3),d(l(64,55,"CITATION_GENERATOR.SEO.F1_TEXT")),i(7),d(l(71,57,"CITATION_GENERATOR.SEO.F2_TITLE")),i(3),d(l(74,59,"CITATION_GENERATOR.SEO.F2_TEXT")),i(7),d(l(81,61,"CITATION_GENERATOR.SEO.F3_TITLE")),i(3),d(l(84,63,"CITATION_GENERATOR.SEO.F3_TEXT")),i(4),d(l(88,65,"CITATION_GENERATOR.SEO.RELATED_TITLE")),i(3),O("routerLink",l(91,67,w(89,Lt))),i(4),h(" ",l(95,69,"CITATION_GENERATOR.SEO.RELATED_OUTLINE")," "),i(2),O("routerLink",l(97,71,w(90,Bt))),i(4),h(" ",l(101,73,"CITATION_GENERATOR.SEO.RELATED_GRAMMAR")," "),i(2),O("routerLink",l(103,75,w(91,yt))),i(4),h(" ",l(107,77,"CITATION_GENERATOR.SEO.RELATED_THESIS")," "),i(2),O("routerLink",l(109,79,w(92,yt))),i(4),h(" ",l(113,81,"CITATION_GENERATOR.SEO.RELATED_MEMOIRE")," "),i(2),O("routerLink",l(115,83,w(93,Ft))),i(4),h(" ",l(119,85,"CITATION_GENERATOR.SEO.RELATED_HOMEWORK")," "),i(5),h(" ",l(124,87,"CITATION_GENERATOR.FAQ.TITLE")," "),i(3),G(o.faqItems))},dependencies:[Z,Et,bt,xt,ht,Mt,Pt,Ot,ut,ft,dt,rt,at,J,K,st,_t],styles:[".citation-section[_ngcontent-%COMP%]{padding-top:2.5rem;padding-bottom:2rem;min-height:auto}.cg-faq-section[_ngcontent-%COMP%]{background:var(--background, #f8fafc);border-top:1px solid var(--border, rgba(0, 0, 0, .07));padding-top:3.5rem;padding-bottom:4rem}.cg-faq-container[_ngcontent-%COMP%]{max-width:760px}.cg-faq-title[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;color:var(--text, #1e293b);margin-bottom:2rem}.cg-faq-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.cg-faq-item[_ngcontent-%COMP%]{border:1px solid var(--border, rgba(0, 0, 0, .09));border-radius:12px;overflow:hidden;background:var(--card-bg, #fff);
1transition:box-shadow .2s,border-color .2s}.cg-faq-item.cg-faq-item--open[_ngcontent-%COMP%]{border-color:#3b82f659;box-shadow:0 4px 16px #3b82f614}.cg-faq-item.cg-faq-item--open[_ngcontent-%COMP%] .cg-faq-answer[_ngcontent-%COMP%]{max-height:400px;opacity:1}.cg-faq-question[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem;background:none;border:none;cursor:pointer;font-size:.97rem;font-weight:600;color:var(--text, #1e293b);text-align:left;transition:background .15s}.cg-faq-question[_ngcontent-%COMP%]:hover{background:#3b82f60a}.cg-faq-question[_ngcontent-%COMP%]:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}.cg-faq-chevron[_ngcontent-%COMP%]{font-size:1.3rem;color:#3b82f6;flex-shrink:0;transition:transform .25s}.cg-faq-answer[_ngcontent-%COMP%]{max-height:0;opacity:0;overflow:hidden;transition:max-height .35s ease,opacity .25s ease;padding:0 1.25rem}.cg-faq-answer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{padding-bottom:1.1rem;font-size:.93rem;color:var(--text-muted, #4b5563);line-height:1.75;border-top:1px dashed var(--border, rgba(0, 0, 0, .08));padding-top:.9rem;margin:0}[data-theme=dark][_nghost-%COMP%] .cg-faq-section[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-faq-section[_ngcontent-%COMP%]{background:var(--bulma-box-background-color, #14161a);border-top-color:#ffffff0f}[data-theme=dark][_nghost-%COMP%] .cg-faq-title[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-faq-title[_ngcontent-%COMP%]{color:#e2e8f0}[data-theme=dark][_nghost-%COMP%] .cg-faq-question[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-faq-question[_ngcontent-%COMP%]{color:#cbd5e1}[data-theme=dark][_nghost-%COMP%] .cg-faq-question[_ngcontent-%COMP%]:hover, [data-theme=dark] [_nghost-%COMP%] .cg-faq-question[_ngcontent-%COMP%]:hover{background:#ffffff0a}[data-theme=dark][_nghost-%COMP%] .cg-faq-chevron[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-faq-chevron[_ngcontent-%COMP%]{color:#818cf8}[data-theme=dark][_nghost-%COMP%] .cg-faq-answer[_ngcontent-%COMP%] p[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-faq-answer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#94a3b8;border-top-color:#ffffff12}[data-theme=dark][_nghost-%COMP%] .cg-seo-section[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-seo-section[_ngcontent-%COMP%]{background:var(--bulma-box-background-color, #14161a);border-top-color:#ffffff0f}[data-theme=dark][_nghost-%COMP%] .cg-seo-title[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-seo-title[_ngcontent-%COMP%]{color:#e2e8f0}[data-theme=dark][_nghost-%COMP%] .cg-seo-intro[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-seo-intro[_ngcontent-%COMP%]{color:#94a3b8}[data-theme=dark][_nghost-%COMP%] .cg-features[_ngcontent-%COMP%] .cg-feature-card[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-features[_ngcontent-%COMP%] .cg-feature-card[_ngcontent-%COMP%]{background:#1a1a1a!important;border-color:#2d2d2d!important}[data-theme=dark][_nghost-%COMP%] .cg-features[_ngcontent-%COMP%] .cg-feature-card[_ngcontent-%COMP%]:hover, [data-theme=dark] [_nghost-%COMP%] .cg-features[_ngcontent-%COMP%] .cg-feature-card[_ngcontent-%COMP%]:hover{box-shadow:0 6px 24px #00000059}[data-theme=dark][_nghost-%COMP%] .cg-feature-title[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-feature-title[_ngcontent-%COMP%]{color:#e2e8f0}[data-theme=dark][_nghost-%COMP%] .cg-feature-text[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-feature-text[_ngcontent-%COMP%]{color:#94a3b8}[data-theme=dark][_nghost-%COMP%] .cg-related-title[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-related-title[_ngcontent-%COMP%]{color:#64748b}[data-theme=dark][_nghost-%COMP%] .cg-related-link[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-related-link[_ngcontent-%COMP%]{border-color:#818cf84d;color:#818cf8}[data-theme=dark][_nghost-%COMP%] .cg-related-link[_ngcontent-%COMP%]:hover, [data-theme=dark] [_nghost-%COMP%] .cg-related-link[_ngcontent-%COMP%]:hover{background:#818cf8;color:#fff}[data-theme=dark][_nghost-%COMP%] .cg-faq-item[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-faq-item[_ngcontent-%COMP%]{background:#1a1a1a!important;border-color:#2d2d2d!important}[data-theme=dark][_nghost-%COMP%] .cg-faq-item.cg-faq-item--open[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-faq-item.cg-faq-item--open[_ngcontent-%COMP%]{border-color:#3b82f6!important;box-shadow:0 4px 16px #0000004d}.cg-seo-section[_ngcontent-%COMP%]{background:var(--background, #f8fafc);border-top:1px solid var(--border, rgba(0, 0, 0, .07));padding-top:3rem;padding-bottom:3rem}.cg-seo-title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.75rem!important}.cg-seo-intro[_ngcontent-%COMP%]{color:var(--text-muted, #6b7280);max-width:680px;line-height:1.7;margin-bottom:0}.cg-features[_ngcontent-%COMP%] .cg-feature-card[_ngcontent-%COMP%]{background:var(--card-bg, #ffffff);border:1px solid var(--border, rgba(0, 0, 0, .08));border-radius:14px;padding:1.5rem;height:100%;
1transition:box-shadow .2s}.cg-features[_ngcontent-%COMP%] .cg-feature-card[_ngcontent-%COMP%]:hover{box-shadow:0 6px 24px #00000014}.cg-features[_ngcontent-%COMP%] .cg-feature-icon[_ngcontent-%COMP%]{font-size:2rem;color:#3b82f6;display:block;margin-bottom:.75rem}.cg-features[_ngcontent-%COMP%] .cg-feature-title[_ngcontent-%COMP%]{font-weight:600;font-size:1rem;margin-bottom:.5rem;color:var(--text, #1f2937)}.cg-features[_ngcontent-%COMP%] .cg-feature-text[_ngcontent-%COMP%]{font-size:.9rem;color:var(--text-muted, #6b7280);line-height:1.6;margin:0}.cg-related[_ngcontent-%COMP%] .cg-related-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;color:var(--text-muted, #6b7280);text-transform:uppercase;letter-spacing:.04em;margin-bottom:1rem}.cg-related[_ngcontent-%COMP%] .cg-related-links[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.75rem}.cg-related[_ngcontent-%COMP%] .cg-related-link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;border:1px solid rgba(59,130,246,.3);border-radius:999px;font-size:.88rem;color:#3b82f6;font-weight:500;text-decoration:none;transition:background .15s,color .15s}.cg-related[_ngcontent-%COMP%] .cg-related-link[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:1rem}.cg-related[_ngcontent-%COMP%] .cg-related-link[_ngcontent-%COMP%]:hover{background:#3b82f6;color:#fff}.citation-header[_ngcontent-%COMP%]{text-align:center;margin-bottom:2.5rem}.citation-header[_ngcontent-%COMP%] .citation-icon[_ngcontent-%COMP%]{width:64px;height:64px;border-radius:50%;background:#2563eb1f;color:#3b82f6;display:inline-flex;align-items:center;justify-content:center;margin-bottom:1rem}.citation-header[_ngcontent-%COMP%] .citation-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.75rem}.citation-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:.5rem;color:#4f46e5}.citation-header[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{color:#6b7280;font-size:1.05rem;max-width:520px;margin:0 auto}.controls-bar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem;flex-wrap:wrap}.controls-bar[_ngcontent-%COMP%] .style-box[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.4rem .9rem;box-shadow:0 1px 3px #0000000a}.controls-bar[_ngcontent-%COMP%] .style-box[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin:0;font-size:.9rem;font-weight:600;color:#374151}.controls-bar[_ngcontent-%COMP%] .style-box[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{border:none;background:transparent;font-weight:500;color:#4f46e5;cursor:pointer;outline:none;padding-right:1.2rem}.search-wrapper[_ngcontent-%COMP%]{display:flex;gap:.75rem;margin-bottom:.75rem}.search-wrapper[_ngcontent-%COMP%] .search-input-wrap[_ngcontent-%COMP%]{flex:1 1 auto;position:relative}.search-wrapper[_ngcontent-%COMP%] .search-input-wrap[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{width:100%;border-radius:8px;border:1.5px solid #e5e7eb;padding:.85rem 1rem .85rem 2.8rem;font-size:1rem;transition:border-color .2s,box-shadow .2s;background:#fff}.search-wrapper[_ngcontent-%COMP%] .search-input-wrap[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #2563eb1f;outline:none}.search-wrapper[_ngcontent-%COMP%] .search-input-wrap[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#9ca3af;font-size:1rem}.search-wrapper[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{border-radius:8px;padding:0 1.5rem;font-weight:600}.manual-toggle[_ngcontent-%COMP%]{margin-bottom:1.25rem}.manual-toggle[_ngcontent-%COMP%] .button.manual-cite-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .85rem;font-size:.9rem;font-weight:600;color:#3b82f6;background:transparent;border:1.5px dotted #3b82f6;border-radius:8px;transition:all .18s ease;cursor:pointer}.manual-toggle[_ngcontent-%COMP%] .button.manual-cite-btn[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{margin-right:.2rem}.manual-toggle[_ngcontent-%COMP%] .button.manual-cite-btn[_ngcontent-%COMP%]:hover{background:#3b82f614}.manual-toggle[_ngcontent-%COMP%] .button.manual-cite-btn[_ngcontent-%COMP%]:active{background:#3b82f624}.manual-form[_ngcontent-%COMP%]{margin-bottom:1.5rem;border-radius:8px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 4px 14px #0000000a;padding:1.5rem;overflow:hidden}.manual-form[_ngcontent-%COMP%] .manual-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.6rem;margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:1px solid #f3f4f6}.manual-form[_ngcontent-%COMP%] .manual-header[_ngcontent-%COMP%] .manual-icon[_ngcontent-%COMP%]{width:36px;height:36px;border-radius:8px;background:#2563eb1a;color:#3b82f6;display:inline-flex;align-items:center;justify-content:center}.manual-form[_ngcontent-%COMP%] .manual-header[_ngcontent-%COMP%] .manual-icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem}.manual-form[_ngcontent-%COMP%] .manual-header[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{font-weight:700;color:#1f2937;margin:0;font-size:1.05rem}.manual-form[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.85rem;font-weight:600;color:#4b5563;margin-bottom:.35rem}.manual-form[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{border-radius:8px;border:1.5px solid #e5e7eb;transition:border-color .2s}.manual-form[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #2563eb1a}.manual-form[_ngcontent-%COMP%] .button.is-link[_ngcontent-%COMP%]{border-radius:8px;margin-top:.5rem}.results-list[_ngcontent-%COMP%]{margin-bottom:1.5rem}.results-list[_ngcontent-%COMP%] .results-hint[_ngcontent-%COMP%]{font-size:.8rem;color:#9ca3af;margin-bottom:.6rem;padding-left:.25rem}.results-list[_ngcontent-%COMP%] .result-card[_ngcontent-%COMP%]{padding:1rem 1.25rem;border:1.5px solid #e5e7eb;border-radius:8px;margin-bottom:.6rem;cursor:pointer;transition:all .18s ease;background:#fff;position:relative}.results-list[_ngcontent-%COMP%] .result-card[_ngcontent-%COMP%]:hover{border-color:#3b82f6;box-shadow:0 4px 12px #2563eb1a;transform:translateY(-1px)}.results-list[_ngcontent-%COMP%] .result-card.is-active[_ngcontent-%COMP%]{border-color:#3b82f6;background:#2563eb08;box-shadow:0 0 0 3px #2563eb1a}.results-list[_ngcontent-%COMP%] .result-card[_ngcontent-%COMP%] .result-title[_ngcontent-%COMP%]{font-weight:600;font-size:1rem;color:#1f2937;margin-bottom:.35rem;line-height:1.35}.results-list[_ngcontent-%COMP%] .result-card[_ngcontent-%COMP%] .result-meta[_ngcontent-%COMP%]{font-size:.85rem;color:#6b7280;display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.results-list[_ngcontent-%COMP%] .result-card[_ngcontent-%COMP%] .result-meta[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]{color:#d1d5db;font-size:.6rem;margin:0 .2rem}.no-results[_ngcontent-%COMP%]{text-align:center;padding:2rem;color:#9ca3af;font-size:.95rem}.citation-panel[_ngcontent-%COMP%]{border-radius:8px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 8px 24px #0000000f;padding:1.5rem;margin-bottom:2rem;animation:_ngcontent-%COMP%_fadeIn .3s ease}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.citation-panel[_ngcontent-%COMP%] .tabs.is-boxed[_ngcontent-%COMP%]{margin-bottom:1.25rem}.citation-panel[_ngcontent-%COMP%] .tabs.is-boxed[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{border-bottom:2px solid #f3f4f6;gap:.25rem}.citation-panel[_ngcontent-%COMP%] .tabs.is-boxed[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border-radius:8px;border:none;color:#6b7280;font-weight:500;padding:.6rem 1.1rem;transition:all .15s}.citation-panel[_ngcontent-%COMP%] .tabs.is-boxed[_ngcontent-%COMP%] li.is-active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{box-shadow:0 4px 10px #667eea4d}.citation-panel[_ngcontent-%COMP%] .tabs.is-boxed[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.is-active) a[_ngcontent-%COMP%]:hover{background:#f9fafb;color:#374151}.citation-panel[_ngcontent-%COMP%] .citation-block[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{background:#f8f9fa;border:1.5px solid #e5e7eb;border-radius:8px;padding:1.25rem;font-family:Georgia,Times New Roman,serif;font-size:1.05rem;line-height:1.5;color:#1f2937;white-space:pre-wrap;word-wrap:break-word;margin-bottom:1rem}.citation-panel[_ngcontent-%COMP%] .citation-block[_ngcontent-%COMP%] .copy-btn[_ngcontent-%COMP%]{border-radius:8px;border:1.5px solid #e5e7eb;background:#fff;color:#4b5563;font-weight:500;transition:all .15s}.citation-panel[_ngcontent-%COMP%] .citation-block[_ngcontent-%COMP%] .copy-btn[_ngcontent-%COMP%]:hover{border-color:#3b82f6;color:#3b82f6;background:#2563eb0a}.citation-panel[_ngcontent-%COMP%] .in-text-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin-bottom:1rem}.citation-panel[_ngcontent-%COMP%] .in-text-grid[_ngcontent-%COMP%] .in-text-card[_ngcontent-%COMP%]{background:#f8f9fa;border:1.5px solid #e5e7eb;border-radius:8px;padding:1rem 1.25rem;display:flex;align-items:center;gap:.75rem;transition:border-color .15s}.citation-panel[_ngcontent-%COMP%] .in-text-grid[_ngcontent-%COMP%] .in-text-card[_ngcontent-%COMP%]:hover{border-color:#d1d5db}.citation-panel[_ngcontent-%COMP%] .in-text-grid[_ngcontent-%COMP%] .in-text-card[_ngcontent-%COMP%] .in-text-label[_ngcontent-%COMP%]{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#9ca3af;min-width:100px}.citation-panel[_ngcontent-%COMP%] .in-text-grid[_ngcontent-%COMP%] .in-text-card[_ngcontent-%COMP%] .in-text-value[_ngcontent-%COMP%]{flex:1 1 auto;font-family:Georgia,serif;font-size:1rem;color:#1f2937}.citation-panel[_ngcontent-%COMP%] .in-text-grid[_ngcontent-%COMP%] .in-text-card[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{flex-shrink:0;color:#6b7280;border-radius:6px}.citation-panel[_ngcontent-%COMP%] .in-text-grid[_ngcontent-%COMP%] .in-text-card[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#3b82f6;background:#2563eb0f}.citation-panel[_ngcontent-%COMP%] .save-row[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.citation-panel[_ngcontent-%COMP%] .save-row[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{border-radius:8px;font-weight:600;border:1.5px solid #3b82f6;color:#3b82f6;background:#2563eb0a;transition:all .15s}.citation-panel[_ngcontent-%COMP%] .save-row[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover:not(:disabled){border-color:transparent;box-shadow:0 4px 12px #667eea4d}.citation-panel[_ngcontent-%COMP%] .save-row[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.cg-quota-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.35rem;font-size:.82rem;font-weight:600;color:#6b7280;background:#6b728014;border:1px solid rgba(107,114,128,.18);border-radius:8px;padding:.3rem .7rem}.cg-quota-badge.cg-quota-badge--danger[_ngcontent-%COMP%]{color:#dc2626;background:#dc262612;border-color:#dc262638}.cg-quota-badge[_ngcontent-%COMP%] .cg-quota-icon[_ngcontent-%COMP%]{font-size:1rem}
1.cg-quota-badge[_ngcontent-%COMP%] .cg-quota-upgrade-link[_ngcontent-%COMP%]{color:#3b82f6;font-weight:700;text-decoration:underline;margin-left:.25rem}[data-theme=dark][_nghost-%COMP%] .cg-quota-badge[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-quota-badge[_ngcontent-%COMP%]{color:#9ca3af;background:#9ca3af1a;border-color:#9ca3af33}[data-theme=dark][_nghost-%COMP%] .cg-quota-badge.cg-quota-badge--danger[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .cg-quota-badge.cg-quota-badge--danger[_ngcontent-%COMP%]{color:#f87171;background:#f8717114;border-color:#f8717140}.history-section[_ngcontent-%COMP%]{margin-top:2.5rem}.history-section[_ngcontent-%COMP%] .history-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.25rem;color:#1f2937;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.history-section[_ngcontent-%COMP%] .history-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#3b82f6}.history-section[_ngcontent-%COMP%] .history-title[_ngcontent-%COMP%] .history-count[_ngcontent-%COMP%]{font-size:.85rem;font-weight:600;color:#9ca3af;background:#f3f4f6;padding:.15rem .5rem;border-radius:999px;margin-left:.25rem}.history-section[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%]{margin-top:1rem;display:flex;align-items:center;justify-content:center;gap:.75rem}.history-section[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{border-radius:8px;border:1px solid #e5e7eb;background:#fff;color:#4b5563}.history-section[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover:not(:disabled){border-color:#3b82f6;color:#3b82f6}.history-section[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:disabled{opacity:.4;cursor:not-allowed}.history-section[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .pagination-info[_ngcontent-%COMP%]{font-size:.85rem;font-weight:600;color:#6b7280;min-width:50px;text-align:center}.history-section[_ngcontent-%COMP%] .history-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem}.history-section[_ngcontent-%COMP%] .history-card[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:1rem;padding:1.1rem 1.25rem;border:1.5px solid #e5e7eb;border-radius:8px;background:#fff;transition:box-shadow .15s}.history-section[_ngcontent-%COMP%] .history-card[_ngcontent-%COMP%]:hover{box-shadow:0 4px 12px #0000000d}.history-section[_ngcontent-%COMP%] .history-card[_ngcontent-%COMP%] .history-main[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.history-section[_ngcontent-%COMP%] .history-card[_ngcontent-%COMP%] .history-main[_ngcontent-%COMP%] .history-text[_ngcontent-%COMP%]{font-size:.95rem;color:#1f2937;margin-bottom:.5rem;line-height:1.45;word-wrap:break-word}.history-section[_ngcontent-%COMP%] .history-card[_ngcontent-%COMP%] .history-main[_ngcontent-%COMP%] .history-meta[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.6rem}.history-section[_ngcontent-%COMP%] .history-card[_ngcontent-%COMP%] .history-main[_ngcontent-%COMP%] .history-meta[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;background:#2563eb14;color:#3b82f6;border-radius:6px;padding:.2rem .5rem}.history-section[_ngcontent-%COMP%] .history-card[_ngcontent-%COMP%] .history-actions[_ngcontent-%COMP%]{display:flex;gap:.25rem;flex-shrink:0}.history-section[_ngcontent-%COMP%] .history-card[_ngcontent-%COMP%] .history-actions[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{border-radius:8px;color:#9ca3af}.history-section[_ngcontent-%COMP%] .history-card[_ngcontent-%COMP%] .history-actions[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover{color:#6b7280;background:#f3f4f6}.history-section[_ngcontent-%COMP%] .history-card[_ngcontent-%COMP%] .history-actions[_ngcontent-%COMP%] .button.has-text-danger[_ngcontent-%COMP%]:hover{color:#ef4444;background:#ef44440f}.notification[_ngcontent-%COMP%]{border-radius:8px;font-size:.95rem}[data-theme=dark][_nghost-%COMP%] .citation-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .citation-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#60a5fa}[data-theme=dark][_nghost-%COMP%] .citation-header[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .citation-header[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{color:#a0a0a0}[data-theme=dark][_nghost-%COMP%] .style-box[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .style-box[_ngcontent-%COMP%], [data-theme=dark][_nghost-%COMP%] .manual-form[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .manual-form[_ngcontent-%COMP%], [data-theme=dark][_nghost-%COMP%] .result-card[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .result-card[_ngcontent-%COMP%], [data-theme=dark][_nghost-%COMP%] .citation-panel[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .citation-panel[_ngcontent-%COMP%], [data-theme=dark][_nghost-%COMP%] .history-card[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .history-card[_ngcontent-%COMP%]{background:#1a1a1a;border-color:#2d2d2d}[data-theme=dark][_nghost-%COMP%] .style-box[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .style-box[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{color:#d1d5db}[data-theme=dark][_nghost-%COMP%] .search-input-wrap[_ngcontent-%COMP%] .input[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .search-input-wrap[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{background:#1a1a1a;border-color:#2d2d2d;color:#f3f4f6}[data-theme=dark][_nghost-%COMP%] .search-input-wrap[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]::placeholder, [data-theme=dark] [_nghost-%COMP%] .search-input-wrap[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]::placeholder{color:#6b7280}[data-theme=dark][_nghost-%COMP%] .search-input-wrap[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]:focus, [data-theme=dark] [_nghost-%COMP%] .search-input-wrap[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #a78bfa26}[data-theme=dark][_nghost-%COMP%] .result-card[_ngcontent-%COMP%]:hover, [data-theme=dark] [_nghost-%COMP%] .result-card[_ngcontent-%COMP%]:hover{border-color:#60a5fa;box-shadow:0 4px 12px #2563eb26}[data-theme=dark][_nghost-%COMP%] .result-card.is-active[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .result-card.is-active[_ngcontent-%COMP%]{border-color:#60a5fa;background:#2563eb0f}[data-theme=dark][_nghost-%COMP%] .result-title[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .result-title[_ngcontent-%COMP%]{color:#f3f4f6!important}[data-theme=dark][_nghost-%COMP%] .citation-block[_ngcontent-%COMP%] pre[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .citation-block[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{background:#14161a;border-color:#2d2d2d;color:#e5e7eb}[data-theme=dark][_nghost-%COMP%] .in-text-card[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .in-text-card[_ngcontent-%COMP%]{background:#14161a!important;border-color:#2d2d2d!important}[data-theme=dark][_nghost-%COMP%] .in-text-card[_ngcontent-%COMP%] .in-text-value[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .in-text-card[_ngcontent-%COMP%] .in-text-value[_ngcontent-%COMP%]{color:#e5e7eb}[data-theme=dark][_nghost-%COMP%] .tabs.is-boxed[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .tabs.is-boxed[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{border-bottom-color:#2d2d2d}[data-theme=dark][_nghost-%COMP%] .tabs.is-boxed[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.is-active) a[_ngcontent-%COMP%]:hover, [data-theme=dark] [_nghost-%COMP%] .tabs.is-boxed[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.is-active) a[_ngcontent-%COMP%]:hover{background:#2d2d2d;color:#d1d5db}[data-theme=dark][_nghost-%COMP%] .copy-btn[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .copy-btn[_ngcontent-%COMP%]{background:#1a1a1a!important;border-color:#2d2d2d!important;color:#d1d5db!important}[data-theme=dark][_nghost-%COMP%] .copy-btn[_ngcontent-%COMP%]:hover, [data-theme=dark] [_nghost-%COMP%] .copy-btn[_ngcontent-%COMP%]:hover{border-color:#60a5fa!important;color:#60a5fa!important}[data-theme=dark][_nghost-%COMP%] .manual-form[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .manual-form[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{color:#d1d5db}[data-theme=dark][_nghost-%COMP%] .manual-form[_ngcontent-%COMP%] .input[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .manual-form[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{background:#14161a;border-color:#2d2d2d;color:#f3f4f6}[data-theme=dark][_nghost-%COMP%] .manual-header[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .manual-header[_ngcontent-%COMP%]{border-bottom-color:#2d2d2d}[data-theme=dark][_nghost-%COMP%] .manual-header[_ngcontent-%COMP%] .manual-icon[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .manual-header[_ngcontent-%COMP%] .manual-icon[_ngcontent-%COMP%]{background:#2563eb2e;color:#60a5fa}[data-theme=dark][_nghost-%COMP%] .manual-header[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .manual-header[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{color:#f3f4f6}[data-theme=dark][_nghost-%COMP%] .history-count[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .history-count[_ngcontent-%COMP%]{background:#2d2d2d;color:#9ca3af}[data-theme=dark][_nghost-%COMP%] .pagination[_ngcontent-%COMP%] .button[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .pagination[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{background:#1a1a1a;border-color:#2d2d2d;color:#d1d5db}[data-theme=dark][_nghost-%COMP%] .pagination[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover:not(:disabled), [data-theme=dark] [_nghost-%COMP%] .pagination[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]:hover:not(:disabled){border-color:#60a5fa;color:#60a5fa}[data-theme=dark][_nghost-%COMP%] .manual-toggle[_ngcontent-%COMP%] .button.is-text[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .manual-toggle[_ngcontent-%COMP%] .button.is-text[_ngcontent-%COMP%]{color:#60a5fa}[data-theme=dark][_nghost-%COMP%] .manual-toggle[_ngcontent-%COMP%] .button.is-text[_ngcontent-%COMP%]:hover, [data-theme=dark] [_nghost-%COMP%] .manual-toggle[_ngcontent-%COMP%] .button.is-text[_ngcontent-%COMP%]:hover{color:#c4b5fd;background:#2563eb1f}[data-theme=dark][_nghost-%COMP%] .history-title[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .history-title[_ngcontent-%COMP%]{color:#f3f4f6}[data-theme=dark][_nghost-%COMP%] .history-text[_ngcontent-%COMP%], [data-theme=dark] [_nghost-%COMP%] .history-text[_ngcontent-%COMP%]{color:#e5e7eb!important}@media(max-width:768px){.citation-section[_ngcontent-%COMP%]{padding-top:1.5rem}
1.controls-bar[_ngcontent-%COMP%]{justify-content:center}.search-wrapper[_ngcontent-%COMP%]{flex-direction:column}.search-wrapper[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{width:100%;justify-content:center}.in-text-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.history-card[_ngcontent-%COMP%]{flex-direction:column}.history-card[_ngcontent-%COMP%] .history-actions[_ngcontent-%COMP%]{width:100%;justify-content:flex-end}}"],changeDetection:1})}return r})()});ge();export{Le as CitationGeneratorComponent};
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.