PageSourceSearch

https://www.arizton.com/_next/static/chunks/pages/blog-80defb716b720313.js

js arizton.com collected 2026-10-02 02:32:32 UTC 13,429 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9195],{90538:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return a(46727)}])},42774:function(e,t){"use strict";t.Z={src:"/_next/static/media/near.20334743.jpg",height:360,width:504,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/sBCgoKCgoKCwwMCw8QDhAPFhQTExQWIhgaGBoYIjMgJSAgJSAzLTcsKSw3LVFAODhAUV5PSk9ecWVlcY+Ij7u7+//CABEIAAYACAMBIgACEQEDEQH/xAAoAAEBAAAAAAAAAAAAAAAAAAAABgEBAQAAAAAAAAAAAAAAAAAAAAH/2gAMAwEAAhADEAAAALAV/8QAHRAAAgEEAwAAAAAAAAAAAAAAAQMEAAIREhMhYf/aAAgBAQABPwDWStwQqRgcZZtcMnrwEV//xAAXEQEBAQEAAAAAAAAAAAAAAAABAgAh/9oACAECAQE/ACZkAOb/xAAWEQADAAAAAAAAAAAAAAAAAAAAARH/2gAIAQMBAT8ArP/Z",blurWidth:8,blurHeight:6}},84091:function(e,t,a){"use strict";var s=a(93967),r=a.n(s),l=a(67294),n=a(98814),i=a(85893);let c=l.forwardRef((e,t)=>{let[{className:a,...s},{as:l="div",bsPrefix:c,spans:o}]=function(e){let{as:t,bsPrefix:a,className:s,...l}=e;a=(0,n.vE)(a,"col");let i=(0,n.pi)(),c=(0,n.zG)(),o=[],d=[];return i.forEach(e=>{let t,s,r;let n=l[e];delete l[e],"object"==typeof n&&null!=n?{span:t,offset:s,order:r}=n:t=n;let i=e!==c?"-".concat(e):"";t&&o.push(!0===t?"".concat(a).concat(i):"".concat(a).concat(i,"-").concat(t)),null!=r&&d.push("order".concat(i,"-").concat(r)),null!=s&&d.push("offset".concat(i,"-").concat(s))}),[{...l,className:r()(s,...o,...d)},{as:t,bsPrefix:a,spans:o}]}(e);return(0,i.jsx)(l,{...s,ref:t,className:r()(a,!o.length&&c)})});c.displayName="Col",t.Z=c},59685:function(e,t,a){"use strict";a.d(t,{Z:function(){return _}});var s=a(93967),r=a.n(s),l=a(45697),n=a.n(l),i=a(67294),c=a(85893);let o={type:n().string,tooltip:n().bool,as:n().elementType},d=i.forwardRef((e,t)=>{let{as:a="div",className:s,type:l="valid",tooltip:n=!1,...i}=e;return(0,c.jsx)(a,{...i,ref:t,className:r()(s,"".concat(l,"-").concat(n?"tooltip":"feedback"))})});d.displayName="Feedback",d.propTypes=o;let m=i.createContext({});var u=a(98814);let A=i.forwardRef((e,t)=>{let{id:a,bsPrefix:s,className:l,type:n="checkbox",isValid:o=!1,isInvalid:d=!1,as:A="input",...h}=e,{controlId:f}=(0,i.useContext)(m);return s=(0,u.vE)(s,"form-check-input"),(0,c.jsx)(A,{...h,ref:t,type:n,id:a||f,className:r()(l,s,o&&"is-valid",d&&"is-invalid")})});A.displayName="FormCheckInput";let h=i.forwardRef((e,t)=>{let{bsPrefix:a,className:s,htmlFor:l,...n}=e,{controlId:o}=(0,i.useContext)(m);return a=(0,u.vE)(a,"form-check-label"),(0,c.jsx)("label",{...n,ref:t,htmlFor:l||o,className:r()(s,a)})});h.displayName="FormCheckLabel";let f=i.forwardRef((e,t)=>{let{id:a,bsPrefix:s,bsSwitchPrefix:l,inline:n=!1,reverse:o=!1,disabled:f=!1,isValid:p=!1,isInvalid:x=!1,feedbackTooltip:g=!1,feedback:b,feedbackType:j,className:v,style:N,title:y="",type:w="checkbox",label:E,children:C,as:F="input",...k}=e;s=(0,u.vE)(s,"form-check"),l=(0,u.vE)(l,"form-switch");let{controlId:R}=(0,i.useContext)(m),Z=(0,i.useMemo)(()=>({controlId:a||R}),[R,a]),_=!C&&null!=E&&!1!==E||i.Children.toArray(C).some(e=>i.isValidElement(e)&&e.type===h),I=(0,c.jsx)(A,{...k,type:"switch"===w?"checkbox":w,ref:t,isValid:p,isInvalid:x,disabled:f,as:F});return(0,c.jsx)(m.Provider,{value:Z,children:(0,c.jsx)("div",{style:N,className:r()(v,_&&s,n&&"".concat(s,"-inline"),o&&"".concat(s,"-reverse"),"switch"===w&&l),children:C||(0,c.jsxs)(c.Fragment,{children:[I,_&&(0,c.jsx)(h,{title:y,children:E}),b&&(0,c.jsx)(d,{type:j,tooltip:g,children:b})]})})})});f.displayName="FormCheck";var p=Object.assign(f,{Input:A,Label:h});a(42473);let x=i.forwardRef((e,t)=>{let{bsPrefix:a,type:s,size:l,htmlSize:n,id:o,className:d,isValid:A=!1,isInvalid:h=!1,plaintext:f,readOnly:p,as:x="input",...g}=e,{controlId:b}=(0,i.useContext)(m);return a=(0,u.vE)(a,"form-control"),(0,c.jsx)(x,{...g,type:s,size:n,ref:t,readOnly:p,id:o||b,className:r()(d,f?"".concat(a,"-plaintext"):a,l&&"".concat(a,"-").concat(l),"color"===s&&"".concat(a,"-color"),A&&"is-valid",h&&"is-invalid")})});x.displayName="FormControl";var g=Object.assign(x,{Feedback:d});let b=i.forwardRef((e,t)=>{let{className:a,bsPrefix:s,as:l="div",...n}=e;return s=(0,u.vE)(s,"form-floating"),(0,c.jsx)(l,{ref:t,className:r()(a,s),...n})});b.displayName="FormFloating";let j=i.forwardRef((e,t)=>
1{let{controlId:a,as:s="div",...r}=e,l=(0,i.useMemo)(()=>({controlId:a}),[a]);return(0,c.jsx)(m.Provider,{value:l,children:(0,c.jsx)(s,{...r,ref:t})})});j.displayName="FormGroup";var v=a(84091);let N=i.forwardRef((e,t)=>{let{as:a="label",bsPrefix:s,column:l=!1,visuallyHidden:n=!1,className:o,htmlFor:d,...A}=e,{controlId:h}=(0,i.useContext)(m);s=(0,u.vE)(s,"form-label");let f="col-form-label";"string"==typeof l&&(f="".concat(f," ").concat(f,"-").concat(l));let p=r()(o,s,n&&"visually-hidden",l&&f);return(d=d||h,l)?(0,c.jsx)(v.Z,{ref:t,as:"label",className:p,htmlFor:d,...A}):(0,c.jsx)(a,{ref:t,className:p,htmlFor:d,...A})});N.displayName="FormLabel";let y=i.forwardRef((e,t)=>{let{bsPrefix:a,className:s,id:l,...n}=e,{controlId:o}=(0,i.useContext)(m);return a=(0,u.vE)(a,"form-range"),(0,c.jsx)("input",{...n,type:"range",ref:t,className:r()(s,a),id:l||o})});y.displayName="FormRange";let w=i.forwardRef((e,t)=>{let{bsPrefix:a,size:s,htmlSize:l,className:n,isValid:o=!1,isInvalid:d=!1,id:A,...h}=e,{controlId:f}=(0,i.useContext)(m);return a=(0,u.vE)(a,"form-select"),(0,c.jsx)("select",{...h,size:l,ref:t,className:r()(n,a,s&&"".concat(a,"-").concat(s),o&&"is-valid",d&&"is-invalid"),id:A||f})});w.displayName="FormSelect";let E=i.forwardRef((e,t)=>{let{bsPrefix:a,className:s,as:l="small",muted:n,...i}=e;return a=(0,u.vE)(a,"form-text"),(0,c.jsx)(l,{...i,ref:t,className:r()(s,a,n&&"text-muted")})});E.displayName="FormText";let C=i.forwardRef((e,t)=>(0,c.jsx)(p,{...e,ref:t,type:"switch"}));C.displayName="Switch";var F=Object.assign(C,{Input:p.Input,Label:p.Label});let k=i.forwardRef((e,t)=>{let{bsPrefix:a,className:s,children:l,controlId:n,label:i,...o}=e;return a=(0,u.vE)(a,"form-floating"),(0,c.jsxs)(j,{ref:t,className:r()(s,a),controlId:n,...o,children:[l,(0,c.jsx)("label",{htmlFor:n,children:i})]})});k.displayName="FloatingLabel";let R={_ref:n().any,validated:n().bool,as:n().elementType},Z=i.forwardRef((e,t)=>{let{className:a,validated:s,as:l="form",...n}=e;return(0,c.jsx)(l,{...n,ref:t,className:r()(a,s&&"was-validated")})});Z.displayName="Form",Z.propTypes=R;var _=Object.assign(Z,{Group:j,Control:g,Floating:b,Check:p,Switch:F,Label:N,Text:E,Range:y,Select:w,FloatingLabel:k})},18518:function(e,t,a){"use strict";let s=a(87066).Z.create({baseURL:"https://api-v2.arizton.com/api",responseType:"json"});t.Z=s},3728:function(e,t,a){"use strict";var s=a(85893);a(67294);var r=a(90084),l=a(39626);t.Z=e=>{let t,a,{totalPages:n,page:i,changeCurrentPage:c}=e,o=n>6?6:n;if(Number(n)<=Number(o))t=1,a=Number(n);else{let e=Math.floor(Number(o)/2),s=Math.ceil(Number(o)/2)-1;Number(i)<=Number(e)?(t=1,a=Number(o)):Number(i)+Number(s)>=Number(n)?(t=Number(n)-Number(o)+1,a=Number(n)):(t=Number(i)-Number(e),a=Number(i)+2)}return(0,s.jsxs)("div",{className:"pagination",children:[1!=i&&(0,s.jsx)("button",{className:"btn btn-default prev",onClick:()=>c(Number(i)-1),disabled:1==i,children:(0,s.jsx)(l.$K8,{})}),t>1&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{className:"btn btn-default",onClick:()=>c(1),children:"1"}),t>2&&(0,s.jsx)("span",{children:"... "})]}),Array.from({length:n>6?6:n},(e,a)=>t+a).map(e=>(0,s.jsx)("button",{className:Number(e)===Number(i)?"btn btn-primary":"btn btn-default",onClick:()=>c(e),children:e},e)),a<n&&(0,s.jsxs)(s.Fragment,{children:[a<n-1&&(0,s.jsx)("span",{children:"... "}),(0,s.jsx)("button",{className:"btn btn-default",onClick:()=>c(n),children:n})]}),i!=n&&(0,s.jsx)("button",{className:"btn btn-default next",onClick:()=>c(Number(i)+1),disabled:i==n,children:(0,s.jsx)(r.sOJ,{})})]})}},90099:function(e,t,a){"use strict";a.d(t,{Z:function(){return A}});var s=a(85893),r=a(67294),l=a(25675),n=a.n(l),i=a(41664),c=a.n(i),o=a(42774),d=a(11163),m=a(18518);let u=async(e,t,a)=>{try{let a=await m.Z.post("/image-fetch",{path:e});t(a.data)}catch(e){a(e)}};var A=e=>{let{cardimg:t,date:a,title:l,intro:i,id:m,slug:A,image_alt:h}=e;return(0,d.useRouter)(),(0,r.useEffect)(()=>{t&&u(t,e=>{},e=>{console.log(e)})}),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"card-press-outer",children:(0,s.jsxs)(c(),{href:"/blog/".concat(A),className:"card-press",children:[(0,s.jsx)("div",{className:"card-img",children:(0,s.jsx)(n(),{src:t||o.Z,alt:h,height:400,width:500})}),(0,s.jsxs)("div",{className:"card-content",children:[(0,s.jsxs)("div",{className:"date",children:[(0,s.jsx)("span",{children:"Date:"})," ",a]}),(0,s.jsx)("h3",{children:l}),(0,s.jsx)("div",{className:"p-text",dangerouslySetInnerHTML:{__html:null!=i?i:""}})]})]})})})}},46727:function(e,t,a){"use strict";a.r(t);var s=a(85893),r=a(67294),l=a(59685),n=a(41664),i=a.n(n),c=a(7644);a(25675);var o=a(45184),d=a(54322),m=a(90099);a(42774);var u=a(11163);a(9008);var A=a(19640),h=a(29020),f=a(3728),p=a(52481);t.default=()=>{let e=(0,u.useRouter)(),[t,a]=(0,r.useState)([]),[n,x]=(0,r.useState)(""),[g,b]=(0,r.useState)([]),[j,v]=(0,r.useState)([]),[N,y]=(0,r.useState)(!1),[w,E]=(0,r.useState)(0),[C,F]=(0,r.useState)(1),k=(0,p.jF)(e.asPath),R=e=>e?new Date(e).toISOString().split("T")[0]:"",Z=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;try{var r;y(!0);let l=await (0,A.De)({page:s,limit:9,search:e||void 0,categoryId:t.length>0?t.join(","):void 0,published:!0});a(l.data||[]),E((null===(r=l.pagination)||void 0===r?void 0:r.totalPages)||0)}catch(e){console.log(e),a([])}finally{y(!1)}};(0,r.useEffect)(()=>{e.isReady&&(Z(),(0,A.Dc)().then(e=>{console.log("blogCat=>",e),b(e||[])}).catch(e=>{console.log(e)}))},[e.isReady,C]);let _=async(e,t)=>{e.stopPropagation();let a=[];v(a=j.includes(t._id)?j.filter(e=>e!==t._id):[...j,t._id]),F(1),Z(n,a,1)},I=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;F(e)};return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(h.Z,{title:"Full featured blog - Arizton.com",description:"A short, compelling news stories of various market  research reports across different verticals",canonical:"/blog",noindex:k,children:[(0,s.jsx)("section",{className:"press-search",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:"row",children:(0,s.jsx)("div",{className:"col-md-12",children:(0,s.jsxs)(l.Z,{className:"d-flex search",children:[(0,s.jsxs)("div",{className:"searchbar-outer",children:[(0,s.jsx)(l.Z.Control,{type:"search",placeholder:"Search",className:"","aria-label":"Search",name:"search",onChange:e=>{let t=e.target.value;console.log("event.target=>",t),x(t),Z(t,j,1),F(1)}}),(0,s.jsx)("div",{className:"search-result d-none",children:(0,s.jsxs)("ul",{children:[(0,s.jsx)("li",{children:(0,s.jsx)(i(),{href:"#",children:"Lorem ipsum dolor sit, amet consectetur adipisicing elit."})}),(0,s.jsx)("li",{children:(0,s.jsx)(i(),{href:"#",children:"Lorem ipsum dolor sit, amet consectetur adipisicing elit."})}),(0,s.jsx)("li",{children:(0,s.jsx)(i(),{href:"#",children:"Lorem ipsum dolor sit, amet consectetur adipisicing elit."})}),(0,s.jsx)("li",{children:(0,s.jsx)(i(),{href:"#",children:"Lorem ipsum dolor sit, amet consectetur adipisicing elit."})}),(0,s.jsx)("li",{children:(0,s.jsx)(i(),{href:"#",children:"Lorem ipsum dolor sit, amet consectetur adipisicing elit."})})]})}),(0,s.jsx)(c.Z,{className:"search-button primary--btn",children:(0,s.jsx)(o.eaK,{})})]}),(0,s.jsx)("div",{className:"dvdr"}
1),(0,s.jsxs)(d.Z,{align:"end",id:"dropdown-menu-align-end",children:[(0,s.jsx)(d.Z.Toggle,{className:"nav-item nav-link d-flex primary--btn",children:"filter by Category"}),(0,s.jsx)(d.Z.Menu,{children:g.map((e,t)=>(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"menu-outer",children:[(0,s.jsx)(d.Z.Item,{onClick:t=>_(t,e),children:e.name}),j.includes(e._id)?(0,s.jsx)("span",{style:{color:"green"},children:"✔"}):""]},e._id)}))})]})]})})})})}),(0,s.jsx)("section",{className:"press-main",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:"row",children:(0,s.jsx)("div",{className:"col-md-12",children:(0,s.jsxs)("div",{className:"row",children:[N?"Loading Please Wait!! ...":t&&t.length>0?t.map((e,t)=>(0,s.jsx)("div",{className:"col-md-4 mb-3",children:(0,s.jsx)(m.Z,{cardimg:/^https:\/\//.test(e.image)?e.image:"https://arizton-main-new.s3.us-east-2.amazonaws.com/blogs/"+e.image,date:R(e.publishedDate),title:e.title,intro:e.shortDesc,id:e._id,slug:e.slug})},e._id)):(0,s.jsx)("div",{className:"col-md-12 no-blog",children:"No blog found"}),(0,s.jsx)(f.Z,{totalPages:w,page:C,changeCurrentPage:e=>I(e)})]})})})})})]})})}},19640:function(e,t,a){"use strict";a.d(t,{Dc:function(){return l},De:function(){return r}});var s=a(12514);let r=async e=>{let{page:t=1,limit:a=9,search:r="",published:l=!0,categoryId:n=""}=e;return(0,s.k_)({path:"/v2/blogs",method:"GET",params:{page:t,limit:a,search:r,published:l,categoryId:n},enableRefresh:!1,showErrorToast:!1})},l=async()=>(0,s.k_)({path:"/v2/document-categories/dropdown",method:"GET",params:{type:"blog"},enableRefresh:!1,showErrorToast:!1})}},function(e){e.O(0,[6660,4838,4738,4396,3365,594,3219,7473,123,6713,9020,2888,9774,179],function(){return e(e.s=90538)}),_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.