1(()=>{"use strict";var e={156:e=>{var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==i},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?o(Array.isArray(e)?[]:{},e,t):e}function r(e,t,i){return e.concat(t).map(function(e){return s(e,i)})}function n(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function o(e,i,l){(l=l||{}).arrayMerge=l.arrayMerge||r,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=s;var h,d,c=Array.isArray(i);return c!==Array.isArray(e)?s(i,l):c?l.arrayMerge(e,i,l):(d={},(h=l).isMergeableObject(e)&&n(e).forEach(function(t){d[t]=s(e[t],h)}),n(i).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&h.isMergeableObject(i[t])?d[t]=(function(e,t){if(!t.customMerge)return o;var i=t.customMerge(e);return"function"==typeof i?i:o})(t,h)(e[t],i[t],h):d[t]=s(i[t],h))}),d)}o.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,i){return o(e,i,t)},{})},e.exports=o}},t={};function i(s){var r=t[s];if(void 0!==r)return r.exports;var n=t[s]={exports:{}};return e[s](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var s in t)i.o(t,s)&&!i.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var s=i(156),r=i.n(s);class n{static ucFirst(e){return e.charAt(0).toUpperCase()+e.slice(1)}static lcFirst(e){return e.charAt(0).toLowerCase()+e.slice(1)}static toDashCase(e){return e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(e,t){let i=n.toUpperCamelCase(e,t);return n.lcFirst(i)}static toUpperCamelCase(e,t){return t?e.split(t).map(e=>n.ucFirst(e.toLowerCase())).join(""):n.ucFirst(e.toLowerCase())}static parsePrimitive(e){try{return/^\d+(.|,)\d+$/.test(e)&&(e=e.replace(",",".")),JSON.parse(e)}catch(t){return e.toString()}}}class a{constructor(e=document){this._el=e,e.$emitter=this,this._listeners=[]}publish(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=new CustomEvent(e,{detail:t,cancelable:i});return this.el.dispatchEvent(s),s}subscribe(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=this,r=e.split("."),n=i.scope?t.bind(i.scope):t;if(i.once&&!0===i.once){let t=n;n=function(i){s.unsubscribe(e),t(i)}}return this.el.addEventListener(r[0],n),this.listeners.push({splitEventName:r,opts:i,cb:n}),!0}unsubscribe(e){let t=e.split(".");return this.listeners=this.listeners.reduce((e,i)=>([...i.splitEventName].sort().toString()===t.sort().toString()?this.el.removeEventListener(i.splitEventName[0],i.cb):e.push(i),e),[]),!0}reset(){return this.listeners.forEach(e=>{this.el.removeEventListener(e.splitEventName[0],e.cb)}),this.listeners=[],!0}get el(){return this._el}set el(e){this._el=e}get listeners(){return this._listeners}set listeners(e){this._listeners=e}}class o{constructor(e,t={},i=!1){if(!(e instanceof Node)){console.warn(`There is no valid element given while trying to create a plugin instance for "${i}".`);return}this.el=e,this.$emitter=new a(this.el),this._pluginName=this._getPluginName(i),this.options=this._mergeOptions(t),this._initialized=!1,this._registerInstance(),this._init()}init(){console.warn(`The "init" method for the plugin "${this._pluginName}" is not defined. The plugin will not be initialized.`)}update(){}_init(){this._initialized||(this.init(),this._initialized=!0)}_update(){this._initialized&&this.update()}_mergeOptions(e){let t=[this.constructor.options,this.options,e];return t.push(this._getConfigFromDataAttribute()),t.push(this._getOptionsFromDataAttribute()),r().all(t.filter(e=>e instanceof Object&&!(e instanceof Array)).map(e=>e||{}))}_getConfigFromDataAttribute(){let e={};if("function"!=typeof this.el.getAttribute)return e;let t=n.toDashCase(this._pluginName),i=this.el.getAttribute(`data-${t}-config`);return i?window.PluginConfigManager.get(this._pluginName,i):e}_getOptionsFromDataAttribute(){let e={};if("function"!=typeof this.el.getAttribute)return e;let t=n.toDashCase(this._pluginName),i=this.el.getAttribute(`data-${t}-options`);if(i)try{return JSON.parse(i)}catch(e){console.error(`The data attribute "data-${t}-options" could not be parsed to json: ${e.message}`)}return e}_registerInstance(){window.PluginManager.getPluginInstancesFromElement(this.el).set(this._pluginName,this),window.PluginManager.getPlugin(this._pluginName,!1).get("instances").push(this)}_getPluginName(e){return e||(e=this.constructor.name),e}}class l extends o{static #e=this.options={getLikeInfosUrl:"/intedia-reviews/get-like-infos",setLikeUrl:"/intedia-reviews/set-like"};
1init(){this.reviewState={},this.reviewState.ila=!1;let e=document.querySelector('meta[itemprop="productID"]'),t=e?e.getAttribute("content"):null;fetch(this.options.getLikeInfosUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({productId:t})}).then(e=>e.json()).then(e=>{e.ld.forEach(e=>{this.reviewState[e.id]={initVal:e.val}}),this.reviewState.ila=e.ila}).catch(e=>console.error("Error:",e)),this.el.querySelectorAll(".set-like-action").forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();let i={ratingValue:e.dataset.likeValue},s=JSON.parse(e.dataset.reviewData),r={...i,reviewData:s},n=parseInt(document.getElementById(r.reviewData.likeElmId)?.innerHTML??0),a=this.getUpdatedLikesCount(s.reviewId,i,n);n!==a&&this.setLikeCount(r,a),fetch(this.options.setLikeUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({payload:r})}).then(e=>e.json()).then(e=>{}).catch(e=>console.error("Error:",e))})})}getUpdatedLikesCount(e,t,i){let s;this.reviewState[e]?(void 0===this.reviewState[e].initLikesCount||null===this.reviewState[e].initLikesCount)&&(this.reviewState[e].initLikesCount=Math.max(0,i-this.reviewState[e].initVal)):this.reviewState[e]={initLikesCount:i};let r=this.reviewState[e];return this.reviewState.ila?("1"===t.ratingValue?r.initLikesCount++:"-1"===t.ratingValue&&r.initLikesCount--,r.initLikesCount=Math.max(0,r.initLikesCount),s=r.initLikesCount):("1"===t.ratingValue?s=r.initLikesCount+1:"-1"===t.ratingValue&&(s=r.initLikesCount-1),s=Math.max(0,s)),r.hasClicked=!0,s}setLikeCount(e,t){let i=document.getElementById(e.reviewData.likeElmId);if(i){let e=i.parentElement;t>0?(e.style.display&&"none"===e.style.display&&e.style.removeProperty("display"),e.style.transition="opacity 0.2s ease",e.style.opacity="1",e.style.opacity="0",setTimeout(()=>{i.innerHTML=t,e.style.opacity="1"},200)):(e.style.transition="opacity 0.2s ease",e.style.opacity="0",e.style.opacity="1",setTimeout(()=>{e.style.opacity="0"},200),setTimeout(()=>{i.innerHTML=t,e.style.display="none"},400))}}}class h extends o{static #e=this.options={setItemActiveUrl:"/intedia-reviews/set-item-active",setItemDeletedUrl:"/intedia-reviews/set-item-deleted"};init(){this.el.querySelectorAll(".set-item-active").forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();let i=JSON.parse(e.dataset.reviewData),s=document.getElementById(i.adminActionId);fetch(this.options.setItemActiveUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({payload:i})}).then(e=>e.json()).then(e=>this._createResponse(e,s)).catch(e=>console.error("Error:",e))})}),this.el.querySelectorAll(".set-item-deleted").forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();let i=JSON.parse(e.dataset.reviewData),s=document.getElementById(i.adminActionId);fetch(this.options.setItemDeletedUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({payload:i})}).then(e=>e.json()).then(e=>this._createResponse(e,s)).catch(e=>console.error("Error:",e))})})}_createResponse(e,t){let i=e.alert;t.innerHTML=`<div class="action-response">${i}</div>`}}class d{constructor(){this._request=null,this._errorHandlingInternal=!1}get(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json",s=this._createPreparedRequest("GET",e,i);return this._sendRequest(s,null,t)}post(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";s=this._getContentType(t,s);let r=this._createPreparedRequest("POST",e,s);return this._sendRequest(r,t,i)}delete(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";s=this._getContentType(t,s);let r=this._createPreparedRequest("DELETE",e,s);return this._sendRequest(r,t,i)}patch(e,t,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"application/json";s=this._getContentType(t,s);let r=this._createPreparedRequest("PATCH",e,s);return this._sendRequest(r,t,i)}abort(){if(this._request)return this._request.abort()}setErrorHandlingInternal(e){this._errorHandlingInternal=e}_registerOnLoaded(e,t){t&&(!0===this._errorHandlingInternal?(e.addEventListener("load",()=>{t(e.responseText,e)}),e.addEventListener("abort",()=>{console.warn(`the request to ${e.responseURL} was aborted`)}),e.addEventListener("error",()=>{console.warn(`the request to ${e.responseURL} failed with status ${e.status}`)}),e.addEventListener("timeout",()=>{console.warn(`the request to ${e.responseURL} timed out`)})):e.addEventListener("loadend",()=>{t(e.responseText,e)}))}_sendRequest(e,t,i){return this._registerOnLoaded(e,i),e.send(t),e}_getContentType(e,t){return e instanceof FormData&&(t=!1),t}_createPreparedRequest(e,t,i){return this._request=new XMLHttpRequest,this._request.open(e,t),this._request.setRequestHeader("X-Requested-With","XMLHttpRequest"),i&&this._request.setRequestHeader("Content-type",i),this._request}}class c extends o{static #e=this.options={formContentSelector:".product-review-form-content",cmsBlock:"#intedia-reviews-product-review-wapper"};
1init(){this._client=new d,this._initStarRating(),this._getCmsBlock(),this._uploadImages()}_registerEvents(){this.el.addEventListener("submit",this._handleSubmit.bind(this))}_getCmsBlock(){this._block=this.el.closest(this.options.cmsBlock)}_handleSubmit(e){e.preventDefault(),this.el.checkValidity()&&this._validateRatings(e)&&this._submitForm()}_validateRatings(e){let t=!1;return this.el.querySelectorAll(".input-star-rating").forEach(e=>{parseInt(e.value)>0&&(t=!0)}),t||(e.preventDefault(),document.getElementById("rating-error").style.removeProperty("display")),t}_submitForm(){this.$emitter.publish("beforeSubmit"),this.sendAjaxFormSubmit()}sendAjaxFormSubmit(){let e=new FormData(this.el);fetch(this.el.action,{method:"POST",body:e,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>this._handleResponse(e))}_initStarRating(){document.querySelectorAll(".stars").forEach(e=>{let t=e.parentElement.querySelector(".input-star-rating"),i=e.querySelectorAll(".star"),s=e.querySelector(".reset-star"),r=parseInt(t.value)>0?parseInt(t.value):1;i.forEach(e=>{e.addEventListener("mouseover",()=>{let t=parseInt(e.dataset.value);this.highlightStars(i,t)}),e.addEventListener("mouseout",()=>{this.highlightStars(i,r)}),e.addEventListener("click",()=>{r=parseInt(e.dataset.value),t.value=r,this.highlightStars(i,r)})}),s&&s.addEventListener("click",()=>{t.value=0,r=0,this.highlightStars(i,0)})})}highlightStars(e,t){e.forEach(e=>{e.classList.toggle("selected",parseInt(e.dataset.value)<=t)})}_handleResponse(e){let t=JSON.parse(e);if(this.$emitter.publish("onFormResponse",e),this.el.dispatchEvent(new CustomEvent("removeLoader")),t.length>0){let e=!0,i="";for(let s=0;s<t.length;s+=1)"danger"===t[s].type&&(e=!1),i+=t[s].alert;e&&this.el.reset(),this._createResponse(e,i)}else window.location.reload()}_createResponse(e,t){if(e)this._confirmationText&&(t=this._confirmationText),this._block.innerHTML=`<div class="confirm-message intedia-product-review">${t}</div>`;else{let e=this._block.querySelector(".confirm-alert");e&&e.remove();let i=`<div class="confirm-alert intedia-product-review">${t}</div>`;this._block.insertAdjacentHTML("beforeend",i)}this._block.scrollIntoView({behavior:"smooth",block:"end"})}_uploadImages(){let e=document.getElementById("fileInput"),t=document.getElementById("previewContainer"),i=document.getElementById("deletedMediaIds"),s=[],r=[],n=[];function a(){t.innerHTML="",r.forEach((e,i)=>{let s=document.createElement("div");s.classList.add("preview"),s.innerHTML=` 2 <img src="${e.url}" alt="${e.alt}"> 3 <button class="delete-existing-btn" data-id="${e.id}" data-index="${i}">×</button> 4 `,t.appendChild(s)}),s.forEach((e,i)=>{let s=new FileReader;s.onload=e=>{let s=document.createElement("div");s.classList.add("preview"),s.innerHTML=` 5 <img src="${e.target.result}"> 6 <button class="delete-new-btn" data-index="${i}">×</button> 7 `,t.appendChild(s)},s.readAsDataURL(e)})}document.querySelectorAll("#existingMediaData span").forEach(e=>{r.push({id:e.dataset.id,url:e.dataset.url,alt:e.dataset.alt})}),a(),e.addEventListener("change",()=>{for(let t of e.files)s.push(t);a()}),t.addEventListener("click",e=>{if(e.target.classList.contains("delete-new-btn")){let t=e.target.dataset.index;s.splice(t,1),a();return}if(e.target.classList.contains("delete-existing-btn")){let t=e.target.dataset.id,s=e.target.dataset.index;n.push(t),i.value=JSON.stringify(n),r.splice(s,1),a()}}),document.getElementById("product-review-form").addEventListener("submit",e=>{let t=new FormData(e.target);s.forEach(e=>{t.append("images[]",e)}),t.append("deletedMediaIds",JSON.stringify(n))})}}class u extends o{static #e=this.options={formContentSelector:".sales-channel-review-form-content",cmsBlock:"#intedia-reviews-sales-channel-review-wapper"};init(){this._client=new d,this._initStarRating(),this._getCmsBlock()}_registerEvents(){this.el.addEventListener("submit",this._handleSubmit.bind(this))}_getCmsBlock(){this._block=this.el.closest(this.options.cmsBlock)}_handleSubmit(e){e.preventDefault(),this.el.checkValidity()&&this._val
7idateRatings(e)&&this._submitForm()}_validateRatings(e){let t=!1;return this.el.querySelectorAll(".input-star-rating").forEach(e=>{parseInt(e.value)>0&&(t=!0)}),t||(e.preventDefault(),document.getElementById("rating-error").style.removeProperty("display")),t}_submitForm(){this.$emitter.publish("beforeSubmit"),this.sendAjaxFormSubmit()}sendAjaxFormSubmit(){let e=new FormData(this.el);fetch(this.el.action,{method:"POST",body:e,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>this._handleResponse(e))}_initStarRating(){document.querySelectorAll(".stars").forEach(e=>{let t=e.parentElement.querySelector(".input-star-rating"),i=e.querySelectorAll(".star"),s=e.querySelector(".reset-star"),r=parseInt(t.value)>0?parseInt(t.value):1;i.forEach(e=>{e.addEventListener("mouseover",()=>{let t=parseInt(e.dataset.value);this.highlightStars(i,t)}),e.addEventListener("mouseout",()=>{this.highlightStars(i,r)}),e.addEventListener("click",()=>{r=parseInt(e.dataset.value),t.value=r,this.highlightStars(i,r)})}),s&&s.addEventListener("click",()=>{t.value=0,r=0,this.highlightStars(i,0)})})}highlightStars(e,t){e.forEach(e=>{e.classList.toggle("selected",parseInt(e.dataset.value)<=t)})}_handleResponse(e){let t=JSON.parse(e);if(this.$emitter.publish("onFormResponse",e),this.el.dispatchEvent(new CustomEvent("removeLoader")),t.length>0){let e=!0,i="";for(let s=0;s<t.length;s+=1)"danger"===t[s].type&&(e=!1),i+=t[s].alert;e&&this.el.reset(),this._createResponse(e,i)}else window.location.reload()}_createResponse(e,t){if(e)this._confirmationText&&(t=this._confirmationText),this._block.innerHTML=`<div class="confirm-message intedia-sales-channel-review">${t}</div>`;else{let e=this._block.querySelector(".confirm-alert");e&&e.remove();let i=`<div class="confirm-alert intedia-sales-channel-review">${t}</div>`;this._block.insertAdjacentHTML("beforeend",i)}this._block.scrollIntoView({behavior:"smooth",block:"end"})}}class m extends o{init(){this._client=new d,this._registerEvents()}_registerEvents(){this.el.addEventListener("submit",this._handleSubmit.bind(this))}_handleSubmit(e){e.preventDefault(),this.el.checkValidity()&&this._submitForm()}_submitForm(){this.$emitter.publish("beforeSubmit"),this.sendAjaxFormSubmit()}sendAjaxFormSubmit(){let e=new FormData(this.el);fetch(this.el.action,{method:"POST",body:e,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>this._handleResponse(e))}_handleResponse(e){let t=JSON.parse(e);if(this.$emitter.publish("onFormResponse",e),this.el.dispatchEvent(new CustomEvent("removeLoader")),t.length>0){let e=!0,i="";for(let s=0;s<t.length;s+=1)"danger"===t[s].type&&(e=!1),i+=t[s].alert;e&&this.el.reset(),this._createResponse(e,i)}else window.location.reload()}_createResponse(e,t){if(e)this._confirmationText&&(t=this._confirmationText),this.el.innerHTML=`<div class="confirm-message intedia-post">${t}</div>`;else{let e=this.el.querySelector(".confirm-alert");e&&e.remove();let i=`<div class="confirm-alert intedia-post">${t}</div>`;this.el.insertAdjacentHTML("beforeend",i)}this.el.scrollIntoView({behavior:"smooth",form:"end"})}}let p=window.PluginManager;p.register("IntediaReviewsScrollToAnker",class extends o{init(){setTimeout(()=>{let e=document.getElementById("elm-anker");e&&e.scrollIntoView({behavior:"smooth"})},1e3)}},"[data-intedia-reviews-scroll-to-anker]"),p.register("IntediaReviewsLikes",l,"[data-intedia-reviews-likes]"),p.register("IntediaReviewsAdminActions",h,"[data-intedia-reviews-admin-actions]"),p.register("IntediaReviewsSetSalesChannelReview",u,"[data-intedia-reviews-sales-channel-review]"),p.register("IntediaReviewsSetProductReview",c,"[data-intedia-reviews-product-review]"),p.register("IntediaReviewsProductReviewFilterSet",class extends o{init(){let e=document.querySelectorAll(".rating-filter-value"),t=new URL(window.location.href);e.forEach(e=>{let i=e.dataset.ratingFilter,s=new URL(t);s.searchParams.set("rating-filter",i),s.hash||(s.hash="reviews"),e.href=s.toString()})}},"[data-rating-filter]"),p.register("IntediaReviewsSetProductReviewPost",class extends o{init(){this._client=new d,this._registerEvents()}_registerEvents(){this.el.addEventListener("submit",this._handleSubmit.bind(this))}_handleSubmit(e){e.preventDefault(),this.el.checkValidity()&&this._submitForm(
7)}_submitForm(){this.$emitter.publish("beforeSubmit"),this.sendAjaxFormSubmit()}sendAjaxFormSubmit(){let e=new FormData(this.el);fetch(this.el.action,{method:"POST",body:e,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>this._handleResponse(e))}_handleResponse(e){let t=JSON.parse(e);if(this.$emitter.publish("onFormResponse",e),this.el.dispatchEvent(new CustomEvent("removeLoader")),t.length>0){let e=!0,i="";for(let s=0;s<t.length;s+=1)"danger"===t[s].type&&(e=!1),i+=t[s].alert;e&&this.el.reset(),this._createResponse(e,i)}else window.location.reload()}_createResponse(e,t){if(e)this._confirmationText&&(t=this._confirmationText),this.el.innerHTML=`<div class="confirm-message intedia-post">${t}</div>`;else{let e=this.el.querySelector(".confirm-alert");e&&e.remove();let i=`<div class="confirm-alert intedia-post">${t}</div>`;this.el.insertAdjacentHTML("beforeend",i)}this.el.scrollIntoView({behavior:"smooth",form:"end"})}},"[data-intedia-reviews-product-review-post]"),p.register("IntediaReviewsSetUnsubscribeProductReview",m,"[data-intedia-reviews-unsubscribe-product-review]"),p.register("IntediaReviewsSetUnsubscribePost",m,"[data-intedia-reviews-unsubscribe-post]"),p.register("IntediaProductReviewTriggerPlugin",class extends o{init(){window.location.hash.startsWith("#intedia-reviews-product-review")&&(document.querySelector('[data-bs-target="#collapseReview"]').click(),setTimeout(()=>{this.el.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})},1e3))}},"[data-intedia-reviews-product-review-trigger]"),p.register("IntediaReviewsSetUnsubscribeMarketingMails",class extends o{init(){this._client=new d,this._registerEvents()}_registerEvents(){this.el.addEventListener("submit",this._handleSubmit.bind(this))}_handleSubmit(e){e.preventDefault(),this.el.checkValidity()&&this._submitForm()}_submitForm(){this.$emitter.publish("beforeSubmit"),this.sendAjaxFormSubmit()}sendAjaxFormSubmit(){let e=new FormData(this.el);fetch(this.el.action,{method:"POST",body:e,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(e=>e.text()).then(e=>this._handleResponse(e))}_handleResponse(e){let t=JSON.parse(e);if(this.$emitter.publish("onFormResponse",e),this.el.dispatchEvent(new CustomEvent("removeLoader")),t.length>0){let e=!0,i="";for(let s=0;s<t.length;s+=1)"danger"===t[s].type&&(e=!1),i+=t[s].alert;e&&this.el.reset(),this._createResponse(e,i)}else window.location.reload()}_createResponse(e,t){if(e)this._confirmationText&&(t=this._confirmationText),this.el.innerHTML=`<div class="confirm-message intedia-post">${t}</div>`;else{let e=this.el.querySelector(".confirm-alert");e&&e.remove();let i=`<div class="confirm-alert intedia-post">${t}</div>`;this.el.insertAdjacentHTML("beforeend",i)}this.el.scrollIntoView({behavior:"smooth",form:"end"})}},"[data-intedia-reviews-unsubscribe-marketing-mails]")})();
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.