PageSourceSearch

https://digiit.ai/_next/static/chunks/pages/catalog/product-details-0ae39fb35ebde38a.js

js digiit.ai collected 2026-10-05 15:32:30 UTC 15,590 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8425],{35875:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/catalog/product-details",function(){return r(38319)}])},38319:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return F}});var n=r(85893),a=r(42021),l=r(66261),s=r(47568),i=r(828),o=r(70655),c=r(67294);let d=c.forwardRef(function({title:e,titleId:t,...r},n){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?c.createElement("title",{id:t},e):null,c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18 12H6"}))});var u=r(28591),m=r(11163),f=r(93543),x=r(96486),h=r.n(x),g=r(66544),p=r(92355),v=function(e){if((null==e?void 0:e.length)<=2)return e;for(var t=Math.floor(Math.random()*e.length),r=Math.floor(Math.random()*e.length);r===t;)r=Math.floor(Math.random()*e.length);return(e.charAt(t)+e.charAt(r)).toUpperCase()};function w(e){var t=e.product;return(0,n.jsx)("div",{className:"container my-10 mx-auto md:px-2",children:(0,n.jsx)("section",{className:"mb-10 text-center md:text-left",children:(0,n.jsx)("div",{className:"block rounded-lg  bg-gray-100 dark:bg-neutral-700 ",children:(0,n.jsxs)("div",{className:"flex flex-wrap items-center",children:[(0,n.jsx)("div",{className:"w-full shrink-0 grow-0 basis-auto lg:w-6/12 xl:w-8/12",children:(0,n.jsxs)("div",{className:"px-6 py-12 md:px-12",children:[(0,n.jsx)("h2",{className:"mb-6 pb-2 text-4xl font-bold text-gray-900 dark:text-white",children:null==t?void 0:t.name}),(0,n.jsx)("p",{className:"mb-6 pb-2 text-neutral-500 dark:text-neutral-300",children:null==t?void 0:t.description}),(0,n.jsx)("div",{className:"mb-6 flex flex-wrap",children:(0,n.jsx)("div",{className:"mb-4 w-full",children:(0,n.jsxs)("p",{className:"flex",children:[(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor",className:"mr-3 h-5 w-5 text-neutral-900 dark:text-neutral-50",children:(0,n.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),null==t?void 0:t.addlDescription]})})})]})}),(0,n.jsx)("div",{className:"block w-full shrink-0 grow-0 basis-auto lg:flex lg:w-6/12 xl:w-4/12 pr-2",children:(0,n.jsx)("img",{src:null==t?void 0:t.image.original,alt:"Trendy Pants and Shoes",className:"w-full p-1 rounded-t-lg lg:rounded-tr-none lg:rounded-bl-lg bg-white"})})]})})})})}r(71257);var b=r(53674),j=r(82911),k=r(76878),y=r(64280),N=r(63822),C=r(38944);function I(e){e.networks;var t=e.data,r=function(e){var t=(0,y.z)(e,c);console.log("generateCartItem",t),t&&l(t,1)};(0,N.Z)().width;var a=(0,b.jD)(),l=a.addItemToCart,s=a.isInCart,i=(a.getItemFromCart,a.isInStock,a.clearItemFromCart),o=(0,C.ZP)(t&&{amount:t.sale_price?t.sale_price:t.price,baseAmount:t.price,currencyCode:"INR"});o.price,o.basePrice,o.discount;var c={};return(0,n.jsx)("div",{className:"flex flex-col",children:(0,n.jsx)("a",{className:"group",children:(0,n.jsxs)("div",{className:"flex items-center relative justify-between rounded-xl bg-gray-50 border border-gray-200 hover:cursor-pointer hover:bg-[#f1f6fd] xl:hover:scale-110 sm:hover:scale-105 p-4 shadow-lg",children:[(0,n.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-full border border-gray-100 bg-gray-200",children:(0,n.jsx)("div",{className:"relative inline-flex items-center justify-center w-10 h-10 overflow-hidden rounded-full",children:t.icon})}),(0,n.jsx)("div",{className:"ml-4 text-left absolute left-20",children:(0,n.jsx)("h2",{className:"font-semibold",children:t.name})}),(0,n.jsx)("div",{className:"flex h-6 w-6 flex-none absolute top-1 right-1 rounded-full border text-skin-primary hover:cursor-pointer group-hover:text-skin-mint group-hover:bg-skin-primary",children:s(t.id)?(0,n.jsx)(j.Z,{className:"h-6 w-6",onClick:function(){return i(t.id)}}):(0,n.jsx)(k.Z,{className:"h-6 w-6",onClick:function(){return r(t)}})})]})},t.id)})}function M(e){var t=e.data;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("ul",{className:"text-sm font-medium text-gray-900 bg-white dark:bg-gray-700 dark:border-gray-600 dark:text-white border border-gray-200",children:[(0,n.jsx)("h3",{className:"mb-2 font-semibold text-gray-900 dark:text-white",children:"Filter by Feature"}),t.map(function(e){return(0,n.jsx)("li",{className:"w-full p-2 dark:border-gray-600  hover:cursor-pointer hover:bg-[#f1f6fd]",children:(0,n.jsxs)("div",{className:"flex items-center text-left",children:[(0,n.jsx)("div",{className:"w-10 h-10",children:e.icon}),(0,n.jsx)("span",{className:"w-full py-3 ml-2 text-sm font-medium text-gray-900 dark:text-gray-300",children:e.name})]})})})]})})}function S(e){e.functions;var t=e.data,r=function(e){var t=(0,y.z)(e,c);console.log("generateCartItem",t),t&&l(t,1)};(0,N.Z)().width;
1var a=(0,b.jD)(),l=a.addItemToCart,s=a.isInCart,i=(a.getItemFromCart,a.isInStock,a.clearItemFromCart),o=(0,C.ZP)(t&&{amount:t.sale_price?t.sale_price:t.price,baseAmount:t.price,currencyCode:"INR"});o.price,o.basePrice,o.discount;var c={};return(0,n.jsx)("div",{className:"px-4 py-2 border border-gray-200 hover:cursor-pointer hover:scale-105 hover:bg-[#f1f6fd] relative",children:(0,n.jsxs)("a",{className:"group",children:[(0,n.jsx)("div",{className:"max-w-sm p-2 shadow dark:bg-gray-800 dark:border-gray-700",children:(0,n.jsx)("h5",{className:"mb-2 text-center text-md font-semibold tracking-tight text-gray-900 dark:text-white",children:t.name})}),(0,n.jsx)("div",{className:"p-2 shadow dark:bg-gray-800 dark:border-gray-700 justify-start",children:t.icon}),(0,n.jsx)("div",{className:"w-full mt-2 pt-2 max-w-sm shadow dark:bg-gray-800 dark:border-gray-700 absolute right-1 bottom-1",children:(0,n.jsx)("div",{className:"flex items-center justify-end",children:(0,n.jsx)("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-sm border  text-skin-primary group-hover:text-skin-mint group-hover:bg-skin-primary",children:s(t.id)?(0,n.jsx)(j.Z,{className:"h-6 w-6",onClick:function(){return i(t.id)}}):(0,n.jsx)(k.Z,{className:"h-6 w-6",onClick:function(){return r(t)}})})})})]},t.id)},t.id)}var Z=r(69352);function P(){var e=(0,m.useRouter)(),t=e.query.data,r=(0,f.l8)().productBag,a=(0,i.Z)((0,c.useState)([]),2),l=a[0],x=a[1],b=(0,i.Z)((0,c.useState)([]),2),j=b[0],k=b[1],y=(0,i.Z)((0,c.useState)([]),2),N=y[0],C=y[1],P=(0,i.Z)((0,c.useState)(),2),E=P[0],F=P[1],D=(0,i.Z)((0,c.useState)("#000000"),2);D[0],D[1];var _=["text-red-500","text-orange-500","text-amber-500","text-lime-500","text-green-500","text-teal-500","text-cyan-500","text-sky-500","text-blue-500","text-indigo-600","text-violet-600","text-purple-600","text-fuchsia-600","text-pink-600"],A=["fill-zinc-600","fill-zinc-500","fill-neutral-600","fill-neutral-500","fill-stone-600","fill-stone-500","fill-red-600","fill-red-500","fill-orange-600","fill-orange-500","fill-amber-600","fill-amber-500","fill-yellow-600","fill-yellow-500","fill-lime-600","fill-lime-500","fill-emerald-600","fill-emerald-500","fill-teal-600","fill-teal-500","fill-cyan-600","fill-cyan-500","fill-sky-600","fill-sky-500","fill-blue-600","fill-blue-500","fill-indigo-600","fill-indigo-500","fill-violet-600","fill-violet-500","fill-purple-600","fill-purple-500","fill-fuchsia-600","fill-fuchsia-500","fill-pink-600","fill-pink-500","fill-rose-600","fill-rose-500"];return(0,c.useEffect)(function(){t&&(r.networks=[],r.features=[],r.functions=[],r.Channels=[],r.endpoints=[],r.environments=[],r.dpubInfra=[],r.dpvtInfra=[],r.phases=[],r.timelines=[],r.services=[],F(JSON.parse(t)))},[e.query]),(0,c.useEffect)(function(){(0,s.Z)(function(){var e,t,r,a,l,s,i,c,d;return(0,o.__generator)(this,function(o){switch(o.label){case 0:return[4,(0,g.sg)("v4.0/organization/rms/account-types/list",{PageNumber:1,PageSize:100,SortField:"CreatedOnUtc",SortOrder:"desc"})];case 1:return console.log("accountTypes",e=o.sent()),t=h().map(e.data.Records,function(e){return v(e.Name),{Id:"network-".concat(e.Id),Category:"Network",Name:e.Name,ShortDescription:e.Name,fullDescription:e.Name,productCode:e.Name,vendorName:"DIGIIT",ManageInventoryMethodId:"",StockQuantity:1,href:"#",Price:12e4,Cost:16e4,icon:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",className:"w-6 h-6 ".concat(A[Math.floor(35*Math.random())]," stroke-1"),children:(0,n.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13.5 16.875h3.375m0 0h3.375m-3.375 0V13.5m0 3.375v3.375M6 10.5h2.25a2.25 2.25 0 002.25-2.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v2.25A2.25 2.25 0 006 10.5zm0 9.75h2.25A2.25 2.25 0 0010.5 18v-2.25a2.25 2.25 0 00-2.25-2.25H6a2.25 2.25 0 00-2.25 2.25V18A2.25 2.25 0 006 20.25zm9.75-9.75H18a2.25 2.25 0 002.25-2.25V6A2.25 2.25 0 0018 3.75h-2.25A2.25 2.25 0 0013.5 6v2.25a2.25 2.25 0 002.25 2.25z"})}),tat:"6 days",imageSrc:"",imageAlt:"Tall slender porcelain bottle with natural clay textured body and cork stopper.",selected:!1,ProductAttributeCombinations:[]}}),[4,(0,p.g)(t)];case 2:return console.log("networkProducts",r=o.sent()),x(r),[4,(0,g.sg)("v4.0/platform-management/tenant-domains/list",{})];case 3:return a=o.sent(),l=h().map(a.data.Records,function(e){return{Id:"feature-".concat(e.Id),Category:"Feature",Name:e.DomainName,ShortDe
1scription:e.DomainName,fullDescription:e.DomainName,productCode:e.DomainName,vendorName:"DIGIIT",ManageInventoryMethodId:"",StockQuantity:1,href:"#",Price:12e4,Cost:16e4,icon:(0,n.jsx)("i",{className:"".concat(e.Icon," fa-2x text-md font-semibold ").concat(_[Math.floor(14*Math.random())])}),tat:"6 days",imageSrc:"",imageAlt:"Tall slender porcelain bottle with natural clay textured body and cork stopper.",selected:!1,ProductAttributeCombinations:[]}}),[4,(0,p.g)(l)];case 4:return console.log("networkFeatures",s=o.sent()),k(s),[4,(0,g.sg)("v4.0/platform-management/tenant-domain-functions/list",{})];case 5:return i=o.sent(),c=h().map(i.data.Records,function(e){return{Id:"function-".concat(e.Id),Category:"Functions",Name:e.FunctionName,ShortDescription:e.FunctionName,fullDescription:e.FunctionName,ProductCode:e.Route,vendorName:"DIGIIT",ManageInventoryMethodId:"",StockQuantity:1,href:"#",Price:675,Cost:900,icon:(0,n.jsx)("i",{className:"".concat(e.Icon," fa-3x text-md font-semibold ").concat(_[Math.floor(14*Math.random())])}),tat:"6 days",imageSrc:"",imageAlt:"Tall slender porcelain bottle with natural clay textured body and cork stopper.",selected:!1,ProductAttributeCombinations:[]}}),[4,(0,p.g)(c)];case 6:return console.log("functionsList",d=o.sent()),C(d),[2]}})})()},[]),(0,n.jsx)(n.Fragment,{children:E&&l&&j&&N?(0,n.jsx)("div",{className:"container mx-auto md:px-6",id:"product-details-top",children:(0,n.jsxs)("section",{className:"sm:mt-6 lg:mt-2 mt-2 mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[E&&(0,n.jsx)(w,{product:E}),(0,n.jsx)("div",{className:"flex w-full",children:(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("div",{className:"py-8",children:(0,n.jsx)("h2",{className:"text-left text-2xl text-md font-semibold tracking-tight items-center text-gray-900 dark:text-white",children:"Select the necessary DBaaS Networks"})}),(0,n.jsx)("div",{className:"grid 2xl:grid-cols-5 xl:grid-cols-4 lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1 gap-4 p-2",children:l&&l.map(function(e){return(0,n.jsx)(I,{networks:l,data:e})})}),(0,n.jsxs)("div",{className:"mx-auto flex items-center justify-between py-10",children:[(0,n.jsx)("div",{className:"flex items-center justify-start flex-cols-2",children:(0,n.jsx)("h2",{className:"text-left text-2xl text-md font-semibold tracking-tight items-center text-gray-900 dark:text-white",children:"Select the necessary Features and Functions"})}),(0,n.jsxs)("div",{className:"flex items-center justify-end",children:[(0,n.jsxs)("div",{className:"flex h-11 mx-4 px-4 items-center justify-between rounded-sm border  text-skin-primary group-hover:text-skin-mint group-hover:bg-skin-primary",children:[(0,n.jsx)(d,{className:"h-6 w-6"}),(0,n.jsx)("span",{className:"text-sm text-gray-700 w-40",children:"Remove All"})]}),(0,n.jsx)("div",{className:"flex h-11 w-11 flex-none items-center justify-center rounded-sm border  text-skin-primary group-hover:text-skin-mint group-hover:bg-skin-primary",children:(0,n.jsx)(u.Z,{className:"h-6 w-6"})}),(0,n.jsx)("div",{className:"bg-skin-primary"})]})]}),(0,n.jsxs)("div",{className:"flex w-full",children:[(0,n.jsx)("div",{className:"p-4 w-1/5 border-r border-gray-200",children:(0,n.jsx)(M,{data:j})}),(0,n.jsxs)("div",{className:"p-4 w-4/5",children:[(0,n.jsx)("h2",{className:"text-left text-xl text-md font-semibold tracking-tight items-center text-gray-900 dark:text-white",children:"Functions in Catalog"}),(0,n.jsx)("div",{className:"grid grid-cols-6 gap-4 pt-4",children:N&&N.map(function(e){return(0,n.jsx)(S,{functions:N,data:e})})})]})]}),(0,n.jsx)("div",{className:"h-20"}),(0,n.jsx)(Z.Z,{prev:"Back to Platforms",next:"Proceed to Delivery Plan",route:"/catalog/deliverables"})]})})]})}):(0,n.jsx)(n.Fragment,{children:"Data not found"})})}var E=r(83075);function F(){return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(a.Z,{children:(0,n.jsxs)(l.W_,{name:"marketplace-product-details",children:[(0,n.jsx)("div",{className:"flex-shrink-0 pe-8 xl:pe-16 hidden lg:block w-80 xl:w-96 sticky top-16 h-full"}),(0,n.jsx)("div",{className:"w-full lg:-ms-2 xl:-ms-8 lg:-mt-1",children:(0,n.jsx)(P,{})})]})})})}F.Layout=E.Z},71257:function(){},28591:function(e,t,r){"use strict";var n=r(67294);let a=n.forwardRef(function({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 7.5L7.5 3m0 0L12 7.5M7.5 3v13.5m13.5 0L16.5 21m0 0L12 16.5m4.5 4.5V7.5"}))});t.Z=a},82911:function(e,t,r){"use strict";var n=r(67294);let a=n.forwardRef(function({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12.75l6 6 9-13.5"}))});t.Z=a},76878:function(e,t,r){"use strict";var n=r(67294);let a=n.forwardRef(function({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m6-6H6"}))});t.Z=a},40872:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(){return n.apply(this,arguments)}r.d(t,{Z:function(){return a}})},7874:function(e,t,r){"use strict";function n(e){if(null==e)throw TypeError("Cannot destructure "+e);return e}r.d(t,{Z:function(){return n}})}},function(e){e.O(0,[1159,8625,1609,8243,6623,3075,9666,9774,2888,179],function(){return e(e.s=35875)}),_N_E=e.O()}]);

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.