1import{a as p}from"./chunk-B5P4254V.js";import{a as k}from"./chunk-U6OVDT4C.js";import{a as P}from"./chunk-64SMF5K6.js";import{N as I,Q as L,Ub as S,g as n,id as r,ld as u,nd as g,q as i}from"./chunk-IVEOF2IW.js";var s=class{static GetApplicationHome(){return{query:`query GetApplicationHome { 2 SensorTypePage { 3 items { 4 Name 5 RouteSegments 6 } 7 } 8 IndustryTypePage { 9 items { 10 Name 11 RouteSegments 12 } 13 } 14 }`}}static get ApplicationHomeMapper(){return i(o=>{let t=o.data.SensorTypePage.items,e=o.data.IndustryTypePage.items;return{SensorTypes:t,IndustryTypes:e}})}};var m=class{constructor(){n(this,"Name");n(this,"Application");n(this,"SeoInformation");n(this,"WebEnabled")}static GetIndustryTypePage(o){return{query:`query GetIndustryTypes($industryType: String){ 15 IndustryTypePage(where: { 16 RouteSegment: { eq: $industryType } 17 }) { 18 items { 19 Name 20 SeoInformation { 21 Title 22 Description 23 Keywords 24 H1Tag 25 } 26 Application{ 27 ContentLink{Expanded{ 28 ... on ApplicationPage{ 29 Name 30 WebEnabled 31 Title 32 Code 33 Summary 34 ProductsSummary 35 ThumbnailImage { 36 Url 37 } 38 } 39 } 40 } 41 } 42 } 43 } 44 }`,variables:`{"industryType": "${o}"}`}}static get IndustryTypeDetailsMapper(){return i(o=>{let t=o.data.IndustryTypePage.items[0];return{Name:t?.Name,SeoInformation:{Title:t?.SeoInformation?.Title,Description:t?.SeoInformation?.Description,Keywords:t?.SeoInformation?.Keywords,H1Tag:t?.SeoInformation?.H1Tag},Application:t?.Application?.map(e=>({Name:e.ContentLink?.Expanded?.Name,Title:e.ContentLink?.Expanded?.Title,WebEnabled:e.ContentLink?.Expanded?.WebEnabled,Code:e.ContentLink?.Expanded?.Code,Summary:e.ContentLink?.Expanded?.Summary,ProductsSummary:e.ContentLink?.Expanded?.ProductsSummary,ThumbnailImageUrl:e.ContentLink?.Expanded?.ThumbnailImage?u(e.ContentLink?.Expanded?.ThumbnailImage.Url):null}))||[]}})}};var l=class{constructor(){n(this,"Title");n(this,"Description");n(this,"IntroBlock");n(this,"SensorIconsList");n(this,"PreviewsBlock");n(this,"IndustryIconsList");n(this,"SeoInformation")}static GetMainApplicationsPageQuery(){return{query:`query GetMainApplicationsPage { 45 ApplicationsMainPage(orderBy: { _modified: DESC }) { 46 item { 47 Title 48 Description 49 SeoInformation { 50 Title 51 Description 52 Keywords 53 } 54 IntroBlock { 55 ContentLink { 56 Expanded { 57 ... on PreviewBlock { 58 Title 59 Description 60 BlockMedia { 61 Url 62 } 63 Link { 64 Title 65 Text 66 Href 67 ContentLink { 68 Expanded { 69 Url 70 } 71 } 72 } 73 } 74 } 75 } 76 } 77 SensorIconsList { 78 ContentLink { 79 Expanded { 80 ... on LinkItemsListBlock { 81 Title 82 Link { 83 Title 84 Text 85 Href 86 ContentLink { 87 Expanded { 88 Url 89 } 90 } 91 } 92 Links { 93 Text 94 Href 95 Title 96 Target 97 ContentLink { 98 Expanded { 99 ... on ISitePage { 100 MenuIcon { 101 Url 102 } 103 RouteSegments 104 } 105 106 ... on IContent{ 107 Name 108 } 109 } 110 } 111 } 112 Image { 113 Url 114 } 115 } 116 } 117 } 118 } 119 PreviewsBlock { 120 ContentLink { 121 Expanded { 122 ... on PreviewBlock { 123 Title 124 Description 125 BlockMedia { 126 Url 127 } 128 Link { 129 Title 130 Text 131 Href 132 ContentLink { 133 Expanded { 134 RouteSegment 135 Url 136 } 137 } 138 } 139 } 140 } 141 } 142 } 143 IndustryIconsList { 144 ContentLink { 145 Expanded { 146 ... on LinkItemsListBlock { 147 Title 148 Link { 149 Title 150 Text 151 Href 152 ContentLink { 153 Expanded { 154 Url 155 } 156 } 157 } 158 Links { 159 Text 160 Href 161 Title 162 Target 163 ContentLink { 164 Expanded { 165 ... on ISitePage { 166 MenuIcon { 167 Url 168 } 169 RouteSegments 170 } 171 172 ... on IContent{ 173 Name 174 } 175 } 176 } 177 } 178 Image { 179 Url 180 } 181 } 182 } 183 } 184 } 185 } 186 } 187 } 188 `}}static get MainApplicationsPageMapper(){return i(o=>
188{let t=o?.data?.ApplicationsMainPage?.item,e=y=>y?.map(T=>k.Map(T.ContentLink?.Expanded))||[],c=y=>y?.map(T=>P.Map(T.ContentLink?.Expanded))||[];return t?{Title:t.Title,Description:t.Description,IntroBlock:e(t.IntroBlock),SensorIconsList:c(t.SensorIconsList),PreviewsBlock:e(t.PreviewsBlock),IndustryIconsList:c(t.IndustryIconsList),SeoInformation:t.SeoInformation}:null})}};var d=class{constructor(){n(this,"Name");n(this,"Application");n(this,"SeoInformation");n(this,"WebEnabled")}static GetSensorTypePage(o){return{query:`query GetSensorTypes($sensorType: String){ 189 SensorTypePage(where: { 190 RouteSegment: { eq: $sensorType } 191 }) { 192 items { 193 Name 194 SeoInformation { 195 Title 196 Description 197 Keywords 198 H1Tag 199 } 200 Application{ 201 ContentLink{Expanded{ 202 ... on ApplicationPage{ 203 Name 204 WebEnabled 205 Title 206 Code 207 Summary 208 ProductsSummary 209 ThumbnailImage { 210 Url 211 } 212 } 213 } 214 } 215 } 216 } 217 } 218 }`,variables:`{"sensorType": "${o}"}`}}static get SensorTypeDetailsMapper(){return i(o=>{let t=o.data.SensorTypePage.items[0];return{Name:t?.Name,SeoInformation:{Title:t?.SeoInformation?.Title,Description:t?.SeoInformation?.Description,Keywords:t?.SeoInformation?.Keywords,H1Tag:t?.SeoInformation?.H1Tag},Application:t?.Application?.map(e=>({Name:e.ContentLink?.Expanded?.Name,WebEnabled:e.ContentLink?.Expanded?.WebEnabled,Title:e.ContentLink?.Expanded?.Title,Code:e.ContentLink?.Expanded?.Code,Summary:e.ContentLink?.Expanded?.Summary,ProductsSummary:e.ContentLink?.Expanded?.ProductsSummary,ThumbnailImageUrl:e.ContentLink?.Expanded?.ThumbnailImage?u(e.ContentLink?.Expanded?.ThumbnailImage.Url):null}))||[]}})}};var z=(()=>{let o=class o{constructor(e){n(this,"http");this.http=e}GetSensorTypePage(e){return this.http.post(r.GraphQLURL,d.GetSensorTypePage(e)).pipe(d.SensorTypeDetailsMapper)}GetIndustryTypePage(e){return this.http.post(r.GraphQLURL,m.GetIndustryTypePage(e)).pipe(m.IndustryTypeDetailsMapper)}GetSinglePage(e){return this.http.post(r.GraphQLURL,g.GetSinglePage(e)).pipe(g.SinglePageDetailsMapper)}GetApplicationsPage(){return this.http.post(r.GraphQLURL,s.GetApplicationHome()).pipe(s.ApplicationHomeMapper)}GetApplicationDetails(e){return this.http.post(r.GraphQLURL,p.GetApplicationDetailQuery(e)).pipe(p.ApplicationDetailMapper)}GetMainApplicationsPage(){return this.http.post(r.GraphQLURL,l.GetMainApplicationsPageQuery()).pipe(l.MainApplicationsPageMapper)}GetApplicationsByRelatedProducts(e){return this.http.post(r.GraphQLURL,p.GetApplicationsByRelatedProductsQuery(e)).pipe(p.GetApplicationsByRelatedProductsMapper)}};n(o,"\u0275fac",function(c){return new(c||o)(L(S))}),n(o,"\u0275prov",I({token:o,factory:o.\u0275fac,providedIn:"root"}));let a=o;return a})();export{z as a};
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.