1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7553],{295:(e,a,t)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return h}});const n=t(4252)._(t(4232)),i=t(6581);const r=[],s=[];let l=!1;function o(e){let a=e(),t={loading:!0,loaded:null,error:null};return t.promise=a.then(e=>(t.loading=!1,t.loaded=e,e)).catch(e=>{throw t.loading=!1,t.error=e,e}),t}function c(e,a){let t=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},a),r=null;function o(){if(!r){const a=new d(e,t);r={getCurrentValue:a.getCurrentValue.bind(a),subscribe:a.subscribe.bind(a),retry:a.retry.bind(a),promise:a.promise.bind(a)}}return r.promise()}if(!l){const e=t.webpack?t.webpack():t.modules;e&&s.push(a=>{for(const t of e)if(a.includes(t))return o()})}function c(e,a){!function(){o();const e=n.default.useContext(i.LoadableContext);e&&Array.isArray(t.modules)&&t.modules.forEach(a=>{e(a)})}();const s=n.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return n.default.useImperativeHandle(a,()=>({retry:r.retry}),[]),n.default.useMemo(()=>{return s.loading||s.error?n.default.createElement(t.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:r.retry}):s.loaded?n.default.createElement((a=s.loaded)&&a.default?a.default:a,e):null;var a},[e,s])}return c.preload=()=>o(),c.displayName="LoadableComponent",n.default.forwardRef(c)}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};const{_res:e,_opts:a}=this;e.loading&&("number"==typeof a.delay&&(0===a.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},a.delay)),"number"==typeof a.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},a.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,a){this._loadFn=e,this._opts=a,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return c(o,e)}function m(e,a){let t=[];for(;e.length;){let n=e.pop();t.push(n(a))}return Promise.all(t).then(()=>{if(e.length)return m(e,a)})}u.preloadAll=()=>new Promise((e,a)=>{m(r).then(e,a)}),u.preloadReady=e=>(void 0===e&&(e=[]),new Promise(a=>{const t=()=>(l=!0,a());
1m(s,e).then(t,t)})),window.__NEXT_PRELOADREADY=u.preloadReady;const h=u},837:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});var n=t(7876),i=(t(4232),t(5836)),r=t(3261);const s=function(e){let{data:a}=e;const t=JSON.stringify((0,i.D4)(a)),s=[{pattern:/\\n/g,replacement:""},{pattern:/\\t/g,replacement:""},{pattern:/\\\\/g,replacement:"\\"},{pattern:/"\\"/g,replacement:""},{pattern:/^"(.*)"$/g,replacement:""},{pattern:/" ?",?/g,replacement:""}].reduce((e,a)=>e.replace(a.pattern,a.replacement),t),l=[{pattern:/\\/g,replacement:""}].reduce((e,a)=>{return(t=s,t.replace(/\\u(\w{4,4})/g,function(e,a){const t=parseInt(a,16);return String.fromCharCode(t)})).replace(a.pattern,a.replacement);var t},s);return(0,n.jsx)(n.Fragment,{children:(0,r.Ay)("".concat(l))})}},1861:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>L});var n=t(7876),i=t(4232),r=t(5836),s=t(3261),l=t(8847),o=t.n(l),c=t(9099),d=t(6722),u=t(6180),m=t(986),h=t(7850),p=t(2528),g=t(837);const b=function(e){const{hero_tile:a,tile2_heading:t,cards_tile:i,alt_tile:r}=e[0];return(0,n.jsxs)("div",{className:"clearfix pillar-home",id:"pillar-home",children:[a.map(function(e,a){return(0,n.jsxs)("section",{className:"clearfix tile1",children:[(0,n.jsxs)("div",{className:"d-hero mobile-hidden",style:{position:"absolute",top:"0",left:"0",right:"0",bottom:"0",width:"100%",height:"100%",zIndex:"-1"},children:[(0,n.jsx)("div",{className:"bg-overlay tablet-show",style:{background:"rgba(0,0,0,0.50)",position:"absolute",top:"0",left:"0",right:"0",bottom:"0",width:"100%",height:"100%"}}),(0,n.jsx)("img",{src:e.bg_image,alt:"Pillar Hero Tile",style:{objectFit:"cover",width:"100%",height:"100%"}})]}),(0,n.jsxs)("div",{className:"m-hero desktop-hidden",style:{position:"absolute",top:"0",left:"0",right:"0",bottom:"0",width:"100%",height:"100%",zIndex:"-1"},children:[(0,n.jsx)("div",{className:"bg-overlay",style:{background:"rgba(0,0,0,0.64)",position:"absolute",top:"0",left:"0",right:"0",bottom:"0",width:"100%",height:"100%"}}),(0,n.jsx)("img",{src:e.mobile_image,alt:"Pillar Hero Tile",style:{objectFit:"cover",width:"100%",height:"100%"}})]}),(0,n.jsx)("div",{className:"clearfix max1170 tile1-content-wrap",children:(0,n.jsxs)("div",{className:"content",children:[(0,n.jsx)("h1",{className:"tile-heading",children:(0,n.jsx)(g.A,{data:e.heading})}),e.content&&(0,n.jsx)("p",{children:(0,n.jsx)(g.A,{data:e.content})}),e.cta_link&&(0,n.jsx)("a",{href:e.cta_link,className:"btn btn-s gaEvent","data-event-category":"Pillar Page","data-event-action":"Click - Hero Tile","data-event-label":e.cta_text,children:e.cta_text})]})})]},a)}),(0,n.jsx)("section",{className:"tile2",children:(0,n.jsxs)("div",{className:"clearfix max1170",children:[t&&(0,n.jsx)("h2",{children:t}),(0,n.jsx)("div",{className:"usecase-wrapper",children:i.map(function(e,a){return(0,n.jsxs)("div",{className:"usecase-card".concat(4===i.length?" four-col":2===i.length?" two-col":""),children:[(0,n.jsx)("div",{className:"img-wrap",children:(0,n.jsx)("img",{src:e.bg_image,alt:e.image_alt})}),(0,n.jsxs)("div",{className:"content",children:[(0,n.jsx)("h3",{children:e.heading}),(0,n.jsx)("p",{children:(0,n.jsx)(g.A,{data:e.content})}),e.cta_link&&(0,n.jsx)("a",{href:e.cta_link,className:"btn btn-s gaEvent","data-event-category":"Pillar Page","data-event-action":"Click - ".concat(e.heading),"data-event-label":e.cta_text,children:e.cta_text})]})]},a)})})]})}),r.map(function(e,a){return(0,n.jsx)("section",{className:"tile3",children:(0,n.jsx)("div",{className:"clearfix max1170",children:(0,n.jsxs)("div",{className:"content-wrapper".concat("right"===e.image_alignment?" right-image":""),children:[(0,n.jsx)("div",{className:"img-wrap",children:(0,n.jsx)("img",{src:e.bg_image,alt:e.image_alt})}),(0,n.jsxs)("div",{className:"content-wrap",children:[(0,n.jsx)("h2",{children:(0,n.jsx)(g.A,{data:e.heading})}),(0,n.jsx)("p",{children:(0,n.jsx)(g.A,{data:e.content})}),e.cta_link&&(0,n.jsx)("a",{href:e.cta_link,className:"btn btn-s gaEvent","data-event-category":"Pillar Page","data-event-action":"Click - Tile3","data-event-label":e.cta_text,children:e.cta_text})]})]})})},a)})]})};var _=t(4433),x=t(9175),f=t.n(x);const v=e=>{let{content:a}=e;const[t,r]=(0,i.useState)(0),[l,o]=(0,i.useState)(!1),[c,d]=(0,i.useState)([]),[u,m]=(0,i.useState)({}),h=(0,i.useRef)(null),p=(0,i.useRef)({});(0,i.useEffect)(()=>{const e=()=>{o(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);(0,i.useEffect)(()=>
1{if(a){const e=document.createElement("div");e.innerHTML=a;const t=e.querySelectorAll("h2"),n=[],i={};t.forEach((e,a)=>{const t=e.textContent||e.innerText;let r="",s=e.nextSibling;for(;s&&(!s.tagName||"h2"!==s.tagName.toLowerCase());)1===s.nodeType?r+=s.outerHTML:3===s.nodeType&&s.textContent.trim()&&(r+=s.textContent),s=s.nextSibling;if(t.trim()&&r.trim()){const e=(e=>{const a=document.createElement("div");a.innerHTML=e;const t=a.querySelectorAll("h3");if(0===t.length)return{hasAccordions:!1,content:e};const n=[];return t.forEach((e,a)=>{const t=e.textContent||e.innerText;let i="",r=e.nextSibling;for(;r&&(!r.tagName||"h3"!==r.tagName.toLowerCase());)1===r.nodeType?i+=r.outerHTML:3===r.nodeType&&r.textContent.trim()&&(i+=r.textContent),r=r.nextSibling;t.trim()&&n.push({title:t.trim(),content:i.trim(),id:"accordion-".concat(a)})}),{hasAccordions:!0,accordions:n}})(r.trim());n.push({title:t.trim(),content:r.trim(),id:"section-".concat(a),accordionData:e}),e.hasAccordions&&(i["section-".concat(a)]=0)}}),d(n),m(i)}},[a]),(0,i.useEffect)(()=>{const e=e=>{let a=e.target;for(;a&&a!==document.body;){if("A"===a.tagName&&"sfForm"===a.id)return e.preventDefault(),void(a.href&&a.href.includes("#")&&window.history&&window.history.replaceState&&window.history.replaceState(null,null,window.location.pathname+window.location.search));a=a.parentElement}};return h.current&&h.current.addEventListener("click",e,!0),document.addEventListener("click",e,!0),()=>{h.current&&h.current.removeEventListener("click",e,!0),document.removeEventListener("click",e,!0)}},[c]);const g=(e,a)=>{const t=u[e]===a;if(m(t=>({...t,[e]:t[e]===a?-1:a})),!t){const t="".concat(e,"-").concat(a);setTimeout(()=>{p.current[t]&&p.current[t].scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})},100)}};return 0===c.length?(0,n.jsx)("div",{ref:h,children:(0,s.Ay)(a||"")}):(0,n.jsx)("div",{ref:h,className:f().toggleTabWrapper,children:l?(0,n.jsx)("div",{className:f().mobileToggleContent,children:c.map((e,a)=>(0,n.jsxs)("div",{className:f().toggleSection,children:[(0,n.jsxs)("h2",{className:"".concat(f().toggleHeader," ").concat(t===a?f().active:""),onClick:()=>(e=>{r(t===e?-1:e)})(a),children:[e.title,(0,n.jsx)("span",{className:"".concat(f().toggleIcon," ").concat(t===a?f().active:""),children:"â¼"})]}),t===a&&(0,n.jsx)("div",{className:f().toggleContent,children:e.accordionData&&e.accordionData.hasAccordions?(0,n.jsx)("div",{className:f().accordionWrapper,children:e.accordionData.accordions.map((a,t)=>{const i="".concat(e.id,"-").concat(t);return(0,n.jsxs)("div",{className:f().accordionItem,ref:e=>p.current[i]=e,children:[(0,n.jsxs)("h3",{className:"".concat(f().accordionHeader," ").concat(u[e.id]===t?f().active:""),onClick:()=>g(e.id,t),children:[a.title,(0,n.jsx)("span",{className:"".concat(f().accordionIcon," ").concat(u[e.id]===t?f().active:""),children:u[e.id]===t?"â":"+"})]}),u[e.id]===t&&(0,n.jsx)("div",{className:f().accordionContent,children:(0,s.Ay)(a.content)})]},a.id)})}):(0,s.Ay)(e.content)})]},e.id))}):(0,n.jsxs)("div",{className:f().desktopTabContent,children:[(0,n.jsx)("div",{className:f().tabNavigation,children:c.map((e,a)=>(0,n.jsx)("button",{className:"".concat(f().tabButton," ").concat(t===a?f().active:""),onClick:()=>(e=>{r(e);const a=c[e];a&&a.accordionData&&a.accordionData.hasAccordions&&m(e=>({...e,[a.id]:0}))})(a),children:e.title},e.id))}),c[t]&&(e=>{const{accordionData:a}=e;if(!a||!a.hasAccordions)return(0,n.jsx)("div",{className:f().tabContentArea,children:(0,s.Ay)(e.content)});const t=e.id in u?u[e.id]:0;return(0,n.jsx)("div",{className:f().tabContentArea,children:(0,n.jsx)("div",{className:f().accordionWrapper,children:a.accordions.map((a,i)=>{const r="".concat(e.id,"-").concat(i);return(0,n.jsxs)("div",{className:f().accordionItem,ref:e=>p.current[r]=e,children:[(0,n.jsxs)("h3",{className:"".concat(f().accordionHeader," ").concat(t===i?f().active:""),onClick:()=>g(e.id,i),children:[a.title,(0,n.jsx)("span",{className:"".concat(f().accordionIcon," ").concat(t===i?f().active:""),children:t===i?"â":"+"})]}),t===i&&(0,n.jsx)("div",{className:f().accordionContent,children:(0,s.Ay)(a.content)})]},a.id)})})})})(c[t])]})})};var j=t(8608),y=t.n(j);const N=["Afghanistan","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antarctica","Antigua And Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia And Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chile","China","Christmas Island","Colombia","Comoros","Congo","Cook Islands","Costa Rica","Cote D'Ivoire","Croatia","Curacao","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","East Timor","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands (Malvinas)","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guam","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island And Mcdonald Islands","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iraq","Ireland","Isle Of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Korea, Republic of","Kuwait","Kyrgyzstan","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macau","Macedonia, the former Yugoslav Republic of","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","Netherlands Antilles","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","Northern Mariana Islands","Norway","Oman","Pakistan","Palau","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Puerto Rico","Qatar","Republic Of Moldova","Reunion","Romania","Russian Federation","Rwanda","Saint Helena","Saint Kitts And Nevis","Saint Lucia","Saint Martin","Saint Pierre And Miquelon","Saint Vincent And The Grenadines","S
1amoa","San Marino","Sao Tome And Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia And The South Sandwich Islands","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Svalbard And Jan Mayen","Swaziland","Sweden","Switzerland","Taiwan","Tajikistan","Tanzania","Thailand","Togo","Tokelau","Tonga","Trinidad And Tobago","Tunisia","Turkey","Turkmenistan","Turks And Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States","United States Minor Outlying Islands","Uruguay","Uzbekistan","Vanuatu","Vatican City State","Venezuela, Bolivarian Republic of","Vietnam","Virgin Islands, British","Wallis And Futuna","Yemen","Zambia","Zimbabwe"],k=["IDSP","Exchange"],w=["Alcohol","Controlled Substances","OTC & Prescription Medicines","Crypto/Virtual Currencies","Dating","Gambling & Lotteries","Political Advertising","Tobacco Products","Others"],C=e=>{let{isVisible:a,onClose:t,initialSubmitted:r=!1}=e;const[s,l]=(0,i.useState)({company:"",email:"",channel:"",country:"",category:"",subject:"",description:""}),[o,c]=(0,i.useState)({company:"",email:"",channel:"",country:"",category:"",subject:"",description:""}),[d,u]=(0,i.useState)(r);(0,i.useEffect)(()=>{r&&u(!0)},[r]),(0,i.useEffect)(()=>(a?document.body.style.overflow="hidden":(document.body.style.overflow="unset",l({company:"",email:"",channel:"",country:"",category:"",subject:"",description:""}),c({company:"",email:"",channel:"",country:"",category:"",subject:"",description:""}),u(!1)),()=>{document.body.style.overflow="unset"}),[a]);const m=(e,a)=>{let t="";const n=a.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/<[^>]*>/g,"").replace(/javascript:/gi,"").replace(/on\w+\s*=/gi,"");if(!n.trim()&&["company","email","channel","country","category","subject"].includes(e))return t="This field is required",{error:t,sanitizedValue:n};switch(e){case"email":n&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)&&(t="Please enter a valid email address");break;case"company":case"subject":n&&!(e=>/^[a-zA-Z0-9\s.,'-]+$/.test(e))(n)&&(t="Only alphanumeric characters are allowed");break;case"description":n&&!(e=>/^[a-zA-Z0-9\s.,;:?!()\-'"@#$%&*+=\n\r]+$/.test(e)||""===e)(n)&&(t="Only alphanumeric characters and basic punctuation are allowed")}return{error:t,sanitizedValue:n}},h=e=>{const{name:a,value:t}=e.target,{error:n,sanitizedValue:i}=m(a,t);l(e=>({...e,[a]:i})),c(e=>({...e,[a]:n}))};return a?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"".concat(y().formOverlay),onClick:t}),(0,n.jsxs)("div",{className:y().formContainer,children:[(0,n.jsx)("div",{className:y().closeBtn,onClick:t}),d?(0,n.jsxs)("div",{className:y().thankYouMessage,children:[(0,n.jsx)("h2",{children:"Thank You!"}),(0,n.jsx)("p",{children:"Your submission has been received successfully."}),(0,n.jsx)("p",{children:"We will get back to you shortly."}),(0,n.jsx)("button",{type:"button",className:y().closeButton,onClick:t,children:"Close"})]}):(0,n.jsxs)("form",{action:"https://webto.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8&orgId=00D30000000onQ4",method:"POST",onSubmit:e=>{const a={};let t=!1;Object.keys(s).forEach(e=>{const{error:n}=m(e,s[e]);a[e]=n,n&&(t=!0)}),c(a),t&&e.preventDefault()},children:[(0,n.jsx)("input",{type:"hidden",name:"orgid",value:"00D30000000onQ4"}),(0,n.jsx)("input",{type:"hidden",name:"retURL",value:"https://advertising.inmobi.com/content-guidelines-advertisers?submitted=true"}),(0,n.jsx)("input",{type:"hidden",name:"recordType",id:"recordType",value:"012a0000001WJLq"}),(0,n.jsx)("input",{type:"hidden",name:"type",id:"type",value:"Website Content Guidelines"}),(0,n.jsx)("input",{type:"hidden",name:"00Na000000BLwjl",id:"00Na000000BLwjl",value:"Website Content Guidelines"}),(0,n.jsx)("input",{type:"hidden",id:"external",name:"external",value:"1"}),(0,n.jsx)("input",{type:"hidden",name:"00N3x00000Av0VR",value:s.channel}),(0,n.jsx)("input",{type:"hidden",name:"00Na000000BLwjK",value:s.country}),(0,n.jsx)("input",{type:"hidden",name:"00N3x00000EMeFv",value:s.category}),(0,n.jsxs)("div",{className:y().formGroupCol2,children:[(0,n.jsxs)("div",{className:y().formGroup,children:[(0,n.jsxs)("label",{htmlFor:"company",children:["Company",(0,n.jsx)("span",{className:y().required,
1children:"*"})]}),(0,n.jsx)("input",{type:"text",id:"company",maxLength:"80",name:"company",size:"20",value:s.company,onChange:h}),o.company&&(0,n.jsx)("span",{className:y().error,children:o.company})]}),(0,n.jsxs)("div",{className:y().formGroup,children:[(0,n.jsxs)("label",{htmlFor:"email",children:["Email",(0,n.jsx)("span",{className:y().required,children:"*"})]}),(0,n.jsx)("input",{id:"email",maxLength:"80",name:"email",size:"20",type:"text",value:s.email,onChange:h}),o.email&&(0,n.jsx)("span",{className:y().error,children:o.email})]})]}),(0,n.jsxs)("div",{className:y().formGroupCol2,children:[(0,n.jsxs)("div",{className:y().formGroup,children:[(0,n.jsxs)("label",{htmlFor:"channel",children:["Channel",(0,n.jsx)("span",{className:y().required,children:"*"})]}),(0,n.jsxs)("select",{id:"channel",name:"channel",title:"Channel",value:s.channel,onChange:h,children:[(0,n.jsx)("option",{value:"",children:"None"}),k.map((e,a)=>(0,n.jsx)("option",{value:e.toLowerCase(),children:e},a))]}),o.channel&&(0,n.jsx)("span",{className:y().error,children:o.channel})]}),(0,n.jsxs)("div",{className:y().formGroup,children:[(0,n.jsxs)("label",{htmlFor:"country",children:["Country",(0,n.jsx)("span",{className:y().required,children:"*"})]}
1),(0,n.jsxs)("select",{id:"country",name:"country",title:"Country",value:s.country,onChange:h,children:[(0,n.jsx)("option",{value:"",children:"None"}),N.map((e,a)=>(0,n.jsx)("option",{value:e.toLowerCase(),children:e},a))]}),o.country&&(0,n.jsx)("span",{className:y().error,children:o.country})]})]}),(0,n.jsxs)("div",{className:y().formGroup,children:[(0,n.jsxs)("label",{htmlFor:"category",children:["Category",(0,n.jsx)("span",{className:y().required,children:"*"})]}),(0,n.jsxs)("select",{id:"category",name:"category",title:"Category",value:s.category,onChange:h,children:[(0,n.jsx)("option",{value:"",children:"None"}),w.map((e,a)=>(0,n.jsx)("option",{value:e.toLowerCase(),children:e},a))]}),o.category&&(0,n.jsx)("span",{className:y().error,children:o.category})]}),(0,n.jsxs)("div",{className:y().formGroup,children:[(0,n.jsxs)("label",{htmlFor:"subject",children:["Subject",(0,n.jsx)("span",{className:y().required,children:"*"})]}),(0,n.jsx)("input",{id:"subject",maxLength:"80",name:"subject",size:"20",type:"text",value:s.subject,onChange:h}),o.subject&&(0,n.jsx)("span",{className:y().error,children:o.subject})]}),(0,n.jsxs)("div",{className:y().formGroup,children:[(0,n.jsx)("label",{htmlFor:"description",children:"Description"}),(0,n.jsx)("textarea",{name:"description",value:s.description,onChange:h}),o.description&&(0,n.jsx)("span",{className:y().error,children:o.description})]}),(0,n.jsx)("div",{className:y().formGroup,children:(0,n.jsx)("input",{type:"submit",value:"Submit"})})]})]})]}):null};var S=t(688);class T extends i.Component{render(){const{currentPage:e,defaultDeviceType:a,isMobile:t}=this.props,i=this.props[0].map(e=>e.general_links),r=this.props[0].map(e=>e.general_links_heading),s=this.props[0].map(e=>e.gdpr),l=this.props[0].map(e=>e.gdpr_heading),o=this.props[0].map(e=>e.ccpa),c=this.props[0].map(e=>e.ccpa_heading),d=this.props[0].map(e=>e.publisher_links),u=this.props[0].map(e=>e.publisher_links_heading);return(0,n.jsxs)(n.Fragment,{children:["mobile"===a&&t&&(0,n.jsx)("div",{className:"mob-page-submenu-header hidden-sm",children:"General"}),(0,n.jsxs)("div",{className:"secondary mob-page-submenu",children:[i[0].length>0&&(0,n.jsxs)("div",{className:"page-menu-block",children:[r[0].length>0&&(0,n.jsx)(n.Fragment,{children:r[0].map(function(i,r){return(0,n.jsx)("h4",{className:"side-menu-title ".concat(e===i.segment_url?"active":""),"data-link":"".concat(""!==i.segment_url?i.segment_url:""),children:""!==i.segment_url?(0,n.jsxs)("a",{href:i.link_url,target:"".concat("yes"===i.new_window?"_blank":"_self"),className:"gaEvent","data-event-category":"Terms Page Left Navigation","data-event-action":"Click - ".concat(i.link_name),"data-event-label":i.link_name,children:[i.link_name,"mobile"===a&&t&&(0,n.jsx)("i",{className:"icon-expand-more hidden-sm"})]}):(0,n.jsxs)(n.Fragment,{children:[i.link_name,"mobile"===a&&t&&(0,n.jsx)("i",{className:"icon-expand-more hidden-sm"})]})},r)})}),(0,n.jsxs)("ul",{className:"pagenav",children:[i[0].map(function(a,t){return(0,n.jsx)("li",{"data-link":a.segment_url,className:"".concat(e===a.segment_url?"active":""),children:(0,n.jsx)("a",{href:a.link_url,target:"".concat("yes"===a.new_window?"_blank":"_self"),className:"gaEvent","data-event-category":"Terms Page Left Navigation","data-event-action":"Click - ".concat(a.link_name),"data-event-label":a.link_name,children:(0,n.jsx)("span",{children:a.link_name})})},t)}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"/page/opt-out/",className:"gaEvent","data-event-category":"Terms Page Left Navigation","data-event-action":"Click Opt-Out","data-event-label":"Opt-Out",children:(0,n.jsx)("span",{children:"Opt-Out"})})})]})]}),d[0].length>0&&(0,n.jsxs)("div",{className:"page-menu-block",children:[u[0].length>0&&(0,n.jsx)(n.Fragment,{children:u[0].map(function(i,r){return(0,n.jsx)("h4",{className:"side-menu-title margin-t ".concat(e===i.segment_url?"active":""),"data-link":"".concat(""!==i.segment_url?i.segment_url:""),children:""!==i.segment_url?(0,n.jsxs)("a",{href:i.link_url,target:"".concat("yes"===i.new_window?"_blank":"_self"),className:"gaEvent","data-event-category":"Terms Page Left Navigation","data-event-action":"Click - ".concat(i.link_name),"data-event-label":i.link_name,children:[i.link_name,"mobile"===a&&t&&(0,n.jsx)("i",{className:"icon-expand-more hidden-sm"})]}):(0,n.jsxs)(n.Fragment,{children:[i.link_name,"mobile"===a&&t&&(0,n.jsx)("i",{className:"icon-expand-more hidden-sm"})]})},r)})}),(0,n.jsx)("ul",{className:"pagenav",children:d[0].map(function(a,t){return(0,n.jsx)("li",{"data-link":a.segment_url,className:"".concat(e===a.segment_url?"active":""),children:(0,n.jsx)("a",{href:a.link_url,target:"".concat("yes"===a.new_window?"_blank":"_self"),className:"gaEvent","data-event-category":"Terms Page Left Navigation","data-event-action":"Click - ".concat(a.link_name),"data-event-label":a.link_name,children:(0,n.jsx)("span",{children:a.link_name})})},t)})})]}),s[0].length>0&&(0,n.jsxs)("div",{className:"page-menu-block",children:[l[0].length>0&&(0,n.jsx)(n.Fragment,{children:l[0].map(function(i,r){return(0,n.jsx)("h4",{className:"side-menu-title margin-t ".concat(e===i.segment_url?"active":""),"data-link":"".concat(""!==i.segment_url?i.segment_url:""),children:""!==i.segment_url?(0,n.jsxs)("a",{href:i.link_url,target:"".concat("yes"===i.new_window?"_blank":"_self"),className:"gaEvent","data-event-category":"Terms Page Left Navigation","data-event-action":"Click - ".concat(i.link_name),"data-event-label":i.link_name,children:[i.link_name,"mobile"===a&&t&&(0,n.jsx)("i",{className:"icon-expand-more hidden-sm"})]}):(0,n.jsxs)(n.Fragment,{children:[i.link_name,"mobile"===a&&t&&(0,n.jsx)("i",{className:"icon-expand-more hidden-sm"})]})},r)})}),(0,n.jsx)("ul",{className:"pagenav",children:s[0].map(function(a,t){return(0,n.jsx)("li",{className:"".concat(e===a.segment_url?"active":""),children:(0,n.jsx)("a",{href:a.link_url,target:"".concat("yes"===a.new_window?"_blank":"_self"),className:"gaEvent","data-event-category":"Terms Page Left Navigation","data-event-action":"Click - ".concat(a.link_name),"data-event-label":a.link_name,children:(0,n.jsx)("span",{children:a.link_name})})},t)})})]}),o[0].length>0&&(0,n.jsxs)("div",{className:"page-menu-block",children:[c[0].length>0&&(0,n.jsx)(n.Fragment,{children:c[0].map(function(i,r){return(0,n.jsx)("h4",{className:"side-menu-title margin-t ".concat(e===i.segment_url?"active":""),"data-link":"".concat(""!==i.segment_url?i.segment_url:""),children:""!==i.segment_url?(0,n.jsxs)("a",{href:i.link_url,target:"".concat("yes"===i.new_window?"_blank":"_self"),className:"gaEvent","data-event-category":"Terms Page Left Navigation","data-event-action":"Click - ".concat(i.link_name),"data-event-label":i.link_name,children:[i.link_name,"mobile"===a&&t&&(0,n.jsx)("i",{className:"icon-expand-more hidden-sm"})]}):(0,n.jsxs)(n.Fragment,{children:[i.link_name,"mobile"===a&&t&&(0,n.jsx)("i",{className:"icon-expand-more hidden-sm"})]})},r)})}),(0,n.jsx)("ul",{className:"pagenav",children:o[0].map(function(a,t){return(0,n.jsx)("li",{className:"".concat(e===a.segment_url?"active":""),children:(0,n.jsx)("a",{href:a.link_url,target:"".concat("yes"===a.new_window?"_blank":"_self"),className:"gaEvent","data-event-category":"Terms Page Left Navigation","data-event-action":"Click - ".concat(a.link_name),"data-event-label":a.link_name,children:(0,n.jsx)("span",{children:a.link_name})})},t)})})]})]})]})}}class A extends i.Component{render(){const{headline:e,contLang:a,langType:t,langDropdown:i,currentPage:r}=this.props;return(0,n.jsx)(n.Fragment,{children:"Privacy Policy"===t[0]?(0,n.jsxs)("div",{className:"title-wrapper",children:[(0,n.jsx)("h1",{className:"sr-only",style:{position:"absolute",left:"-10000px",top:"auto",width:"1px",height:"1px",overflow:"hidden"},children:e}),(0,n.jsx)("h2",{className:"tile-heading","aria-hidden":"true",children:e}),(0,n.jsxs)("div",{className:"lang-dropdown",children:[(0,n.jsx)("div",{className:"selected-lang",children:a}),(0,n.jsx)("ul",{className:"dropdownnav hide",children:i[0].map(function(e,a){return(0,n.jsx)("li",{className:"".concat(r===e.segment_url?"active":""),children:(0,n.jsx)("a",{href:e.link_url,target:"".concat("yes"===e.new_window?"_blank":"_self"),className:"gaEvent","data-event-category":"Privacy Policy Regional Page Dropdown","data-event-action":"Click - ".concat(e.link_name),"data-event-label":e.link_name,children:e.link_name})},a)})})]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h1",{className:"sr-only",style:{position:"absolute",left:"-10000px",top:"auto",width:"1px",height:"1px",overflow:"hidden"},children:e}),(0,n.jsx)("h2",{className:"tile-heading","aria-hidden":"true",children:e})]})})}}
1function P(e){let{content:a}=e;const[t,r]=(0,i.useState)(()=>(0,s.Ay)(a||"")),[l,o]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{o(!0)},[]),(0,i.useEffect)(()=>{if(!a||!l)return;if(a.includes('class="toggleContent"')||a.includes("class='toggleContent'"))try{const e=document.createElement("div");e.innerHTML=a;if(e.querySelectorAll(".toggleContent").length>0){let e=0;const t=(0,s.Ay)(a,{replace:a=>{if("tag"===a.type&&"div"===a.name&&a.attribs&&a.attribs.class&&a.attribs.class.includes("toggleContent")){let t="";if(a.children){const e=a=>a.map(a=>{if("text"===a.type)return a.data;if("tag"===a.type){const t=a.attribs?Object.entries(a.attribs).map(e=>{let[a,t]=e;return"".concat(a,'="').concat(t,'"')}).join(" "):"",n=t?" ".concat(t):"",i=a.children?e(a.children):"";return"<".concat(a.name).concat(n,">").concat(i,"</").concat(a.name,">")}return""}).join("");t=e(a.children)}const i=e++;return(0,n.jsx)(v,{content:t},"toggle-".concat(i))}}});return void r(t)}}catch(e){}r((0,s.Ay)(a))},[a,l]),l?t:(0,n.jsx)("div",{suppressHydrationWarning:!0,children:(0,s.Ay)(a||"")})}function E(e){const a=(0,c.useRouter)(),{id:s,submitted:l}=a.query,g=e.allPagesData.map(e=>e.page_content),x=e.allPagesData.map(e=>e.page_navigation),f=e.allPagesData.map(e=>e.policy_type),v=g[0].filter(e=>e.id===s),[j,y]=(0,i.useState)(!1),[N,k]=(0,i.useState)(!1),[w,S]=(0,i.useState)(!1);(0,i.useEffect)(()=>{y(window.innerWidth<=768),"true"===l&&(k(!0),S(!0))},[l]);const E=v.map(function(e){return e.page_type}),L=v.map(function(e){return e.headline}),M=v.map(function(e){return e.type}),I=v.map(function(e){return e.language}),D=v.map(function(e){return e.meta_title}),F=v.map(function(e){return e.meta_description}),O=v.map(function(e){return e.canonical_tag}),G=e.allPagesData.map(function(e,a){return e}),{ui_path:V,ui_path_min:B,defaultDeviceType:z}=G[0],[H]=(0,i.useState)({ui_path:V,ui_path_min:B}),R=o()(()=>t.e(1968).then(t.bind(t,1968)),{loadableGenerated:{webpack:()=>[1968]}});let q="";const W="policypage"===E[0]?"policypages":"generalpage"===E[0]?"pillarpages":"",U="policypage"===E[0]?[{styleLnk:V+"/ui/minify/page_v6_220324.min.css"},{styleLnk:V+"/ui/minify/pagedropdown_100123.min.css"}]:"generalpage"===E[0]?[{styleLnk:V+"/ui/minify/pillar.min.css"}]:"",Y="policypage"===E[0]?[{scLnk:V+"/minify/pagedropdown_v1.min.js"}]:"";(0,i.useEffect)(()=>{if(0===v.length)Q(!0);else{const e=v.map(e=>(0,r.D4)(e.content)),a=JSON.stringify(e[0]),t=[{pattern:/\\/g,replacement:""}];q=[{pattern:/\\n/g,replacement:""},{pattern:/\\t/g,replacement:""},{pattern:/\\\\/g,replacement:"\\"},{pattern:/"\\"/g,replacement:""},{pattern:/^"(.*)"$/g,replacement:""},{pattern:/" ?",?/g,replacement:""}].reduce((e,a)=>e.replace(a.pattern,a.replacement),a);const n=t.reduce((e,a)=>{return(t=q,t.replace(/\\u(\w{4,4})/g,function(e,a){const t=parseInt(a,16);return String.fromCharCode(t)})).replace(a.pattern,a.replacement);var t},q);J({content:n})}},[]);const[K,J]=(0,i.useState)({content:""}),[Z,Q]=(0,i.useState)(!1),[$]=(0,i.useState)({title:D[0],description:F[0],canonicaltag:""!==O[0]?O[0]:"https://advertising.inmobi.com/"+s,ogImage:"",pageName:W,genStyleLink:[],styleLink:U,noIndex:"policypage"===E[0]&&"privacy-policy"!==s}),[X]=(0,i.useState)({cssStyle:"sec-header-inc nav-down"}),[ee]=(0,i.useState)({title:"Terms & Conditions",eventCategory:"Page",pageUrl:s,ctaText:"",ctaLink:"",ctaId:""}),[ae]=(0,i.useState)({scriptLink:Y});return(0,n.jsx)(n.Fragment,{children:Z?(0,n.jsx)(R,{statusCode:"404",uiPath:V,uiPathMin:B}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(_.A,{headerVariables:$,pathVariables:H,deviceType:z}),"mobile"===z?(0,n.jsx)(n.Fragment,{children:"policypage"===E[0]?(0,n.jsx)(m.A,{headerCssVariables:X,pathVariables:H,subheadVariables:ee,subHeader:!0}):"generalpage"===E[0]?(0,n.jsx)(m.A,{headerCssVariables:"",pathVariables:H}):""}):(0,n.jsx)(n.Fragment,{children:"policypage"===E[0]?(0,n.jsx)(u.A,{headerCssVariables:X,pathVariables:H,subheadVariables:ee,subHeader:!0}):"generalpage"===E[0]?(0,n.jsx)(u.A,{headerCssVariables:"",pathVariables:H}):""}),"policypage"===E[0]?(0,n.jsxs)("div",{id:"container",className:"page",style:{textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased"},children:[(0,n.jsx)(C,{isVisible:N,onClose:()=>{k(!1),S(!1),"true"===l&&a.replace("/".concat(s),void 0,{shallow:!0})},initialSubmitted:w}),(0,n.jsx)("div",{id:"content",className:"container-fluid max1170",children:(0,n.jsxs)("div",{className:"grid-container",children:[(0,n.jsx)("div",{className:"left-nav-content",children:(0,n.jsx)(T,{...x,defaultDeviceType:z,currentPage:s,isMobile:j})}
1),(0,n.jsxs)("div",{className:"inner-content main-pane",onClick:e=>{"A"===e.target.tagName&&"sfForm"===e.target.id&&(e.preventDefault(),e.stopPropagation(),k(!0),e.target.href&&e.target.href.includes("#")&&window.history&&window.history.replaceState&&window.history.replaceState(null,null,window.location.pathname+window.location.search))},children:[(0,n.jsx)(A,{langDropdown:f,currentPage:s,headline:L[0],langType:M,contLang:I[0]}),(0,n.jsx)(P,{content:K.content}),"security"===s&&(0,n.jsx)("div",{style:{marginTop:"50px"},children:(0,n.jsx)("script",{async:!0,src:"https://hackerone.com/36e991bd-c54b-4abe-8076-28419450767a/embedded_submissions/script","data-url":"https://hackerone.com/36e991bd-c54b-4abe-8076-28419450767a/embedded_submissions/new","data-name":"h1-embedded-submission",type:"text/javascript"})})]})]})})]}):"generalpage"===E[0]?(0,n.jsx)(b,{...v}):"","mobile"===z?(0,n.jsx)(p.A,{pathVariables:H}):(0,n.jsx)(h.A,{pathVariables:H}),"policypage"===E[0]?(0,n.jsx)(d.A,{footerVariables:ae,pathVariables:H}):"generalpage"===E[0]?(0,n.jsx)(d.A,{footerVariables:"",pathVariables:H}):""]})})}E.getInitialProps=S.Ix;const L=E},2496:(e,a,t)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(e,a){for(var t in a)Object.defineProperty(e,t,{enumerable:!0,get:a[t]})}(a,{default:function(){return c},noSSR:function(){return o}});const n=t(4252),i=t(7876),r=(t(4232),n._(t(295))),s=!1;function l(e){return{default:(null==e?void 0:e.default)||e}}function o(e,a){if(delete a.webpack,delete a.modules,!s)return e(a);const t=a.loading;return()=>(0,i.jsx)(t,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function c(e,a){let t=r.default,n={loading:e=>{let{error:a,isLoading:t,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e}),n={...n,...a};const i=n.loader;return n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr?t({...n,loader:()=>null!=i?i().then(l):Promise.resolve(l(()=>null))}):(delete n.webpack,delete n.modules,o(t,n))}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),e.exports=a.default)},4032:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[id]",function(){return t(1861)}])},6581:(e,a,t)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"LoadableContext",{enumerable:!0,get:function(){return n}});const n=t(4252)._(t(4232)).default.createContext(null)},8608:e=>{e.exports={formOverlay:"sfform_formOverlay__eku_9",closeBtn:"sfform_closeBtn__4o6D4",formContainer:"sfform_formContainer__WUs_D",formGroup:"sfform_formGroup__EVkmc",required:"sfform_required__W7c4a",error:"sfform_error__MaJwE",formGroupCol2:"sfform_formGroupCol2__bOKO_",thankYouMessage:"sfform_thankYouMessage__9BarO",closeButton:"sfform_closeButton___6_Qn"}},8847:(e,a,t)=>{e.exports=t(2496)},9175:e=>{e.exports={toggleTabWrapper:"toggletab_toggleTabWrapper__5TMUV",mobileToggleContent:"toggletab_mobileToggleContent__xq6fw",toggleSection:"toggletab_toggleSection__F6kUo",toggleHeader:"toggletab_toggleHeader__7Yqsk",active:"toggletab_active__2viD2",toggleIcon:"toggletab_toggleIcon__zEs8
1n",toggleContent:"toggletab_toggleContent__daJrQ",slideDown:"toggletab_slideDown__k_Oae",desktopTabContent:"toggletab_desktopTabContent__zjE7g",tabNavigation:"toggletab_tabNavigation__5rfxQ",tabButton:"toggletab_tabButton__ZSwaZ",tabContentArea:"toggletab_tabContentArea__HWdU0",accordionWrapper:"toggletab_accordionWrapper__mNYfd",accordionItem:"toggletab_accordionItem__tfnRo",accordionHeader:"toggletab_accordionHeader__8Xq3Y",accordionIcon:"toggletab_accordionIcon__59cW3",accordionContent:"toggletab_accordionContent__qCZYu",accordionSlideDown:"toggletab_accordionSlideDown__8Am_q"}}},e=>{e.O(0,[4121,6594,5836,3261,1547,7729,460,688,636,8792],()=>{return a=4032,e(e.s=a);var a});var a=e.O();_N_E=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.