1"use strict";(self.webpackChunkadqlo=self.webpackChunkadqlo||[]).push([[392],{78742:(U,T,c)=>{c.d(T,{S:()=>Z});var n=c(17705),l=c(49969),t=c(89417),v=c(5986),E=c(24893),x=c(67376),w=c(74710),d=c(60177),C=c(37403),g=c(11784);const p=["chatBody"],f=["formContainer"];function k(i,m){1&i&&(n.qex(0),n.j41(1,"div",26),n.EFF(2," Loading conversation history... "),n.k0s(),n.bVm())}function L(i,m){if(1&i&&(n.j41(0,"div",31),n.EFF(1),n.k0s()),2&i){const e=n.XpG().$implicit;n.R7$(1),n.SpI(" ",e.date_label," ")}}function z(i,m){1&i&&n.nrm(0,"div",40)}function N(i,m){1&i&&(n.j41(0,"div",41),n.nrm(1,"div",42),n.k0s())}function K(i,m){1&i&&(n.qex(0),n.j41(1,"div",44)(2,"div",45),n.nrm(3,"span")(4,"span")(5,"span"),n.k0s()(),n.bVm())}function X(i,m){if(1&i&&(n.qex(0),n.nrm(1,"markdown",46),n.bVm()),2&i){const e=n.XpG(2).$implicit;n.R7$(1),n.Y8G("data",e.content)("disableSanitizer",!1)("decodeHtml",!0)}}const I=function(i){return[i]};function V(i,m){if(1&i&&(n.j41(0,"div",43),n.DNE(1,K,6,0,"ng-container",4),n.DNE(2,X,2,3,"ng-container",4),n.k0s()),2&i){const e=n.XpG().$implicit;n.Y8G("ngClass",n.eq3(3,I,e.animation||"")),n.R7$(1),n.Y8G("ngIf",!e.content),n.R7$(1),n.Y8G("ngIf",e.content)}}function W(i,m){if(1&i&&(n.j41(0,"div",47)(1,"p",48),n.EFF(2),n.k0s()()),2&i){const e=n.XpG().$implicit;n.Y8G("ngClass",n.eq3(2,I,e.animation||"")),n.R7$(2),n.JRh(e.content)}}function a(i,m){if(1&i){const e=n.RV6();n.qex(0),n.j41(1,"div",49)(2,"button",50),n.bIt("click",function(){n.eBV(e);const s=n.XpG(4);return n.Njj(s.retryGetResponse())}),n.nrm(3,"i",51),n.k0s()(),n.bVm()}}function h(i,m){if(1&i&&(n.j41(0,"div",32)(1,"div",33),n.DNE(2,z,1,0,"div",34),n.DNE(3,N,2,0,"div",35),n.k0s(),n.j41(4,"div",36)(5,"div",37),n.DNE(6,V,3,5,"div",38),n.DNE(7,W,3,4,"div",39),n.k0s(),n.DNE(8,a,4,0,"ng-container",4),n.k0s()()),2&i){const e=m.$implicit,r=m.index,s=n.XpG(),_=s.index,b=s.$implicit,y=n.XpG(2);n.Y8G("ngClass",n.eq3(7,I,"user"===e.role?"user-message":"ai-message")),n.R7$(1),n.Y8G("ngClass",n.eq3(9,I,"user"===e.role?"user-avatar":"ai-avatar")),n.R7$(1),n.Y8G("ngIf","user"===e.role),n.R7$(1),n.Y8G("ngIf","ai"===e.role),n.R7$(3),n.Y8G("ngIf","ai"===e.role),n.R7$(1),n.Y8G("ngIf","user"===e.role),n.R7$(1),n.Y8G("ngIf","ai"===e.role&&_===y.grouped_messages.length-1&&r===b.messages.length-1&&"failed"==e.status&&!y.is_loading.response)}}function o(i,m){if(1&i&&(n.j41(0,"div",28),n.DNE(1,L,2,1,"div",29),n.DNE(2,h,9,11,"div",30),n.k0s()),2&i){const e=m.$implicit,r=n.XpG(2);n.R7$(1),n.Y8G("ngIf",r.has_history),n.R7$(1),n.Y8G("ngForOf",e.messages)}}function M(i,m){if(1&i&&(n.qex(0),n.DNE(1,o,3,2,"div",27),n.bVm()),2&i){const e=n.XpG();n.R7$(1),n.Y8G("ngForOf",e.grouped_messages)}}function O(i,m){1&i&&n.nrm(0,"img",52)}function J(i,m){1&i&&n.nrm(0,"i",53)}let Z=(()=>{class i{constructor(e,r,s,_){this.chatService=e,this.activatedRoute=r,this.dateRange=s,this.router=_,this.scrollHeightChange=new n.bkB,this.subscriptions=[],this.should_scroll_to_bottom=!1,this.last_scroll_height=0,this.isScrollable=!1,this.is_chat_open$=this.chatService.is_chat_open$,this.messages=[],this.grouped_messages=[],this.message_control=new t.MJ(""),this.show_jump_to_latest=!1,this.has_changed_scroll_height=!1,this.query_params={},this.show_error_banner=!1,this.is_loading={history:!1,response:!1},this.has_history=!1,this.generate_new_context=!1,this.dateRange.enabled(!0)}ngOnInit(){this.activatedRoute.queryParams.subscribe(r=>{this.query_params=r,!x.isNil(r)&&!x.isEmpty(r)&&(this.generate_new_context=!0)}),this.chatService.refreshChat(),this.generate_new_context=!this.chatService.isExpandedFromNavigation(),this.subscriptions.push(this.chatService.messages$.subscribe(r=>{this.messages=r,this.grouped_messages=this.groupMessages(r),this.should_scroll_to_bottom=!0})),this.subscriptions.push(this.chatService.loading$.subscribe(r=>{this.is_loading=r})),this.subscriptions.push(this.chatService.is_chat_open$.subscribe(r=>{r&&setTimeout(()=>{this.should_scroll_to_bottom=!0},0)})),this.subscriptions.push(this.chatService.api_error$.subscribe(r=>{this.show_error_banner=r}))}ngAfterViewInit(){this.setupScrollableDetection()}ngAfterViewChecked(){this.should_scroll_to_bottom&&(this.scrollToBottom(),this.should_scroll_to_bottom=!1)}ngOnDestroy(){x.map(this.subscriptions,e=>{e.unsubscribe()}),this.observer&&this.observer.disconnect(),this.scrollable_observer&&this.scrollable_observer.disconnect()}sendMessage(){if(this.is_loading.response)return;let e=this.message_control.value;e&&(this.chatService.sendUserMessage(e,this.generate_new_context),this.generate_new_context=!1,this.message_control.reset())}groupMessages(e){if(!e||0===e.length)return[];let r=new Date,s=new Date(r);s.setDate(s.getDate()-1);let _=new Date(r.getFullYear(),r.getMonth(),r.getDate()),b=new Date(s.getFullYear(),s.getMonth(),s.getDate()),y=new Map;e.forEach(R=>{let A,D=new Date(1e3*R.timestamp),G=new Date(D.getFullYear(),D.getMonth(),D.getDate());A=G.getTime()===_.getTime()?"Today":G.getTime()===b.getTime()?"Yesterday":D.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}),y.has(A)||y.set(A,[]),y.get(A).push(R)});let u=[];
1return y.forEach((R,D)=>{let G=new Date(1e3*R[0].timestamp);if(new Date(G.getFullYear(),G.getMonth(),G.getDate()),"Today"==D){const S=R.sort((B,$)=>B.timestamp-$.timestamp);if(S.length>0){const $=new Date(1e3*S[0].timestamp),F=new Map;S.forEach(j=>{const Y=Math.floor((1e3*j.timestamp-$.getTime())/18e5);F.has(Y)||F.set(Y,[]),F.get(Y).push(j)}),F.forEach((j,q)=>{const Q=new Date($.getTime()+18e5*q).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0});u.push({date_label:`Today, ${Q}`,messages:j})})}}else{const H=R.sort((F,j)=>F.timestamp-j.timestamp),S=new Date(1e3*H[0].timestamp),$=new Date(S.getTime()).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0});u.push({date_label:`${D}, ${$}`,messages:H})}}),u.length>0&&(this.has_history=!0),u}onBodyScroll(e){const r=e.target,s=this.chatBody.nativeElement.scrollHeight,_=r.scrollTop,b=r.clientHeight;this.show_jump_to_latest=!(_+b>=s-5)&&s-(_+b)>700,this.chatBody&&(this.observer=new ResizeObserver(()=>{const u=this.chatBody.nativeElement.scrollHeight;u!==this.last_scroll_height&&u<this.last_scroll_height&&(this.last_scroll_height=u,this.has_changed_scroll_height=!0)}),this.observer.observe(this.chatBody.nativeElement))}formatTime(e){if(!e)return"";const r=new Date(1e3*e),s=r.getHours(),b=s>=12?"PM":"AM";return`${s%12||12}:${r.getMinutes().toString().padStart(2,"0")} ${b}`}onKeyDown(e){"Enter"===e.key&&!e.shiftKey&&(e.preventDefault(),this.sendMessage())}scrollToBottom(){try{this.chatBody&&(this.chatBody.nativeElement.scrollTop=this.chatBody.nativeElement.scrollHeight)}catch(e){console.error("Error scrolling to bottom:",e)}}setupScrollableDetection(){this.chatBody&&(this.checkScrollable(),this.scrollable_observer=new ResizeObserver(()=>{this.checkScrollable()}),this.scrollable_observer.observe(this.chatBody.nativeElement))}checkScrollable(){if(!this.chatBody)return;let e=this.chatBody.nativeElement,r=this.formContainer.nativeElement,s=this.isScrollable;this.isScrollable=e.scrollHeight>e.clientHeight,s!==this.isScrollable&&(this.isScrollable?(e.classList.add("is-scrollable"),r.classList.add("is-scrollable")):(e.classList.remove("is-scrollable"),r.classList.remove("is-scrollable")))}retryGetResponse(){this.chatService.retryGetResponse()}refreshChat(){this.chatService.refreshChat()}closeErrorBanner(){this.show_error_banner=!1}static{this.\u0275fac=function(r){return new(r||i)(n.rXU(v.m),n.rXU(w.nX),n.rXU(E.a),n.rXU(w.Ix))}}static{this.\u0275cmp=n.VBU({type:i,selectors:[["ai-chat"]],viewQuery:function(r,s){if(1&r&&(n.GBs(p,5),n.GBs(f,5)),2&r){let _;n.mGM(_=n.lsd())&&(s.chatBody=_.first),n.mGM(_=n.lsd())&&(s.formContainer=_.first)}},outputs:{scrollHeightChange:"scrollHeightChange"},decls:34,vars:8,consts:[[1,"container"],[1,"chat-body",3,"scroll"],["chatBody",""],[1,"inner-body"],[4,"ngIf"],[1,"chat-footer"],[1,"form-container"],["formContainer",""],[3,"ngSubmit"],[1,"textarea-container"],["cdkTextareaAutosize","","cdkAutosizeMinRows","1","cdkAutosizeMaxRows","5","placeholder","Ask me anything...",1,"text-color-1",3,"formControl","keydown"],["type","submit",3,"disabled"],["src","assets/images/icons/send.svg","alt","send-icon","class","send-icon",4,"ngIf"],["class","fas fa-square loading-icon","aria-hidden","true",4,"ngIf"],[1,"text-color-1","text-center","pb-2"],[1,"p-0","m-0"],[1,"jump-to-latest-message"],[3,"click"],[1,"fas","fa-angle-down"],[1,"error-banner"],["errorBanner",""],[1,"m-0"],[1,"refresh-btn",3,"click"],[1,"close-btn"],[1,"btn",3,"click"],[1,"fas","fa-times","text-color-1","text-size-1"],[1,"text-color-1","text-center","text-size-1","mt-5","h-100","d-flex","justify-content-center","align-items-center"],["class","date-group",4,"ngFor","ngForOf"],[1,"date-group"],["class","date-separator",4,"ngIf"],["class","message-wrapper",3,"ngClass",4,"ngFor","ngForOf"],[1,"date-separator"],[1,"message-wrapper",3,"ngClass"],[1,"message-avatar",3,"ngClass"],["class","icon user-icon",4,"ngIf"],["class","gradient-border",4,"ngIf"],[1,"message-container"],[1,"content"],["class","content-text d-flex",3,"ngClass",4,"ngIf"],["class","content-text",3,"ngClass",4,"ngIf"],[1,"icon","user-icon"],[1,"gradient-border"],[1,"icon","ai-icon"],[1,"content-text","d-flex",3,"ngClass"],[1,"loading-indicator","animate__animated","animate__faster","animate__fadeInDown"],[1,"typing-dots"],[3,"data","disableSanitizer","decodeHtml"],[1,"content-text",3,"ngClass"],[1,"m-0","p-0"],[1,"retry-container"],[1,"btn-retry",3,"click"],[1,"fas","fa-redo-alt"],["src","assets/images/icons/send.svg","alt","send-icon",1,"send-icon"],["aria-hidden","true",1,"fas","fa-square","loading-icon"]],template:function(r,s){1&r&&(n.j41(0,"div",0)(1,"div",1,2),n.bIt("scroll",function(b){return s.onBodyScroll(b)}),n.j41(3,"div",3),n.DNE(4,k,3,0,"ng-container",4),n.DNE(5,M,2,1,"ng-container",4),n.k0s()(),n.j41(6,"div",5)(7,"div",6,7)(9,"form",8),n.bIt("ngSubmit",function(){return s.sendMessage()}),n.j41(10,"div",9)(11,"textarea",10),n.bIt("keydown",function(b){return s.onKeyDown(b)}),n.k0s()(),n.j41(12,"button",11),n.DNE(13,O,1,0,"img",12),n.DNE(14,J,1,0,"i",13),n.k0s()()(),n.j41(15,"div",14)(16,"p",15),n.EFF(17,"Adqlo A.I can make mistakes. Please check the information before using it."),n.k0s()()(),n.j41(18,"div",16)(19,"button",17),n.bIt("click",function(){return s.scrollToBottom()}),n.nrm(20,"i",18),n.EFF(21," Jump to latest message "),n.k0s()(),n.j41(22,"div",19,20)(24,"p",21),n.EFF(25," Error while getting response. "),n.nrm(26,"br"),n.j41(27,"span"),n.EFF(28," Please "),n.j41(29,"span",22),n.bIt("click",function(){return s.refreshChat()}),n.EFF(30,"try again"),n.k0s()()(),n.j41(31,"div",23)(32,"button",24),n.bIt("click",function(){return s.closeErrorBanner()}),n.nrm(33,"i",25),n.k0s()()()()),2&r&&(n.R7$(4),n.Y8G("ngIf",s.is_loading.history),n.R7$(1),n.Y8G("ngIf",!s.is_loading.history),n.R7$(6),n.Y8G("formControl",s.message_control),n.R7$(1),n.Y8G("disabled",s.is_loading.response),n.R7$(1),n.Y8G("ngIf",!s.is_loading.response),n.R7$(1),n.Y8G("ngIf",s.is_loading.response),n.R7$(4),n.Y8G("@fadeInOut",s.show_jump_to_latest?"visible":"hidden"),n.R7$(4),n.Y8G("@fadeInError",s.show_error_banner?"visible":"hidden"))},dependencies:[d.YU,d.Sq,d.bT,t.qT,t.me,t.BC,t.cb,t.l_,t.cV,C.xb,g.NN],styles:[".container[_ngcontent-%COMP%]{height:90vh;max-height:90vh;display:flex;flex-direction:column;position:relative}.chat-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:10px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;top:0;z-index:10}.chat-header[_ngcontent-%COMP%] .chat-header-title[_ngcontent-%COMP%]{font-size:14px;margin-block:auto}.chat-header[_ngcontent-%COMP%] .chat-header-actions[_ngcontent-%COMP%]{display:flex;gap:5px}.chat-header[_ngcontent-%COMP%] .chat-header-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:none;border:none;color:#fff;border-radius:50%;height:24px;width:24px;display:grid;place-content:center}.chat-header[_ngcontent-%COMP%] .chat-header-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#6d7897}.chat-body[_ngcontent-%COMP%]{flex:1 1 100%;overflow-y:auto;overflow-x:hidden;position:relative;padding:0;max-width:978px;width:100%;margin-inline:auto}.chat-body[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:15px;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(.44,#E6E6FF),c
1olor-stop(.72,#E6E6FF),color-stop(.86,#E6E6FF))}.chat-body[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent;border-radius:0}.chat-body.is-scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-track{border-right:1px solid #50556d;border-radius:0}.chat-body[_ngcontent-%COMP%] .inner-body[_ngcontent-%COMP%]{max-width:778px;margin-inline:auto;padding-left:6px;padding-right:30px}.chat-body[_ngcontent-%COMP%] .date-group[_ngcontent-%COMP%] .date-separator[_ngcontent-%COMP%]{text-align:center;margin-top:15px;font-size:12px;color:#9d9d9c;position:relative}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%]{display:flex;padding-block:12px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .message-avatar[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:flex-start}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .message-avatar.user-avatar[_ngcontent-%COMP%]{padding-left:15px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .message-avatar.ai-avatar[_ngcontent-%COMP%]{padding-right:15px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .message-avatar[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{background:white;height:34px;width:34px;display:grid;place-content:center;border-radius:50%;background-repeat:no-repeat;background-position:center}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .message-avatar[_ngcontent-%COMP%] .icon.user-icon[_ngcontent-%COMP%]{background-image:url(user-icon.3f81e13037cd746c.svg);background-size:112%;background-color:#fff}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .message-avatar[_ngcontent-%COMP%] .icon.ai-icon[_ngcontent-%COMP%]{background-image:url(adqlo-ai.5dba028fa07487e2.svg);background-size:20px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .message-avatar[_ngcontent-%COMP%] .gradient-border[_ngcontent-%COMP%]{background:radial-gradient(circle at 100% 100%,transparent 0,transparent 17px,transparent 17px) 0% 0%/18px 18px no-repeat,radial-gradient(circle at 0 100%,transparent 0,transparent 17px,transparent 17px) 100% 0%/18px 18px no-repeat,radial-gradient(circle at 100% 0,transparent 0,transparent 17px,transparent 17px) 0% 100%/18px 18px no-repeat,radial-gradient(circle at 0 0,transparent 0,transparent 17px,transparent 17px) 100% 100%/18px 18px no-repeat,linear-gradient(transparent,transparent) 50% 50%/calc(100% - 2px) calc(100% - 36px) no-repeat,linear-gradient(transparent,transparent) 50% 50%/calc(100% - 36px) calc(100% - 2px) no-repeat,linear-gradient(90deg,#ffce00 0%,#ef89b6 14%,#a38bbe 27%,#638dc6 41%,#358ecb 56%,#198fce 70%,#0e8fcf 85%,#b7e1f9 100%);padding:2px;border-radius:50%}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .message-avatar[_ngcontent-%COMP%] .gradient-border[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{height:30px;width:30px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .message-timestamp[_ngcontent-%COMP%]{font-size:10px;color:#fff;margin-bottom:3px;min-height:15px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;min-height:34px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;max-width:90ch;outline:1px solid;padding:8px 12px;border-radius:10px;background-color:#7868d8;outline:none;font-size:12px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ul, .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{padding:4px 0 0;margin:0}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ul li:not(:first-child):not(:last-child), .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:first-child):not(:last-child){padding-block:4px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ul li:first-child, .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-bottom:4px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ul li:last-child, .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{padding-top:4px}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ul li b, .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ul li strong, .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] b[_ngcontent-%COMP%], .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#ff9e0f;text-transform:capitalize}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ul li em, .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ul li span, .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] em[_ngcontent-%COMP%], .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#22b8a9;font-weight:600}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] b, .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] strong{color:#ff9e0f!important}.chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] em, .chat-body[_ngcontent-%COMP%] .message-wrapper[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%] span{color:#22b8a9;font-weight:600}.chat-body[_ngcontent-%COMP%] .message-wrapper.user-message[_ngcontent-%COMP%]{text-align:right;flex-direction:row-reverse}.chat-body[_ngcontent-%COMP%] .message-wrapper.user-message[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{justify-content:flex-end}.chat-body[_ngcontent-%COMP%] .message-wrapper.user-message[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%]{text-align:left;background-color:#f5f5f5;white-space:pre-line}.chat-body[_ngcontent-%COMP%] .message-wrapper.ai-message[_ngcontent-%COMP%] .message-container[_ngcontent-%COMP%]{display:flex}.chat-body[_ngcontent-%COMP%] .message-wrapper.ai-message[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%]{background-color:#e6e6ff}.chat-body[_ngcontent-%COMP%] .message-wrapper.ai-message[_ngcontent-%COMP%] .retry-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.chat-body[_ngcontent-%COMP%] .message-wrapper.ai-message[_ngcontent-%COMP%] .retry-container[_ngcontent-%COMP%] .btn-retry[_ngcontent-%COMP%]{background:transparent;border:none;padding:6px;color:#9d9d9c}.chat-body[_ngcontent-%COMP%] .message-wrapper.placeholder[_ngcontent-%COMP%] .message-avatar[_ng
1content-%COMP%]{margin-top:0}.chat-body[_ngcontent-%COMP%] .message-wrapper.placeholder[_ngcontent-%COMP%] .message-container[_ngcontent-%COMP%]{margin-block:auto}.chat-body[_ngcontent-%COMP%] .loading-indicator[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;outline:1px solid;padding:8px;border-radius:10px;background-color:#e6e6ff;outline:none;min-height:42px;display:grid;place-content:center}.chat-body[_ngcontent-%COMP%] .loading-indicator[_ngcontent-%COMP%] .typing-dots[_ngcontent-%COMP%]{display:flex;align-items:center;gap:3px}.chat-body[_ngcontent-%COMP%] .loading-indicator[_ngcontent-%COMP%] .typing-dots[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:6px;height:6px;background-color:#6f6f6f;border-radius:50%;animation:_ngcontent-%COMP%_typing 1.4s infinite}.chat-body[_ngcontent-%COMP%] .loading-indicator[_ngcontent-%COMP%] .typing-dots[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(1){animation-delay:0s}.chat-body[_ngcontent-%COMP%] .loading-indicator[_ngcontent-%COMP%] .typing-dots[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2){animation-delay:.2s}.chat-body[_ngcontent-%COMP%] .loading-indicator[_ngcontent-%COMP%] .typing-dots[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3){animation-delay:.4s}@keyframes _ngcontent-%COMP%_typing{0%,60%,to{transform:scale(1);opacity:.5}30%{transform:scale(1.2);opacity:1}}.chat-footer[_ngcontent-%COMP%]{background-color:#252b46}.chat-footer[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%]{width:100%;max-width:978px;margin-inline:auto;padding-block:10px}.chat-footer[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:flex;max-width:768px;margin-inline:auto}.chat-footer[_ngcontent-%COMP%] .textarea-container[_ngcontent-%COMP%]{width:100%;min-height:36px;max-height:101px;padding-block:8px;padding-inline:16px;display:grid;align-items:center;border:1px solid transparent;border-radius:18px;background:linear-gradient(#252b46,#252b46) padding-box,linear-gradient(90deg,#ffce00,#ef89b6 14%,#a38bbe 27%,#638dc6 41%,#358ecb 56%,#198fce 70%,#0e8fcf 85%,#b7e1f9) border-box}.chat-footer[_ngcontent-%COMP%] .textarea-container[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{background-color:transparent;padding:0;width:100%;border:none;min-height:18px}.chat-footer[_ngcontent-%COMP%] .textarea-container[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#9d9d9c}.chat-footer[_ngcontent-%COMP%] .textarea-container[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:focus-visible{outline:none}.chat-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:36px;align-self:flex-end;border:none;background:transparent;padding:0;margin-left:10px}.chat-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .chat-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:16px;height:16px}.chat-footer[_ngcontent-%COMP%] .loading-icon[_ngcontent-%COMP%]{color:#9d9d9c}.jump-to-latest-message[_ngcontent-%COMP%]{position:absolute;bottom:100px;display:flex;justify-content:center;align-items:center;left:50%}.jump-to-latest-message[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border:none;color:#fff;width:auto;border-radius:50px;padding:5px 10px;background-color:#9e9e9e80}.jump-to-latest-message[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#7868d8}.error-banner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;color:#fff;width:100%;text-align:center;padding-block:12px;background-color:#ff000080}.error-banner[_ngcontent-%COMP%] .refresh-btn[_ngcontent-%COMP%]{cursor:pointer;text-decoration:underline}.error-banner[_ngcontent-%COMP%] .close-btn[_ngcontent-%COMP%]{position:absolute;right:200px;top:50%;transform:translateY(-50%)}body.theme-light[_nghost-%COMP%] .chat-body[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, body.theme-light [_nghost-%COMP%] .chat-body[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:15px;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(.44,#E6E6FF),c
1olor-stop(.72,#E6E6FF),color-stop(.86,#E6E6FF))}body.theme-light[_nghost-%COMP%] .chat-body[_ngcontent-%COMP%]::-webkit-scrollbar-track, body.theme-light [_nghost-%COMP%] .chat-body[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent;border-radius:0}body.theme-light[_nghost-%COMP%] .chat-body.is-scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-track, body.theme-light [_nghost-%COMP%] .chat-body.is-scrollable[_ngcontent-%COMP%]::-webkit-scrollbar-track{border-right:1px solid #cfccd1;border-radius:0;opacity:.6}body.theme-light[_nghost-%COMP%] .chat-body[_ngcontent-%COMP%] .message-wrapper.user-message[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%], body.theme-light [_nghost-%COMP%] .chat-body[_ngcontent-%COMP%] .message-wrapper.user-message[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%]{color:#575756;background-color:#e8e1ef}body.theme-light[_nghost-%COMP%] .chat-body[_ngcontent-%COMP%] .message-wrapper.user-message[_ngcontent-%COMP%] .message-avatar[_ngcontent-%COMP%] .icon.user-icon[_ngcontent-%COMP%], body.theme-light [_nghost-%COMP%] .chat-body[_ngcontent-%COMP%] .message-wrapper.user-message[_ngcontent-%COMP%] .message-avatar[_ngcontent-%COMP%] .icon.user-icon[_ngcontent-%COMP%]{border:1px solid #E8E1EF;background-color:transparent}body.theme-light[_nghost-%COMP%] .chat-body[_ngcontent-%COMP%] .message-wrapper.ai-message[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%], body.theme-light [_nghost-%COMP%] .chat-body[_ngcontent-%COMP%] .message-wrapper.ai-message[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .content-text[_ngcontent-%COMP%]{color:#575756;background-color:#e6e6ff}body.theme-light[_nghost-%COMP%] .chat-footer[_ngcontent-%COMP%], body.theme-light [_nghost-%COMP%] .chat-footer[_ngcontent-%COMP%]{background-color:#f6f2f9}body.theme-light[_nghost-%COMP%] .chat-footer[_ngcontent-%COMP%] .textarea-container[_ngcontent-%COMP%], body.theme-light [_nghost-%COMP%] .chat-footer[_ngcontent-%COMP%] .textarea-container[_ngcontent-%COMP%]{background:linear-gradient(#f6f2f9,#f6f2f9) padding-box,linear-gradient(90deg,#ffce00,#ef89b6 14%,#a38bbe 27%,#638dc6 41%,#358ecb 56%,#198fce 70%,#0e8fcf 85%,#b7e1f9) border-box}"],data:{animation:[(0,l.hZ)("fadeInOut",[(0,l.wk)("visible",(0,l.iF)({opacity:1,transform:"translate(-50%, 0)"})),(0,l.wk)("hidden",(0,l.iF)({opacity:0,transform:"translate(-50%, 20px)"})),(0,l.kY)("hidden => visible",[(0,l.i0)("200ms ease-out")]),(0,l.kY)("visible => hidden",[(0,l.i0)("200ms ease-in")])]),(0,l.hZ)("fadeInError",[(0,l.wk)("visible",(0,l.iF)({opacity:1,paddingTop:"12px",paddingBottom:"12px",height:"auto"})),(0,l.wk)("hidden",(0,l.iF)({opacity:0,paddingTop:"0px",paddingBottom:"0px",height:"0px"})),(0,l.kY)("hidden => visible",[(0,l.i0)("200ms ease-out")]),(0,l.kY)("visible => hidden",[(0,l.i0)("200ms ease-in")])])]}})}}return i})()},18628:(U,T,c)=>{c.d(T,{s:()=>x});var n=c(67376),t=c(17705),v=c(60177);const E=function(P,w){return{"m-0 mx-auto":P,"size-mini":w}};let x=(()=>{class P{constructor(){this.opts={mode:"rolling",size:"regular",margin:"auto"}}ngOnInit(){}ngOnChanges(){n.merge(this.opts,this.options)}static{this.\u0275fac=function(C){return new(C||P)}}static{this.\u0275cmp=t.VBU({type:P,selectors:[["ai-loading"]],inputs:{options:"options"},features:[t.OA$],decls:4,vars:4,consts:[[1,"ai-loading-box","text-center",3,"ngClass"],["src","assets/adqlo-ai-icon/ai_loading.gif","alt","ai-loading"],[1,"text-size-1","text-color-1","m-0"]],template:function(C,g){1&C&&(t.j41(0,"div",0),t.nrm(1,"img",1),t.j41(2,"p",2),t.EFF(3,"Adqlo AI is generating the data..."),t.k0s()()),2&C&&t.Y8G("ngClass",t.l_i(1,E,"no-margin"==(null==g.opts?null:g.opts.margin),"mini"==(null==g.opts?null:g.opts.size)))},dependencies:[v.YU],styles:[".ai-loading-box[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.ai-loading-box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:60px}"]})}}return P})()},81832:(U,T,c)=>{c.d(T,{M:()=>W});var n=c(67376),l=c.n(n),t=c(17705),v=c(74710),E=c(60177),x=c(11784),P=c(18628),w=c(68018);function d(a,h){if(1&a){const o=t.RV6();t.j41(0,"div",5)(1,"div",6)(2,"button",7),t.bIt("click",function(){t.eBV(o);const O=t.XpG();return t.Njj(O.onAiSummaryClick())}),t.EFF(3," Generate A.I.Summary "),t.k0s()()()}}function C(a,h){if(1&a&&(t.j41(0,"div",17),t.nrm(1,"div",18),t.k0s()),2&a){const o=h.$implicit;t.R7$(1),t.Y8G("innerHTML",o,t.npT)}}function g(a,h){if(1&a&&(t.qex(0),t.j41(1,"div",15),t.DNE(2,C,2,1,"div",16),t.k0s(),t.bVm()),2&a){const o=t.XpG(3);t.R7$(2),t.Y8G("ngForOf",o.data.message)}}
1function p(a,h){if(1&a&&(t.qex(0),t.j41(1,"div",19)(2,"div",20),t.nrm(3,"markdown",21),t.k0s()(),t.bVm()),2&a){const o=t.XpG(3);t.R7$(3),t.Y8G("data",o.data.message)("disableSanitizer",!0)("decodeHtml",!0)}}function f(a,h){1&a&&(t.j41(0,"span")(1,"span"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nrm(4,"i",24),t.k0s()),2&a&&(t.R7$(2),t.JRh(t.bMT(3,1,"show_more")))}function k(a,h){1&a&&(t.j41(0,"span")(1,"span"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nrm(4,"i",25),t.k0s()),2&a&&(t.R7$(2),t.JRh(t.bMT(3,1,"collapse")))}function L(a,h){if(1&a){const o=t.RV6();t.j41(0,"div",22)(1,"button",23),t.bIt("click",function(){t.eBV(o);const O=t.XpG(3);return t.Njj(O.toggleCollapse())}),t.DNE(2,f,5,3,"span",4),t.DNE(3,k,5,3,"span",4),t.k0s()()}if(2&a){const o=t.XpG(3);t.R7$(2),t.Y8G("ngIf",o.is_collapsed),t.R7$(1),t.Y8G("ngIf",!o.is_collapsed)}}const z=function(a){return{"gradient-opacity":a}},N=function(a,h){return{"filter-container-expanded expand-animation":a,"filter-container-collapsed collapse-animation":h}};function K(a,h){if(1&a&&(t.qex(0),t.j41(1,"div",8)(2,"div",9)(3,"div",10),t.nrm(4,"img",11),t.k0s(),t.j41(5,"div",12),t.EFF(6," Adqlo A.I. Summary "),t.k0s()(),t.j41(7,"div",13),t.DNE(8,g,3,1,"ng-container",4),t.DNE(9,p,4,3,"ng-container",4),t.k0s()(),t.DNE(10,L,4,2,"div",14),t.bVm()),2&a){const o=t.XpG(2);t.R7$(1),t.Y8G("ngClass",t.eq3(5,z,o.is_collapsed)),t.R7$(6),t.Y8G("ngClass",t.l_i(7,N,!o.is_collapsed,o.is_collapsed)),t.R7$(1),t.Y8G("ngIf",o.Array.isArray(o.data.message)),t.R7$(1),t.Y8G("ngIf",!o.Array.isArray(o.data.message)),t.R7$(1),t.Y8G("ngIf",o.collapsable&&!o.data.error)}}function X(a,h){if(1&a){const o=t.RV6();t.qex(0),t.j41(1,"div",5)(2,"div",26)(3,"p",27),t.EFF(4),t.k0s(),t.j41(5,"button",7),t.bIt("click",function(){t.eBV(o);const O=t.XpG(2);return t.Njj(O.onAiSummaryClick())}),t.EFF(6," Retry "),t.k0s()()(),t.bVm()}if(2&a){const o=t.XpG(2);t.R7$(4),t.SpI(" ",null==o.data?null:o.data.error_message," ")}}function I(a,h){1&a&&(t.qex(0),t.nrm(1,"ai-loading"),t.bVm())}function V(a,h){if(1&a&&(t.j41(0,"div"),t.DNE(1,K,11,10,"ng-container",4),t.DNE(2,X,7,1,"ng-container",4),t.DNE(3,I,2,0,"ng-container",4),t.k0s()),2&a){const o=t.XpG();t.R7$(1),t.Y8G("ngIf",(null==o.data?null:o.data.has_data)&&!(null!=o.data&&o.data.is_loading)&&(null==o.data?null:o.data.success)),t.R7$(1),t.Y8G("ngIf",!(null!=o.data&&o.data.has_data||null!=o.data&&o.data.is_loading)),t.R7$(1),t.Y8G("ngIf",!(null!=o.data&&o.data.has_data)&&(null==o.data?null:o.data.is_loading))}}let W=(()=>{class a{constructor(o){this.activatedRoute=o,this.type="Adqlo A.I.",this.alignment="text-center",this.collapsable=!1,this.Array=Array,this.is_collapsed=!1,this.ai_summary_onload=!1,this.params={},this.activatedRoute.queryParams.subscribe(M=>{l().isEmpty(M)||l().isEqual(this.params,M)||(l().merge(this.params,M),this.ai_summary_onload=!1)})}ngOnInit(){}ngOnChanges(){}onAiSummaryClick(){this.ai_summary_onload=!0,this.data.callback("callback")}toggleCollapse(){this.is_collapsed=!this.is_collapsed}static{this.\u0275fac=function(M){return new(M||a)(t.rXU(v.nX))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["shared-ai-summary"]],inputs:{data:"data",type:"type",alignment:"alignment",collapsable:"collapsable"},features:[t.OA$],decls:6,vars:5,consts:[[1,"row","py-0"],[1,"col-12"],[1,"ai-card","text-semi-regular","text-color-1","py-3","px-5"],["class","row",4,"ngIf"],[4,"ngIf"],[1,"row"],[1,"col-12","pt-5","text-center"],[1,"btn","btn-action","ai-summary-btn","py-2","px-3",3,"click"],[3,"ngClass"],[1,"row","justify-content-start","align-items-center","py-3","px-3"],[1,"ai-summary-icon","pe-3"],["src","/assets/adqlo-ai-icon/ai-icon.png",1,"ai-icon"],[1,"ai-summary-title"],[1,"summary-text",3,"ngClass"],["class","d-flex justify-content-center pt-3",4,"ngIf"],[1,"row","py-0","px-2","summary-body"],["class","col-12 col-md-12 col-xl-6 px-3 py-2",4,"ngFor","ngForOf"],[1,"col-12","col-md-12","col-xl-6","px-3","py-2"],[1,"text-color-1","text-size-3",3,"innerHTML"],[1,"row","py-0","px-2"],[1,"col-12","px-3","py-2","summary-body"],[1,"content-text","text-size-3",3,"data","disableSanitizer","decodeHtml"],[1,"d-flex","justify-content-center","pt-3"],[1,"ai-summary-btn-collapse","text-color-1","px-0",3,"click"],[1,"fas","fa-angle-down","ps-2"],[1,"fas","fa-angle-up","ps-2"],[1,"col-12","col-sm-12","py-2","text-center"],[1,"text-size-2"]],template:function(M,O){1&M&&(t.j41(0,"div",0)(1,"div",1)(2,"div")(3,"div",2),t.DNE(4,d,4,0,"div",3),t.DNE(5,V,4,3,"div",4),t.k0s()()()()),2&M&&(t.R
17$(2),t.ZvI(" ",O.alignment," text-size-4"),t.R7$(2),t.Y8G("ngIf",!O.collapsable&&!O.ai_summary_onload),t.R7$(1),t.Y8G("ngIf",O.collapsable||O.ai_summary_onload))},dependencies:[E.YU,E.Sq,E.bT,x.NN,P.s,w.D9],styles:[".auto-margin[_ngcontent-%COMP%]{margin:auto}.border-rounded[_ngcontent-%COMP%]{border-radius:50px}.bs-padding-right[_ngcontent-%COMP%]{padding-right:15px}.bs-padding-bottom[_ngcontent-%COMP%]{padding-bottom:15px}.bs-padding-right-half[_ngcontent-%COMP%]{padding-right:7.5px}.bs-padding-left-half[_ngcontent-%COMP%]{padding-left:7.5px}.no-padding[_ngcontent-%COMP%]{padding:0}.padding-right-5[_ngcontent-%COMP%]{padding-right:5px}.padding-right-10[_ngcontent-%COMP%]{padding-right:10px}.padding-bottom-25[_ngcontent-%COMP%]{padding-bottom:25px}.padding-top-10[_ngcontent-%COMP%]{padding-top:10px}.my-30[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:30px}.mt-60[_ngcontent-%COMP%]{margin-top:60px}.mt-30[_ngcontent-%COMP%]{margin-top:30px}.mb-30[_ngcontent-%COMP%]{margin-bottom:30px}.no-margin[_ngcontent-%COMP%]{margin:0}.margin-x-negative-15[_ngcontent-%COMP%]{margin-right:-15px;margin-left:-15px}.margin-left-10[_ngcontent-%COMP%]{margin-left:10px}.margin-top-negative-10[_ngcontent-%COMP%]{margin-top:-10px}.margin-top-10[_ngcontent-%COMP%]{margin-top:10px}.margin-bottom-negative-7[_ngcontent-%COMP%]{margin-bottom:-7px}.margin-bottom-10[_ngcontent-%COMP%]{margin-bottom:10px}.margin-bottom-15[_ngcontent-%COMP%]{margin-bottom:15px}.margin-bottom-20[_ngcontent-%COMP%]{margin-bottom:20px}.margin-bottom-30[_ngcontent-%COMP%]{margin-bottom:30px}.row[_ngcontent-%COMP%]{padding:30px 0}@keyframes _ngcontent-%COMP%_border-blink{50%{opacity:.2}}[_nghost-%COMP%] .ai-card ul{list-style-type:decimal!important;padding-left:1.5rem!important;position:relative!important}[_nghost-%COMP%] .ai-card ol{list-style-type:decimal!important;padding-left:1.5rem!important;position:relative!important}[_nghost-%COMP%] .ai-card li{list-style-type:disc!important;display:list-item!important;position:relative!important}[_nghost-%COMP%] .ai-card li b, [_nghost-%COMP%] .ai-card li strong{color:#ff9e0f;text-transform:capitalize!important}[_nghost-%COMP%] .ai-card li span{color:#22b8a9;font-weight:600}[_nghost-%COMP%] .ai-card ::marker{color:currentColor}#ai-chat-button[_ngcontent-%COMP%]{cursor:pointer}.ai-summary-title[_ngcontent-%COMP%]{font-size:1.25rem}.ai-summary-icon[_ngcontent-%COMP%] .ai-icon[_ngcontent-%COMP%]{width:30px;height:30px}.summary-body[_ngcontent-%COMP%]{overflow-y:scroll;max-height:320px}.summary-content[_ngcontent-%COMP%]{transition:height .3s ease-in-out}.summary-content.collapsed[_ngcontent-%COMP%]{height:95px}.gradient-opacity[_ngcontent-%COMP%]{overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,rgb(0,0,0) 40px,rgba(0,0,0,0));mask-image:linear-gradient(to bottom,rgb(0,0,0) 40px,rgba(0,0,0,0));-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}.collapse-animation[_ngcontent-%COMP%]{transition:.3s ease-in-out;max-height:95px;margin-bottom:0!important;opacity:.5}.expand-animation[_ngcontent-%COMP%]{transition:.3s ease-in-out;max-height:320px}.ai-summary-btn[_ngcontent-%COMP%]{font-size:.9rem!important}.content-text[_ngcontent-%COMP%] ul{padding:4px 0 0;margin:0}.content-text[_ngcontent-%COMP%] ul li:not(:first-child):not(:last-child){padding-block:4px}.content-text[_ngcontent-%COMP%] ul li:first-child{padding-bottom:4px}.content-text[_ngcontent-%COMP%] ul li:last-child{padding-top:4px}.content-text[_ngcontent-%COMP%] ul li b, .content-text[_ngcontent-%COMP%] ul li strong{color:#ff9e0f;text-transform:capitalize}.content-text[_ngcontent-%COMP%] ul li em, .content-text[_ngcontent-%COMP%] ul li span{color:#22b8a9;font-weight:600}.content-text[_ngcontent-%COMP%] b, .content-text[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#ff9e0f}.content-text[_ngcontent-%COMP%] em, .content-text[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#22b8a9;font-weight:600}"]})}}return a})()},230:(U,T,c)=>{c.d(T,{O:()=>w});var n=c(67376),t=c(17705),v=c(60177);const E=function(d,C){return[d,C]};function x(d,C){if(1&d){const g=t.RV6();t.qex(0),t.j41(1,"a",4),t.bIt("click",function(){t.eBV(g);
1const f=t.XpG().$implicit,k=t.XpG();return t.Njj(k.onTabChange(null==f?null:f.id))}),t.EFF(2),t.k0s(),t.bVm()}if(2&d){const g=t.XpG(),p=g.$implicit,f=g.index,k=t.XpG();t.R7$(1),t.Mz_("id","pills-",null==p?null:p.id,"-tab"),t.Y8G("ngClass",t.l_i(3,E,(null==p?null:p.id)==(null==k.options?null:k.options.active_id)?"active":"",0==f?"ps-0":"")),t.R7$(1),t.SpI(" ",null==p?null:p.name," ")}}function P(d,C){if(1&d&&(t.j41(0,"li",2),t.DNE(1,x,3,6,"ng-container",3),t.k0s()),2&d){const g=C.$implicit;t.R7$(1),t.Y8G("ngIf",!g.hide)}}let w=(()=>{class d{constructor(){this.tabs=[{id:"tab_1",name:"Tab 1",is_active:!0},{id:"tab_2",name:"Tab 2",is_active:!1}],this.options={onTabClick:null,active_id:""},this.opts={}}ngOnInit(){}ngOnChanges(){this.tabs.length>0&&(this.preSelectTab(this.tabs),n.merge(this.opts,this.options))}preSelectTab(g){if(n.isEmpty(this.options.active_id)){var p=n.find(g,{is_active:!0});n.first(g).hasOwnProperty("is_active")?(p=n.find(g,{is_active:!0}),this.options.active_id=n.isUndefined(p)?n.first(g).id:n.find(g,{is_active:!0}).id):this.options.active_id=n.first(g).id}}onTabChange(g){this.options.active_id=g,this.options.onTabClick(this.options.active_id)}static{this.\u0275fac=function(p){return new(p||d)}}static{this.\u0275cmp=t.VBU({type:d,selectors:[["share-tabs"]],inputs:{tabs:["tab","tabs"],options:"options"},features:[t.OA$],decls:2,vars:1,consts:[["id","pills-tab","role","tablist",1,"nav","nav-tabs","share-tabs"],["class","nav-item mb-1",4,"ngFor","ngForOf"],[1,"nav-item","mb-1"],[4,"ngIf"],["data-bs-toggle","pill","role","tab","aria-selected","true",1,"nav-link","top-post-nav","py-1",3,"ngClass","id","click"]],template:function(p,f){1&p&&(t.j41(0,"ul",0),t.DNE(1,P,2,1,"li",1),t.k0s()),2&p&&(t.R7$(1),t.Y8G("ngForOf",f.tabs))},dependencies:[v.YU,v.Sq,v.bT],styles:[".auto-margin[_ngcontent-%COMP%]{margin:auto}.border-rounded[_ngcontent-%COMP%]{border-radius:50px}.bs-padding-right[_ngcontent-%COMP%]{padding-right:15px}.bs-padding-bottom[_ngcontent-%COMP%]{padding-bottom:15px}.bs-padding-right-half[_ngcontent-%COMP%]{padding-right:7.5px}.bs-padding-left-half[_ngcontent-%COMP%]{padding-left:7.5px}.no-padding[_ngcontent-%COMP%]{padding:0}.padding-right-5[_ngcontent-%COMP%]{padding-right:5px}.padding-right-10[_ngcontent-%COMP%]{padding-right:10px}.padding-bottom-25[_ngcontent-%COMP%]{padding-bottom:25px}.padding-top-10[_ngcontent-%COMP%]{padding-top:10px}.my-30[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:30px}.mt-60[_ngcontent-%COMP%]{margin-top:60px}.mt-30[_ngcontent-%COMP%]{margin-top:30px}.mb-30[_ngcontent-%COMP%]{margin-bottom:30px}.no-margin[_ngcontent-%COMP%]{margin:0}.margin-x-negative-15[_ngcontent-%COMP%]{margin-right:-15px;margin-left:-15px}.margin-left-10[_ngcontent-%COMP%]{margin-left:10px}.margin-top-negative-10[_ngcontent-%COMP%]{margin-top:-10px}.margin-top-10[_ngcontent-%COMP%]{margin-top:10px}.margin-bottom-negative-7[_ngcontent-%COMP%]{margin-bottom:-7px}.margin-bottom-10[_ngcontent-%COMP%]{margin-bottom:10px}.margin-bottom-15[_ngcontent-%COMP%]{margin-bottom:15px}.margin-bottom-20[_ngcontent-%COMP%]{margin-bottom:20px}.margin-bottom-30[_ngcontent-%COMP%]{margin-bottom:30px}.filter-section[_ngcontent-%COMP%]{position:absolute;right:15px;top:30px}.filter-section[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}.filter-section[_ngcontent-%COMP%] .input-search-wrapper[_ngcontent-%COMP%]{background-color:#fff;border-radius:5px;display:flex}.filter-section[_ngcontent-%COMP%] .input-search-wrapper[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:.6rem;border-radius:5px 0 0 5px;text-align:center;padding:12px;color:#fff;background-color:#7868d8}.filter-section[_ngcontent-%COMP%] .input-search-wrapper[_ngcontent-%COMP%] .default-input[_ngcontent-%COMP%]{padding:6px 15px 6px 40px;border:1px solid #e6e4e9;border-radius:7px 0 0 7px}.filter-section[_ngcontent-%COMP%] .input-search-wrapper[_ngcontent-%COMP%] .default-input[_ngcontent-%COMP%]:focus{box-shadow:none}@media (min-width: 576px){.filter-section[_ngcontent-%COMP%] .input-search-wrapper[_ngcontent-%COMP%] .default-input[_ngcontent-%COMP%]{border-radius:5px}}.filter-section[_ngcontent-%COMP%] .input-search-wrapper[_ngcontent-%COMP%] [_ngcontent-%COMP%]::placeholder{color:gray;font-style:oblique}.filter-section[_ngcontent-%COMP%] .input-search-wrapper[_ngcontent-%COMP%] [_ngcontent-%COMP%]:-ms-input-placeholder{color:gray;font-style:oblique}.filter-section[_ngcontent-%COMP%] .input-search-wrapper[_ngcontent-%COMP%] [_ngcontent-%COMP%]::-ms-input-placeholder{color:gray;font-style:oblique}.filter-section[_ngcontent-%COMP%] .btn-actions[_ngcontent-%COMP%]{width:36px}.filter-section[_ngcontent-%COMP%] .btn-advanced-options[_ngcontent-%COMP%]{padding:5px 12px;border-radius:0 7px 7px 0;background-color:#7868d8}@media (min-width: 576px){.filter-section[_ngcontent-%COMP%] .btn-advanced-options[_ngcontent-%COMP%]{margin-left:15px;border-radius:5px}}.filter-section[_ngcontent-%COMP%] .btn-advanced-options[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:16px;height:16px}.filter-options-container[_ngcontent-%COMP%]{padding:15px 0 0}@media (min-width: 992px){.filter-options-container[_ngcontent-%COMP%]{max-width:576px;position:absolute;top:0;right:15px;z-index:99}}.filter-options-container[_ngcontent-%COMP%] .section-options-line-break[_ngcontent-%COMP%]{height:2px;background-color:#d6d6d6;margin:16px 0}.filter-option-backdrop[_ngcontent-%COMP%]{position:fixed;height:100%;width:100%;top:0;left:0}.nav-link[_ngcontent-%COMP%]{cursor:pointer}"]})}}return d})()}}]);
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.