1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9248],{96681:function(e,t,l){l.d(t,{Jj:function(){return u},NF:function(){return d},We:function(){return s},_g:function(){return i},c4:function(){return n},eC:function(){return x},j3:function(){return r},or:function(){return c}});var o=l(29061),a=l(20700);function n(e,t){var l=(0,a.XP)(t);return o.Z.get("".concat(a.FH,"/getpageinfodata").concat(l),{headers:{authorization:e}})}function r(e,t){return o.Z.post("".concat(a.FH,"/updatemultipleidpageinfo"),e,{headers:{authorization:t}})}function s(e,t){var l=(0,a.XP)(t);return o.Z.get("".concat(a.FH,"/getCrosslinkingdata").concat(l),{headers:{authorization:e}})}function i(e,t){return o.Z.post("".concat(a.FH,"/updateCrosslinkingPageinfo"),e,{headers:{authorization:t}})}function d(e,t){var l=(0,a.XP)(t);return o.Z.get("".concat(a.FH,"/getfaqdata").concat(l),{headers:{authorization:e}})}function x(e,t){return o.Z.post("".concat(a.FH,"/updateFaqPageinfo"),e,{headers:{authorization:t}})}function c(e,t,l){return o.Z.patch("".concat(a.FH,"/updateCommonfaqdata/").concat(t),e,{headers:{authorization:l}})}function u(e,t){var l=(0,a.XP)(t);return o.Z.get("".concat(a.FH,"/getCommonfaqdata").concat(l),{headers:{authorization:e}})}},52427:function(e,t,l){l.d(t,{Z:function(){return x}});var o=l(26042),a=l(69396),n=l(29815),r=l(85893),s=l(67294),i=l(9473),d=function(e){var t=e.open;return(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0 transition-transform duration-200 ".concat(t?"rotate-180":""),children:(0,r.jsx)("path",{d:"m6 9 6 6 6-6"})})};function x(e){var t,l,x,c,u,p,h,m,f,g,v,j,b,y,w,N,_,C=e.editmode,q=e.data,Z=(e.setHTMLText,e.index),k=e.htmlArr,F=e.setQaArray,H=e.qaArray,T=(0,s.useState)(!1),L=T[0],P=T[1],A=(0,i.v9)(function(e){return null==e?void 0:e.faq}).data,D=(0,s.useState)(null),M=D[0],Q=D[1],z=(0,s.useState)({h2:(null==q?void 0:null===(t=q.faq_data)||void 0===t?void 0:t.h2)||"FAQs",p:(null==q?void 0:null===(l=q.faq_data)||void 0===l?void 0:l.p)||"Frequently asked questions",qa:[]}),I=z[0],S=z[1];return((0,s.useEffect)(function(){setTimeout(function(){P(!0)},3e3)},[]),(0,s.useEffect)(function(){(null==H?void 0:H.length)&&!0===C&&(k[Z].faq_data=(0,a.Z)((0,o.Z)({},I),{qa:H}))},[H,I]),(0,s.useEffect)(function(){(null==H?void 0:H.length)>0&&"editor"===C&&(k[Z].faq_data=(0,a.Z)((0,o.Z)({},I),{qa:H}))},[H,I]),!0===C)?(0,r.jsx)("div",{className:"relative !mx-auto items-center 2xl:w-[90%] xl:w-[90%] lg:w-[90%] -md:w-[90%] -sm:w-[90%] -xs:w-full -xxs:w-full w-full bg-white px-6 pt-10 pb-8 mt-8 shadow-xl ring-1 ring-gray-900/5 sm:mx-auto sm:rounded-lg sm:px-10 mb-[20px]",children:(0,r.jsxs)("div",{className:"mx-auto px-5",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center",children:[(0,r.jsxs)("h2",{className:"mt-5 text-center flex gap-2 items-center text-[#000] text-[24px] sm:text-[30px] font-bold tracking-tight",children:[(0,r.jsx)("input",{type:"text",value:I.h2,style:{color:(null==I?void 0:I.h2_textColor)?null==I?void 0:I.h2_textColor:"#000"},onChange:function(e){S((0,a.Z)((0,o.Z)({},I),{h2:e.target.value}))},className:"bg-white text-md text-[#000] block px-3 py-2 rounded-lg w-full border-2 border-gray-300 placeholder-gray-600 shadow-md focus:placeholder-gray-500 focus:bg-white focus:border-gray-600 focus:outline-none"}),(0,r.jsxs)("div",{className:"gap-1",children:[(0,r.jsx)("label",{className:"text-[#000] text-[13px]",children:"Text-color:"}),(0,r.jsx)("input",{type:"color",value:null==I?void 0:I.h2_textColor,onChange:function(e){S((0,a.Z)((0,o.Z)({},I),{h2_textColor:e.target.value}))}})]})]}),(0,r.jsxs)("p",{className:"mt-3 text-lg flex gap-2 text-neutral-500 md:text-xl",children:[(0,r.jsx)("textarea",{value:I.p,style:{color:(null==I?void 0:I.p_textColor)?null==I?void 0:I.p_textColor:"#000"},onChange:function(e){S((0,a.Z)((0,o.Z)({},I),{p:e.target.value}))},className:"text-md text-[#000] w-[680px] h-[90px] block px-3 py-2 rounded-lg bg-white border-2 border-gray-300 placeholder-gray-600 shadow-md focus:placeholder-gray-500 focus:bg-white focus:border-gray-600 focus:outline-none"}),(0,r.jsxs)("div",{className:"grid ",children:[(0,r.jsx)("label",{className:"text-[#000] text-[13px]",children:"Text-color:"}),(0,r.jsx)("input",{type:"color",value:null==I?void 0:I.p_textColor,onChange:function(e){
1S((0,a.Z)((0,o.Z)({},I),{p_textColor:e.target.value}))}})]})]})]}),(0,r.jsxs)("div",{className:"mx-auto mt-8 grid divide-y divide-neutral-200",children:[(0,r.jsxs)("div",{className:"flex justify-center items-center mb-2 gap-1",children:[" ",(0,r.jsx)("button",{className:"pt-[9px] pb-[10px] px-[15px] text-[#fff] bg-[#071158] rounded-[10px] flex justify-center items-center",type:"button",onClick:function(){F((0,n.Z)(H).concat([{p:"",span:""}]))},children:"Add New Question"})]})," ",L?(null==H?void 0:H.length)>0?null==H?void 0:H.map(function(e,t){var l,o,a,s;return(0,r.jsxs)("div",{className:"py-5 flex gap-1",children:[(0,r.jsx)("div",{children:(0,r.jsxs)("details",{className:"group",open:!0,children:[(0,r.jsxs)("summary",{className:"flex cursor-pointer text-[#000] list-none items-center justify-between font-medium",children:[(0,r.jsxs)("span",{className:"flex gap-1",children:[" ",(0,r.jsx)("textarea",{value:e.span||"",style:{color:(null===(l=H[0])||void 0===l?void 0:l.h2_textColor)?null===(o=H[0])||void 0===o?void 0:o.h2_textColor:"#000"},onChange:function(e){H[t].span=e.target.value,F((0,n.Z)(H))},placeholder:"Your Question ?",className:"text-md text-[#000] w-[680px] h-[90px] block px-3 py-2 rounded-lg bg-white border-2 border-gray-300 placeholder-gray-600 shadow-md focus:placeholder-gray-500 focus:bg-white focus:border-gray-600 focus:outline-none"}),0===t&&(0,r.jsxs)("div",{className:"gap-1",children:[(0,r.jsx)("label",{className:"text-[#000] text-[13px]",children:"Text-color:"}),(0,r.jsx)("input",{type:"color",value:null==e?void 0:e.h2_textColor,onChange:function(e){H[t].h2_textColor=e.target.value,F((0,n.Z)(H))}})]})]}),(0,r.jsx)("span",{className:"transition group-open:rotate-180",children:(0,r.jsx)("svg",{fill:"none",height:"24",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"24",children:(0,r.jsx)("path",{d:"M6 9l6 6 6-6"})})})]}),(0,r.jsxs)("p",{className:"group-open:animate-fadeIn mt-3 text-neutral-600 flex gap-1",children:[(0,r.jsx)("textarea",{value:e.p||"",style:{color:(null===(a=H[0])||void 0===a?void 0:a.p_textColor)?null===(s=H[0])||void 0===s?void 0:s.p_textColor:"#000"},placeholder:"Here is your answer.",onChange:function(e){H[t].p=e.target.value,F((0,n.Z)(H))},className:"text-md text-[#000] w-[680px] h-[90px] block px-3 py-2 rounded-lg bg-white border-2 border-gray-300 placeholder-gray-600 shadow-md focus:placeholder-gray-500 focus:bg-white focus:border-gray-600 focus:outline-none"}),0===t&&(0,r.jsxs)("div",{className:"gap-1",children:[(0,r.jsx)("label",{className:"text-[#000] text-[13px]",children:"Text-color:"}),(0,r.jsx)("input",{type:"color",value:null==e?void 0:e.p_textColor,onChange:function(e){H[t].p_textColor=e.target.value,F((0,n.Z)(H))}})]})]})]})}),(0,r.jsxs)("div",{className:"grid gap-2 items-center ",children:[(0,r.jsx)("button",{title:"Delete",className:"text-white bg-black rounded-[5px] px-[10px] py-[5px]",type:"button",onClick:function(){var e=null==H?void 0:H.filter(function(e,l){return t!==l});F((0,n.Z)(e))},children:"\uD83D\uDDD1 Remove"}),(0,r.jsx)("button",{type:"button",className:"px-[8px] py-[5px] w-[134px] text-[#fff] bg-[#071158] rounded-[5px]",onClick:function(){0!==t&&(H.splice(t,0,{p:"",span:""}),F((0,n.Z)(H)))},children:"Add New Area"})]})]},t)}):null:(0,r.jsx)("div",{className:"text-[20px] col-span-2 font-bold text-[#000] text-center w-full",children:(0,r.jsx)("p",{children:"Please hold on we are gathering some FAQs for this page..!"})})]})]})},Z):"editor"===C?(0,r.jsx)("div",{className:"relative !mx-auto items-center 2xl:w-[90%] xl:w-[90%] lg:w-[90%] -md:w-[90%] -sm:w-[90%] -xs:w-full -xxs:w-full w-full bg-white px-6 pt-10 pb-8 mt-8 shadow-xl ring-1 ring-gray-900/5 sm:mx-auto sm:rounded-lg sm:px-10 mb-[20px]",children:(0,r.jsxs)("div",{className:"mx-auto px-5",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center",children:[(0,r.jsxs)("h2",{className:"mt-5 text-center flex gap-2 items-center text-[#000] text-[24px] sm:text-[30px] font-bold tracking-tight",children:[(0,r.jsx)("input",{type:"text",value:I.h2,style:{color:(null==I?void 0:I.h2_textColor)?null==I?void 0:I.h2_textColor:"#000"}
1,onChange:function(e){S((0,a.Z)((0,o.Z)({},I),{h2:e.target.value}))},className:"bg-white text-md text-[#000] block px-3 py-2 rounded-lg w-full border-2 border-gray-300 placeholder-gray-600 shadow-md focus:placeholder-gray-500 focus:bg-white focus:border-gray-600 focus:outline-none"}),(0,r.jsxs)("div",{className:"gap-1",children:[(0,r.jsx)("label",{className:"text-[#000] text-[13px]",children:"Text-color:"}),(0,r.jsx)("input",{type:"color",value:null==I?void 0:I.h2_textColor,onChange:function(e){S((0,a.Z)((0,o.Z)({},I),{h2_textColor:e.target.value}))}})]})]}),(0,r.jsxs)("p",{className:"mt-3 text-lg flex gap-2 text-neutral-500 md:text-xl",children:[(0,r.jsx)("textarea",{value:I.p,style:{color:(null==I?void 0:I.p_textColor)?null==I?void 0:I.p_textColor:"#000"},onChange:function(e){S((0,a.Z)((0,o.Z)({},I),{p:e.target.value}))},className:"text-md text-[#000] w-[680px] h-[90px] block px-3 py-2 rounded-lg bg-white border-2 border-gray-300 placeholder-gray-600 shadow-md focus:placeholder-gray-500 focus:bg-white focus:border-gray-600 focus:outline-none"}),(0,r.jsxs)("div",{className:"grid ",children:[(0,r.jsx)("label",{className:"text-[#000] text-[13px]",children:"Text-color:"}),(0,r.jsx)("input",{type:"color",value:null==I?void 0:I.p_textColor,onChange:function(e){S((0,a.Z)((0,o.Z)({},I),{p_textColor:e.target.value}))}})]})]})]}),(0,r.jsxs)("div",{className:"mx-auto mt-8 grid divide-y divide-neutral-200",children:[(0,r.jsxs)("div",{className:"flex justify-center items-center mb-2 gap-1",children:[" ",(0,r.jsx)("button",{className:"pt-[9px] pb-[10px] px-[15px] text-[#fff] bg-[#071158] rounded-[10px] flex justify-center items-center",type:"button",onClick:function(){var e,t;null===(e=k[Z])||void 0===e||null===(t=e.faq_data)||void 0===t||t.qa.push({p:"",span:""}),F((0,n.Z)(k))},children:"Add New Question"})]})," ",L?(null==H?void 0:H.length)>0?null==H?void 0:H.map(function(e,t){var l,o,a,s;return(0,r.jsxs)("div",{className:"py-5 flex gap-1",children:[(0,r.jsx)("div",{children:(0,r.jsxs)("details",{className:"group",open:!0,children:[(0,r.jsxs)("summary",{className:"flex cursor-pointer text-[#000] list-none items-center justify-between font-medium",children:[(0,r.jsxs)("span",{className:"flex gap-1",children:[" ",(0,r.jsx)("textarea",{value:e.span||"",style:{color:(null===(l=H[0])||void 0===l?void 0:l.h2_textColor)?null===(o=H[0])||void 0===o?void 0:o.h2_textColor:"#000"},onChange:function(e){H[t].span=e.target.value,k[Z].faq_data.qa=H,F((0,n.Z)(k))},placeholder:"Your Question ?",className:"text-md text-[#000] w-[680px] h-[90px] block px-3 py-2 rounded-lg bg-white border-2 border-gray-300 placeholder-gray-600 shadow-md focus:placeholder-gray-500 focus:bg-white focus:border-gray-600 focus:outline-none"}),0===t&&(0,r.jsxs)("div",{className:"gap-1",children:[(0,r.jsx)("label",{className:"text-[#000] text-[13px]",children:"Text-color:"}),(0,r.jsx)("input",{type:"color",value:null==e?void 0:e.h2_textColor,onChange:function(e){H[t].h2_textColor=e.target.value,k[Z].faq_data.qa=H,F((0,n.Z)(k))}})]})]}),(0,r.jsx)("span",{className:"transition group-open:rotate-180",children:(0,r.jsx)("svg",{fill:"none",height:"24",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"24",children:(0,r.jsx)("path",{d:"M6 9l6 6 6-6"})})})]}),(0,r.jsxs)("p",{className:"group-open:animate-fadeIn mt-3 text-neutral-600 flex gap-1",children:[(0,r.jsx)("textarea",{value:e.p||"",style:{color:(null===(a=H[0])||void 0===a?void 0:a.p_textColor)?null===(s=H[0])||void 0===s?void 0:s.p_textColor:"#000"},placeholder:"Here is your answer.",onChange:function(e){H[t].p=e.target.value,k[Z].faq_data.qa=H,F((0,n.Z)(k))},className:"text-md text-[#000] w-[680px] h-[90px] block px-3 py-2 rounded-lg bg-white border-2 border-gray-300 placeholder-gray-600 shadow-md focus:placeholder-gray-500 focus:bg-white focus:border-gray-600 focus:outline-none"}),0===t&&(0,r.jsxs)("div",{className:"gap-1",children:[(0,r.jsx)("label",{className:"text-[#000] text-[13px]",children:"Text-color:"}),(0,r.jsx)("input",{type:"color",value:null==e?void 0:e.p_textColor,onChange:function(e){H[t].p_textColor=e.target.value,k[Z].faq_data.qa=
1H,F((0,n.Z)(k))}})]})]})]})}),(0,r.jsxs)("div",{className:"grid gap-2 items-center ",children:[(0,r.jsx)("button",{title:"Delete",className:"text-white bg-black rounded-[5px] px-[10px] py-[5px]",type:"button",onClick:function(){var e=null==H?void 0:H.filter(function(e,l){return t!==l});k[Z].faq_data.qa=e,F((0,n.Z)(k))},children:"\uD83D\uDDD1 Remove"}),(0,r.jsx)("button",{type:"button",className:"px-[8px] py-[5px] w-[134px] text-[#fff] bg-[#071158] rounded-[5px]",onClick:function(){0!==t&&(H.splice(t,0,{p:"",span:""}),k[Z].faq_data.qa=H,F((0,n.Z)(k)))},children:"Add New Area"})]})]},t)}):null:(0,r.jsx)("div",{className:"text-[20px] col-span-2 font-bold text-[#000] text-center w-full",children:(0,r.jsx)("p",{children:"Please hold on we are gathering some FAQs for this page..!"})})]})]})},Z):"dynamicBody"===C?(0,r.jsx)("div",{style:{fontFamily:"Poppins, sans-serif"},className:"relative !mx-auto items-center 2xl:w-[90%] xl:w-[90%] lg:w-[90%] -md:w-[90%] -sm:w-[90%] -xs:w-full -xxs:w-full w-full bg-white px-6 pt-10 pb-8 mt-8 shadow-xl ring-1 ring-gray-900/5 sm:mx-auto sm:rounded-lg sm:px-10 mb-[20px]",children:(0,r.jsxs)("div",{className:"mx-auto px-5",children:[(0,r.jsx)("div",{className:"flex flex-col items-center",children:(0,r.jsx)("h2",{style:{color:(null==q?void 0:null===(x=q.faq_data)||void 0===x?void 0:x.h2_textColor)?null==q?void 0:null===(c=q.faq_data)||void 0===c?void 0:c.h2_textColor:"#000"},dangerouslySetInnerHTML:{__html:null==q?void 0:null===(u=q.faq_data)||void 0===u?void 0:u.p},className:"mt-5 text-center text-[#000] text-[24px] sm:text-[30px] font-bold tracking-tight"})}),(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 mt-4",children:null===(f=(0,n.Z)((null==A?void 0:null===(p=A.common_faq_data)||void 0===p?void 0:null===(h=p.qa)||void 0===h?void 0:h.length)>0&&"true"===A.common_faq?A.common_faq_data.qa:[]).concat((0,n.Z)((null==q?void 0:null===(m=q.faq_data)||void 0===m?void 0:m.qa)||[])))||void 0===f?void 0:f.map(function(e,t){if(""===e.p&&""===e.span)return"";var l=M===t;return(0,r.jsxs)("div",{className:"bg-white border border-[#e6ebf2] rounded-lg overflow-hidden",children:[(0,r.jsxs)("button",{type:"button",onClick:function(){var e;return Q(function(e){return e===t?null:t})},"aria-expanded":l,className:"w-full flex items-start font-medium justify-between gap-[10px] text-left px-4 py-3.5 text-[#0b4378] text-sm hover:bg-[#f7faff] transition-colors",children:["Q",t+1,(0,r.jsx)("span",{children:e.span}),(0,r.jsx)(d,{open:l})]}),l&&(0,r.jsx)("div",{className:"px-4 pb-4 -mt-1 text-sm text-gray-600 leading-relaxed",children:e.p})]},t)})})]})}):(0,r.jsx)("div",{style:{fontFamily:"Poppins, sans-serif"},className:"relative !mx-auto items-center 2xl:w-[90%] xl:w-[90%] lg:w-[90%] -md:w-[90%] -sm:w-[90%] -xs:w-full -xxs:w-full w-full bg-white px-6 pt-10 pb-8 mt-8 shadow-xl ring-1 ring-gray-900/5 sm:mx-auto sm:rounded-lg sm:px-10",children:(0,r.jsxs)("div",{className:"mx-auto px-5",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center",children:[(0,r.jsx)("h2",{style:{color:(null==q?void 0:null===(g=q.faq_data)||void 0===g?void 0:g.h2_textColor)?null==q?void 0:null===(v=q.faq_data)||void 0===v?void 0:v.h2_textColor:"#000"},dangerouslySetInnerHTML:{__html:null==q?void 0:null===(j=q.faq_data)||void 0===j?void 0:j.h2},className:"mt-5 text-center text-[#000] text-[24px] sm:text-[30px] font-bold tracking-tight"}),(0,r.jsx)("p",{style:{color:(null==q?void 0:null===(b=q.faq_data)||void 0===b?void 0:b.p_textColor)?null==q?void 0:null===(y=q.faq_data)||void 0===y?void 0:y.p_textColor:"#000"},dangerouslySetInnerHTML:{__html:null==q?void 0:null===(w=q.faq_data)||void 0===w?void 0:w.p},className:"mt-3 text-lg text-neutral-500 md:text-xl"})]}),(0,r.jsx)("div",{className:"mx-auto mt-8 grid divide-y divide-neutral-200",children:null===(_=(0,n.Z)((null==q?void 0:null===(N=q.faq_data)||void 0===N?void 0:N.qa)||[]))||void 0===_?void 0:_.map(function(e,t){var l,o,a,n,s,i,d,x;return""===e.p&&""===e.span?"":(0,r.jsx)("div",{className:"py-5",children:(0,r.jsxs)("details",{className:"group",children:[(0,r.jsxs)("summary",{className:"flex cursor-pointer text-[#000] list-none items-center justify-between font-medium",children:[(0,r.jsx)("span",{className:"text-[20px] -xs:text-[18px] -xxs:text-[18px] font-semibold",style:{color:(null===(o=null==q?void 0:null===(l=q.faq_data)||void 0===l?void 0:l.qa[0])||void 0===o?void 0:o.h2_textColor)?null===(n=null==q?void 0:null===(a=q.faq_data)||void 0===a?void 0:a.qa[0])||void 0===n?void 0:n.h2_textColor:"#000"},dangerouslySetInnerHTML:{__html:e.span}}),(0,r.jsx)("span",{className:"transition group-open:rotate-180",children:(0,r.jsx)("svg",{fill:"none",height:"24",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"24",children:(0,r.jsx)("path",{d:"M6 9l6 6 6-6"})})})]}),(0,r.jsx)("p",{dangerouslySetInnerHTML:{__html:e.p},className:"text-[16px] -xs:text-[14px] -xxs:text-[14px] group-open:animate-fadeIn mt-3 text-neutral-600",
1style:{color:(null===(i=null==q?void 0:null===(s=q.faq_data)||void 0===s?void 0:s.qa[0])||void 0===i?void 0:i.p_textColor)?null===(x=null==q?void 0:null===(d=q.faq_data)||void 0===d?void 0:d.qa[0])||void 0===x?void 0:x.p_textColor:"#000"}})]})},t)})})]})})}}}]);
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.