PageSourceSearch

https://comkeyindia.com/_next/static/chunks/pages/blogs-f7e6555326ae203a.js

js comkeyindia.com collected 2026-10-09 17:42:03 UTC 14,234 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1055],{88157:function(e,r,n){var s=n(15787).w_;e.exports.x=function(e){return s({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"g",attr:{fillOpacity:".9"},child:[{tag:"path",attr:{d:"M255.8 48C141 48 48 141.2 48 256s93 208 207.8 208c115 0 208.2-93.2 208.2-208S370.8 48 255.8 48zm.2 374.4c-91.9 0-166.4-74.5-166.4-166.4S164.1 89.6 256 89.6 422.4 164.1 422.4 256 347.9 422.4 256 422.4z"}},{tag:"path",attr:{d:"M266.4 152h-31.2v124.8l109.2 65.5 15.6-25.6-93.6-55.5V152z"}}]}]})(e)}},27484:function(e){var r,n,s,i,a,u,c,o,f,m,x,g,v,p,w,b,j,N,S,B,_,C;e.exports=(r="millisecond",n="second",s="minute",i="hour",a="week",u="month",c="quarter",o="year",f="date",m="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v=function(e,r,n){var s=String(e);return!s||s.length>=r?e:""+Array(r+1-s.length).join(n)+e},(w={})[p="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var r=["th","st","nd","rd"],n=e%100;return"["+e+(r[(n-20)%10]||r[n]||"th")+"]"}},b="$isDayjsObject",j=function(e){return e instanceof _||!(!e||!e[b])},N=function t(e,r,n){var s;if(!e)return p;if("string"==typeof e){var i=e.toLowerCase();w[i]&&(s=i),r&&(w[i]=r,s=i);var a=e.split("-");if(!s&&a.length>1)return t(a[0])}else{var u=e.name;w[u]=e,s=u}return!n&&s&&(p=s),s||!n&&p},S=function(e,r){if(j(e))return e.clone();var n="object"==typeof r?r:{};return n.date=e,n.args=arguments,new _(n)},(B={s:v,z:function(e){var r=-e.utcOffset(),n=Math.abs(r);return(r<=0?"+":"-")+v(Math.floor(n/60),2,"0")+":"+v(n%60,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),s=e.clone().add(n,u),i=r-s<0,a=e.clone().add(n+(i?-1:1),u);return+(-(n+(r-s)/(i?s-a:a-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return({M:u,y:o,w:a,d:"day",D:f,h:i,m:s,s:n,ms:r,Q:c})[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}}).l=N,B.i=j,B.w=function(e,r){return S(e,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})},C=(_=function(){function M(e){this.$L=N(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[b]=!0}var e=M.prototype;return e.parse=function(e){this.$d=function(e){var r=e.date,n=e.utc;if(null===r)return new Date(NaN);if(B.u(r))return new Date;if(r instanceof Date)return new Date(r);if("string"==typeof r&&!/Z$/i.test(r)){var s=r.match(x);if(s){var i=s[2]-1||0,a=(s[7]||"0").substring(0,3);return n?new Date(Date.UTC(s[1],i,s[3]||1,s[4]||0,s[5]||0,s[6]||0,a)):new Date(s[1],i,s[3]||1,s[4]||0,s[5]||0,s[6]||0,a)}}return new Date(r)}(e),this.init()},e.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},e.$utils=function(){return B},e.isValid=function(){return this.$d.toString()!==m},e.isSame=function(e,r){var n=S(e);return this.startOf(r)<=n&&n<=this.endOf(r)},e.isAfter=function(e,r){return S(e)<this.startOf(r)},e.isBefore=function(e,r){return this.endOf(r)<S(e)},e.$g=function(e,r,n){return B.u(e)?this[r]:this.set(n,e)},e.unix=function(){return Math.floor(this.valueOf()/1e3)},e.valueOf=function(){return this.$d.getTime()},e.startOf=function(e,r){var c=this,m=!!B.u(r)||r,x=B.p(e),l=function(e,r){var n=B.w(c.$u?Date.UTC(c.$y,r,e):new Date(c.$y,r,e),c);return m?n:n.endOf("day")},$=function(e,r){return B.w(c.toDate()[e].apply(c.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(r)),c)},g=this.$W,v=this.$M,p=this.$D,w="set"+(this.$u?"UTC":"");switch(x){case o:return m?l(1,0):l(31,11);case u:return m?l(1,v):l(0,v+1);case a:var b=this.$locale().weekStart||0,j=(g<b?g+7:g)-b;return l(m?p-j:p+(6-j),v);case"day":case f:return $(w+"Hours",0);case i:return $(w+"Minutes",1);case s:return $(w+"Seconds",2);case n:return $(w+"Milliseconds",3);default:return this.clone()}},e.endOf=function(e){return this.startOf(e,!1)},e.$set=function(e,a){var c,m=B.p(e),x="set"+(this.$u?"UTC":""),g=((c={}).day=x+"Date",c[f]=x+"Date",c[u]=x+"Month",c[o]=x+"FullYear",c[i]=x+"Hours",c[s]=x+"Minutes",c[n]=x+"Seconds",c[r]=x+"Milliseconds",c)[m],v="day"===m?this.$D+(a-this.$W):a;if(m===u||m===o){var p=this.clone().set(f,1);p.$d[g](v),p.init(),this.$d=p.set(f,Math.min(this.$D,p.daysInMonth())).$d}else g&&this.$d[g](v);return this.init(),this},e.set=function(e,r){return this.clone().$set(e,r)},e.get=function(e){return this[B.p(e)]()},e.add=function(e,r){var c,f=this;e=Number(e);var m=B.p(r),y=function(r){var n=S(f);return B.w(n.date(n.date()+Math.round(r*e)),f)};if(m===u)return this.set(u,this.$M+e);if(m===o)return this.set(o,this.$y+e);if("day"===m)return y(1);if(m===a)return y(7);var x=((c={})[s]=6e4,c[i]=36e5,c[n]=1e3,c)[m]||1,g=this.$d.getTime()+e*x;return B.w(g,this)},e.subtract=function(e,r){return this.add(-1*e,r)},e.format=function(e){var r=this,n=this.$locale();if(!this.isValid())return n.invalidDate||m;var s=e||"YYYY-MM-DDTHH:mm:ssZ",i=B.z(this),a=this.$H,u=this.$m,c=this.$M,o=n.weekdays,f=n.months,x=n.meridiem,h=function(e,n,i,a){return e&&(e[
1n]||e(r,s))||i[n].slice(0,a)},d=function(e){return B.s(a%12||12,e,"0")},v=x||function(e,r,n){var s=e<12?"AM":"PM";return n?s.toLowerCase():s};return s.replace(g,function(e,s){return s||function(e){switch(e){case"YY":return String(r.$y).slice(-2);case"YYYY":return B.s(r.$y,4,"0");case"M":return c+1;case"MM":return B.s(c+1,2,"0");case"MMM":return h(n.monthsShort,c,f,3);case"MMMM":return h(f,c);case"D":return r.$D;case"DD":return B.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return h(n.weekdaysMin,r.$W,o,2);case"ddd":return h(n.weekdaysShort,r.$W,o,3);case"dddd":return o[r.$W];case"H":return String(a);case"HH":return B.s(a,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return v(a,u,!0);case"A":return v(a,u,!1);case"m":return String(u);case"mm":return B.s(u,2,"0");case"s":return String(r.$s);case"ss":return B.s(r.$s,2,"0");case"SSS":return B.s(r.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},e.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},e.diff=function(e,r,f){var m,x=this,g=B.p(r),v=S(e),p=(v.utcOffset()-this.utcOffset())*6e4,w=this-v,D=function(){return B.m(x,v)};switch(g){case o:m=D()/12;break;case u:m=D();break;case c:m=D()/3;break;case a:m=(w-p)/6048e5;break;case"day":m=(w-p)/864e5;break;case i:m=w/36e5;break;case s:m=w/6e4;break;case n:m=w/1e3;break;default:m=w}return f?m:B.a(m)},e.daysInMonth=function(){return this.endOf(u).$D},e.$locale=function(){return w[this.$L]},e.locale=function(e,r){if(!e)return this.$L;var n=this.clone(),s=N(e,r,!0);return s&&(n.$L=s),n},e.clone=function(){return B.w(this.$d,this)},e.toDate=function(){return new Date(this.valueOf())},e.toJSON=function(){return this.isValid()?this.toISOString():null},e.toISOString=function(){return this.$d.toISOString()},e.toString=function(){return this.$d.toUTCString()},M}()).prototype,S.prototype=C,[["$ms",r],["$s",n],["$m",s],["$H",i],["$W","day"],["$M",u],["$y",o],["$D",f]].forEach(function(e){C[e[1]]=function(r){return this.$g(r,e[0],e[1])}}),S.extend=function(e,r){return e.$i||(e(r,_,S),e.$i=!0),S},S.locale=N,S.isDayjs=j,S.unix=function(e){return S(1e3*e)},S.en=w[p],S.Ls=w,S.p={},S)},89151:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blogs",function(){return n(36039)}])},47489:function(e,r,n){"use strict";var s=n(85893);n(67294),r.Z=e=>{let{text:r}=e;return(0,s.jsx)("div",{className:"shadow-lg rounded border border-[#BDBDBD] p-5 mb-12 md:mb-14 xl:mb-16",children:r})}},43279:function(e,r,n){"use strict";n.d(r,{x:function(){return BreadcrumbItems}});var s=n(85893),i=n(67294);n(56937),n(11163);var a=n(13386);n(62660);let BreadcrumbItem=e=>{let{children:r,...n}=e;return(0,s.jsx)("li",{className:"text-sm text-body transition duration-200 ease-in first:pl-0 rtl:first:pr-0 last:pr-0 rtl:last:pl-0 hover:text-heading",...n,children:r})},BreadcrumbSeparator=e=>{let{children:r,...n}=e;return(0,s.jsx)("li",{className:"text-[24px] font-semibold mt-0.5 text-[#BDBDBD]",...n,children:r})},BreadcrumbItems=e=>{let r=i.Children.toArray(e.children);r=r.map((e,r)=>(0,s.jsx)(BreadcrumbItem,{children:e},"breadcrumb_item".concat(r)));let n=r.length-1;return r=r.reduce((r,i,u)=>(u<n?r.push(i,(0,s.jsx)(BreadcrumbSeparator,{children:e.separator||(0,s.jsx)(a.T,{})},"breadcrumb_sep".concat(u))):r.push(i),r),[]),(0,s.jsx)("div",{className:"brandXBreadcrumb flex items-center mt-10",children:(0,s.jsx)("ol",{className:"flex items-center w-full overflow-hidden",children:r})})}},56937:function(e,r,n){"use strict";var s=n(85893),i=n(11163),a=n(41664),u=n.n(a),c=n(67294);r.Z=e=>{let{children:r,activeClassName:n,href:a,...o}=e,{pathname:f}=(0,i.useRouter)(),m=c.Children.only(r),x=m.props.className||"",g=f===a?"".concat(x," ").concat(n).trim():x;return(0,s.jsx)(u(),{href:a,...o,legacyBehavior:!0,children:c.cloneElement(m,{className:g||null})})}},85092:function(e,r,n){"use strict";var s=n(85893),i=n(93967),a=n.n(i);r.Z=e=>{let{children:r,className:n,el:i="div",clean:u}=e,c=a()(n,{"mx-auto w-400 px-2 md:px-10  py-10 max-md:pb-10 max-md:pt-0 ":!u});return(0,s.jsx)(i,{className:c,children:r})}},31015:function(e,r,n){"use strict";n.d(r,{K:function(){return useBlogsDataQuery},r:function(){return useBlogsQuery}});var s=n(71407),i=n(37786),a=n(88767);let u=new s.z(i.Q.BLOGS),fetchBlogs=async()=>{let e=await u.findAllGet(i.Q.BLOGS);return e.data},useBlogsQuery=()=>(0,a.useQuery)([i.Q.BLOGS],fetchBlogs),fetchBlogData=async e=>{let{data:r}=await u.findAllGet(i.Q.BlOGS_DETAIL+"/"+e.slug);return null==r?void 0:r.data},useBlogsDataQuery=e=>(0,a.useQuery)([i.Q.BLOGS,e],()=>fetchBlogData(e))},13386:function(e,r,n){"use strict";n.d(r,{P:function(){return ArrowNextNew},T:function(){return ArrowNext}});var s=n(85893);let ArrowNext=e=>{let{...r}=e;return(0,s.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 19 15",fill:"CurrentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.0664 6.51791C14.6284 6.51791 12.4064 4.29691 12.4064 1.85791V0.85791H10.4064V1.85791C10.4064 3.63191 11.1844 5.29591 12.4054 6.51791H0.0664062V8.51791H12.4054C11.1844 9.73991 10.4064 11.4039 10.4064 13.1779V14.1779H12.4064V13.1779C12.4064 10.7389 14.6284 8.51791 17.0664 8.51791H18.0664V6.51791H17.0664Z",fill:"white"})})},ArrowNextNew=e=>{let{...r}=e;return(0,s.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 19 15",...r,f
1ill:"fill",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17.0664 6.51791C14.6284 6.51791 12.4064 4.29691 12.4064 1.85791V0.85791H10.4064V1.85791C10.4064 3.63191 11.1844 5.29591 12.4054 6.51791H0.0664062V8.51791H12.4054C11.1844 9.73991 10.4064 11.4039 10.4064 13.1779V14.1779H12.4064V13.1779C12.4064 10.7389 14.6284 8.51791 17.0664 8.51791H18.0664V6.51791H17.0664Z",fill:"CurrentColor"})})}},62660:function(e,r,n){"use strict";n.d(r,{h:function(){return HomeIconNew}});var s=n(85893);let HomeIconNew=e=>{let{...r}=e;return(0,s.jsx)("svg",{width:"16",height:"17",...r,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M6.10514 14.3475V12.303C6.10512 11.783 6.52907 11.3605 7.05433 11.357H8.97838C9.50615 11.357 9.934 11.7805 9.934 12.303V12.303V14.3539C9.93387 14.7954 10.2898 15.1562 10.7357 15.1666H12.0184C13.2971 15.1666 14.3337 14.1404 14.3337 12.8745V12.8745V7.05848C14.3268 6.56047 14.0906 6.09282 13.6923 5.78861L9.30547 2.29012C8.53695 1.68096 7.44446 1.68096 6.67594 2.29012L2.30834 5.79496C1.9085 6.09793 1.67192 6.56636 1.66699 7.06482V12.8745C1.66699 14.1404 2.70358 15.1666 3.98227 15.1666H5.26497C5.72189 15.1666 6.09231 14.7999 6.09231 14.3475V14.3475",stroke:"#130F26",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})}},36039:function(e,r,n){"use strict";n.r(r);var s=n(85893);n(67294);var i=n(94230),a=n(97425),u=n(25675),c=n.n(u),o=n(85092),f=n(41609),m=n.n(f),x=n(41664),g=n.n(x),v=n(43279),p=n(62660),w=n(13386),b=n(56937),j=n(88157),N=n(31015),S=n(47489),B=n(27484),_=n.n(B);function Blogs(){let{data:e,isLoading:r}=(0,N.r)();return!r&&m()(e)?(0,s.jsx)(S.Z,{text:"No blogs found / Login."}):(0,s.jsxs)(o.Z,{children:[(0,s.jsx)("div",{className:"-mt-8",children:(0,s.jsx)(v.x,{children:(0,s.jsxs)("div",{className:"flex gap-4 px-2 pb-5 items-center",children:[(0,s.jsx)(p.h,{}),(0,s.jsx)(b.Z,{href:"/",activeClassName:"font-semibold text-heading",children:(0,s.jsx)("a",{className:"text-base",children:"Home"})}),(0,s.jsx)(w.P,{}),(0,s.jsx)(b.Z,{href:a.Z.BLOGS,activeClassName:"font-semibold text-heading",children:(0,s.jsx)("a",{className:"capitalize text-base",children:"Blogs"})})]})})}),(0,s.jsx)("div",{className:"flex flex-wrap gap-10 justify-center",children:null==e?void 0:e.map((e,r)=>(0,s.jsxs)("div",{className:"flex flex-col gap-3 w-[435px] max-h-[550px] border rounded-lg p-4 border-zinc-400",children:[(0,s.jsx)("div",{className:"h-2/3 w-full flex items-center",children:(0,s.jsx)(c(),{src:null==e?void 0:e.banner,alt:"",height:100,width:420,className:"rounded-lg h-full"})}),(0,s.jsxs)("div",{className:"h-[160px]",children:[(0,s.jsx)("h2",{className:"font-semibold text-xl text-secondary pb-2",children:null==e?void 0:e.title}),(0,s.jsx)("p",{className:"text-black font-medium line-clamp pb-1.5",children:null==e?void 0:e.short_description}),(0,s.jsx)("div",{className:"flex items-center justify-between",children:(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(j.x,{})," Posted on ",_()(null==e?void 0:e.created_at).format("MMMM D, YYYY")]})}),(0,s.jsx)("div",{className:"flex justify-end",children:(0,s.jsx)(g(),{href:"".concat(a.Z.BLOGS+"/"+e.slug),children:(0,s.jsx)("button",{className:"bg-secondary py-2 px-5 text-white rounded-lg font-medium",children:"Read More"})})})]})]}))})]})}r.default=Blogs,Blogs.getLayout=i.G}},function(e){e.O(0,[8617,6569,4230,9774,2888,179],function(){return e(e.s=89151)}),_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.