1import{a as k}from"./chunk-SFN6RJUI.js";import"./chunk-EXEV3734.js";import"./chunk-L2BOUDUU.js";import{a as V}from"./chunk-CKVKN45M.js";import{a as N}from"./chunk-4R7OV5DA.js";import{a as A,b as L}from"./chunk-HMIYWYYF.js";import{a as O,b as R}from"./chunk-DHLE43QT.js";import{f as M,g as E}from"./chunk-KSDVB5WM.js";import"./chunk-5P5Q7BHV.js";import{a as I}from"./chunk-IRYCHS7G.js";import"./chunk-EWSBTGOE.js";import{a as F}from"./chunk-O5DPHFDO.js";import"./chunk-RUH7ZOET.js";import{b as P,c as T,i as C}from"./chunk-ZEFZKZO5.js";import{k as x,q as _}from"./chunk-LCU56ZIS.js";import{$a as y,Ab as r,Bb as l,Ib as S,Ka as b,Lb as g,Nb as m,Qa as c,T as u,Va as d,Xb as p,Y as h,Z as v,Zb as w,eb as f,sc as D,yb as a,zb as o}from"./chunk-L4YEUFMX.js";function j(s,i){if(s&1&&(o(0,"section",8)(1,"div",2)(2,"div",9)(3,"ul",10)(4,"li")(5,"a",11),p(6,"Home"),r()(),o(7,"li",12),p(8,"/"),r(),o(9,"li",13),p(10,"Product details"),r()(),o(11,"h1",13),p(12),r()()(),l(13,"img",14),r()),s&2){let t=m();c(12),w(" ",t.scheduleServiceName||t.service)}}function G(s,i){if(s&1){let t=S();o(0,"div",15)(1,"div",16),l(2,"img",17),r(),o(3,"app-service-detail-cc-content",18),g("scheduleDemo",function(){h(t);let n=m();return v(n.openScheduleDemoModal())}),r(),o(4,"app-schedule-demo-modal",19),g("close",function(){h(t);let n=m();return v(n.closeScheduleDemoModal())}),r(),l(5,"app-service-detail-sections",20),r()}if(s&2){let t=m();c(2),a("src","assets/img/services/"+(t.service.image||"service-details.p"),b)("alt",t.service.title),c(),a("service",t.service)("heroDescriptions",t.heroDescriptions)("demoYoutubeUrl",t.demoYoutubeUrl),c(),a("isOpen",t.isScheduleDemoOpen)("serviceName",t.scheduleServiceName),c(),a("readyContent",t.service.readyContent)("contactInfo",t.service.contactInfo)}}var B="https://www.youtube.com/@GventureTechnology",U=class s{constructor(i,t,e,n){this.route=i;this.productDetail=t;this.titleService=e;this.metaService=n}service=null;loading=!0;error=!1;notFound=!1;showVideo=!1;isScheduleDemoOpen=!1;demoYoutubeUrl=B;slug="pbx";routeSub;cdr=u(D);viewRefresh=u(F);ngOnInit(){this.loadService()}ngAfterViewInit(){this.viewRefresh.refresh(this.cdr)}ngOnDestroy(){this.routeSub&&this.routeSub.unsubscribe()}loadService(){this.loading=!0,this.error=!1,this.notFound=!1,this.service=null,this.productDetail.getProductBySlug(this.slug).subscribe({next:i=>{O(i,{onSuccess:t=>{this.service=t,this.loading=!1,this.error=!1,this.notFound=!1,t.metaTags?.length?this.updateMetaTags(t.metaTags):this.setFallbackMeta(t),this.viewRefresh.refresh(this.cdr)},onNotFound:()=>{this.service=null,this.loading=!1,this.notFound=!0,this.error=!1,this.titleService.setTitle("Product Not Found | Gventure Technology"),this.viewRefresh.refresh(this.cdr)},onError:()=>{this.service=null,this.loading=!1,this.error=!0,this.notFound=!1,this.viewRefresh.refresh(this.cdr)}})},error:i=>{console.error("Error fetching PBX product data:",i),R(i,{onNotFound:()=>{this.service=null,this.loading=!1,this.notFound=!0,this.error=!1,this.titleService.setTitle("Product Not Found | Gventure Technology"),this.viewRefresh.refresh(this.cdr)},onError:()=>{this.service=null,this.loading=!1,this.error=!0,this.notFound=!1,this.viewRefresh.refresh(this.cdr)}})}})}setFallbackMeta(i){this.titleService.setTitle(`${i.title} | Gventure Technology`),this.metaService.updateTag({name:"description",content:i.summary||"Gventure Technology communication solutions for modern businesses"}),this.metaService.updateTag({name:"keywords",content:`${i.title.toLowerCase()}, ${i.category.toLowerCase()}, communication solutions, Gventure Technology, customer service`})}trackByIndex(i){return i}trackByFaqId(i,t){return t?.id??i}openScheduleDemoModal(){this.isScheduleDemoOpen=!0,document.body.style.overflow="hidden"}closeScheduleDemoModal(){this.isScheduleDemoOpen=!1,document.body.style.overflow="auto"}get scheduleServiceName(){return this.service?.mainContent?.service||this.service?.title||""}get heroDescriptions(){return A(this.service?.mainContent)}updateMetaTags(i){["name='description'","name='keywords'","name='author'","property='og:title'","property='og:description'","property='og:image'","property='og:url'","property='og:type'","name='twitter:card'","name='twitter:title'","name='twitter:description'","name='twitter:image'"].forEach(e
1=>this.metaService.removeTag(e)),i.forEach(e=>{if(e.name==="title"){this.titleService.setTitle(e.content);return}if(e.charset){this.metaService.updateTag({charset:e.charset});return}if(e["http-equiv"]){this.metaService.updateTag({"http-equiv":e["http-equiv"],content:e.content});return}if(e.rel==="canonical"){this.metaService.updateTag({rel:"canonical",href:e.href});return}let n={};e.name&&(n.name=e.name),e.property&&(n.property=e.property),e.content&&(n.content=e.content),this.metaService.updateTag(n)})}static \u0275fac=function(t){return new(t||s)(d(C),d(L),d(T),d(P))};static \u0275cmp=y({type:s,selectors:[["app-product-details-pbx"]],hostAttrs:["ngSkipHydration","true"],decls:10,vars:5,consts:[["class","breadcrumb-section position-relative fix",4,"ngIf"],[1,"services-details-bg","services-development-section","fix","section-padding","whitebg","cc-page"],[1,"container"],[1,"row","g-4","two-column-page-row"],[1,"col-lg-8"],["class","service-details-content",4,"ngIf"],["entityLabel","Product","listingPath","/products","listingLabel","Products",3,"loading","notFound","error"],[1,"col-lg-4","pe-lg-5","page-sidebar-col"],[1,"breadcrumb-section","position-relative","fix"],[1,"bread-content","text-center"],[1,"d-flex","align-items-center","gap-3","justify-content-center"],["href","/",1,"p3-clr"],[1,"p3-clr"],[1,"white"],["src","assets/img/element/bread-ele.png","alt","",1,"bread-ele"],[1,"service-details-content"],[1,"thumb","rounded-3","mb-xl-5","mb-4"],[1,"w-100","rounded-3",3,"src","alt"],["accordionPrefix","Pbx",3,"scheduleDemo","service","heroDescriptions","demoYoutubeUrl"],[3,"close","isOpen","serviceName"],[3,"readyContent","contactInfo"]],template:function(t,e){t&1&&(f(0,j,14,1,"section",0),o(1,"section",1)(2,"div",2)(3,"div",3)(4,"div",4),f(5,G,6,9,"div",5),l(6,"app-detail-load-state",6),r(),o(7,"div",7),l(8,"app-detail-page-sidebar"),r()()()(),l(9,"app-newsletter-subscription")),t&2&&(a("ngIf",e.service&&!e.loading&&!e.notFound&&!e.error),c(5),a("ngIf",e.service&&!e.loading&&!e.notFound&&!e.error),c(),a("loading",e.loading)("notFound",e.notFound)("error",e.error))},dependencies:[_,x,E,I,N,k,V,M],styles:[".breadcrumb-section[_ngcontent-%COMP%]{margin-top:88px!important;background:url(/assets/img/banner/service.webp) no-repeat center center;background-size:cover;z-index:1}@media (max-width: 768px){.breadcrumb-section[_ngcontent-%COMP%]{margin-top:68px!important}}.cc-page[_ngcontent-%COMP%]{--cc-primary: #0d6e8a;--cc-primary-dark: #094d61;--cc-accent: #14b8a6;--cc-surface: #f0f9fb;--cc-border: #c5e4ec}@media (max-width: 991px){.col-lg-4.pe-lg-5[_ngcontent-%COMP%]{padding-right:0!important}}"]})};export{B as AI_DEMO_YOUTUBE_URL,U as ProductDetailsPbx};
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.