1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,744674,e=>{e.q("/_next/static/media/logo.03qk.w-747ddu.png")},240965,e=>{e.q("/_next/static/media/default-img-audio-thumbnail.02u5nh_p2tc7m.jpg")},399414,e=>{e.q("/_next/static/media/android-chrome-192x192-1621329404738.0k1hrrgqr40-a.png")},21617,e=>{e.q("/_next/static/media/android-chrome-512x512-1621329404738.04~f-47u84m~b.png")},314816,e=>{e.q("/_next/static/media/apple-touch-icon-1621329404738.188tda8_npvmy.png")},285660,e=>{e.q("/_next/static/media/favicon-16x16-1621329404738.0x0s5m9pe1db6.png")},17445,e=>{e.q("/_next/static/media/favicon-32x32-1621329404738.0jra9_s__x5i6.png")},692579,e=>{"use strict";let t=async e=>{try{if(navigator.clipboard?.writeText)return await navigator.clipboard.writeText(e),!0;let t=document.createElement("textarea");return t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),!0}catch{return!1}};e.s(["default",0,t])},132450,e=>{"use strict";let t=48,a=2,i=4,l="$__error__$";e.s(["ITEM_SPACE",0,a,"REDUX_ERROR_PROP_NAME",0,l,"ROW_SPACE",0,i,"SCROLL_POSITION_DELTA",0,t])},598007,e=>{"use strict";var t=e.i(132450);let a=(e,t="",i={})=>{for(let l in e)Array.isArray(e[l])?e[l].length>0&&"object"==typeof e[l][0]?e[l].forEach((e,o)=>{a(e,`${t}.${l}.${o}`,i)}):i[`${t}.${l}`]=e[l]:"object"==typeof e[l]&&null!==e[l]?a(e[l],`${t}.${l}`,i):i[`${t}.${l}`]=e[l];return i},i=e=>{let i=[];return e.forEach(e=>{e.dynamic?Object.entries(a(e[t.REDUX_ERROR_PROP_NAME],e.fieldName)).forEach(([a,l])=>{l&&i.push({...e,fieldName:a,[t.REDUX_ERROR_PROP_NAME]:l})}):e[t.REDUX_ERROR_PROP_NAME]&&i.push(e)}),i},l=({fieldName:e,label:t,error:a=!1,helperText:i=""})=>({required:!0,label:t??"Required",name:e,error:!!a,helperText:i||""}),o=(e,a,o)=>{let r=a.join("."),n=i(e).find(e=>e.fieldName===r)??{};return l({label:o,fieldName:r,error:!!n[t.REDUX_ERROR_PROP_NAME],helperText:n[t.REDUX_ERROR_PROP_NAME]})};e.s(["getErrorFieldsList",0,i,"getInputPropsByName",0,o,"getRequiredInputProps",0,l])},192155,e=>{"use strict";var t=e.i(132450),a=e.i(598007);function i(e,i){let l=(e,a,l,...o)=>{let r=i.find(t=>t.fieldName===e);return{...r,validation:void 0,[t.REDUX_ERROR_PROP_NAME]:r.validation(a,l,...o)}},o=(e,o,...r)=>{let n=i.map(a=>e.includes(a.fieldName)?l(a.fieldName,a.fieldName.split(".").reduce((e,t)=>null!=e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:(console.warn(`You try to take value from ${a.fieldName} which doesnt exist in store`),null),o),o,...r):{...a,validation:void 0,[t.REDUX_ERROR_PROP_NAME]:!1});return{validation:n,errorList:(0,a.getErrorFieldsList)(n)}};return{validateSingleField:l,validateFields:o,state:{[e]:{scrollField:{name:null},scheme:o([]).validation}},actions:{setScrollToFieldAction:(t,a)=>{t[e].scrollField={name:a.payload}},updateValidationSchemeAction:(t,a)=>{a.payload.forEach(a=>{let i=t[e].scheme.findIndex(e=>e.fieldName===a.fieldName);-1!==i&&Object.entries(t[e].scheme[i]).some(([e,t])=>t!==a[e])&&(t[e].scheme[i]={...a})})},removeErrorByFieldNameAction:(a,i)=>{let[l,...o]=i.payload,r=a[e].scheme.find(e=>l===e.fieldName);r&&(o.length?o.reduce((e,t,a,i)=>null!=e&&Object.prototype.hasOwnProperty.call(e,t)?a>=i.length-1?(e[t]="",null):e[t]:null,r[t.REDUX_ERROR_PROP_NAME]):r[t.REDUX_ERROR_PROP_NAME]="")}}}}e.s(["default",0,i])},916094,e=>{"use strict";function t(e,t){return{getScrollField:a=>a[t][e].scrollField,schemeSelector:a=>
1a[t][e].scheme}}e.s(["default",0,t])},799460,e=>{"use strict";let t="asc",a="desc";e.s(["SORT_ASC",0,t,"SORT_DESC",0,a])},93505,e=>{"use strict";var t=e.i(799460);function a(e,a){return{state:{[e]:{data:null,page:a.page??1,pageSize:a.pageSize??10,totalCount:0,sortBy:a.sortBy,sortOrder:a.sortOrder??t.SORT_DESC,selected:[],isLoading:!1}},actions:{getTableDataAction:e=>e,setTableAction:(t,a)=>{Object.keys(a.payload).forEach(i=>{t[e][i]=a.payload[i]})}}}}e.s(["default",0,a])},195722,e=>{"use strict";function t(e,t){return{dataSelector:a=>a[t][e].data,pageSelector:a=>a[t][e].page,pageSizeSelector:a=>a[t][e].pageSize,totalCountSelector:a=>a[t][e].totalCount,allRecordsCountSelector:a=>a[t][e].allRecordsCount,sortBySelector:a=>a[t][e].sortBy,sortOrderSelector:a=>a[t][e].sortOrder,selectedSelector:a=>a[t][e].selected,isLoadingSelector:a=>a[t][e].isLoading}}e.s(["default",0,t])},53157,(e,t,a)=>{!function(e,a){t.exports=a()}(e.e,function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,l,o){var r=l.prototype;o.utc=function(e){var t={date:e,utc:!0,args:arguments};return new l(t)},r.utc=function(t){var a=o(this.toDate(),{locale:this.$L,utc:!0});return t?a.add(this.utcOffset(),e):a},r.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var n=r.parse;r.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),n.call(this,e)};var s=r.init;r.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else s.call(this)};var c=r.utcOffset;r.utcOffset=function(i,l){var o=this.$utils().u;if(o(i))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof i&&null===(i=function(e){void 0===e&&(e="");var i=e.match(t);if(!i)return null;var l=(""+i[0]).match(a)||["-",0,0],o=l[0],r=60*l[1]+ +l[2];return 0===r?0:"+"===o?r:-r}(i)))return this;var r=16>=Math.abs(i)?60*i:i,n=this;if(l)return n.$offset=r,n.$u=0===i,n;if(0!==i){var s=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(n=this.local().add(r+s,e)).$offset=r,n.$x.$localOffset=s}else n=this.utc();return n};var d=r.format;r.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,t)},r.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},r.isUTC=function(){return!!this.$u},r.toISOString=function(){return this.toDate().toISOString()},r.toString=function(){return this.toDate().toUTCString()};var u=r.toDate;r.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():u.call(this)};var A=r.diff;r.diff=function(e,t,a){if(e&&this.$u===e.$u)return A.call(this,e,t,a);var i=this.local(),l=o(e).local();return A.call(i,l,t,a)}}})},664894,(e,t,a)=>{!function(e,a){t.exports=a()}(e.e,function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(a,i,l){var o,r=function(e,a,i){void 0===i&&(i={});var l=new Date(e);return(function(e,a){void 0===a&&(a={});var i=a.timeZoneName||"short",l=e+"|"+i,o=t[l];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),t[l]=o),o})(a,i).formatToParts(l)},n=function(t,a){for(var i=r(t,a),o=[],n=0;n<i.length;n+=1){var s=i[n],c=s.type,d=s.value,u=e[c];u>=0&&(o[u]=parseInt(d,10))}var A=o[3],E=24===A?0:A,S=o[0]+"-"+o[1]+"-"+o[2]+" "+E+":"+o[4]+":"+o[5]+":000",p=+t;return(l.utc(S).valueOf()-(p-=p%1e3))/6e4},s=i.prototype;s.tz=function(e,t){void 0===e&&(e=o);var a=this.utcOffset(),i=this.toDate(),r=i.toLocaleString("en-US",{timeZone:e}),n=Math.round((i-new Date(r))/1e3/60),s=l(r,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(-(15*Math.round(i.getTimezoneOffset()/15))-n,!0);if(t){var c=s.utcOffset();s=s.add(a-c,"minute")}return s.$x.$timezone=e,s},s.offsetName=function(e){var t=this.$x.$timezone||l.tz.guess(),a=r(this.valueOf(),t,{timeZoneName:e}).find(function(e){return"timezonename"===e.type.toLowerCase()});return a&&a.value};var c=s.startOf;s.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var a=l(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(a,e,t).tz(this.$x.$timezone,!0)},l.tz=function(e,t,a){var i=a&&t,r=a||t||o,s=n(+l(),r);if("string"!=typeof e)return l(e).tz(r);var c=function(e,t,a){var i=e-60*t*1e3,l=n(i,a);if(t===l)return[i,t];var o=n(i-=60*(l-t)*1e3,a);return l===o?[i,l]:[e-60*Math.min(l,o)*1e3,Math.max(l,o)]}(l.utc(e,i).valueOf(),s,r),d=c[0],u=c[1],A=l(d).utcOffset(u);return A.$x.$timezone=r,A},l.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},l.tz.setDefault=function(e){o=e}}})},877713,e=>{"use strict";let t="HAS_DATA",a="HAS_NO_DATA",i="HAS_ERROR",l="content",o="scroll";e.s(["PDF_EXPORT_HIDE_CONTENT",0,l,"PDF_EXPORT_HIDE_SCROLL",0,o,"WIDGET_DISPLAY_STATE_DATA",0,t,"WIDGET_DISPLAY_STATE_ERROR",0,i,"WIDGET_DISPLAY_STATE_NO_DATA",0,a])},103875,e=>{"use strict";let t=e=>e.toLowerCase().replace(/([.+_])/g,e=>"_"===e?"-":""),a=e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase();RegExp(/[\\^$.*+?()[\]{}|]/g.source);let i=RegExp("^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=\\[\\]-]*)?(#\\S*)?$","i"),l=e=>{if(!i.test(e))return!1;try{let t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}},o=e=>!e||l(e);e.s(["capitalizeFirstLetter",0,a,"getDataId",0,t,"isValidUrl",0,l,"isValidUrlEmptyAllowed",0,o])},983314,e=>{"use strict";let t=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i,a=/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[- .!"#%&,+*:;<=>@_~'`}{?^$|()/\\\\[\]]).{8,}$/;e.s(["emailRegExp",0,t,"passwordRegExp",0,a])},407469,e=>{"use strict";let t="ZOOM",a="TEAMS",i="SHAREPOINT",l="INSTAGRAM",o="CSV",r="MANUA
1L",n="MRSS",s="RSS",c="SITEMAP",d="STORY_API",u="VIDEO_API",A="VIMEO",E="YOUTUBE",S="TIKTOK",p=1,T=-1,_=-2;e.s(["STATUS_ACTIVE",0,p,"STATUS_ARCHIVED",0,T,"STATUS_DISCONNECTED",0,_,"TYPE_CSV",0,o,"TYPE_INSTAGRAM",0,l,"TYPE_MANUAL",0,r,"TYPE_MRSS",0,n,"TYPE_RSS",0,s,"TYPE_SHAREPOINT",0,i,"TYPE_SITEMAP",0,c,"TYPE_STORY_API",0,d,"TYPE_TEAMS",0,a,"TYPE_TIKTOK",0,S,"TYPE_VIDEO_API",0,u,"TYPE_VIMEO",0,A,"TYPE_YOUTUBE",0,E,"TYPE_ZOOM",0,t])},945503,e=>{"use strict";function t(e,a,i=[]){for(let t in a)i.includes(t)||void 0===a[t]||(e[t]=a[t])}e.s(["applyPartial",0,t])},191033,442914,375149,705694,e=>{"use strict";var t=e.i(407469);let a="general",i="advanced",l="script",o="model",r="commonForm",n="SITE",s="PRIVATE",c="PUBLIC",d=[{label:"Private",value:s},{label:"Hub",value:n},{label:"Syndication",value:c}],u=0x3b9ac9ff,A={id:0x3b9ac9ff,name:"All Hubs"},E="NoAuth",S=[{label:"No Auth",value:E},{label:"Basic",value:"Basic"},{label:"Digest",value:"Digest"},{label:"NTLM",value:"Ntlm"}],p="DAILY",T="CUSTOM",_=[{label:"Daily",value:p},{label:"Custom",value:T}],m="NONE",I="RESOLUTION",g="BIT_RATE",y=[{label:"None",value:m},{label:" Bit Rate",value:g,shouldHideForTypes:[t.TYPE_RSS,t.TYPE_SITEMAP,t.TYPE_STORY_API]},{label:"Resolution",value:I}],O="HEIGHT",b=[{label:"Width",value:"WIDTH",shouldHideForTypes:[t.TYPE_RSS,t.TYPE_SITEMAP,t.TYPE_STORY_API]},{label:"Height",value:O}],P="MP4_m3u8",v=[{label:"MP4 & m3u8 (HLS)",value:P},{label:"MP4",value:"MP4"},{label:"m3u8 (HLS)",value:"m3u8"}],R="16_9",L=[{label:"16:9",value:R},{label:"9:16",value:"9_16"},{label:"4:3",value:"4_3"},{label:"1:1",value:"1_1"}],h="FILL",D=[{label:"Fill (lock aspect ratio)",value:h},{label:"Fit (lock aspect ratio)",value:"FIT"},{label:"Stretch",value:"STRETCH"}],f="Disabled",N="VERBIT_MANUAL",C="VERBIT_MANUAL_24H",M="AssemblyAI",F="ANYCLIP_S2T",U=[{label:"Disabled",value:f},{label:"Google",value:"Google"},{label:"Verbit - automated transcript",value:"VERBIT_AUTO"},{label:"Verbit - manual transcript (4 hrs)",value:N},{label:"Verbit - manual transcript (24 hrs)",value:C},{label:"AssemblyAI",value:M},{label:"Anyclip Speech2Text",value:F}],B=99,V=0,Y=[{model:"TEXT_DETECTION",provider:"GOOGLE"},{model:"ENCODE",provider:"ANYCLIP"},{model:"VIDEO_PREVIEW",provider:"ANYCLIP"},{model:"VIDEO_THUMBNAIL",provider:"ANYCLIP"},{model:"NLP_CLASSIFICATION",provider:"ANYCLIP"}],w=[{model:"HIGHLIGHTS",provider:"ANYCLIP"},{model:"AUTO_CHAPTERS",provider:"ANYCLIP"},{model:"IAB_CLASSIFICATION",provider:"ANYCLIP"},{model:"BRAND_SAFETY",provider:"ANYCLIP"},{model:"ALCOHOL",provider:"WEAVO"},{model:"FIREARMS",provider:"WEAVO"},{model:"NUDITY",provider:"WEAVO"},{model:"WAR_AND_TERROR",provider:"WEAVO"},{model:"MULTI_LANGUAGE_SUBTITLES",provider:"GOOGLE"},{model:"SAFE_SEARCH_DETECTION",provider:"GOOGLE"},{model:"LOGO_DETECTION",provider:"GOOGLE"},{model:"LABEL_DETECTION",provider:"GOOGLE"},{model:"TEXT_DETECTION",provider:"GOOGLE"},{model:"CELEBRITY",provider:"CLARIFAI"},{model:"LOGO",provider:"CLARIFAI"},{model:"GENERAL",provider:"CLARIFAI"},{model:"MODERATION",provider:"CLARIFAI"},{model:"CHAT_GPT_DESCRIPTION",provider:"OPENAI"},{model:"TOPICS",provider:"OPENAI"},{model:"CUSTOM_PEOPLE",provider:"AMAZON"},{model:"MODERATION_LABELS",provider:"AMAZON"},{model:"CELEBRITIES",provider:"AMAZON"}],G="SYNDICATION",k="CHANNEL",H=[{label:"Channel",value:k},{label:"Playlist",value:"PLAYLIST"}],x="ALL",W="SHORTS",$="VIDEO",z=[{label:"All",value:x},{label:"Shorts",value:W},{label:"Video",value:$}];e.s(["ACCESS_LEVEL_HUB",0,n,"ACCESS_LEVEL_OPTIONS",0,d,"ACCESS_LEVEL_PRIVATE",0,s,"ACCESS_LEVEL_SYNDICATE",0,c,"ACCOUNT_TYPE_SYNDICATION",0,G,"ALL_HUB_OPTION",0,A,"ALL_OPTION_ID",0,u,"ASPECT_RATIO_16_9",0,R,"ASPECT_RATIO_OPTIONS",0,L,"AUTH_METHOD_NOAUTH",0,E,"AUTH_METHOD_OPTIONS",0,S,"CONTENT_OWNER_LIVE_EVENT_TYPE",0,B,"CONTENT_OWNER_STATUS_DISABLED",0,V,"CONTENT_TYPE_ALL",0,x,"CONTENT_TYPE_OPTIONS",0,z,"CONTENT_TYPE_SHORTS",0,W,"CONTENT_TYPE_VIDEO",0,$,"FILE_SELECTION_BITRATE",0,g,"FILE_SELECTION_NONE",0,m,"FILE_SELECTION_OPTIONS",0,y,"FILE_SELECTION_RESOLUTION",0,I,"FIT_FILL",0,h,"FIT_OPTIONS",0,D,"MEETINGS_SOURCES_ENABLED_BY_DEFAULT",0,Y,"REDUX_FIELD_NAME",0,r,"RESOLUTION_HEIGHT",0,O,"RESOLUTION_OPTIONS",0,b,"SCHEDULE_TYPE_CUSTOM",0,T,"SC
1HEDULE_TYPE_DAILY",0,p,"SCHEDULE_TYPE_OPTIONS",0,_,"SOURCES_DISABLED_BY_DEFAULT",0,w,"SPEECH_TO_TEXT_ANYCLIP_S2T_VALUE",0,F,"SPEECH_TO_TEXT_ASSEMBLY_AI_VALUE",0,M,"SPEECH_TO_TEXT_DISABLED_VALUE",0,f,"SPEECH_TO_TEXT_OPTIONS",0,U,"SPEECH_TO_TEXT_VERBIT_MANUAL_24H_VALUE",0,C,"SPEECH_TO_TEXT_VERBIT_MANUAL_VALUE",0,N,"TAB_ADVANCED",0,i,"TAB_GENERAL",0,a,"TAB_MODEL",0,o,"TAB_SCRIPT",0,l,"VIDEO_FILE_TYPE_MP4M3U8",0,P,"VIDEO_FILE_TYPE_OPTIONS",0,v,"YT_CONTENT_TYPE_CHANNEL",0,k,"YT_CONTENT_TYPE_OPTIONS",0,H],442914);var j=e.i(494834),K=e.i(388302),X=t,q=t,Q=e.i(33829);let Z=/^(https?):\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)/,J=/^[a-zA-Z]+$/,ee={name:[q.TYPE_MRSS,q.TYPE_TIKTOK,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_MANUAL,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],account:[q.TYPE_MRSS,q.TYPE_TIKTOK,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_MANUAL,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],description:[q.TYPE_MRSS,q.TYPE_TIKTOK,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_MANUAL,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],accessPublishers:[q.TYPE_MRSS,q.TYPE_TIKTOK,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_MANUAL,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],accessVideoOwner:[q.TYPE_MRSS,q.TYPE_TIKTOK,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_MANUAL,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],url:[q.TYPE_MRSS,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_CSV,q.TYPE_VIDEO_API],feedPriority:[q.TYPE_MRSS,q.TYPE_MANUAL,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],maxDuration:[q.TYPE_MRSS,q.TYPE_YOUTUBE,q.TYPE_TIKTOK,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],maxDurationForTagging:[q.TYPE_MRSS,q.TYPE_MANUAL,q.TYPE_YOUTUBE,q.TYPE_TIKTOK,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],versionAttributeName:[q.TYPE_MRSS,q.TYPE_MANUAL],loadFromLastDays:[q.TYPE_TIKTOK,q.TYPE_VIMEO],scheduleFrequency:[q.TYPE_MRSS,q.TYPE_TIKTOK,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],resolutionValue:[q.TYPE_MRSS,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],minResolutionValue:[q.TYPE_MRSS,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],bitrate:[q.TYPE_MRSS,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],minBitrate:[q.TYPE_MRSS,q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API,q.TYPE_YOUTUBE,q.TYPE_CSV,q.TYPE_VIDEO_API,q.TYPE_VIMEO],maxStories:[q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API],videoDuration:[q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API],videoMaxZoom:[q.TYPE_RSS,q.TYPE_SITEMAP,q.TYPE_STORY_API],youTubeChannelId:[q.TYPE_YOUTUBE],user:[q.TYPE_VIMEO],password:[q.TYPE_VIMEO]},et={description:[q.TYPE_TIKTOK,q.TYPE_MRSS],accessPublishers:[q.TYPE_TIKTOK,q.TYPE_MRSS],accessVideoOwner:[q.TYPE_TIKTOK,q.TYPE_MRSS],url:[q.TYPE_MRSS],scheduleFrequency:[q.TYPE_MRSS],loadFromLastDays:[q.TYPE_TIKTOK]},ea=(e,t,a)=>{let i=a?et:ee;return!!i[e]?.includes(t)},ei=[{fieldName:"name",tabId:a,validation:(e,t)=>ea("name",t.type,t.isSelfServeUser)?e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty":""},{fieldName:"account",tabId:a,validation:(e,t)=>ea("account",t.type,t.isSelfServeUser)?e?e?.contentOwners&&!e.contentOwners.some(e=>e.type!==B&&e.status!==V)?"Only allowed content owners are: Not Live Event, Not Disabled.":"":"Field cannot be empty":""},{fieldName:"description",tabId:a,validation:(e,t)=>ea("description",t.type,t.isSelfServeUser)?e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty":""},{fieldName:"accessPublishers",tabId:a,validation:(e,t)=>!ea("accessPublishers",t.type,t.isSelfServeUser)||t.accessLevel!==n||t.accessAllPublishers||e.length?"":"Field cannot be empty"},{fieldName:"accessVideoOwner",tabId:a,validation:(e,t)=>ea("accessVideoOwner",t.type,t.isSelfServeUser)&&t.accessLevel===s?e?"":"Field cannot be empty":""},{fieldName:"url",tabId:a,validation:(e,t)=>ea("url",t.type,t.isSelfServeUser)?e?Z.test(e)?"":"Please provide correct url":"Field cannot be empty":""},{fieldName:"scheduleFrequency",tabId:a,validation:(e,t)=>ea("scheduleFrequency",t.type,t.isSelfServeUser)&&t.scheduleType===T?(0,Q.isNumber)(e)?e<1||e>1e4?"Please enter a value between 1 and 10,000":"":"Field cannot be empty":""},{fieldName:"feedPriority",tabId:i,validation:(e,t)=>ea("feedPriority",t.type,t.isSelfServeUser)?e?e<.01||e>1?"Please enter a value between 0.01 and 1":"":"Field cannot be empty":""},{fieldName:"maxDuration",tabId:i,validation:(e,t)=>ea("maxDuration",t.type,t.isSelfServeUser)?e&&e?e<10||e>7200?"Please enter a value between 10 and 7200":"":"Field cannot be empty":""},{fieldName:"maxDurationForTagging",tabId:i,validation:(e,t)=>ea("maxDurationForTagging",t.type,t.isSelfServeUser)?e?e<1||e>1e4?"Please enter a value between 1 and 10.000":"":"Field cannot be empty":""},{fieldName:"versionAttributeName",tabId:i,validation:(e,t)=>ea("versionAttributeName",t.type,t.isSelfServeUser)&&t.processVideoVersions?e?J.test(e)?"":"Letters only, no spaces":"Field cannot be empty":""},{fieldName:"loadFromLastDays",tabId:a,validation:(e,t)=>ea("loadFromLastDays",t.type,t.isSelfServeUser)?e?e<1||e>9999?"Field should be 1 to 9999":"":"Field cannot be empty":""},{fieldName:"youTubeChannelId",tabId:a,validation:(e,t)=>ea("youTubeChannelId",t.type,t.isSelfServeUser)?e?"":"Field cannot be empty":""},{fieldName:"user",tabId:a,validation:(e,t)=>ea("user",t.type,t.isSelfServeUser)?e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty":""},{fieldName:"password",tabId:a,validation:(e,t)=>ea("password",t.type,t.isSelfServeUser)?e?"":"Field cannot be empty":""},{fieldName:"resolutionValue",tabId:i,validation:(e,t)=>ea("resolutionValue",t.type,t.isSelfServeUser)&&t.fileSelection!==m&&t.fileSelection===I?(0,Q.isNumber)(e)?e<0||e>1e4?"Please enter a value between 0 and 10,000":"":"Field cannot be empty":""},{fieldName:"minResolutionValue",tabId:i,validation:(e,t)=>ea("minResolutionValue",t.type,t.isSelfServeUser)&&t.fileSelection!==m&&t.fileSelection===I?(0,Q.isNumber)(e)?e<190||e>1e4?"Please enter a value between 190 and 10,000":"":"Field cannot be empty":""},{fieldName:"bitrate",tabId:i,validation:(e,t)=>ea("bitrate",t.type,t.isSelfServeUser)&&t.fileSelection!==m&&t.fileSelection===g?(0,Q.isNumber)(e)?e<0||e>1e4?"Please enter a value between 0 and 10,000":"":"Field cannot be empty":""},{fieldName:"minBitrate",tabId:i,validation:(e,t)=>ea("minBitrate",t.type,t.isSelfServeUser)&&t.fileSelection!==m&&t.fileSelection===g?(0,Q.isNumber)(e)?e<0||e>1e4?"Please enter a value between 0 and 10,000":"":"Field cannot be empty":""},{fieldName:"maxStories",tabId:i,validation:(e,t)=>ea("maxStories",t.type,t.isSelfServeUser)?(0,Q.isNumber)(e)?e<1||e>1e4?"Please enter a value between 1 and 10,000":"":"Field cannot be empty":""},{fieldName:"videoDuration",tabId:i,validation:(e,t)=>ea("videoDuration",t.type,t.isSelfServeUser)?(0,Q.isNumber)(e)?e<1||e>7200?"Please enter a value between 1 and 7,200":"":"Field cannot be empty":""},{fieldName:"videoMaxZoom",tabId:i,validation:(e,t)=>ea("videoMaxZoom",t.type,t.isSelfServeUser)?(0,Q.isNumber)(e)?e<1||e>100?"Please enter a value between 1 and 100":"":"Field cannot be empty":""}];var el=e.i(192155),eo=e.i(945503);let er=(0,el.default)(r,ei),en={minResolutionValue:{initialStateValue:720,[X.TYPE_RSS]:190,[X.TYPE_SITEMAP]:190,[X.TYPE_STORY_API]:190},speechToTextProvider:{initialStateValue:F,[X.TYPE_RSS]:f,[X.TYPE_SITEMAP]:f,[X.TYPE_STORY_API]:f}},es={type:"",id:null,name:"",description:"",status:X.STATUS_ACTIVE,source:{isConnected:!1,importParticipantsNames:!1},account:null,lang:"EN",accessLevel:n,accessAllPublishers:!1,accessPublishers:[],accessVideoOwner:null,url:"",user:"",password:"",isUseForDownload:!1,authMethod:E,scheduleStatus:!1,scheduleType:p,scheduleValue:"00:00",scheduleFrequency:60,feedPriority:.5,priorityVerification:!1,iabCategories:"[]",defaultTimezone:"UTC",defaultTimezoneEnabled:!1,isEvergreenFeed:!1,isRestricted:!1,keywords:"",parseKeywordsToLabels:!1,maxDuration:300,importPlot:!0,fileSelection:m,resolution:O,resolutionValue:720,minResolutionValue:en.minResolutionValue.initialStateValue,bitrate:7e3,minBitrate:4500,videoFileType:P,importCCFromMrssFile:!1,createClip:!0,skipTaggingForLongClips:!0,maxDurationForTagging:300,immediateAvailability:!1,processVideoVersions:!1,versionAttributeName:"",automationScript:"{}",platformModels:[],speechToTextProvider:en.speechToTextProvider.initialStateValue,loadFromLastDays:1,discardLongClips:!1,fillLandingPage:!1,youtubeContentType:k,youTubeChannelId:"",youTubeLoadFromDate:(0,j.default)(new Date).format("YYYY-MM-DD"),contentType:x,importShortsThumbnail:!1,maxStories:12,videoDuration:6,aspectRatio:R,fit:h,videoMaxZoom:10,jsRendering:!1,accountOptions:null,hubsOptions:null,ownersOptions:null,activeTabId:a,contentOwnerIsPublic:!1,metadata:{languages:null,platformModels:null,speechToTextLanguages:null,timezones:null}
1,oAuthClientId:null,oAuthToken:null,isSelfServeUser:!1,...er.state},ec=(0,K.createSlice)({name:"@@FEEDS/EDITOR",initialState:es,reducers:{setAction:(e,t)=>{(0,eo.applyPartial)(e,t.payload)},getMetadataAction:(e,t)=>(t.payload,e),getItemAction:(e,t)=>(t.payload,e),getAccountOptionsAction:(e,t)=>(t.payload,e),getHubsOptionsAction:(e,t)=>(t.payload,e),getOwnersOptionsAction:(e,t)=>(t.payload,e),updateItemAction:(e,t)=>(t.payload,e),createItemAction:e=>e,getOAuthClientIdAction:e=>e,getOAuthTokenAction:(e,t)=>(t.payload,e),setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setInitialAction:e=>{(0,eo.applyPartial)(e,es,["isSelfServeUser"])},setScrollToFieldNameAction:er.actions.setScrollToFieldAction,setErrorByPropAction:er.actions.updateValidationSchemeAction,removeErrorByPropAction:(e,t)=>er.actions.removeErrorByFieldNameAction(e,t)}}),{setAction:ed,setScrollToFieldNameAction:eu,setErrorByPropAction:eA,removeErrorByPropAction:eE,getMetadataAction:eS,getItemAction:ep,getAccountOptionsAction:eT,getHubsOptionsAction:e_,getOwnersOptionsAction:em,setActiveTabIdAction:eI,setInitialAction:eg,updateItemAction:ey,createItemAction:eO,getOAuthClientIdAction:eb,getOAuthTokenAction:eP}=ec.actions,{validateFields:ev,validateSingleField:eR}=er;e.s(["createItemAction",0,eO,"defaultStoreValuesDependsOnFeedType",0,en,"getAccountOptionsAction",0,eT,"getHubsOptionsAction",0,e_,"getItemAction",0,ep,"getMetadataAction",0,eS,"getOAuthClientIdAction",0,eb,"getOAuthTokenAction",0,eP,"getOwnersOptionsAction",0,em,"removeErrorByPropAction",0,eE,"setAction",0,ed,"setActiveTabIdAction",0,eI,"setErrorByPropAction",0,eA,"setInitialAction",0,eg,"setScrollToFieldNameAction",0,eu,"slice",0,ec,"updateItemAction",0,ey,"validateFields",0,ev],375149);var eL=e.i(916094);let eh=ec.name,eD=(0,eL.default)(r,eh),ef=e=>e[eh].id,eN=e=>e[eh].name,eC=e=>e[eh].type,eM=e=>e[eh].description,eF=e=>e[eh].source.isConnected,eU=e=>e[eh].source,eB=e=>e[eh].account,eV=e=>e[eh].lang,eY=e=>e[eh].accessLevel,ew=e=>e[eh].accessAllPublishers,eG=e=>e[eh].accessPublishers,ek=e=>e[eh].accessVideoOwner,eH=e=>e[eh].metadata.languages,ex=e=>e[eh].metadata.timezones,eW=e=>e[eh].metadata.platformModels,e$=e=>e[eh].metadata.speechToTextLanguages,ez=e=>e[eh].platformModels,ej=e=>e[eh].accountOptions,eK=e=>e[eh].activeTabId,eX=e=>e[eh].hubsOptions,eq=e=>e[eh].ownersOptions,eQ=e=>e[eh].url,eZ=e=>e[eh].user,eJ=e=>e[eh].password,e0=e=>e[eh].isUseForDownload,e1=e=>e[eh].authMethod,e2=e=>e[eh].scheduleStatus,e3=e=>e[eh].scheduleType,e9=e=>e[eh].scheduleValue,e5=e=>e[eh].scheduleFrequency,e8=e=>e[eh].feedPriority,e6=e=>e[eh].priorityVerification,e4=e=>e[eh].iabCategories,e7=e=>e[eh].defaultTimezone,te=e=>e[eh].defaultTimezoneEnabled,tt=e=>e[eh].isEvergreenFeed,ta=e=>e[eh].isRestricted,ti=e=>e[eh].keywords,tl=e=>e[eh].parseKeywordsToLabels,to=e=>e[eh].maxDuration,tr=e=>e[eh].importPlot,tn=e=>e[eh].fileSelection,ts=e=>e[eh].resolution,tc=e=>e[eh].resolutionValue,td=e=>e[eh].minResolutionValue,tu=e=>e[eh].bitrate,tA=e=>e[eh].minBitrate,tE=e=>e[eh].videoFileType,tS=e=>e[eh].maxStories,tp=e=>e[eh].videoDuration,tT=e=>e[eh].aspectRatio,t_=e=>e[eh].fit,tm=e=>e[eh].videoMaxZoom,tI=e=>e[eh].importCCFromMrssFile,tg=e=>e[eh].createClip,ty=e=>e[eh].skipTaggingForLongClips,tO=e=>e[eh].maxDurationForTagging,tb=e=>e[eh].immediateAvailability,tP=e=>e[eh].processVideoVersions,tv=e=>e[eh].versionAttributeName,tR=e=>e[eh].automationScript,tL=e=>e[eh].speechToTextProvider,th=e=>e[eh].jsRendering,tD=e=>e[eh].loadFromLastDays,tf=e=>e[eh].discardLongClips,tN=e=>e[eh].fillLandingPage,tC=e=>e[eh].youtubeContentType,tM=e=>e[eh].youTubeChannelId,tF=e=>e[eh].youTubeLoadFromDate,tU=e=>e[eh].contentType,tB=e=>e[eh].importShortsThumbnail,tV=e=>e[eh].oAuthClientId,tY=e=>e[eh].oAuthToken,tw=e=>e[eh].isSelfServeUser,tG=e=>e[eh].status,tk=e=>e[eh].contentOwnerIsPublic,tH=e=>eD.getScrollField(e),tx=e=>eD.schemeSelector(e),tW=e=>e[eh];e.s(["accessAllPublishersSelector",0,ew,"accessLevelSelector",0,eY,"accessPublishersSelector",0,eG,"accessVideoOwnerSelector",0,ek,"accountOptionsSelector",0,ej,"accountSelector",0,eB,"activeTabIdSelector",0,eK,"aspectRatioSelector",0,tT,"authMethodSelector",0,e1,"automationScriptSelector",0,tR,"bitrateSelector",0,tu,"contentOwnerIsPublicSelector",0,tk,"contentTypeSelector",0,tU,"createClipSelector",0,tg,"defaultTimezoneEnabledSelector",0,te,"defaultTimezoneSelector",0,e7,"descriptionSelector",0,eM,"discardLongClipsSelector",0,tf,"feedPrioritySelector",0,e8,"fileSelectionSelector",0,tn,"fillLandingPageSelector",0,tN,"fitSelector",0,t_,"fullAccessToStoreFieldsForValidation",0,tW,"hubsOptionsSelector",0,eX,"iabCategoriesSelector",0,e4,"idSelector",0,ef,"immediateAvailabilitySelector",0,tb,"importCCFromMrssFileSelector",0,tI,"importPlotSelector",0,tr,"importShortsThumbnailSelector",0,tB,"isConnectedSelector",0,eF,"isEvergreenFeedSelector",0,tt,"isRestrictedSelector",0,ta,"isSelfServeUserSelector",0,tw,"isUseForDownloadSelector",0,e0,"jsRenderingSelector",0,th,"keywordsSelector",0,ti,"langSelector",0,eV,"loadFromLastDaysSelector",0,tD,"maxDurationForTaggingSelector",0,tO,"maxDurationSelector",0,to,"maxStoriesSelector",0,tS,"metadataLanguagesSelector",0,eH,"metadataPlatformModelsSelector",0,eW,"metadataSpeechToTextLanguagesSelector",0,e$,"metadataTimezonesSelector",0,ex,"minBitrateSelector",0,tA,"minResolutionValueSelector",0,td,"nameSelector",0,eN,"oAuthClientIdSelector",0,tV,"oAuthTokenSelector",0,tY,"ownersOptionsSelector",0,eq,"parseKeywordsToLabelsSelector",0,tl,"passwordSelector",0,eJ,"platformModelsSelector",0,ez,"priorityVerificationSelector",0,e6,"processVideoVersionsSelector",0,tP,"resolutionSelector",0,ts,"resolutionValueSelector",0,tc,"scheduleFrequencySelector",0,e5,"scheduleStatusSelector",0,e2,"scheduleType
1Selector",0,e3,"scheduleValueSelector",0,e9,"schemeSelector",0,tx,"scrollFieldSelector",0,tH,"skipTaggingForLongClipsSelector",0,ty,"sourceSelector",0,eU,"speechToTextProviderSelector",0,tL,"statusSelector",0,tG,"typeSelector",0,eC,"urlSelector",0,eQ,"userSelector",0,eZ,"versionAttributeNameSelector",0,tv,"videoDurationSelector",0,tp,"videoFileTypeSelector",0,tE,"videoMaxZoomSelector",0,tm,"youTubeChannelIdSelector",0,tM,"youTubeLoadFromDateSelector",0,tF,"youtubeContentTypeSelector",0,tC],191033);let t$=e=>{try{let t=JSON.parse(e);return"object"==typeof t&&null!==t}catch{return!1}},tz=(e,t)=>Object.fromEntries(t.filter(t=>t in e).map(t=>[t,e[t]])),tj=(e,t)=>e.filter(e=>!e.shouldHideForTypes?.includes(t));e.s(["filterOptionsByType",0,tj,"isValidJSON",0,t$,"pick",0,tz],705694)},687549,e=>{"use strict";var t=e.i(407469),a=e.i(442914);let i=()=>Math.random().toString(36).split(".").pop()??"",l=(e,t)=>{let a=""===t?"ZZZZ":t;return(""===e?"ZZZZ":e).localeCompare(a)},o=(e,t,a)=>e.sort((e,i)=>e[t]!==i[t]?l(e[t],i[t]):e[a].localeCompare(i[a])),r=e=>o(e,"category","displayName"),n=e=>{let t=e?.split("Parameters:")[0];if(!t)return"";let a=t.indexOf(":");return -1!==a?t.substring(a+1).trim():t.trim()},s=e=>{let t=e?.split("Parameters:")[1]?.split("Example:")[0]?.trim()??"";return t?t.split(";").map(e=>e.trim()).filter(e=>e.length>0):[]},c=e=>{let t=e?.split("Example:")[1]?.trim();if(!t)return"";let a=t.endsWith("}")?t:t.substring(0,t.lastIndexOf("}")+1);try{let e=JSON.parse(a);return JSON.stringify(e,null,2)}catch{return""}};function d(e,i,l){let o;
1return!!l&&(o=[t.TYPE_ZOOM,t.TYPE_SHAREPOINT,t.TYPE_TEAMS].includes(l)?!!a.MEETINGS_SOURCES_ENABLED_BY_DEFAULT.filter(t=>t.model===e.name&&t.provider===i.provider).length:!a.SOURCES_DISABLED_BY_DEFAULT.filter(t=>t.model===e.name&&t.provider===i.provider).length)}let u=(e,t)=>e?r(e.flatMap(e=>e.models.map(a=>({id:i(),displayName:e.providerDisplayName.toUpperCase(),features:a.features,platform:e.provider,model:a.name,category:a.category||"",enabled:d(a,e,t),description:n(a.description),parameters:s(a.description),example:c(a.description)})))):[],A=(e,t)=>t.find(t=>t.model===e)?.enabled??!1,E=(e,t)=>t.find(t=>t.model===e)?.config||"{}",S=(e,t,a)=>e.map(e=>({config:a?"{}":E(e.model,t),enabled:a?e.enabled:A(e.model,t),model:e.model,platform:e.platform})),p=(e,t)=>S(u(e,t),[],!0);e.s(["createDefaultPlatformModels",0,S,"createModelsListFromMetadataPlatform",0,u,"getDefaultPlatformModelsWhenCreate",0,p,"getModelConfig",0,E,"getModelEnabled",0,A])},825647,e=>{"use strict";let t=()=>window.self!==window.top&&"wp"===new URLSearchParams(window.location.search).get("mode"),a=()=>{let e=new URLSearchParams(window.location.search).get("mode"),t=e&&e.indexOf("?")>0?e.slice(0,e.indexOf("?")):e;return window.self!==window.top&&"wp_video"===t},i=[],l=(e,t={},a={})=>{let i=document.createElement(e);return Object.entries(t).forEach(([e,t])=>{i[e]=t}),Object.entries(a).forEach(([e,t])=>{i.setAttribute(e,`${t}`)}),i},o=(e,{props:t={},attrs:a={},appendContainer:o=document.head,withoutUnmount:r=!1})=>{let n=l(e,t,a);return r||i.push(n),o.appendChild(n),n};e.s(["getIsWPVideoMode",0,a,"getIsWordpressMode",0,t,"mountTag",0,o])},613184,e=>{"use strict";let t="16:9",a="ASPECT_RATIO_16x9",i="9:16",l="ASPECT_RATIO_9x16",o="4:3",r="ASPECT_RATIO_4x3",n="3:4",s="ASPECT_RATIO_3x4",c="1:1",d="ASPECT_RATIO_1x1";e.s(["ASPECT_RATIO_16_9_LABEL",0,t,"ASPECT_RATIO_16_9_VALUE",0,a,"ASPECT_RATIO_1_1_LABEL",0,c,"ASPECT_RATIO_1_1_VALUE",0,d,"ASPECT_RATIO_3_4_LABEL",0,n,"ASPECT_RATIO_3_4_VALUE",0,s,"ASPECT_RATIO_4_3_LABEL",0,o,"ASPECT_RATIO_4_3_VALUE",0,r,"ASPECT_RATIO_9_16_LABEL",0,i,"ASPECT_RATIO_9_16_VALUE",0,l])},562545,e=>{"use strict";let t=1,a=2,i=3,l=4,o=5,r=6,n=7,s=8,c=9,d=10,u=13,A="Intelligent",E="Stories",S="Watch",p="Intelligent - AMP",T="Stories - AMP",_="Live",m="Mobile SDK",I="Outstream",g="Watch Inline",y="Vertical",O="Outstream In-Article";e.s(["TYPE_INTELLIGENT",0,t,"TYPE_INTELLIGENT_AMP",0,l,"TYPE_INTELLIGENT_AMP_NAME",0,p,"TYPE_INTELLIGENT_NAME",0,A,"TYPE_LIVE",0,r,"TYPE_LIVE_NAME",0,_,"TYPE_MOBILE_SDK",0,n,"TYPE_MOBILE_SDK_NAME",0,m,"TYPE_OUTSTREAM",0,s,"TYPE_OUTSTREAM_IN_ARTICLE",0,u,"TYPE_OUTSTREAM_IN_ARTICLE_NAME",0,O,"TYPE_OUTSTREAM_NAME",0,I,"TYPE_STORIES",0,a,"TYPE_STORIES_AMP",0,o,"TYPE_STORIES_AMP_NAME",0,T,"TYPE_STORIES_NAME",0,E,"TYPE_VERTICAL",0,d,"TYPE_VERTICAL_NAME",0,y,"TYPE_WATCH",0,i,"TYPE_WATCH_INLINE",0,c,"TYPE_WATCH_INLINE_NAME",0,g,"TYPE_WATCH_NAME",0,S])},446738,e=>{"use strict";let t="deOutstream",a="Direct Embed",i="dfpOutstream",l="DFP/GAM",o="deOutstreamInArticle",r="Direct Embed Outstream In-Article",n="dfpOutstreamInArticle",s="DFP Outstream In-Article";e.s(["EMBED_CODE_OUTSTREAM_IN_ARTICLE_DFP_GAM_LABEL",0,s,"EMBED_CODE_OUTSTREAM_IN_ARTICLE_TYPE_DFP_GAM_VALUE",0,n,"EMBED_CODE_OUTSTREAM_IN_ARTICLE_TYPE_DIRECT_LABEL",0,r,"EMBED_CODE_OUTSTREAM_IN_ARTICLE_TYPE_DIRECT_VALUE",0,o,"EMBED_CODE_TYPE_DFP_GAM_LABEL",0,l,"EMBED_CODE_TYPE_DFP_GAM_VALUE",0,i,"EMBED_CODE_TYPE_DIRECT_LABEL",0,a,"EMBED_CODE_TYPE_DIRECT_VALUE",0,t])},241810,748270,1965,e=>{"use strict";let t={keys:{link:"/key-lists/keys",addButtonText:"Key",tableHeaders:[{id:"name",label:"Name",isSortable:!0},{id:"key",label:"Key"},{id:"updatedBy",label:"Updated By",isSortable:!0},{id:"updated",label:"Updated Date",isSortable:!0},{id:"status",label:"Status"}]},lists:{link:"/key-lists/lists",addButtonText:"Value List",tableHeaders:[{id:"name",label:"Name",isSortable:!0},{id:"keys",label:"Values"},{id:"updatedBy",label:"Updated By",isSortable:!0},{id:"updated",label:"Updated Date",isSortable:!0},{id:"daccountName",label:"Demand Partner",isSortable:!0},{id:"status",label:"Status"},{id:"actions",label:"",autoWidth:!0,padding:"none"}]}},a=[{label:"Keys",value:"VALUES",link:t.keys.link},{label:"Value Lists",value:"LISTS",link:t.lists.link}],i=[{label:"Value Lists",value:"LISTS",link:t.lists.link}],l=[{label:"All",value:"ALL"},{label:"Active",value:"ACTIVE",icon:"active"},{label:"Disabled",value:"DISABLED",icon:"disabled"}],o=[{label:"Activate",value:"ACTIVE"},{label:"Disable",value:"DISABLED"}
1],r="KEY_LIST_FORM",n="commonForm",s="KEY_VALUE_FORM",c="VALUE_FORM_REDUX_FIELD_NAME";e.s(["BULK_ACTIONS",0,o,"FORM_REDUX_FIELD_NAME",0,n,"KEY_LIST_FORM",0,r,"KEY_VALUE_FORM",0,s,"PAGE_CONFIG",0,t,"STATUS_FILTERS",0,l,"TABS",0,a,"TABS_SELF_SERVE",0,i,"VALUE_FORM_REDUX_FIELD_NAME",0,c],748270);var d=e.i(388302);let u=[{fieldName:"name",tabId:r,validation:e=>e?.trim()?"":"Field cannot be empty"},{fieldName:"demandAccount",tabId:r,validation:e=>e?.value?"":"Field cannot be empty"}],A=[{fieldName:"keyName",tabId:s,validation:e=>e?.trim()?"":"Field cannot be empty"},{fieldName:"keyValue",tabId:s,validation:e=>e?.trim()?"":"Field cannot be empty"}];var E=e.i(192155);let S=(0,E.default)(n,u),{validateFields:p,validateSingleField:T}=S,_=(0,E.default)(c,A),{validateFields:m}=_,I={search:"",status:l[1].value,totalCount:0,page:0,rowsPerPage:10,sortBy:"updated",sortOrder:"DESC",keyLists:[]},g={name:"",demandAccount:null,demandAccountOptions:[],searchKeys:"",keys:[],keysPage:0,keysRowsPerPage:5,bulkKeys:[],keyName:"",keyValue:"",...S.state,..._.state},y={tab:0,userHubs:[],userDemandAccounts:[],...I,...g},O=(0,d.createSlice)({name:"@@marketplaceKeyLists/MARKETPLACE_KEYLISTS",initialState:y,reducers:{setFieldAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialListsStateAction:e=>{Object.keys(I).forEach(t=>{e[t]=I[t]})},setInitialFormAction:e=>({...e,...g}),searchKeyListsAction:e=>e,bulkUpdateKeyListsAction:e=>e,getKeyListByIdAction:e=>e,createKeyListAction:e=>e,updateKeyListAction:e=>e,searchAvailableKeysAction:e=>e,bulkUpdateAvailableKeysAction:e=>e,getAvailableKeyByIdAction:e=>e,createAvailableKeyAction:e=>e,updateAvailableKeyAction:e=>e,getDemandAccountsAction:e=>e,getHubsAndDemandAccountsAction:e=>e,setScrollToFieldNameAction:S.actions.setScrollToFieldAction,setErrorByPropAction:S.actions.updateValidationSchemeAction,removeErrorByPropAction:S.actions.removeErrorByFieldNameAction,setScrollToFieldNameValueFormAction:_.actions.setScrollToFieldAction,setErrorByPropValueFormAction:_.actions.updateValidationSchemeAction,removeErrorByPropValueFormAction:_.actions.removeErrorByFieldNameAction}}),{setFieldAction:b,setInitialListsStateAction:P,searchKeyListsAction:v,bulkUpdateKeyListsAction:R,getKeyListByIdAction:L,createKeyListAction:h,updateKeyListAction:D,searchAvailableKeysAction:f,bulkUpdateAvailableKeysAction:N,getAvailableKeyByIdAction:C,createAvailableKeyAction:M,updateAvailableKeyAction:F,getDemandAccountsAction:U,getHubsAndDemandAccountsAction:B,setInitialFormAction:V,setScrollToFieldNameAction:Y,setErrorByPropAction:w,removeErrorByPropAction:G,setScrollToFieldNameValueFormAction:k,setErrorByPropValueFormAction:H,removeErrorByPropValueFormAction:x}=O.actions;O.reducer,e.s(["bulkUpdateAvailableKeysAction",0,N,"bulkUpdateKeyListsAction",0,R,"createAvailableKeyAction",0,M,"createKeyListAction",0,h,"getAvailableKeyByIdAction",0,C,"getDemandAccountsAction",0,U,"getHubsAndDemandAccountsAction",0,B,"getKeyListByIdAction",0,L,"removeErrorByPropAction",0,G,"removeErrorByPropValueFormAction",0,x,"searchAvailableKeysAction",0,f,"searchKeyListsAction",0,v,"setErrorByPropAction",0,w,"setErrorByPropValueFormAction",0,H,"setFieldAction",0,b,"setInitialFormAction",0,V,"setInitialListsStateAction",0,P,"setScrollToFieldNameAction",0,Y,"setScrollToFieldNameValueFormAction",0,k,"slice",0,O,"updateAvailableKeyAction",0,F,"updateKeyListAction",0,D,"validateFields",0,p,"validateValueFormFields",0,m],1965);var W=e.i(916094);let $=O.name,z=e=>e[$].search,j=e=>e[$].status,K=e=>e[$].totalCount,X=e=>e[$].page,q=e=>e[$].rowsPerPage,Q=e=>e[$].sortBy,Z=e=>e[$].sortOrder,J=e=>e[$].keyLists,ee=e=>e[$].tab,et=e=>e[$].userDemandAccounts,ea=e=>e[$].name,ei=e=>e[$].demandAccount,el=e=>e[$].demandAccountOptions,eo=e=>e[$].keyName,er=e=>e[$].keyValue,en=e=>e[$].searchKeys,es=e=>e[$].keys,ec=e=>e[$].keysPage,ed=e=>e[$].keysRowsPerPage,eu=e=>e[$].bulkKeys,eA=(0,W.default)(n,$),eE=e=>eA.schemeSelector(e),eS=e=>e[$],ep=(0,W.default)(c,$),eT=e=>ep.schemeSelector(e);e.s(["bulkKeysSelector",0,eu,"demandAccountOptionsSelector",0,el,"demandAccountSelector",0,ei,"fullAccessToStoreFieldsForValidation",0,eS,"keyListsSelector",0,J,"keyNameSelector",0,eo,"keyValueSelector",0,er,"keysPageSelector",0,ec,"keysRowsPerPageSelector",0,ed,"keysSelector",0,es,"nameSelector",0,ea,"pageSelector",0,X,"rowsPerPageSelector",0,q,"schemeSelector",0,eE,"schemeValueFormSelector",0,eT,"searchKeysSelector",0,en,"searchSelector",0,z,"sortBySelector",0,Q,"sortOrderSelector",0,Z,"statusSelector",0,j,"tabSelector",0,ee,"totalCountSelector",0,K,"userDemandAccountsSelector",0,et],241810)},371713,(e,t,a)=>{!function(e,a){t.exports=a()}(e.e,function(){"use strict";var e="week",t="year";return function(a,i,l){var o=i.prototype;
1o.week=function(a){if(void 0===a&&(a=null),null!==a)return this.add(7*(a-this.week()),"day");var i=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=l(this).startOf(t).add(1,t).date(i),r=l(this).endOf(e);if(o.isBefore(r))return 1}var n=l(this).startOf(t).date(i).startOf(e).subtract(1,"millisecond"),s=this.diff(n,e,!0);return s<0?l(this).startOf("week").week():Math.ceil(s)},o.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}})},771937,e=>{"use strict";var t=e.i(494834),a=e.i(371713);t.default.extend(a.default);let i={thisMonth:{label:"This month",dateRange:{stringFrom:"now/M"},dateRangeComparison:{stringFrom:"now-1M/M",stringTo:"now-1M"},ranges:[{stringFrom:"now/M"},{stringFrom:"now-1M/M",stringTo:"now/M"}],interval:{unit:"DAYS",value:1},xTickFormatter:e=>e.format("DD"),chipFormatter:e=>e.format("MMMM YYYY"),chartTooltipFormatter:e=>e.format("ddd MMM DD")},previousMonth:{label:"Previous month",dateRange:{stringFrom:"now-1M/M",stringTo:"now/M"},dateRangeComparison:{stringFrom:"now-2M/M",stringTo:"now-1M/M"},ranges:[{stringFrom:"now-1M/M",stringTo:"now/M"},{stringFrom:"now-2M/M",stringTo:"now-1M/M"}],interval:{unit:"DAYS",value:1},xTickFormatter:e=>e.format("DD"),chipFormatter:e=>e.format("MMMM YYYY"),chartTooltipFormatter:e=>e.format("ddd MMM DD")},thisWeek:{label:"This week",dateRange:{stringFrom:"now/w"},dateRangeComparison:{stringFrom:"now-1w/w",stringTo:"now-1w"},ranges:[{stringFrom:"now/w"},{stringFrom:"now-1w/w",stringTo:"now/w"}],interval:{unit:"DAYS",value:1},xTickFormatter:e=>e.format("ddd"),chipFormatter:e=>`Week ${(0,t.default)(e).week()}`,chartTooltipFormatter:e=>`${e.format("ddd MMM DD")}, Week ${(0,t.default)(e).week()}`},today:{label:"Today",dateRange:{stringFrom:"now/d"},ranges:[{stringFrom:"now/d"},{stringFrom:"now-1d/d",stringTo:"now/d"},{stringFrom:"now-7d/d",stringTo:"now-6d/d"}],interval:{unit:"HOURS",value:1},xTickFormatter:e=>e.format("HH"),chipFormatter:e=>e.format("MMM DD"),chartTooltipFormatter:e=>e.format("ddd MMM DD"),chartTooltipTitleFormatter:e=>`${e.format("HH")}:00`},yesterday:{label:"Yesterday",dateRange:{stringFrom:"now-1d/d",stringTo:"now/d"},ranges:[{stringFrom:"now-1d/d",stringTo:"now/d"},{stringFrom:"now-2d/d",stringTo:"now-1d/d"},{stringFrom:"now-8d/d",stringTo:"now-7d/d"}],interval:{unit:"HOURS",value:1},xTickFormatter:e=>e.format("HH"),chipFormatter:e=>e.format("MMM DD"),chartTooltipFormatter:e=>e.format("ddd MMM DD"),chartTooltipTitleFormatter:e=>`${e.format("HH")}:00`},last7days:{label:"Last 7 days",dateRange:{stringFrom:"now-6d/d"},dateRangeComparison:{stringFrom:"now-13d/d",stringTo:"now-6d/d"},ranges:[{stringFrom:"now-13d/d",stringTo:"now-6d/d"},{stringFrom:"now-6d/d"}],interval:{unit:"DAYS",value:1},xTickFormatter:e=>e.format("ddd"),chipFormatter:(e,t)=>t?`${e.format("MMM DD")} - ${t.format("MMM DD")}`:e.format("MMM DD"),chartTooltipFormatter:e=>e.format("ddd MMM DD")},last30days:{label:"Last 30 days",dateRange:{stringFrom:"now-29d/d"},dateRangeComparison:{stringFrom:"now-59d/d",stringTo:"now-29d/d"},ranges:[{stringFrom:"now-29d/d"}],interval:{unit:"DAYS",value:1},xTickFormatter:e=>e.format("MMM DD"),chipFormatter:(e,t)=>t?`${e.format("MMM DD")} - ${t.format("MMM DD")}`:e.format("MMM DD"),chartTooltipFormatter:e=>e.format("ddd MMM DD")},custom:"Custom"},l=-1,o=1,r=6,n=7,s={1:{range:{stringFrom:"now/M",stringTo:void 0},interval:{unit:"DAYS",value:1}},2:{range:{stringFrom:"now-1M/M",stringTo:"now/M"},interval:{unit:"DAYS",value:1}},4:{range:{stringFrom:"now/w",stringTo:void 0},interval:{unit:"DAYS",value:1}},6:{range:{stringFrom:"now/d",stringTo:void 0},interval:{unit:"HOURS",value:1}},7:{range:{stringFrom:"now-1d/d",stringTo:"now/d"},interval:{unit:"HOURS",value:1}},5:{range:{stringFrom:"now-6d/d",stringTo:void 0},interval:{unit:"DAYS",value:1}},3:{range:{stringFrom:"now-29d/d",stringTo:void 0},interval:{unit:"DAYS",value:1}},[-1]:{range:{stringFrom:"",stringTo:void 0},interval:{unit:"",value:0}}},c=[{label:"This month",value:1},{label:"Previous month",value:2},{label:"Last 30 days",value:3},{label:"This week",value:4},{label:"Last 7 days",value:5},{label:"Today",value:6},{label:"Yesterday",value:7},{label:"Custom",value:-1}],d=[{label:i.thisMonth.label,value:i.thisMonth},{label:i.previousMonth.label,value:i.previousMonth},{label:i.last30days.label,value:i.last30days},{label:i.thisWeek.label,value:i.thisWeek},{label:i.last7days.label,value:i.last7days},{label:i.today.label,value:i.today},{label:i.yesterday.label,value:i.yesterday},{label:"Custom",value:i.custom}],u=[{label:"Desktop",value:"DESKTOP"},{label:"Mobile",value:"MOBILE"},{label:"Other",value:"OTHER"}],A=[{label:"Desktop",value:"DESKTOP"},{label:"Mobile",value:"MOBILE"},{label:"Other",value:"OTHER"}],E="SPONSORED",S="",p=[{label:"Video",value:"VIDEO"},{label:"Display",value:"DISPLAY"},{label:"Sponsored",value:E},{label:"All Formats",value:S}],T={video:{label:"Video",value:"VIDEO"},display:{label:"Display",value:"DISPLAY"},sponsored:{label:"Sponsored",value:"SPONSORED"},all:{label:"All Formats",value:null}}
1,_=[T.video,T.display,T.sponsored,T.all],m=[{id:"Revenue",key:"externalRevenues",prefix:"$",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Revenue",tooltip:"Revenue generated by video ads within selected period, demand source, domain, devices, and country"}:e===T.display.value?{title:"Revenue",tooltip:"Revenue generated by display ads within selected period, demand source, domain, devices, and country"}:e===T.sponsored.value?{title:"Revenue",tooltip:"Revenue generated by sponsored ads within selected period, demand source, domain, devices, and country"}:{title:"Revenue",tooltip:"Revenue generated by all ads within selected period, demand source, domain, devices, and country"}},{id:"PlatformFees",key:"platformFee",prefix:"$",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Platform Fees",tooltip:"Total platform fees charged to you for delivering video ads from your demand sources"}:e===T.display.value?{title:"Platform Fees",tooltip:"Total platform fees charged to you for delivering display ads from your demand sources"}:e===T.sponsored.value?{title:"Platform Fees",tooltip:"Total platform fees charged to you for delivering sponsored ads from your demand sources"}:{title:"Platform Fees",tooltip:"Total platform fees charged to you for delivering ads from your demand sources across all formats"}},{id:"netRevenue",key:"netRevenue",prefix:"$",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"NET Revenue",tooltip:"Video ad revenue after platform fees and revenue share deductions"}:e===T.display.value?{title:"NET Revenue",tooltip:"Display ad revenue after platform fees and revenue share deductions"}:e===T.sponsored.value?{title:"NET Revenue",tooltip:"Sponsored ad revenue after platform fees and revenue share deductions"}:{title:"NET Revenue",tooltip:"Total revenue across all formats after platform fees and revenue share deductions"}},{id:"RPM",key:"rpm",prefix:"$",getCardConfig:({adFormat:e,demandSources:t})=>e===T.video.value?{title:"Ad RPM",tooltip:"Revenue generated by Video ads for every 1000 Video ad impressions"}:e===T.display.value?{title:"Ad RPM",tooltip:"Revenue generated by Display ads for every 1000 Display ad impressions"}:e===T.sponsored.value?{title:"Ad RPM",tooltip:"Revenue generated by sponsored ads for every 1000 sponsored ad impressions",key:t.length?"cpm":"rpm"}:{title:"Page RPM",tooltip:"Revenue generated by display and video ads for every 1000 player loads"}},{id:"Viewability",key:"viewability",postfix:"%",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Ad Viewability",tooltip:"Ratio of Viewable Video ad impressions to all Video ad impressions"}:e===T.display.value?{title:"Ad Viewability",tooltip:"Ratio of viewable Display ad impressions to all Display ad Impressions"}:e===T.sponsored.value?{title:"Ad Viewability",tooltip:"Ratio of Viewable sponsored ad impressions to all sponsored ad impressions"}:{title:"Player Viewability",tooltip:"Ratio of viewable player loads to all player loads"}},{id:"AdImpressions",key:"lreImpressions",getCardConfig:({adFormat:e})=>e===T.video.value?{key:"adImpressions",title:"Ad Impressions",tooltip:"Number of Video ads served"}:e===T.display.value?{key:"adImpressions",title:"Ad Impressions",tooltip:"Number of Display ads served"}:e===T.sponsored.value?{key:"adImpressions",title:"Ad Impressions",tooltip:"Number of sponsored ads served"}:{title:"Player Ad Impressions",tooltip:"Number of player loads that served at least 1 ad impression"}},{id:"FillRate",key:"fillRate",postfix:"%",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Fill Rate",tooltip:"Ratio of Video ad impressions to video ad requests"}:e===T.display.value?{title:"Fill Rate",tooltip:"Ratio of Display ad impressions to Display ad requests"}:e===T.sponsored.value?{title:"",tooltip:"",hide:!0}:{title:"Fill Rate",tooltip:"Ratio of player ad impressions to player loads"}},{id:"PlayerLoads",key:"lreOpportunities",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Player Loads",tooltip:"Number of times video player has been loaded in an ad blocker free page",hide:!0}:e===T.display.value?{title:"Player Loads",tooltip:"Not available for Display ad format",hide:!0}:e===T.sponsored.value?{title:"",tooltip:"",hide:!0}:{title:"Player Loads",tooltip:"Number of times video player has been loaded in an ad blocker free page"},disableByAdFormat:e=>[T.display.value].includes(e)},{id:"AdClicks",key:"adClicks",getCardConfig:({adFormat:e})=>e===T.sponsored.value?{title:"Ad Clicks",tooltip:"Number of sponsored ads clicks"}:{title:"",tooltip:"",hide:!0}},{id:"Ctr",key:"ctr",postfix:"%",getCardConfig:({adFormat:e})=>e===T.sponsored.value?{title:"CTR",tooltip:"Ratio of sponsored ad clicks to all sponsored ad impressions"}:{title:"",tooltip:"",hide:!0}}
1],I=[{id:"Revenue",key:"externalRevenues",prefix:"$",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Revenue",tooltip:"Revenue generated by video ads within selected period, demand source, domain, devices, and country"}:e===T.display.value?{title:"Revenue",tooltip:"Revenue generated by display ads within selected period, demand source, domain, devices, and country"}:{title:"Revenue",tooltip:"Revenue generated by all ads within selected period, demand source, domain, devices, and country"}},{id:"PlatformFees",key:"platformFee",prefix:"$",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Platform Fees",tooltip:"Total platform fees charged to you for delivering video ads from your demand sources"}:e===T.display.value?{title:"Platform Fees",tooltip:"Total platform fees charged to you for delivering display ads from your demand sources"}:{title:"Platform Fees",tooltip:"Total platform fees charged to you for delivering ads from your demand sources across all formats"}},{id:"netRevenue",key:"netRevenue",prefix:"$",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"NET Revenue",tooltip:"Video ad revenue after platform fees and revenue share deductions"}:e===T.display.value?{title:"NET Revenue",tooltip:"Display ad revenue after platform fees and revenue share deductions"}:{title:"NET Revenue",tooltip:"Total revenue across all formats after platform fees and revenue share deductions"}},{id:"CPM",key:"cpm",prefix:"$",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Ad RPM",tooltip:"Revenue generated for every 1000 video ad impressions"}:e===T.display.value?{title:"Ad RPM",tooltip:"Revenue generated for every 1000 display ad impressions"}:{title:"Ad RPM",tooltip:"Only available for Video or Display ad formats separately."},disableByAdFormat:e=>[T.all.value].includes(e)},{id:"Viewability",key:"viewability",postfix:"%",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Ad Viewability",tooltip:"Ratio of viewable video ad impressions to all video ad impressions"}:e===T.display.value?{title:"Ad Viewability",tooltip:"Ratio of viewable display ad impressions to all display ad impressions"}:{title:"Ad Viewability",tooltip:"Only available for Video or Display ad formats separately."},disableByAdFormat:e=>[T.all.value].includes(e)},{id:"AdImpressions",key:"adImpressions",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Ad Impressions",tooltip:"Number of video ads played"}:e===T.display.value?{title:"Ad Impressions",tooltip:"Number of display ads shown"}:{title:"Ad Impressions",tooltip:"Number of all ads shown"}},{id:"FillRate",key:"fillRate",postfix:"%",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Fill Rate",tooltip:"Ratio of video ad impressions to video ad requests"}:e===T.display.value?{title:"Fill Rate",tooltip:"Ratio of display ad impressions to display ad requests"}:{title:"Fill Rate",tooltip:"Only available for Video or Display ad formats separately."},disableByAdFormat:e=>[T.all.value].includes(e)},{id:"AdRequests",key:"adRequests",getCardConfig:({adFormat:e})=>e===T.video.value?{title:"Ad Requests",tooltip:"How many times have the players called for a video ad to be served"}:e===T.display.value?{title:"Ad Requests",tooltip:"How many times have the players called for a display ad to be served"}:{title:"Ad Requests",tooltip:"Only available for Video or Display ad formats separately."},disableByAdFormat:e=>[T.all.value].includes(e)}];e.s(["AD_FORMATS",0,_,"AD_FORMAT_COLLECTION",0,p,"AD_FORMAT_CONFIG",0,T,"AD_FORMAT_CONFIG_ALL",0,S,"AD_FORMAT_CONFIG_SPONSORED",0,E,"CALENDAR_FILTER",0,d,"CALENDAR_FILTER_ADAPTER",0,s,"CALENDAR_FILTER_COLLECTION",0,c,"CALENDAR_FILTER_CUSTOM",0,l,"CALENDAR_FILTER_THIS_MONTH",0,o,"CALENDAR_FILTER_TODAY",0,r,"CALENDAR_FILTER_VALUE",0,i,"CALENDAR_FILTER_YESTERDAY",0,n,"CARDS_FILTERS_ALL",0,m,"CARDS_FILTERS_FOR_SOURCES",0,I,"DEVICES",0,A,"DEVICE_COLLECTION",0,u])},231548,e=>{"use strict";globalThis.__MUI_LICENSE_INFO__=globalThis.__MUI_LICENSE_INFO__||{key:void 0};class t{static getLicenseInfo(){return globalThis.__MUI_LICENSE_INFO__}static getLicenseKey(){return t.getLicenseInfo().key}static setLicenseKey(e){t.getLicenseInfo().key=e}}e.s(["LicenseInfo",0,t])},433164,e=>{"use strict";let t="aspectRatios",a="chapters",i="highlights",l="slides",o="translations",r="title",n="description",s="taglog",c="thumbnail",d=[a,o,r,n,c,i,l,s,t],u="AI_WORKBENCH",A="There are unpublished changes",E="Published",S="In Progress";e.s(["MODULE_ASPECT_RATIOS",0,t,"MODULE_CHAPTERS",0,a,"MODULE_DESCRIPTION",0,n,"MODULE_HIGHLIGHTS",0,i,"MODULE_LIST",0,d,"MODULE_SLIDES",0,l,"MODULE_TAGLOG",0,s,"MODULE_THUMBNAIL",0,c,"MODULE_TITLE",0,r,"MODULE_TRANSLATIONS",0,o,"PLAYER_INSTANCE_KEY",0,u,"TOOLTIP_DRAFT_TEXT",0,A,"TOOLTIP_PROCESSING_TEXT",0,S,"TOOLTIP_PUBLISHED_TEXT",0,E])},21762,e=>{"use strict";var t=e.i(388302);let a={activeModule:e.i(433164).MODULE_SLIDES,shouldShowWarnEditConfirm:!1,updatedBy:"",updatedAt:"",prevVideoIdInQuery:null,
1selectedVideoId:null,selectedVideo:null},i=(0,t.createSlice)({name:"@@AIWORKBENCH",initialState:a,reducers:{setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getModulesAttributeAction:e=>e,warnEditAction:e=>e,initAiWorkbenchAction:(e,t)=>{e.prevVideoIdInQuery=t.payload.prevVideoIdInQuery,e.selectedVideoId=t.payload.videoId},getSelectedVideoAction:e=>e}}),{setAction:l,getModulesAttributeAction:o,warnEditAction:r,initAiWorkbenchAction:n,getSelectedVideoAction:s}=i.actions;e.s(["getModulesAttributeAction",0,o,"getSelectedVideoAction",0,s,"initAiWorkbenchAction",0,n,"setAction",0,l,"slice",0,i,"warnEditAction",0,r])},827397,e=>{"use strict";var t=e.i(407469);let a={[t.TYPE_TIKTOK]:"tiktok",[t.TYPE_SHAREPOINT]:"sharepoint",[t.TYPE_TEAMS]:"teams",[t.TYPE_INSTAGRAM]:"instagram",[t.TYPE_ZOOM]:"zoom"},i="ac_auth_code",l="ac_auth_error";e.s(["OAUTH_CLIENT_IDS_PAYLOAD_MAPPER",0,a,"OAUTH_RESPONSE_WITH_CODE",0,i,"OAUTH_RESPONSE_WITH_ERROR",0,l])},743531,e=>{"use strict";let t=e=>(e?.keywords??[]).some(e=>"BRAND_SAFETY"===e.category),a=(e=0,t=0)=>t<=0?0:100*e/t,i=e=>{if(e>359999)return"N/A";let t=parseInt(e,10),a=Math.floor(t/3600),i=Math.floor((t-3600*a)/60),l=t-3600*a-60*i;return a<10&&(a=`0${a}`),i<10&&(i=`0${i}`),l<10&&(l=`0${l}`),`${a}:${i}:${l}`};e.s(["getPercent",0,a,"getTime",0,i,"isVideoUnsafe",0,t])},392603,428492,e=>{"use strict";var t=e.i(388302);let a={email:"",code:"",password:"",password2:""},i=(0,t.createSlice)({name:"@@auth/CREATE_RESET_PASSWORD",initialState:a,reducers:{setFieldAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},verifyCodeAction:e=>e,submitPasswordAction:e=>e}}),{setFieldAction:l,verifyCodeAction:o,submitPasswordAction:r}=i.actions;e.s(["setFieldAction",0,l,"slice",0,i,"submitPasswordAction",0,r,"verifyCodeAction",0,o],428492);let n=i.name,s=e=>e[n].email,c=e=>e[n].code,d=e=>e[n].password,u=e=>e[n].password2;e.s(["codeSelector",0,c,"emailSelector",0,s,"password2Selector",0,u,"passwordSelector",0,d],392603)},264775,e=>{"use strict";let t="new",a="EDITORIAL",i="general",l="promotions",o="commonForm",r="URL is not matching any player",n="URL is not valid please try again",s="URL already exists for player";e.s(["ERROR_MESSAGE_ALREADY_EXISTS",0,s,"ERROR_MESSAGE_DEFAULT",0,n,"ERROR_MESSAGE_NO_MATCH",0,r,"FORM_REDUX_FIELD_NAME",0,o,"PLAYLIST_TYPE",0,a,"QUERY_NEW_PLAYLIST_PARAM",0,t,"TAB_GENERAL",0,i,"TAB_PROMOTIONS",0,l])},745041,e=>{"use strict";let t=1e3,a=60,i=3600,l=["hhh","hh","h","mm","m","ss","s","SSS","SS","S"];RegExp(`\\b(${l.join("|")})\\b`,"g");let o=e=>{let l=Math.floor(e/t/i).toString(),o=Math.floor(e/t/a%a).toString(),r=Math.floor(e/t%a).toString(),n=e%t;return{hhh:l.padStart(3,"0"),hh:l.padStart(2,"0"),h:l,mm:o.padStart(2,"0"),m:o,ss:r.padStart(2,"0"),s:r,SSS:Math.floor(n).toString().padStart(3,"0"),SS:Math.floor(n/10).toString().padStart(2,"0"),S:Math.floor(n/100).toString().padStart(1,"0")}},r=(e=0,t=!1)=>{let{h:a,mm:i,m:l,ss:r,s:n,SSS:s}=o(e),c=[];return"0"===a?"0"===l?t?c.push(n):c.push("0",r):c.push(l,r):c.push(a,i,r),t&&c.push(s),c.join(":")};e.s(["getDuration",0,r])},745433,e=>{"use strict";var t=e.i(388302);let a={destinations:[],totalDestinations:0,publishers:[],search:"",page:1,pageSize:10,sortBy:"id",sortOrder:"DESC",platform:null,status:null,publisherId:null,publishEntries:[],viewabilityConfig:[]},i=(0,t.createSlice)({name:"@@videoTabDestinationList",initialState:a,reducers:{getDestinationsAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},setDestinationsAction:(e,t)=>{e.destinations=t.payload},setTotalDestinationsAction:(e,t)=>{e.totalDestinations=t.payload},setPublishersAction:(e,t)=>{e.publishers=t.payload},setPublishEntriesAction:(e,t)=>{e.publishEntries=t.payload},setFilterParamAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},clearFilterParamsAction:e=>{Object.keys(a).forEach(t=>{"viewabilityConfig"!==t&&(e[t]=a[t])})},setViewabilityConfigAction:(e,t)=>{e.viewabilityConfig=t.payload},addPublishEntriesAction:e=>e,getPublishersAction:e=>e,getPublishEntriesAction:e=>e,deletePublishEntriesAction:e=>e,updatePublishEntryAction:e=>e,getViewabilityConfigAction:e=>e}}),{getDestinationsAction:l,setDestinationsAction:o,setTotalDestinationsAction:r,setPublishersAction:n,setPublishEntriesAction:s,setFilterParamAction:c,clearFilterParamsAction:d,setVie
1wabilityConfigAction:u,addPublishEntriesAction:A,getPublishersAction:E,getPublishEntriesAction:S,deletePublishEntriesAction:p,updatePublishEntryAction:T,getViewabilityConfigAction:_}=i.actions;e.s(["addPublishEntriesAction",0,A,"clearFilterParamsAction",0,d,"deletePublishEntriesAction",0,p,"getDestinationsAction",0,l,"getPublishEntriesAction",0,S,"getPublishersAction",0,E,"getViewabilityConfigAction",0,_,"setDestinationsAction",0,o,"setPublishEntriesAction",0,s,"setPublishersAction",0,n,"setTotalDestinationsAction",0,r,"setViewabilityConfigAction",0,u,"slice",0,i,"updatePublishEntryAction",0,T])},254603,e=>{e.v({Img:"page-module-scss-module__wLrdCW__Img",LinkBlock:"page-module-scss-module__wLrdCW__LinkBlock",Wrapper:"page-module-scss-module__wLrdCW__Wrapper"})},384620,e=>{"use strict";var t=e.i(391398);e.i(191788);var a=e.i(691567),i=e.i(126019),l=e.i(41158);e.i(815277);var o=e.i(74374),r=e.i(160122),n=e.i(901119),s=e.i(935329),c=e.i(254603);function d({onClick:e=null,linkText:a=null,...u}){return(0,t.jsx)("div",{className:c.default.Wrapper,children:(0,t.jsxs)("div",{children:[(0,t.jsx)(i.default,{src:s.default,alt:"AnyClip",className:c.default.Img,width:200,height:50}),(0,t.jsxs)(r.Stack,{spacing:2,fullWidth:!0,justifyContent:"center",children:[(0,t.jsx)(n.Typography,{variant:"h6",fontWeight:600,align:"center",component:"div",children:u.title}),(0,t.jsx)(n.Typography,{align:"center",component:"div",variant:"body2",fontWeight:400,children:u.description}),a&&(0,t.jsx)(r.Stack,{spacing:0,justifyContent:"center",direction:"row",className:c.default.LinkBlock,children:(0,t.jsx)(o.Button,{component:l.default,href:"/",onClick:t=>{e&&(t.preventDefault(),e())},children:a})})]})]})})}d.propTypes={onClick:a.default.func,linkText:a.default.node,title:a.default.string.isRequired,description:a.default.string.isRequired};let u=d;e.s(["default",0,u])},350478,e=>{"use strict";let t={enabled:"ACTIVE",allStatuses:"ALL STATUSES",disabled:"DISABLED"},a=[{label:"ALL",value:"BOTH"},{label:"Video",value:"VIDEO"},{label:"Display",value:"DISPLAY"}],i=[{label:"Both",value:"BOTH"},{label:"Video",value:"VIDEO"},{label:"Display",value:"DISPLAY"}];e.s(["AD_FORMATS",0,i,"HB_CONNECTOR_STATUSES",0,t,"HB_FORMATS",0,a])},951305,451554,e=>{"use strict";var t=e.i(388302),a=e.i(350478);let i={name:"",code:"",params:[],parameters:"{}",comments:"",status:a.HB_CONNECTOR_STATUSES.enabled,format:a.HB_FORMATS[0].value},l={connectors:[],totalCount:0,page:0,rowsPerPage:10,search:"",filterStatus:a.HB_CONNECTOR_STATUSES.enabled,filterFormat:a.HB_FORMATS[0].value,...i},o=(0,t.createSlice)({name:"@@hbConnectors/HB_CONNECTORS",initialState:l,reducers:{setFieldAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},resetFormAction:e=>
1{Object.keys(i).forEach(t=>{e[t]=i[t]})},getConnectorsAction:e=>e,getConnectorByIdAction:e=>e,createConnectorAction:e=>e,updateConnectorAction:e=>e}}),{setFieldAction:r,resetFormAction:n,getConnectorsAction:s,getConnectorByIdAction:c,createConnectorAction:d,updateConnectorAction:u}=o.actions;o.reducer,e.s(["createConnectorAction",0,d,"getConnectorByIdAction",0,c,"getConnectorsAction",0,s,"resetFormAction",0,n,"setFieldAction",0,r,"slice",0,o,"updateConnectorAction",0,u],451554);let A=o.name,E=e=>e[A].connectors,S=e=>e[A].totalCount,p=e=>e[A].page,T=e=>e[A].rowsPerPage,_=e=>e[A].search,m=e=>e[A].filterStatus,I=e=>e[A].filterFormat,g=e=>e[A].name,y=e=>e[A].code,O=e=>e[A].parameters,b=e=>e[A].comments,P=e=>e[A].status,v=e=>e[A].format;e.s(["codeSelector",0,y,"commentsSelector",0,b,"connectorsSelector",0,E,"filterFormatSelector",0,I,"filterStatusSelector",0,m,"formatSelector",0,v,"nameSelector",0,g,"pageSelector",0,p,"parametersSelector",0,O,"rowsPerPageSelector",0,T,"searchSelector",0,_,"statusSelector",0,P,"totalCountSelector",0,S],951305)},927153,e=>{"use strict";let t=100,a=null,i="INTERNAL",l="ACCOUNT",o=[{label:"Internal",value:i},{label:"External",value:"EXTERNAL"},{label:"Account",value:l},{label:"API",value:"API"}],r=15,n="displayName",s="commonTable";e.s(["ROWS_PER_PAGE_DEFAULT",0,r,"SEARCH_TEXT_MAX_LENGTH",0,t,"TABLE_REDUX_FIELD_NAME",0,s,"TABLE_SORT_BY",0,n,"TYPE_ACCOUNT",0,l,"TYPE_ALL",0,a,"TYPE_INTERNAL",0,i,"TYPE_OPTIONS",0,o])},867118,872548,794255,e=>{"use strict";let t="details",a="permissions",i="commonForm",l="VIDEO_MANAGER",o=[{label:"Manage Videos",value:l},{label:"Analytics",value:"ANALYTICS"},{label:"Marketplace",value:"MARKETPLACE"},{label:"Watch",value:"WATCH"},{label:"Live",value:"LIVE"},{label:"Player",value:"PLAYER"}];e.s(["DEFAULT_PAGE_OPTIONS",0,o,"DEFAULT_PAGE_VIDEO_MANAGER",0,l,"REDUX_FIELD_NAME",0,i,"TAB_DETAILS",0,t,"TAB_PERMISSIONS",0,a],872548);var r=e.i(388302),n=e.i(927153);let s=[{fieldName:"displayName",tabId:t,validation:e=>e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty"}],c=(0,e.i(192155).default)(i,s),{validateFields:d,validateSingleField:u}=c,A={displayName:"",type:n.TYPE_INTERNAL,account:null,accountOptions:null,defaultPage:l,visibleInSelfServe:!1,readOnlyInSelfServe:!0,permissions:{},permissionsModules:[],activeTabId:t,...c.state},E=(0,r.createSlice)({name:"@@ROLES_PERMISSIONS/EDITOR",initialState:A,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...A}),getItemAction:e=>e,getAccountOptionsAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,updateRoleModuleMetadataAction:e=>e,updatePermissionsMetadataAction:e=>e,setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:c.actions.setScrollToFieldAction,setErrorByPropAction:c.actions.updateValidationSchemeAction,removeErrorByPropAction:c.actions.removeErrorByFieldNameAction}}),{setAction:S,setInitialAction:p,getItemAction:T,getAccountOptionsAction:_,createItemAction:m,updateItemAction:I,updateRoleModuleMetadataAction:g,updatePermissionsMetadataAction:y,setActiveTabIdAction:O,removeErrorByPropAction:b,setErrorByPropAction:P,setScrollToFieldNameAction:v}=E.actions;E.reducer,e.s(["createItemAction",0,m,"getAccountOptionsAction",0,_,"getItemAction",0,T,"removeErrorByPropAction",0,b,"setAction",0,S,"setActiveTabIdAction",0,O,"setErrorByPropAction",0,P,"setInitialAction",0,p,"setScrollToFieldNameAction",0,v,"slice",0,E,"updateItemAction",0,I,"updatePermissionsMetadataAction",0,y,"updateRoleModuleMetadataAction",0,g,"validateFields",0,d],794255);var R=e.i(916094);let L=E.name,h=(0,R.default)(i,L),D=e=>e[L].displayName,f=e=>e[L].type,N=e=>e[L].account,C=e=>e[L].accountOptions,M=e=>e[L].defaultPage,F=e=>e[L].visibleInSelfServe,U=e=>e[L].readOnlyInSelfServe,B=e=>e[L].permissions,V=e=>e[L].permissionsModules,Y=e=>e[L].activeTabId,w=e=>h.getScrollField(e),G=e=>h.schemeSelector(e),k=e=>e[L];e.s(["accountOptionsSelector",0,C,"accountSelector",0,N,"activeTabIdSelector",0,Y,"defaultPageSelector",0,M,"displayNameSelector",0,D,"fullAccessToStoreFieldsForValidation",0,k,"permissionsModulesSelector",0,V,"permissionsSelector",0,B,"readOnlyInSelfServeSelector",0,U,"schemeSelector",0,G,"scrollFieldSelector",0,w,"typeSelector",0,f,"visibleInSelfServeSelector",0,F
1],867118)},576162,653146,9659,e=>{"use strict";let t="general",a="advanced",i="commonForm";e.s(["REDUX_FIELD_NAME",0,i,"TAB_ADVANCED",0,a,"TAB_GENERAL",0,t],653146);var l=e.i(388302);let o=e=>/^(https?:\/\/)([a-zA-Z0-9.-]+\.[a-zA-Z]{2,})(:\d{1,5})?(.*)?$/.test(e),r=[{fieldName:"name",tabId:t,validation:e=>e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty"},{fieldName:"hub",tabId:t,validation:e=>e?"":"Field cannot be empty"},{fieldName:"title",tabId:t,validation:e=>e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty"},{fieldName:"buttonLabel1",tabId:t,validation:e=>e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty"},{fieldName:"buttonUrl1",tabId:t,validation:e=>e?o(e)?"":"Field should be a valid URL":"Field cannot be empty"},{fieldName:"buttonUrl2",tabId:t,validation:e=>e&&!o(e)?"Field should be a valid URL":""},{fieldName:"impressionTracker",tabId:a,validation:e=>e&&!o(e)?"Field should be a valid URL":""},{fieldName:"clickTracker1",tabId:a,validation:e=>e&&!o(e)?"Field should be a valid URL":""},{fieldName:"clickTracker2",tabId:a,validation:e=>e&&!o(e)?"Field should be a valid URL":""}],n=(0,e.i(192155).default)(i,r),{validateFields:s,validateSingleField:c}=n,d={id:null,hub:null,hubOptions:null,name:"",title:"",image:"",buttonLabel1:"",buttonUrl1:"",buttonLabel2:"",buttonUrl2:"",impressionTracker:"",clickTracker1:"",clickTracker2:"",activeTabId:t,...n.state},u=(0,l.createSlice)({name:"@@XRAY_CREATIVES/EDITOR",initialState:d,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...d}),getItemAction:e=>e,getHubOptionsAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:n.actions.setScrollToFieldAction,setErrorByPropAction:n.actions.updateValidationSchemeAction,removeErrorByPropAction:n.actions.removeErrorByFieldNameAction}}),{setAction:A,setInitialAction:E,getItemAction:S,getHubOptionsAction:p,createItemAction:T,updateItemAction:_,setActiveTabIdAction:m,removeErrorByPropAction:I,setErrorByPropAction:g,setScrollToFieldNameAction:y}=u.actions;u.reducer,e.s(["createItemAction",0,T,"getHubOptionsAction",0,p,"getItemAction",0,S,"removeErrorByPropAction",0,I,"setAction",0,A,"setActiveTabIdAction",0,m,"setErrorByPropAction",0,g,"setInitialAction",0,E,"setScrollToFieldNameAction",0,y,"slice",0,u,"updateItemAction",0,_,"validateFields",0,s],9659);var O=e.i(916094);let b=u.name,P=(0,O.default)(i,b),v=e=>e[b].hub,R=e=>e[b].hubOptions,L=e=>e[b].name,h=e=>e[b].title,D=e=>e[b].image,f=e=>e[b].buttonLabel1,N=e=>e[b].buttonUrl1,C=e=>e[b].buttonLabel2,M=e=>e[b].buttonUrl2,F=e=>e[b].impressionTracker,U=e=>e[b].clickTracker1,B=e=>e[b].clickTracker2,V=e=>e[b].activeTabId,Y=e=>P.getScrollField(e),w=e=>P.schemeSelector(e),G=e=>e[b];e.s(["activeTabIdSelector",0,V,"buttonLabel1Selector",0,f,"buttonLabel2Selector",0,C,"buttonUrl1Selector",0,N,"buttonUrl2Selector",0,M,"clickTracker1Selector",0,U,"clickTracker2Selector",0,B,"fullAccessToStoreFieldsForValidation",0,G,"hubOptionsSelector",0,R,"hubSelector",0,v,"imageSelector",0,D,"impressionTrackerSelector",0,F,"nameSelector",0,L,"schemeSelector",0,w,"scrollFieldSelector",0,Y,"titleSelector",0,h],576162)},935329,e=>{"use strict";let t={src:e.i(744674).default,width:507,height:128,blurWidth:8,blurHeight:2,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAYAAABllJ3tAAAARElEQVR42hXKwQnAMAhA0exREHqxBZGKIHWNZAEdx7ETD//yeaOq/oiYqspm9okIIeJNRA8zv+MAz8zl7tqgZ6MOAK4NIm4O+DQekLgAAAAASUVORK5CYII="};e.s(["default",0,t])},438208,e=>{"use strict";var t=e.i(388302);let a={isFormLoading:!1},i=(0,t.createSlice)({name:"@@auth/LAYOUT",initialState:a,reducers:{setFormLoadingAction:(e,t)=>{e.isFormLoading=t.payload}}}),{setFormLoadingAction:l}=i.actions;e.s(["setFormLoadingAction",0,l,"slice",0,i])},726702,e=>{"use strict";var t=e.i(388302);let a={email:"",password:"",code:"",isCodeStep:!1,isSsoAuthProcess:!1,isSsoFailed:!1},i=(0,t.createSlice)({name:"@@auth/AUTH",initialState:a,reducers:{setEmailAction:(e,t)=>{e.email=t.payload},setPasswordAction:(e,t)=>{e.password=t.payload},getUserDataEventAction:e=>e,resetPasswordEventAction:e=>e,setCodeStepAction:(e,t)=>{e.isCodeStep=t.payload},setCodeAction:(e,t)=>{e.code=t.payload},verifyCodeEventAction:e=>e,getSsoLinkAction:e=>e,setIsSsoAuthProcessAction:(e,t)=>{e.isSsoAuthProcess=t.payload},setSsoFailedAction:(e,t)=>{e.isSsoFailed=t.payload},getCustomLoginPageByAccountIdAction:e=>e,getPasswordLessAuthAction:e=>e,verifyPasswordLessAuthAction:e=>e}}),{setEmailAction:l,setPasswordAction:o,getUserDataEventAction:r,resetPasswordEventAction:n,setCodeStepAction:s,setCodeAction:c,verifyCodeEventAction:d,getSsoLinkAction:u,setIsSsoAuthProcessAction:A,setSsoFailedAction:E,getCustomLoginPageByAccountIdAction:S,getPasswordLessAuthAction:p,verifyPasswordLessAuthAction:T}=i.actions;e.s(["getCustomLoginPageByAccountIdAction",0,S,"getPasswordLessAuthAction",0,p,"getSsoLinkAction",0,u,"getUserDataEventAction",0,r,"resetPasswordEventAction",0,n,"setCodeAction",0,c,"setCodeStepAction",0,s,"setEmailAction",0,l,"setIsSsoAuthProcessAction",0,A,"
1setPasswordAction",0,o,"setSsoFailedAction",0,E,"slice",0,i,"verifyCodeEventAction",0,d,"verifyPasswordLessAuthAction",0,T])},129870,e=>{"use strict";let t="REDIRECT_URL_STORAGE_NAME";e.s(["REDIRECT_URL_STORAGE_NAME",0,t])},534196,e=>{"use strict";let t="BY_EMAIL",a="BY_GOOGLE";e.s(["AUTH_TYPE_BY_EMAIL",0,t,"AUTH_TYPE_BY_GOOGLE",0,a])},713860,e=>{"use strict";var t=e.i(350461),a=e.i(422276),i=e.i(203828),l=e.i(129870),o=e.i(534196),r=e.i(197335),n=e.i(726702);let s="acid",c="u",d="SSO_REDIRECT_URL_STORAGE_NAME",u=()=>{let e=window.location.host.split(".")[0],a=e!==t.default.env.APP_ENV_BASE_URL.split("//")[1].split(".")[0];return{subdomain:e,isCustomSubdomain:a}},A=e=>(0,r.setBrowserStorageItem)(d,e),E=()=>(0,r.getStorageItem)(d)||"",S=()=>{let e=(0,r.getSessionStorageItem)(l.REDIRECT_URL_STORAGE_NAME);if(!e)return"/";let t=new URL(e);return t.searchParams.delete(s),t.searchParams.delete(c),t.toString()},p=function(){let e=(0,a.useDispatch)(),t=(t=null,a=null)=>{let l=i.default.query,r=t||l[c],{subdomain:s,isCustomSubdomain:d}=u();(r||d)&&e((0,n.getSsoLinkAction)({type:o.AUTH_TYPE_BY_EMAIL,email:r,subdomain:d?s:null,shouldRedirectToLoginPageIfError:!0,ssoCheck:a}))};return{initSsoBackgroundLoginFlow:()=>{let{isCustomSubdomain:a}=u();try{let i=new URL((0,r.getSessionStorageItem)(l.REDIRECT_URL_STORAGE_NAME)),o=new URLSearchParams(i.search),d=S();if(A(d),o.get(c)||a)t(o.get(c));else if(o.get(s)){let t=o.get(s);e((0,n.getCustomLoginPageByAccountIdAction)({accountId:t,redirectUrl:d}))}}catch{a&&t(null,!0)}return!1},getRedirectUrl:()=>E(),ssoLoginByUParam:t}};e.s(["default",0,p,"getFromUrlWithoutAccountUserParams",0,S])},430816,e=>{"use strict";let t=e.i(726702).slice.name,a=e=>e[t].email,i=e=>e[t].password,l=e=>e[t].isCodeStep,o=e=>e[t].code,r=e=>e[t].isSsoAuthProcess,n=e=>e[t].isSsoFailed;e.s(["codeSelector",0,o,"emailSelector",0,a,"isCodeStepSelector",0,l,"isSsoAuthProcessSelector",0,r,"isSsoFailedSelector",0,n,"passwordSelector",0,i])},412892,e=>{"use strict";let t=100,a=null,i=1,l=-1,o=[{label:"Active",value:1},{label:"Archived",value:-1},{label:"Paused",value:0}],r=[{label:"Active",value:1},{label:"Paused",value:0},{label:"Archived",value:-1}],n=15,s="updatedAt",c="commonTable";e.s(["ROWS_PER_PAGE_DEFAULT",0,n,"SEARCH_TEXT_MAX_LENGTH",0,t,"STATUSES_ACTIVE",0,i,"STATUSES_ALL",0,a,"STATUSES_INACTIVE",0,l,"STATUSES_OPTIONS",0,o,"STATUSES_OPTIONS_FOR_FORM",0,r,"TABLE_REDUX_FIELD_NAME",0,c,"TABLE_SORT_BY",0,s])},59215,e=>{"use strict";function t(e){let[t,a,i]=e.split(":").map(Number);return 3600*t+60*a+i}function a(e){let t=Math.floor(e/3600).toString().padStart(2,"0"),a=Math.floor(e%3600/60).toString().padStart(2,"0"),i=(e%60).toString().padStart(2,"0");return`${t}:${a}:${i}`}e.s(["stringToTimestamp",0,t,"timestampToString",0,a])},323973,e=>{"use strict";let t="general",a="delivery",i="targeting",l=2,o=1,r=1,n=2,s=3,c="INCLUDE",d="PEOPLE",u="BRANDS",A="KEYWORDS",E="commonForm";e.s(["DEVICE_DESKTOP",0,o,"DEVICE_MOBILE",0,l,"INCLUDE",0,c,"PLAYER_LARGE",0,s,"PLAYER_MEDIUM",0,n,"PLAYER_SMALL",0,r,"REDUX_FIELD_NAME",0,E,"TAB_DELIVERY",0,a,"TAB_GENERAL",0,t,"TAB_TARGETING",0,i,"TAXONOMY_BRANDS",0,u,"TAXONOMY_KEYWORDS",0,A,"TAXONOMY_PEOPLE",0,d])},877491,223770,e=>{"use strict";var t=e.i(323973),a=e.i(388302),i=e.i(412892),l=t,o=e.i(59215),r=e.i(494834),n=t,s=o;let c=[{fieldName:"name",tabId:n.TAB_GENERAL,validation:e=>e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty"},{fieldName:"hub",tabId:n.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"},{fieldName:"xrayCampaign",tabId:n.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"},{fieldName:"xrayCreative1",tabId:n.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"},{fieldName:"startTime",tabId:n.TAB_DELIVERY,validation:(e,t)=>e?(0,r.default)(e).isBefore(t.endTime)?"":"Must be before then End":""},{fieldName:"rate",tabId:n.TAB_DELIVERY,validation:e=>e?"":"Field cannot be empty"},{fieldName:"impressionsBudget",tabId:n.TAB_DELIVERY,validation:e=>e&&e<=0?"Minimum amount is 1":""},{fieldName:"spendBudget",tabId:n.TAB_DELIVERY,validation:e=>e&&e<=0?"Minimum amount is 1":""},{fieldName:"videoFromTimestamp",tabId:n.TAB_TARGETING,validation:(e,t)=>e&&"00:00:00"!==e?(0,s.stringToTimestamp)(e)>=(0,s.stringToTimestamp)(t.videoToTimestamp)?"Must be lower then To timestamp":"":""}],d=(0,e.i(192155).default)(l.REDUX_FIELD_NAME,c),{validateFields:u,validateSingleField:A}=d,E={id:null,hub:null,hubOptions:null,xrayCampaign:null,xrayCampaignOptions:null,name:"",status:i.STATUSES_ACTIVE,priority:5,xrayCreative1:null,xrayCreative2:null,xrayCreative3:null,xrayCreativeOptions:null,startTime:null,endTime:null,timezone:{id:1,name:"UTC"},timezoneOptions:null,rate:null,impressionsBudget:null,spendBudget:null,wat
1ch:null,watchOptions:null,watchChannel:null,watchChannelOptions:null,player:null,playerOptions:[],domains:[],domainsOptions:null,devices:[l.DEVICE_DESKTOP,l.DEVICE_MOBILE],geography:[],geographyOptions:null,inview:!0,notInview:!0,playerSizes:[l.PLAYER_SMALL,l.PLAYER_MEDIUM,l.PLAYER_LARGE],video:null,videoOptions:null,videoFromTimestamp:(0,o.timestampToString)(0),videoToTimestamp:(0,o.timestampToString)(0),iabCategories:[],people:[],peopleOptions:null,brands:[],brandsOptions:null,keywords:[],keywordsOptions:null,labels:[],labelsOptions:null,brandSafety:[],brandSafetyOptions:null,activeTabId:l.TAB_GENERAL,...d.state},S=(0,a.createSlice)({name:"@@XRAY_LINEITEMS/EDITOR",initialState:E,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...E}),getItemAction:e=>e,getHubOptionsAction:e=>e,getTimezoneOptionsAction:e=>e,getXRayCampaignOptionsAction:e=>e,getXRayCreativeOptionsAction:e=>e,getWatchOptionsAction:e=>e,getDomainOptionsAction:e=>e,getGeographyOptionsAction:e=>e,getPlayerOptionsAction:e=>e,getVideoOptionsAction:e=>e,getPeopleOptionsAction:e=>e,getBrandsOptionsAction:e=>e,getKeywordsOptionsAction:e=>e,getLabelsOptionsAction:e=>e,getBrandSafetyOptionsAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:d.actions.setScrollToFieldAction,setErrorByPropAction:d.actions.updateValidationSchemeAction,removeErrorByPropAction:d.actions.removeErrorByFieldNameAction}}),{setAction:p,setInitialAction:T,getItemAction:_,getHubOptionsAction:m,getTimezoneOptionsAction:I,getXRayCampaignOptionsAction:g,getXRayCreativeOptionsAction:y,getWatchOptionsAction:O,getDomainOptionsAction:b,getGeographyOptionsAction:P,getPlayerOptionsAction:v,getVideoOptionsAction:R,getPeopleOptionsAction:L,getBrandsOptionsAction:h,getKeywordsOptionsAction:D,getLabelsOptionsAction:f,getBrandSafetyOptionsAction:N,createItemAction:C,updateItemAction:M,setActiveTabIdAction:F,removeErrorByPropAction:U,setErrorByPropAction:B,setScrollToFieldNameAction:V}=S.actions;S.reducer,e.s(["createItemAction",0,C,"getBrandSafetyOptionsAction",0,N,"getBrandsOptionsAction",0,h,"getDomainOptionsAction",0,b,"getGeographyOptionsAction",0,P,"getHubOptionsAction",0,m,"getItemAction",0,_,"getKeywordsOptionsAction",0,D,"getLabelsOptionsAction",0,f,"getPeopleOptionsAction",0,L,"getPlayerOptionsAction",0,v,"getTimezoneOptionsAction",0,I,"getVideoOptionsAction",0,R,"getWatchOptionsAction",0,O,"getXRayCampaignOptionsAction",0,g,"getXRayCreativeOptionsAction",0,y,"removeErrorByPropAction",0,U,"setAction",0,p,"setActiveTabIdAction",0,F,"setErrorByPropAction",0,B,"setInitialAction",0,T,"setScrollToFieldNameAction",0,V,"slice",0,S,"updateItemAction",0,M,"validateFields",0,u],223770);var Y=e.i(916094);let w=S.name,G=(0,Y.default)(t.REDUX_FIELD_NAME,w),k=e=>e[w].hub,H=e=>e[w].hubOptions,x=e=>e[w].xrayCampaign,W=e=>e[w].xrayCampaignOptions,$=e=>e[w].name,z=e=>e[w].status,j=e=>e[w].priority,K=e=>e[w].xrayCreative1,X=e=>e[w].xrayCreative2,q=e=>e[w].xrayCreative3,Q=e=>e[w].xrayCreativeOptions,Z=e=>e[w].startTime,J=e=>e[w].endTime,ee=e=>e[w].timezone,et=e=>e[w].timezoneOptions,ea=e=>e[w].rate,ei=e=>e[w].impressionsBudget,el=e=>e[w].spendBudget,eo=e=>e[w].watch,er=e=>e[w].watchOptions,en=e=>e[w].watchChannel,es=e=>e[w].watchChannelOptions,ec=e=>e[w].player,ed=e=>e[w].playerOptions,eu=e=>e[w].domains,eA=e=>e[w].domainOptions,eE=e=>e[w].devices,eS=e=>e[w].geography,ep=e=>e[w].geographyOptions,eT=e=>e[w].inview,e_=e=>e[w].notInview,em=e=>e[w].playerSizes,eI=e=>e[w].video,eg=e=>e[w].videoOptions,ey=e=>e[w].videoFromTimestamp,eO=e=>e[w].videoToTimestamp,eb=e=>e[w].iabCategories,eP=e=>e[w].people,ev=e=>e[w].peopleOptions,eR=e=>e[w].brands,eL=e=>e[w].brandsOptions,eh=e=>e[w].keywords,eD=e=>e[w].keywordsOptions,ef=e=>e[w].labels,eN=e=>e[w].labelsOptions,eC=e=>e[w].brandSafety,eM=e=>e[w].brandSafetyOptions,eF=e=>e[w].activeTabId,eU=e=>G.getScrollField(e),eB=e=>G.schemeSelector(e),eV=e=>e[w];e.s(["activeTabIdSelector",0,eF,"brandSafetyOptionsSelector",0,eM,"brandSafetySelector",0,eC,"brandsOptionsSelector",0,eL,"brandsSelector",0,eR,"devicesSelectors",0,eE,"domainOptionsSelectors",0,eA,"domainsSelectors",0,eu,"endTimeSelector",0,J,"fullAccessToStoreFieldsForValidation",0,eV,"geographyOptionsSelectors",0,ep,"geographySelectors",0,eS,"hubOptionsSelector",0,H,"hubSelector",0,k,"iabCategoriesSelector",0,eb,"impressionsBudgetSelector",0,ei,"inviewSelectors",0,eT,"keywordsOptionsSelector",0,eD,"keywordsSelector",0,eh,"labelsOptionsSelectors",0,eN,"labelsSelector",0,ef,"nameSelector",0,$,"notInviewSelectors",0,e_,"peopleOptionsSelector",0,ev,"peopleSelector",0,eP,"playerOptionsSelectors",0,ed,"playerSelectors",0,ec,"playerSizesSelectors",0,em,"prioritySelector",0,j,"rateSelector",0,ea,"schemeSelector",0,eB,"scrollFieldSelector",0,eU,"spendBudgetSelector",0,el,"startTimeSelector",0,Z,"statusSelector",0,z,"timezoneOptionsSelector",0,et,"timezoneSelector",0,ee,"videoFromTimestampSelector",0,ey,"videoOptionsSelector",0,eg,"videoSelector",0,eI,"videoToTimestampSelector",0,eO,"watchChannelOptionsSelectors",0,es,"watchChannelSelectors",0,en,"watchOptionsSelectors",0,er,"watchSelectors",0,eo,"xrayCampaignOptionsSelector",0,W,"xrayCampaignSelector",0,x,"xrayCreative1Selector",0,K,"xrayCreative2Selector",0,X,"xrayCreative3Selector",0,q,"xrayCreativeOptionsSelectors",0,Q
1],877491)},174878,606902,870287,e=>{"use strict";let t=200,a=2e4,i=5e3,l=4,o=[{id:"name",label:"Name",isSortable:!0},{id:"name",label:"Owner",isSortable:!0},{id:"createdAt",label:"Created",isSortable:!0},{id:"updatedAt",label:"Updated",isSortable:!0},{id:"",label:"",isSortable:!1},{id:"lastDelivery",label:"Last Delivery",isSortable:!0},{id:"nextDelivery",label:"Next Delivery",isSortable:!0},{id:"",label:"",isSortable:!1}],r={today:{label:"Today",value:"TODAY"},yesterday:{label:"Yesterday",value:"YESTERDAY"},last7Days:{label:"Last 7 days",value:"LAST_7_DAYS"},monthToDate:{label:"Month to Date",value:"MONTH_TO_DATE"},lastMonth:{label:"Last Month",value:"LAST_MONTH"},last30Days:{label:"Last 30 Days",value:"LAST_30_DAYS"},thisQuarter:{label:"This Quarter",value:"THIS_QUARTER"},lastQuarter:{label:"Last Quarter",value:"LAST_QUARTER"},thisYear:{label:"This Year",value:"THIS_YEAR"},lastYear:{label:"Last Year",value:"LAST_YEAR"},custom:"CUSTOM"},n=[{label:r.today.label,value:r.today.value},{label:r.yesterday.label,value:r.yesterday.value},{label:r.last7Days.label,value:r.last7Days.value},{label:r.monthToDate.label,value:r.monthToDate.value},{label:r.lastMonth.label,value:r.lastMonth.value},{label:r.last30Days.label,value:r.last30Days.value},{label:r.thisQuarter.label,value:r.thisQuarter.value},{label:r.lastQuarter.label,value:r.lastQuarter.value},{label:r.thisYear.label,value:r.thisYear.value},{label:r.lastYear.label,value:r.lastYear.value},{label:"Custom",value:r.custom}],s={daily:{label:"Daily",value:"DAILY"},weekly:{label:"Weekly",value:"WEEKLY"},monthly:{label:"Monthly",value:"MONTHLY"}},c=[{label:s.daily.label,value:s.daily.value},{label:s.weekly.label,value:s.weekly.value},{label:s.monthly.label,value:s.monthly.value}],d=[{label:"Monday",value:1},{label:"Tuesday",value:2},{label:"Wednesday",value:3},{label:"Thursday",value:4},{label:"Friday",value:5},{label:"Saturday",value:6},{label:"Sunday",value:7}],u=[{label:"12 AM",value:0},{label:"1 AM",value:1},{label:"2 AM",value:2},{label:"3 AM",value:3},{label:"4 AM",value:4},{label:"5 AM",value:5},{label:"6 AM",value:6},{label:"7 AM",value:7},{label:"8 AM",value:8},{label:"9 AM",value:9},{label:"10 AM",value:10},{label:"11 AM",value:11},{label:"12 PM",value:12},{label:"1 PM",value:13},{label:"2 PM",value:14},{label:"3 PM",value:15},{label:"4 PM",value:16},{label:"5 PM",value:17},{label:"6 PM",value:18},{label:"7 PM",value:19},{label:"8 PM",value:20},{label:"9 PM",value:21},{label:"10 PM",value:22},{label:"11 PM",value:23}],A="DEMAND_SOURCE",E="AD_FORMAT",S="DISPLAY_TYPE",p="HUB",T="PLAYER_NAME",_="PLAYER_ID",m="PLAYER_TYPE",I="COUNTRY",g="DEVICE",y="PLAYER_DOMAIN",O="EMBED_CODE_VARIANT",b=[{label:"Display",value:"DISPLAY"},{label:"Video",value:"VIDEO"}],P=[{label:"Overlay",value:"OVERLAY"},{label:"Fallback",value:"FALLBACK"}],v=[{label:"Desktop",value:"DESKTOP"},{label:"Mobile",value:"MOBILE"},{label:"Other",value:"OTHER"}],R=[{label:"None",value:"NONE"},...[..."0123456789abcdefghijklmnopqrstuvwxyz"].map(e=>({label:e.toUpperCase(),value:e}))],L={MONTH:{label:"Month",value:"MONTH",previewTitle:"MON YYYY"},DAY:{label:"Day",value:"DAY",previewTitle:"MON DD YYYY"},HOUR_OF_DAY:{label:"Hour of day",value:"HOUR_OF_DAY",previewTitle:"Hour"},HOUR:{label:"Hour",value:"HOUR",previewTitle:"HH MON DD YYYY"},DEMAND_SOURCE:{label:"Demand Source",value:"DEMAND_SOURCE"},AD_FORMAT:{label:"Ad format",value:"AD_FORMAT"},DISPLAY_TYPE:{label:"Display Type",value:"DISPLAY_TYPE"},HUB:{label:"Hub",value:"HUB"},PLAYER_NAME:{label:"Player name",value:"PLAYER_NAME"},PLAYER_ID:{label:"Player ID",value:"PLAYER_ID"},PLAYER_TYPE:{label:"Player type",value:"PLAYER_TYPE"},COUNTRY:{label:"Country",value:"COUNTRY"},DEVICE:{label:"Device",value:"DEVICE"},PLAYER_DOMAIN:{label:"Player domain",value:"PLAYER_DOMAIN"},EMBED_CODE_VARIANT:{label:"Embed code variant",value:"EMBED_CODE_VARIANT"}},h={PAGE_LOADS:{label:"Page Loads",value:"PAGE_LOADS",tooltip:"The number of times the player was loaded on a page"},PLAYER_LOADS:{label:"Player Loads",value:"PLAYER_LOADS",tooltip:"The number of times the player was loaded on an ad blocker free page"},PLAYER_AD_IMPRESSIONS:{label:"Player Ad Impressions",value:"PLAYER_AD_IMPRESSIONS",tooltip:"The number of times the player was loaded on a page and served at least one ad impression"},VIEWABLE_PLAYER_LOADS:{label:"Viewable Player Loads",value:"VIEWABLE_PLAYER_LOADS",tooltip:"The number of times the player was loaded on an ad blocker free page and was in view"},VIEWABLE_PLAYER_AD_IMPRESSIONS:{label:"Viewable Player Ad Impressions",value:"VIEWABLE_PLAYER_AD_IMPRESSIONS",tooltip:"The number of times the player was loaded on a page and served at least one ad impression which was in view"},GROSS_PAGE_RPM:{label:"Gross Page RPM",value:"GROSS_PAGE_RPM",tooltip:"The total (gross) revenue generated by the AnyClip player for every 1,000 player loads, before the platform fee is deducted."},NET_PAGE_RPM:{label:"NET Page RPM",value:"NET_PAGE_RPM",tooltip:"The net revenue generated by the AnyClip player for every 1,000 player loads, after all platform fees and revenue shares are deducted."},PLAYER_FILL_RATE:{label:"Player Fill Rate",value:"PLAYER_FILL_RATE",tooltip:"Ratio of player ad impressions to player loads"},PLAYER_VIEWABILITY:{label:"Player Viewability",value:"PLAYER_VIEWABILITY",tooltip:"Ratio of viewble player loads to all player loads"},VIDEO_AD_IMPRESSIONS:{label:"Video Ad Impressions",value:"VIDEO_AD_IMPRESSIONS",tooltip:"The number of video ads served"},VIDEO_AD_CLICKS:{label:"Video Ad Clicks",value:"VIDEO_AD_CLICKS",tooltip:"The number of clicks on video ads"},VIDEO_AD_RPM:{label:"Video Ad RPM",value:"VIDEO_AD_RPM",tooltip:"Ovarall video revenue generated per Video ad served"},VIDEO_AD_FILL_RATE:{label:"Video Ad Fill Rate",value:"VIDEO_AD_FILL_RATE",tooltip:"Ratio of video ad requests to video ad impressions"}
1,VIDEO_AD_VIEWEABILITY:{label:"Video Ad Viewability",value:"VIDEO_AD_VIEWEABILITY",tooltip:"Ratio of viewble video ad impressions to all video ad Impressions"},AD_WATCHED_25:{label:"25% ad watched",value:"AD_WATCHED_25",tooltip:"25% of an Ad was viewed"},AD_WATCHED_50:{label:"50% ad watched",value:"AD_WATCHED_50",tooltip:"50% of an Ad was viewed"},AD_WATCHED_75:{label:"75% ad watched",value:"AD_WATCHED_75",tooltip:"75% of an Ad was viewed"},AD_WATCHED_100:{label:"100% ad watched",value:"AD_WATCHED_100",tooltip:"The Ad was viewed completely"},DISPLAY_AD_IMPRESSIONS:{label:"Display Ad Impressions",value:"DISPLAY_AD_IMPRESSIONS",tooltip:"The number of display ads served"},DISPLAY_AD_RPM:{label:"Display Ad RPM",value:"DISPLAY_AD_RPM",tooltip:"Overall display revenue generated per display ad served"},DISPLAY_AD_FILL_RATE:{label:"Display Ad Fill Rate",value:"DISPLAY_AD_FILL_RATE",tooltip:"Ratio of display ad requests to display ad impressions"},DISPLAY_AD_VIEWEABILITY:{label:"Display Ad Viewability",value:"DISPLAY_AD_VIEWEABILITY",tooltip:"Ratio of viewble display ad impressions to all display ad Impressions"},REVENUE_OVERALL_TOTAL:{label:"Overall Revenue, Total",value:"REVENUE_OVERALL_TOTAL",tooltip:"Total revenue from all ad formats before platform fees are deducted"},REVENUE_OVERALL_VIDEO:{label:"Overall Revenue, Video",value:"REVENUE_OVERALL_VIDEO",tooltip:"Total revenue from video ads before platform fees are deducted"},REVENUE_OVERALL_DISPLAY:{label:"Overall Revenue, Display",value:"REVENUE_OVERALL_DISPLAY",tooltip:"Total revenue from display ads before platform fees are deducted"},REVENUE_NET_TOTAL:{label:"Net Revenue, Total",value:"REVENUE_NET_TOTAL",tooltip:"Total revenue across all formats after platform fees and revenue share deductions"},REVENUE_NET_VIDEO:{label:"Net Revenue, Video",value:"REVENUE_NET_VIDEO",tooltip:"Video ad revenue after platform fees and revenue share deductions"},REVENUE_NET_DISPLAY:{label:"Net Revenue, Display",value:"REVENUE_NET_DISPLAY",tooltip:"Display ad revenue after platform fees and revenue share deductions"},REVENUE_PD_TOTAL:{label:"Publisher Demand Revenue, Total",value:"REVENUE_PD_TOTAL",tooltip:"Total revenue generated by your demand sources across all ad formats"},REVENUE_PD_VIDEO:{label:"Publisher Demand Revenue, Video",value:"REVENUE_PD_VIDEO",tooltip:"Revenue generated by your demand sources from video ads"},REVENUE_PD_DISPLAY:{label:"Publisher Demand Revenue, Display",value:"REVENUE_PD_DISPLAY",tooltip:"Revenue generated by your demand sources from display ads"},REVENUE_AD_TOTAL:{label:"AnyClip Demand Revenue, Total",value:"REVENUE_AD_TOTAL",tooltip:"Total revenue generated for you by AnyClip Demand (after revenue share) across all ad formats"},REVENUE_AD_VIDEO:{label:"AnyClip Demand Revenue, Video",value:"REVENUE_AD_VIDEO",tooltip:"Revenue generated for you by AnyClip Demand from video ads (after revenue share)"},REVENUE_AD_DISPLAY:{label:"AnyClip Demand Revenue, Display",value:"REVENUE_AD_DISPLAY",tooltip:"Revenue generated for you by AnyClip Demand from display ads (after revenue share)"},PLATFORM_FEES_TOTAL:{label:"Platform Fees, Total",value:"PLATFORM_FEES_TOTAL",tooltip:"Total platform fees charged to you for delivering ads from your demand sources across all formats"},PLATFORM_FEES_VIDEO:{label:"Platform Fees, Video",value:"PLATFORM_FEES_VIDEO",tooltip:"Total platform fees charged to you for delivering video ads from your demand sources"},PLATFORM_FEES_DISPLAY:{label:"Platform Fees, Display",value:"PLATFORM_FEES_DISPLAY",tooltip:"Total platform fees charged to you for delivering dIsplay ads from your demand sources"},CLIP_IMPRESSION:{label:"Clip Impression",value:"CLIP_IMPRESSION",tooltip:"The number of clip plays"},CLIP_SEEK:{label:"Clip Seek",value:"CLIP_SEEK",tooltip:"The user clicked on the clip progress bar"},FULLSCREEN:{label:"Fullscreen",value:"FULLSCREEN",tooltip:"The user clicked on the full screen button"},MUTE:{label:"Mute",value:"MUTE",tooltip:"Every time there is a mute event (automated event as well)"},PAUSE:{label:"Pause",value:"PAUSE",tooltip:"The number of times the user paused a video"},PLAY:{label:"Play",value:"PLAY",tooltip:"The number of times the user started a video (excluding autoplay)"},CLIP_WATCHED_25:{label:"25% clip watched",value:"CLIP_WATCHED_25",tooltip:"25% of a clip was viewed"},CLIP_WATCHED_50:{label:"50% clip watched",value:"CLIP_WATCHED_50",tooltip:"50% of a clip was viewed"},CLIP_WATCHED_75:{label:"75% clip watched",value:"CLIP_WATCHED_75",tooltip:"75% of a clip was viewed"},CLIP_WATCHED_100:{label:"100% clip watched",value:"CLIP_WATCHED_100",tooltip:"The Clip was viewed completely"},DEMAND_AD_REQUESTS_VIDEO:{label:"Demand Ad Requests, Video",value:"DEMAND_AD_REQUESTS_VIDEO",tooltip:"The number of ad requests sent to demand sources for video ads"}
1,DEMAND_AD_REQUESTS_DISPLAY:{label:"Demand Ad Requests, Display",value:"DEMAND_AD_REQUESTS_DISPLAY",tooltip:"The number of ad requests sent to demand sources for display ads"},SUPPLY_AD_OPPORTUNITIES_VIDEO:{label:"Supply Ad Opportunities, Video",value:"SUPPLY_AD_OPPORTUNITIES_VIDEO",tooltip:"The number of opportunities where a video ad could have been served"},SUPPLY_AD_OPPORTUNITIES_DISPLAY:{label:"Supply Ad Opportunities, Display",value:"SUPPLY_AD_OPPORTUNITIES_DISPLAY",tooltip:"The number of opportunities where a display ad could have been served"}},D={playerData:{id:"PLAYER_DATA",label:"Player Data",values:[h.PAGE_LOADS,h.PLAYER_LOADS,h.PLAYER_AD_IMPRESSIONS,h.VIEWABLE_PLAYER_LOADS,h.VIEWABLE_PLAYER_AD_IMPRESSIONS,h.GROSS_PAGE_RPM,h.NET_PAGE_RPM,h.PLAYER_FILL_RATE,h.PLAYER_VIEWABILITY]},videoAdData:{id:"VIDEO_AD_DATA",label:"Video Ad Data",values:[h.VIDEO_AD_IMPRESSIONS,h.VIDEO_AD_CLICKS,h.VIDEO_AD_RPM,h.VIDEO_AD_FILL_RATE,h.VIDEO_AD_VIEWEABILITY,h.AD_WATCHED_100]},displayAdData:{id:"DISPLAY_AD_DATA",label:"Display Ad Data",values:[h.DISPLAY_AD_IMPRESSIONS,h.DISPLAY_AD_RPM,h.DISPLAY_AD_FILL_RATE,h.DISPLAY_AD_VIEWEABILITY]},revenuesAndFees:{id:"REVENUES_AND_FEES",label:"Revenues and Fees",values:[h.REVENUE_OVERALL_TOTAL,h.REVENUE_OVERALL_VIDEO,h.REVENUE_OVERALL_DISPLAY,h.REVENUE_NET_TOTAL,h.REVENUE_NET_VIDEO,h.REVENUE_NET_DISPLAY,h.REVENUE_PD_TOTAL,h.REVENUE_PD_VIDEO,h.REVENUE_PD_DISPLAY,h.REVENUE_AD_TOTAL,h.REVENUE_AD_VIDEO,h.REVENUE_AD_DISPLAY,h.PLATFORM_FEES_TOTAL,h.PLATFORM_FEES_VIDEO,h.PLATFORM_FEES_DISPLAY]},playerEvents:{id:"PLAYER_EVENTS",label:"Player Events",values:[h.CLIP_IMPRESSION,h.CLIP_SEEK,h.FULLSCREEN,h.MUTE,h.PAUSE,h.PLAY]},clipCompletionRate:{id:"CLIP_COMPLETION_RATE",label:"Clip Completion Rate",values:[h.CLIP_WATCHED_25,h.CLIP_WATCHED_50,h.CLIP_WATCHED_75,h.CLIP_WATCHED_100]},adRequests:{id:"AD_REQUESTS",label:"Demand: Ad Requests",values:[h.DEMAND_AD_REQUESTS_VIDEO,h.DEMAND_AD_REQUESTS_DISPLAY]},adOpportunities:{id:"AD_OPPORTUNITIES",label:"Supply: Ad Opportunities",values:[h.SUPPLY_AD_OPPORTUNITIES_VIDEO,h.SUPPLY_AD_OPPORTUNITIES_DISPLAY]}},f={playerData:{...D.playerData,exceptDimensions:[L.DEMAND_SOURCE.value,L.AD_FORMAT.value,L.DISPLAY_TYPE.value],exceptFilters:[A,E,S]},videoAdData:{...D.videoAdData},displayAdData:{...D.displayAdData},revenuesAndFees:{...D.revenuesAndFees},playerEvents:{...D.playerEvents,exceptDimensions:[L.DEMAND_SOURCE.value,L.AD_FORMAT.value,L.DISPLAY_TYPE.value],exceptFilters:[A,E,S]},clipCompletionRate:{...D.clipCompletionRate,exceptDimensions:[L.DEMAND_SOURCE.value,L.AD_FORMAT.value,L.DISPLAY_TYPE.value],exceptFilters:[A,E,S]},adRequests:{...D.adRequests,exceptMetrics:[h.PAGE_LOADS.value,h.PLAYER_LOADS.value,h.PLAYER_AD_IMPRESSIONS.value,h.VIEWABLE_PLAYER_LOADS.value,h.VIEWABLE_PLAYER_AD_IMPRESSIONS.value,h.GROSS_PAGE_RPM.value,h.NET_PAGE_RPM.value,h.PLAYER_FILL_RATE.value,h.PLAYER_VIEWABILITY.value,h.CLIP_IMPRESSION.value,h.CLIP_SEEK.value,h.FULLSCREEN.value,h.MUTE.value,h.PAUSE.value,h.PLAY.value,h.CLIP_WATCHED_25.value,h.CLIP_WATCHED_50.value,h.CLIP_WATCHED_75.value,h.CLIP_WATCHED_100.value,h.SUPPLY_AD_OPPORTUNITIES_VIDEO.value,h.SUPPLY_AD_OPPORTUNITIES_DISPLAY.value],selectWithDimensions:[L.DEMAND_SOURCE.value]},adOpportunities:{...D.adOpportunities,exceptDimensions:[L.DEMAND_SOURCE.value,L.AD_FORMAT.value,L.DISPLAY_TYPE.value],exceptFilters:[A,E,S]}},N=[f.playerData,f.videoAdData,f.displayAdData,f.revenuesAndFees,f.playerEvents,f.clipCompletionRate,f.adRequests,f.adOpportunities],C={MONTH:{...L.MONTH},DAY:{...L.DAY},HOUR_OF_DAY:{...L.HOUR_OF_DAY,exceptDimensions:[L.HOUR.value]},HOUR:{...L.HOUR,exceptDimensions:[L.HOUR_OF_DAY.value]},DEMAND_SOURCE:{...L.DEMAND_SOURCE,exceptMetrics:[h.PAGE_LOADS.value,h.PLAYER_LOADS.value,h.PLAYER_AD_IMPRESSIONS.value,h.VIEWABLE_PLAYER_LOADS.value,h.VIEWABLE_PLAYER_AD_IMPRESSIONS.value,h.GROSS_PAGE_RPM.value,h.NET_PAGE_RPM.value,h.PLAYER_FILL_RATE.value,h.PLAYER_VIEWABILITY.value,h.CLIP_IMPRESSION.value,h.CLIP_SEEK.value,h.FULLSCREEN.value,h.MUTE.value,h.PAUSE.value,h.PLAY.value,h.CLIP_WATCHED_25.value,h.CLIP_WATCHED_50.value,h.CLIP_WATCHED_75.value,h.CLIP_WATCHED_100.value,h.SUPPLY_AD_OPPORTUNITIES_VIDEO.value,h.SUPPLY_AD_OPPORTUNITIES_DISPLAY.value],deselectWithMetrics:[h.DEMAND_AD_REQUESTS_VIDEO.value,h.DEMA
1ND_AD_REQUESTS_DISPLAY.value]},AD_FORMAT:{...L.AD_FORMAT,exceptMetrics:[h.PAGE_LOADS.value,h.PLAYER_LOADS.value,h.PLAYER_AD_IMPRESSIONS.value,h.VIEWABLE_PLAYER_LOADS.value,h.VIEWABLE_PLAYER_AD_IMPRESSIONS.value,h.GROSS_PAGE_RPM.value,h.NET_PAGE_RPM.value,h.PLAYER_FILL_RATE.value,h.PLAYER_VIEWABILITY.value,h.CLIP_IMPRESSION.value,h.CLIP_SEEK.value,h.FULLSCREEN.value,h.MUTE.value,h.PAUSE.value,h.PLAY.value,h.CLIP_WATCHED_25.value,h.CLIP_WATCHED_50.value,h.CLIP_WATCHED_75.value,h.CLIP_WATCHED_100.value,h.SUPPLY_AD_OPPORTUNITIES_VIDEO.value,h.SUPPLY_AD_OPPORTUNITIES_DISPLAY.value]},DISPLAY_TYPE:{...L.DISPLAY_TYPE,exceptMetrics:[h.PAGE_LOADS.value,h.PLAYER_LOADS.value,h.PLAYER_AD_IMPRESSIONS.value,h.VIEWABLE_PLAYER_LOADS.value,h.VIEWABLE_PLAYER_AD_IMPRESSIONS.value,h.GROSS_PAGE_RPM.value,h.NET_PAGE_RPM.value,h.PLAYER_FILL_RATE.value,h.PLAYER_VIEWABILITY.value,h.CLIP_IMPRESSION.value,h.CLIP_SEEK.value,h.FULLSCREEN.value,h.MUTE.value,h.PAUSE.value,h.PLAY.value,h.CLIP_WATCHED_25.value,h.CLIP_WATCHED_50.value,h.CLIP_WATCHED_75.value,h.CLIP_WATCHED_100.value,h.SUPPLY_AD_OPPORTUNITIES_VIDEO.value,h.SUPPLY_AD_OPPORTUNITIES_DISPLAY.value]},HUB:{...L.HUB},PLAYER_NAME:{...L.PLAYER_NAME},PLAYER_ID:{...L.PLAYER_ID},PLAYER_TYPE:{...L.PLAYER_TYPE},COUNTRY:{...L.COUNTRY},DEVICE:{...L.DEVICE},PLAYER_DOMAIN:{...L.PLAYER_DOMAIN},EMBED_CODE_VARIANT:{...L.EMBED_CODE_VARIANT}},M=[C.MONTH,C.DAY,C.HOUR_OF_DAY,C.HOUR,C.DEMAND_SOURCE,C.AD_FORMAT,C.DISPLAY_TYPE,C.HUB,C.PLAYER_NAME,C.PLAYER_ID,C.PLAYER_TYPE,C.COUNTRY,C.DEVICE,C.PLAYER_DOMAIN,C.EMBED_CODE_VARIANT],F={[A]:{label:"Demand Source",name:A,multiple:!0,exceptMetrics:[h.PAGE_LOADS.value,h.PLAYER_LOADS.value,h.PLAYER_AD_IMPRESSIONS.value,h.VIEWABLE_PLAYER_LOADS.value,h.VIEWABLE_PLAYER_AD_IMPRESSIONS.value,h.GROSS_PAGE_RPM.value,h.NET_PAGE_RPM.value,h.PLAYER_FILL_RATE.value,h.PLAYER_VIEWABILITY.value,h.CLIP_IMPRESSION.value,h.CLIP_SEEK.value,h.FULLSCREEN.value,h.MUTE.value,h.PAUSE.value,h.PLAY.value,h.CLIP_WATCHED_25.value,h.CLIP_WATCHED_50.value,h.CLIP_WATCHED_75.value,h.CLIP_WATCHED_100.value,h.SUPPLY_AD_OPPORTUNITIES_VIDEO.value,h.SUPPLY_AD_OPPORTUNITIES_DISPLAY.value]},[E]:{label:"Ad Format",name:E,multiple:!0,exceptMetrics:[h.PAGE_LOADS.value,h.PLAYER_LOADS.value,h.PLAYER_AD_IMPRESSIONS.value,h.VIEWABLE_PLAYER_LOADS.value,h.VIEWABLE_PLAYER_AD_IMPRESSIONS.value,h.GROSS_PAGE_RPM.value,h.NET_PAGE_RPM.value,h.PLAYER_FILL_RATE.value,h.PLAYER_VIEWABILITY.value,h.CLIP_IMPRESSION.value,h.CLIP_SEEK.value,h.FULLSCREEN.value,h.MUTE.value,h.PAUSE.value,h.PLAY.value,h.CLIP_WATCHED_25.value,h.CLIP_WATCHED_50.value,h.CLIP_WATCHED_75.value,h.CLIP_WATCHED_100.value,h.SUPPLY_AD_OPPORTUNITIES_VIDEO.value,h.SUPPLY_AD_OPPORTUNITIES_DISPLAY.value]},[S]:{label:"Display Type",name:S,multiple:!0,exceptMetrics:[h.PAGE_LOADS.value,h.PLAYER_LOADS.value,h.PLAYER_AD_IMPRESSIONS.value,h.VIEWABLE_PLAYER_LOADS.value,h.VIEWABLE_PLAYER_AD_IMPRESSIONS.value,h.GROSS_PAGE_RPM.value,h.NET_PAGE_RPM.value,h.PLAYER_FILL_RATE.value,h.PLAYER_VIEWABILITY.value,h.CLIP_IMPRESSION.value,h.CLIP_SEEK.value,h.FULLSCREEN.value,h.MUTE.value,h.PAUSE.value,h.PLAY.value,h.CLIP_WATCHED_25.value,h.CLIP_WATCHED_50.value,h.CLIP_WATCHED_75.value,h.CLIP_WATCHED_100.value,h.SUPPLY_AD_OPPORTUNITIES_VIDEO.value,h.SUPPLY_AD_OPPORTUNITIES_DISPLAY.value]},[p]:{label:"Hub",name:p,multiple:!0},[T]:{label:"Player Name",name:T,multiple:!0},[_]:{label:"Player ID",name:_,multiple:!0},[m]:{label:"Player Type",name:m,multiple:!0},[I]:{label:"Country",name:I,multiple:!0},[g]:{label:"Device",name:g,multiple:!0},[y]:{label:"Player Domain",name:y,multiple:!0},[O]:{label:"Embed Code Variant",name:O,multiple:!0}},U=[F[A],F[E],F[S],F[p],F[T],F[_],F[m],F[I],F[g],F[y],F[O]];e.s(["AD_FORMAT_FILTER_NAME",0,E,"AD_FORMAT_FILTER_OPTIONS",0,b,"CALENDAR_FILTER",0,n,"CALENDAR_FILTER_VALUE",0,r,"COUNTRY_FILTER_NAME",0,I,"DAY_OPTIONS_WEEKLY",0,d,"DEMAND_SOURCE_FILTER_NAME",0,A,"DEVICE_FILTER_NAME",0,g,"DEVICE_FILTER_OPTIONS",0,v,"DIMENSIONS",0,L,"DIMENSIONS_LIST",0,M,"DIMENSIONS_WITH_EXCEPTIONS",0,C,"DISPLAY_TYPE_FILTER_NAME",0,S,"DISPLAY_TYPE_FILTER_OPTIONS",0,P,"DOWNLOAD_TIMEOUT",0,a,"EMBED_CODE_VARIANT_FILTER_NAME",0,O,"EMBED_CODE_VARIANT_FILTER_OPTIONS",0,R,"FILTERS",0,F,"FILTERS_LIST",0,U,"HUB_FILTER_NAME",0,p,"MAX_DOWNLOAD_TRY_REQUESTS",0,l,"METRICS_LIST",0,N,"METRICS_VALUES",0,h,"MONITORING_DELAY",0,i,"NAME_MAX_LENGTH",0,t,"PLAYER_DOMAIN_FILTER_NAME",0,y,"PLAYER_ID_FILTER_NAME",0,_,"PLAYER_NAME_FILTER_NAME",0,T,"PLAYER_TYPE_FILTER_NAME",0,m,"RECURRENCE_LIST",0,c,"RECURRENCE_VALUES",0,s,"TABLE_HEADERS",0,o,"TIME_OPTIONS",0,u],606902);var B=e.i(388302);let V={name:"New Custom Report",period:r.monthToDate.value,periodCustomStartDate:null,periodCustomEndDate:null,scheduleType:null,scheduleDay:null,scheduleTime:null,recipients:[],dimensionsList:M,checkedMetrics:[],checkedDimensions:[],isReadOnly:!1,isDownloading:!1,[`${A}_FILTER_VALUES`]:[],[`${A}_FILTER_OPTIONS`]:[],[`${A}_FILTER_ACTION`]:"INCLUDE",[`${E}_FILTER_VALUES`]:[],[`${E}_FILTER_OPTIONS`]:b,[`${E}_FILTER_ACTION`]:"INCLUDE",[`${S}_FILTER_VALUES`]:[],[`${S}_FILTER_OPTIONS`]:P,[`${S}_FILTER_ACTION`]:"INCLUDE",[`${p}_FILTER_VALUES`]:[],[`${p}_FILTER_OPTIONS`]:[],[`${p}_FILTER_ACTION`]:"INCLUDE",[`${T}_FILTER_VALUES`]:[],[`${T}_FILTER_OPTIONS`]:[],[`${T}_FILTER_ACTION`]:"INCLUDE",[`${_}_FILTER_VALUES`]:[],[`${_}_FILTER_OPTIONS`]:[],[`${_}_FILTER_ACTION`]:"INCLUDE",[`${m}_FILTER_VALUES`]:[],[`${m}_FILTER_OPTIONS`]:[],[`${m}_FILTER_ACTION`]:"INCLUDE",[`${I}_FILTER_VALUES`]:[],[`${I}_FILTER_OPTIONS`]:[],[`${I}_FILTER_ACTION`]:"INCLUDE",[`${g}_FILTER_VALUES`]:[],[`${g}_FILTER_OPTIONS`]:v,[`${g}_FILTER_ACTION`]:"INCLUDE",[`${y}_FILTER_VALUES`]:[],[`${y}_FILTER_OPTIONS`]:[],[`${y}_FILTER_ACTION`]:"INCLUDE",[`${O}_FILTER_VALUES`]:[],[`${O}_FILTER_OPTIONS`]:R,[`${O}_FILTER_ACTION`]:"INCLUDE"},Y={isLoading:!1,searchText:"",page:1,pageSize:15,sortBy:"createdAt",sortOrder:"DESC",records:[],recordsTotal:0,downloadReportTryRequestCounter:0,...V},w=(0,B.createSlice)({name:"@@customReportsNew/CUSTOM_REPORTS_NEW",initialState:Y,reducers:{setFieldAction:(e,t)=>
1{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setDefaultSetupPageAction:e=>{Object.keys(V).forEach(t=>{e[t]=V[t]})},createCustomReportAction:e=>e,updateCustomReportAction:e=>e,getCustomReportByIdAction:e=>e,deleteCustomReportAction:e=>e,getCustomReportsAction:e=>e,getDemandSourcesAction:e=>e,getHubsAction:e=>e,getCountriesAction:e=>e,getUserPlayersAction:e=>e,getUserDomainsAction:e=>e,runDownloadReportAction:e=>e,checkDownloadReportAction:e=>e}}),{setFieldAction:G,setDefaultSetupPageAction:k,createCustomReportAction:H,updateCustomReportAction:x,getCustomReportByIdAction:W,deleteCustomReportAction:$,getCustomReportsAction:z,getDemandSourcesAction:j,getHubsAction:K,getCountriesAction:X,getUserPlayersAction:q,getUserDomainsAction:Q,runDownloadReportAction:Z,checkDownloadReportAction:J}=w.actions;w.reducer,e.s(["checkDownloadReportAction",0,J,"createCustomReportAction",0,H,"deleteCustomReportAction",0,$,"getCountriesAction",0,X,"getCustomReportByIdAction",0,W,"getCustomReportsAction",0,z,"getDemandSourcesAction",0,j,"getHubsAction",0,K,"getUserDomainsAction",0,Q,"getUserPlayersAction",0,q,"runDownloadReportAction",0,Z,"setDefaultSetupPageAction",0,k,"setFieldAction",0,G,"slice",0,w,"updateCustomReportAction",0,x],870287);let ee=w.name,et=e=>e[ee].name,ea=e=>e[ee].period,ei=e=>e[ee].periodCustomStartDate,el=e=>e[ee].periodCustomEndDate,eo=e=>e[ee].scheduleType,er=e=>e[ee].scheduleDay,en=e=>e[ee].scheduleTime,es=e=>e[ee].recipients,ec=e=>e[ee].dimensionsList,ed=e=>e[ee].checkedMetrics,eu=e=>e[ee].checkedDimensions,eA=e=>e[ee].isReadOnly,eE=e=>e[ee].isDownloading,eS=e=>e[ee].isLoading,ep=e=>e[ee].searchText,eT=e=>e[ee].page,e_=e=>e[ee].pageSize,em=e=>e[ee].sortBy,eI=e=>e[ee].sortOrder,eg=e=>e[ee].records,ey=e=>e[ee].recordsTotal,eO=e=>e[ee].downloadReportTryRequestCounter,eb=e=>{let t=e[ee];return U.reduce((e,a)=>({...e,[`${a.name}_FILTER_VALUES`]:t[`${a.name}_FILTER_VALUES`],[`${a.name}_FILTER_OPTIONS`]:t[`${a.name}_FILTER_OPTIONS`],[`${a.name}_FILTER_ACTION`]:t[`${a.name}_FILTER_ACTION`]}),{})};e.s(["checkedDimensionsSelector",0,eu,"checkedMetricsSelector",0,ed,"dimensionsListSelector",0,ec,"downloadReportTryRequestCounterSelector",0,eO,"filtersSelector",0,eb,"isDownloadingSelector",0,eE,"isLoadingSelector",0,eS,"isReadOnlySelector",0,eA,"nameSelector",0,et,"pageSelector",0,eT,"pageSizeSelector",0,e_,"periodCustomEndDateSelector",0,el,"periodCustomStartDateSelector",0,ei,"periodSelector",0,ea,"recipientsSelector",0,es,"recordsSelector",0,eg,"recordsTotalSelector",0,ey,"scheduleDaySelector",0,er,"scheduleTimeSelector",0,en,"scheduleTypeSelector",0,eo,"searchTextSelector",0,ep,"sortBySelector",0,em,"sortOrderSelector",0,eI],174878)},330334,e=>{"use strict";let t=(e,t)=>e&&t?Array.isArray(t)?t.reduce((t,a)=>({...t,[a]:a.split(".").reduce((e,t)=>e?.[t]??null,e)}),{}):t.split(".").reduce((e,t)=>e?.[t]??null,e):null,a=(e,t=10)=>parseFloat(e.toFixed(t)),i=e=>e?.length?Math.max(...e.map(e=>e.id))+1:1,l=({headers:e,cells:a,data:i,fileName:l})=>{if(e?.length&&a?.length&&i?.length){let o="data:text/csv;charset=utf-8,%EF%BB%BF",r=e.map(({label:e,withGap:t})=>t?`${e},`:e).join(","),n=i.map(e=>a.map(({key:a,prefix:i,postfix:l,needMultiply:o,withPercent:r})=>{let n=t(e,a),s=o,c=i,d=l;if("pricing"===a&&n?.model==="REV_SHARE"&&(c="",d="%",s=!0),null==n)return r?",":"";let u=s?(n?.value??0)*100:n?.value,A=u?.toLocaleString(void 0,{minimumFractionDigits:c?.length||d?.length?2:0,maximumFractionDigits:2});if(r){let e=n?.change,t=e?Math.round(100*e):0,a=t>0?`+${t}%`:`${t}%`;return`${c??""}${A.replace(/,/g,"")??""}${d??""},${a}`}return`${c??""}${A??n?.toLocaleString(void 0,{minimumFractionDigits:0,maximumFractionDigits:2})}${d??""}`.replace(/,/g,"")}).join(",")).join("\r\n");o+=encodeURIComponent(`${r}\r 2${n}`);let s=document.createElement("a");s.setAttribute("href",o),s.setAttribute("download",l.replace(/\./g,"%2E")),s.style.visibility="hidden",document.body.appendChild(s),s.click(),document.body.removeChild(s)}};e.s(["downloadTableToCSV",0,l,"getNextId",0,i,"parseNumberWithRound",0,a,"resolveObjectPath",0,t])},351469,e=>{"use strict";var t=e.i(494834);let a=(e,a,i,l)=>e?.buckets?.map(e=>{let o=["REQUESTS_FILL","SUPPLY_REQUESTS_FILL","OVERALL_FILL","OPPORTUNITIES_FILL","MEDIA_MARGIN","REQUESTS_VIEWABILITY","SUPPLY_REQUESTS_VIEWABILITY","IMPRESSIONS_VIEWABILITY","MEDIA_MARGIN_PERCENT"],r=Object.keys(e.fields).reduce((t,a)=>l?.length&&!l.includes(a)?t:e.fields[a]?{...t,[i||a]:o.includes(a)?Math.round(1e4*e.fields[a].value)/100:e.fields[a].value}:t,{});return"today"===i&&e.time>(0,t.default)().valueOf()?{name:(0,t.default)(e.time).tz(a).format("DD/MM/YYYY HH:mm|HH:mm|DD/MM"),time:e.time,...r,today:null}:{name:(0,t.default)(e.time).tz(a).format("DD/MM/YYYY HH:mm|HH:mm|DD/MM"),...r,time:e.time}})??[],i=({histograms:e,timezone:t,allowableFields:i})=>{let l={0:"today",1:"yesterday",2:"week"};if(!e?.length)return[];let o=e.map((e,o)=>a(e,t,l[o],i)),r=o[0]?.length??0;return o.forEach((t,a)=>{t.length!==r&&console.error("parseComparisonHistograms: bucket length mismatch",{index:a,histogramName:e[a]?.name,actualBucketsLength:t.length,expectedBucketsLength:r})}),o.reduce((e,t)=>
2e.map((e,a)=>{let i=t[a];if(!i)return e;let{name:l,...o}=i;return{...e,...o}}))},l=(e,t)=>{let a=["REVENUE","GROSS_REVENUE","MEDIA_COST","RPM","CPM","ERPM","PLAYER_ERPM","PUB_PLAYER_ERPM"];return["REQUESTS_FILL","OVERALL_FILL","OPPORTUNITIES_FILL","SUPPLY_REQUESTS_FILL","MEDIA_MARGIN_PERCENT"].includes(e)?`${t.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})}%`:a.includes(e)?`$${t.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})}`:t.toLocaleString(void 0,{minimumFractionDigits:0,maximumFractionDigits:2})};e.s(["parseComparisonHistograms",0,i,"parseHistogram",0,a,"tooltipValueFormatter",0,l])},356729,924302,287369,176651,667166,e=>{"use strict";e.i(741063);var t=e.i(14599),a=e.i(858171),i=e.i(684055);let l="demandAdvertiserSettingsValidation",o={validateTimeout:e=>{let t=1e3,a=3e5,i=!!+e&&+e>=t&&+e<=a;return{isValid:i,error:i?"":`Accept from ${t} to ${a}`}}};e.s(["default",0,o],924302);let r=e=>e.type&&e.value&&e.timeframe&&e.amount;var n=e.i(388302),s=e.i(604121),c=i,d=e.i(675376),u=a,A=e.i(538017),E=e.i(192155),S=t;let p=[{fieldName:"advertiserSettings.name",tabId:S.DEMAND_ADVERTISER_PAGE_CONFIG_TAB_SETTINGS_ID,validation:e=>e?"":"Field cannot be empty"},{fieldName:"advertiserSettings.demandAccountId",tabId:S.DEMAND_ADVERTISER_PAGE_CONFIG_TAB_SETTINGS_ID,validation:(e,t)=>t.pageConfig.isCreateNew?e?"":"Field cannot be empty":""},{fieldName:"advertiserSettings.frequencyCapAdjustmentThreshold",tabId:S.DEMAND_ADVERTISER_PAGE_CONFIG_TAB_SETTINGS_ID,validation:e=>e?"":"Field cannot be empty"}],T=(0,E.default)(l,p),_={id:null,data:[],totalCount:0,page:0,search:"",accountsOptions:[],status:{...A.STATUS_ACTIVE},isFetchingData:!1,rate:"",model:null,label:null,labelsOptions:[],displayType:null},m={pageConfig:null,activeTabIndex:0,filterByDate:s.FILTERS[0].value,filterByStatus:null,filterByCountry:null,filterByDevice:null,filterByLabel:null,filterByPlayer:{label:"All Players",value:null},filterByPlayerOptions:[],labelsOptions:[],info:null,total:{},data:[],totalCount:0,page:0,rowsPerPage:25,search:"",sortBy:"REQUESTS",sortOrder:"DESC",isLoading:!1,chartTab:d.CHART_TABS[0].value,chartData:[],chartHistory:[],isChartLoading:!1,timeIntervalFilter:null,comparisonFilter:null,userHubs:[],userDemandAccounts:[],demandAccountInfo:null,supplyAccountInfo:null,modal:{..._},supply:{name:"",source:c.SOURCE_TAG_OPTIONS[0].value,displayType:null,platformId:"",floorPrice:{floor:"",viewableFloor:"",firstRequestFloor:""},adServerUrl:"",waterfallNote:"",pricing:[],expenses:[],format:u.DEMAND_TAG_FORMAT.video,publisherDemandOnly:c.SUPPLY_TAG_PUBLISHER_DEMAND_ONLY.disabled,automaticFloorPrice:!1,fillRateThreshold:"",minimumFloor:"",maximumFloor:"",errors:{}},automaticOptimization:{status:c.AUTOMATIC_OPTIMIZATION.enabled,kpi:c.AUTOMATIC_OPTIMIZATION_KPI_VIDEO[6].value,period:c.AUTOMATIC_OPTIMIZATION_PERIOD[5].value,frequency:c.AUTOMATIC_OPTIMIZATION_FREQUENCY[2].value,hbTiers:c.AUTOMATIC_OPTIMIZATION_TIERS[1].value,kpiGap:"45",errors:{}},budgeting:{budgetingTabList:[],isInitializeFromInfo:!1},frequencyCap:{status:u.DEMAND_TAG_FREQUENCY_TAB_STATUS.active,type:u.DEMAND_TAG_FREQUENCY_CAP_TYPE_LIST.request,value:2,t
2imeframe:u.DEMAND_TAG_FREQUENCY_CAP_TIMEFRAME_LIST[0].value,amount:1,prevSavedData:null},pricing:{model:u.DEMAND_TAG_PAGE_BUSINESS_MODEL[0].value,source:null,seatId:"",type:null,adUnitId:"",fixedRpmRateList:[],additionalFeesList:[],fixedRpmRateTable:{rows:[],page:0,totalCount:0,rowsPerPage:5,type:u.DEMAND_TAG_PRICING_TYPE.price},adServingFeesTable:{rows:[],page:0,totalCount:0,rowsPerPage:5,type:u.DEMAND_TAG_PRICING_TYPE.adServing},additionalFeesTable:{rows:[],page:0,totalCount:0,rowsPerPage:5,type:u.DEMAND_TAG_PRICING_TYPE.fee},adRequestFeesTable:{rows:[],page:0,totalCount:0,rowsPerPage:5,type:u.DEMAND_TAG_PRICING_TYPE.adRequest},publisherDemand:null,errors:{}},settings:{name:"",source:c.SOURCE_TAG_OPTIONS[0].value,platformId:"",format:u.DEMAND_TAG_FORMAT.video,status:u.DEMAND_TAG_STATUS.enabled,flightsDates:null,uid:"",advertiser:"",demandAccount:"",type:u.DEMAND_TAG_PAGE_TYPE_VALUES.tag,pbsParticipation:!1,supplyChainOverride:u.DEMAND_TAG_SUPPLY_CHAIN_OVERRIDE.disabled,supplyChainValue:u.DEMAND_TAG_SUPPLY_CHAIN_VALUE.blank,supplyChainNode:"",floorPrice:{override:u.FLOOR_PRICE.publisherDefault,floor:"",viewableFloor:""},maxFloor:15,adjustFloor:!0,bidMappingFileName:"",bidMappingFileData:[],adServerType:u.DEMAND_TAG_PAGE_AD_SERVER_TYPE_VALUES.none,adServer:{},adServersList:[],url:"",priority:u.DEMAND_TAG_PRIORITY.openAuction,defaultTier:u.DEMAND_TAG_DEFAULT_TIER_VALUES[3].value,labels:[],timeout:2e4,eventPixelsList:[],platform:{},platforms:[],videoId:"",clickThroughUrl:"",errors:{}},targeting:{viewability:{[u.DEMAND_TAG_TARGETING_VIEWABILITY_TYPE.inView]:!0,[u.DEMAND_TAG_TARGETING_VIEWABILITY_TYPE.nonInView]:!0},viewabilityTargeting:u.DEMAND_TAG_VIEWABILITY_TARGETING.disabled,viewabilityThreshold:"",playerSize:{[u.DEMAND_TAG_TARGETING_PLAYER_SIZE_TYPE.xs]:!0,[u.DEMAND_TAG_TARGETING_PLAYER_SIZE_TYPE.s]:!0,[u.DEMAND_TAG_TARGETING_PLAYER_SIZE_TYPE.m]:!0,[u.DEMAND_TAG_TARGETING_PLAYER_SIZE_TYPE.l]:!0},devices:u.DEMAND_TAG_PAGE_DEVICE_LIST.map(e=>({...e,include:!0})),countries:[],os:u.DEMAND_TAG_PAGE_OS_LIST.map(e=>({...e,include:!0})),browsers:[],countriesList:[],kvTargetingStatus:u.DEMAND_TAG_KEY_VALUE_TARGETING_STATUS.disabled,kvTargeting:[],keyNamesOptions:[],keyListsOptions:[],errors:{}},advertiserSettings:{countries:[],tier:2,name:"",demandAccountId:null,revShare:[],pbsEnabled:!1,profitability:!0,frequencyCapAdjustmentPerSupply:!0,frequencyCapAdjustment:!0,frequencyCapAdjustmentThreshold:.01,errors:{},logo:"",logoFile:null},...T.state},I=(0,n.createSlice)({name:"@@account/ACCOUNT",initialState:m,reducers:{setFieldAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setDefaultConfigAction:(e,t)=>{let a={...m,...t.payload??{}};Object.keys(a).forEach(t=>{e[t]=a[t]})},setActiveTabIndexAction:(e,t)=>{e.activeTabIndex=t.payload},setFilterByDateAction:(e,t)=>{e.filterByDate=t.payload},setFilterByStatusAction:(e,t)=>{e.filterByStatus=t.payload},setFilterByCountryAction:(e,t)=>{e.filterByCountry=t.payload},setFilterByDeviceAction:(e,t)=>{e.filterByDevice=t.payload},setFilterByLabelAction:(e,t)=>{e.filterByLabel=t.payload},setFilterByPlayerAction:(e,t)=>{e.filterByPlayer=t.payload},setLabelsOptionsAction:(e,t)=>{e.labelsOptions=t.payload},setRowsPerPageAction:(e,t)=>{e.rowsPerPage=t.payload},setSearchAction:(e,t)=>{e.search=t.payload},setSortByAction:(e,t)=>{e.sortBy=t.payload},setSortOrderAction:(e,t)=>{e.sortOrder=t.payload},setChartTabAction:(e,t)=>{e.chartTab=t.payload},setTimeIntervalFilterAction:(e,t)=>{e.timeIntervalFilter=t.payload},setComparisonFilterAction:(e,t)=>{e.comparisonFilter=t.payload},openModalAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.modal[a]=t.payload[a]})},setModalInfoAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.modal[a]=t.payload[a]})},closeModalAction:e=>{Object.keys(_).forEach(t=>{e.modal[t]=_[t]})},setBudgetingTabAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.budgeting[a]=t.payload[a]})},setFrequencyCapTabAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.frequencyCap[a]=t.payload[a]})},setPricingTabAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.pricing[a]=t.payload[a]})},setSettingsTabAction:(e,t)=>
2{Object.keys(t.payload).forEach(a=>{e.settings[a]=t.payload[a]})},setTargetingTabAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.targeting[a]=t.payload[a]})},setAdvertiserSettingsTabAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.advertiserSettings[a]=t.payload[a]})},setSupplyTabAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.supply[a]=t.payload[a]})},setAutomaticOptimizationTabAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.automaticOptimization[a]=t.payload[a]})},resetDemandFormAction:e=>{Object.keys(m.settings).forEach(t=>{e.settings[t]=m.settings[t]}),Object.keys(m.frequencyCap).forEach(t=>{e.frequencyCap[t]=m.frequencyCap[t]}),Object.keys(m.budgeting).forEach(t=>{e.budgeting[t]=m.budgeting[t]});let t={...m.targeting,countriesList:e.targeting.countriesList};Object.keys(t).forEach(a=>{e.targeting[a]=t[a]})},resetSupplyFormAction:e=>{let t={...m.supply,price:e.supply.price};Object.keys(t).forEach(a=>{e.supply[a]=t[a]})},setHubsAndDemandAccountsAction:(e,t)=>{e.userHubs=t.payload?.userHubs??[],e.userDemandAccounts=t.payload?.userDemandAccounts??[]},getInfoAction:e=>e,getDataAction:e=>e,getTotalAction:e=>e,createSupplyTagsAction:e=>e,getChartDataAction:e=>e,updateWaterfallAction:e=>e,updateTiersAction:e=>e,deleteWaterfallAction:e=>e,getDataForWaterfallAction:e=>e,getAccountsForWaterfallAction:e=>e,getLabelsForTableFilterAction:e=>e,getLabelsForWaterfallAction:e=>e,bulkCreateWaterfallAction:e=>e,refreshPageDataByIntervalAction:e=>e,validateTagAction:e=>e,downloadCSVAction:e=>e,saveToCSVAction:e=>e,getHistoryForCSVAction:e=>e,getHistoryForChartAction:e=>e,showConfirmModalAction:e=>e,getBudgetingTabAction:e=>e,getFrequencyCapTabAction:e=>e,getPricingTabAction:e=>e,getSettingsTabAction:e=>e,getTargetingTabAction:e=>e,getAdvertiserSettingsTabAction:e=>e,getAdServerListsAction:e=>e,getCountriesListAction:e=>e,createDemandTagAction:e=>e,updateDemandTagAction:e=>e,bulkUpdateDemandTagAction:e=>e,bulkUpdateViewabilityThresholdAction:e=>e,initializeDemandFormDataAction:e=>e,duplicateDemandTagAction:e=>e,getDemandTagPricingAction:e=>e,getPlatformsAction:e=>e,createAdvertiserAction:e=>e,updateAdvertiserAction:e=>e,initializeAdvertiserFormDataAction:e=>e,getKeyNamesOptionsAction:e=>e,getKeyListsOptionsAction:e=>e,getDemandAccountByIdAction:e=>e,validateAdvertiserAction:e=>e,getHubsAndDemandAccountsAction:e=>e,createSupplyTagAction:e=>e,initializeSupplyFormDataAction:e=>e,bulkUpdateSupplyTagAction:e=>e,updateSupplyTagAction:e=>e,duplicateSupplyTagAction:e=>e,getAutomaticOptimizationTabAction:e=>e,getFilterByPlayerOptionsAction:e=>e,getSupplyAccountByIdAction:e=>e,advertiserSettingsValidationSetScrollToFieldNameAction:T.actions.setScrollToFieldAction,advertiserSettingsValidationSetErrorByPropAction:T.actions.updateValidationSchemeAction,advertiserSettingsValidationRemoveErrorByPropAction:T.actions.removeErrorByFieldNameAction}}),{setFieldAction:g,setDefaultConfigAction:y,setActiveTabIndexAction:O,setFilterByDateAction:b,setFilterByStatusAction:P,setFilterByCountryAction:v,setFilterByDeviceAction:R,setFilterByLabelAction:L,setFilterByPlayerAction:h,setLabelsOptionsAction:D,setRowsPerPageAction:f,setSearchAction:N,setSortByAction:C,setSortOrderAction:M,setChartTabAction:F,setTimeIntervalFilterAction:U,setComparisonFilterAction:B,openModalAction:V,setModalInfoAction:Y,closeModalAction:w,setBudgetingTabAction:G,setFrequencyCapTabAction:k,setPricingTabAction:H,setSettingsTabAction:x,setTargetingTabAction:W,setAdvertiserSettingsTabAction:$,setSupplyTabAction:z,setAutomaticOptimizationTabAction:j,resetDemandFormAction:K,resetSupplyFormAction:X,setHubsAndDemandAccountsAction:q,getInfoAction:Q,getDataAction:Z,getTotalAction:J,createSupplyTagsAction:ee,getChartDataAction:et,updateWaterfallAction:ea,updateTiersAction:ei,deleteWaterfallAction:el,getDataForWaterfallAction:eo,getAccountsForWaterfallAction:er,getLabelsForTableFilterAction:en,getLabelsForWaterfallAction:es,bulkCreateWaterfallAction:ec,refreshPageDataByIntervalAction:ed,validateTagAction:eu,downloadCSVAction:eA,saveToCSVAction:eE,getHistoryForCSVAction:eS,getHistoryForChartAction:ep,showConfirmModalAction:eT,getBudgetingTabAction:e_,getFrequencyCapTabAction:em,getPricingTabAction:eI,getSettingsTabAction:eg,getTargetingTabAction:ey,getAdvertiserSettingsTabAction:eO,getAdServerListsAction:eb,getCountriesListAction:eP,createDemandTagAction:ev,updateDemandTagAction:eR,bulkUpdateDemandTagAction:eL,bulkUpdateViewabilityThresholdAction:eh,initializeDemandFormDataAction:eD,duplicateDemandTagAction:ef,getDemandTagPricingAction:eN,getPlatformsAction:eC,createAdvertiserAction:eM,updateAdvertiserAction:eF,initializeAdvertiserFormDataAction:eU,getKeyNamesOptionsAction:eB,getKeyListsOptionsAction:eV,getDemandAccountByIdAction:eY,validateAdvertiserAction:ew,getHubsAndDemandAccountsAction:eG,createSupplyTagAction:ek,initializeSupplyFormDataAction:eH,bulkUpdateSupplyTagAction:ex,updateSupplyTagAction:eW,duplicateSupplyTagAction:e$,getAutomaticOptimizationTabAction:ez,getFilterByPlayerOptionsAction:ej,getSupplyAccountByIdAction:eK,advertiserSettingsValidationSetScrollToFieldNameAction:eX,advertiserSettingsValidationSetErrorByPropAction:eq,advertiserSettingsValidationRemoveErrorByPropAction:eQ}=I.actions;I.reducer,e.s(["advertiserSettingsValidationRemoveErrorByPropAction",0,eQ,"advertiserSettingsValidationSetErrorByPropAction",0,eq,"advertiserSettingsValidationSetScrollToFieldNameAction",0,eX,"advertiserSettingsValidationSlice",0,T,"bulkCreateWaterfallAction",0,ec,"bulkUpdateDemandTagAction",0,eL,"bulkUpdateSupplyTagAction",0,ex,"bulkUpdateViewabilityThresholdAction",0,eh,"closeModalAction",0,w,"createAdvertiserAction",0,eM,"createDemandTagAction",0,ev,"createSupplyTagAction",0,ek,"deleteWaterfallAction",0,el,"downloadCSVAction",0,eA,"duplicateDemandTagAction",0,ef,"duplicateSupplyTagAction",0,e$,"getAccountsForWaterfallAction",0,er,"getAdServerListsAction",0,eb,"getAdvertiserSettingsTabAction",0,eO,"getBudgetingTabAction",0,e_,"getChartDataAction",0,et,"getCountriesListAction",0,eP,"getDataAction",0,Z,"getDataForWaterfallAction",0,eo,"getDemandAccountByIdAction",0,eY,"getDemandTagPricingAction",0,eN,"getFilterByPlayerOptionsAction",0,ej,"getFrequencyCapTabAction",0,em,"getHistoryForCSVAction",0,eS,"getHistoryForChartAction",0,ep,"getHubsAndDemandAccountsAction",0,eG,"getInfoAction",0,Q,"getKeyListsOptionsAction",0,eV,"getKeyNamesOptionsAction",0,eB,"getLabelsForTableFilterAction",0,en,"getLabelsForWaterfallAction",0,es,"getPlatformsAction",0,eC,"getPricingTabAction",0,eI,"getSettingsTabAction",0,eg,"getSupplyAccountByIdAction",0,eK,"getTargetingTabAction",0,ey,"getTotalAction",0,J,"initializeAdvertiserFormDataAction",0,eU,"initializeDemandFormDataAction",0,eD,"initializeSupplyFormDataAction",0,eH,"openModalAction",0,V,"refreshPageDataByIntervalAction",0,ed,"resetDemandFormAction",0,K,"resetSupplyFormAction",0,X,"saveToCSVAction",0,eE,"setActiveTabIndexAction",0,O,"setAdvert
2iserSettingsTabAction",0,$,"setAutomaticOptimizationTabAction",0,j,"setBudgetingTabAction",0,G,"setChartTabAction",0,F,"setComparisonFilterAction",0,B,"setDefaultConfigAction",0,y,"setFieldAction",0,g,"setFilterByCountryAction",0,v,"setFilterByDateAction",0,b,"setFilterByDeviceAction",0,R,"setFilterByLabelAction",0,L,"setFilterByPlayerAction",0,h,"setFilterByStatusAction",0,P,"setFrequencyCapTabAction",0,k,"setHubsAndDemandAccountsAction",0,q,"setLabelsOptionsAction",0,D,"setModalInfoAction",0,Y,"setPricingTabAction",0,H,"setRowsPerPageAction",0,f,"setSearchAction",0,N,"setSettingsTabAction",0,x,"setSortByAction",0,C,"setSortOrderAction",0,M,"setSupplyTabAction",0,z,"setTargetingTabAction",0,W,"setTimeIntervalFilterAction",0,U,"showConfirmModalAction",0,eT,"slice",0,I,"updateAdvertiserAction",0,eF,"updateDemandTagAction",0,eR,"updateSupplyTagAction",0,eW,"updateTiersAction",0,ei,"updateWaterfallAction",0,ea,"validateAdvertiserAction",0,ew,"validateTagAction",0,eu],287369);var eZ=e.i(916094);let eJ=I.name,e0=e=>e[eJ].pageConfig,e1=e=>e[eJ].activeTabIndex,e2=e=>e[eJ].filterByDate,e3=e=>e[eJ].filterByStatus,e9=e=>e[eJ].filterByCountry,e5=e=>e[eJ].filterByDevice,e8=e=>e[eJ].filterByPlayer,e6=e=>e[eJ].filterByPlayerOptions,e4=e=>e[eJ].filterByLabel,e7=e=>e[eJ].labelsOptions,te=e=>e[eJ].info,tt=e=>e[eJ].total,ta=e=>e[eJ].data,ti=e=>e[eJ].totalCount,tl=e=>e[eJ].page,to=e=>e[eJ].rowsPerPage,tr=e=>e[eJ].search,tn=e=>e[eJ].sortBy,ts=e=>e[eJ].sortOrder,tc=e=>e[eJ].isLoading,td=e=>e[eJ].chartTab,tu=e=>e[eJ].chartData,tA=e=>e[eJ].chartHistory,tE=e=>e[eJ].isChartLoading,tS=e=>e[eJ].timeIntervalFilter,tp=e=>e[eJ].comparisonFilter,tT=e=>e[eJ].userHubs,t_=e=>e[eJ].userDemandAccounts,tm=e=>e[eJ].demandAccountInfo,tI=e=>e[eJ].supplyAccountInfo,tg=e=>e[eJ].modal,ty=e=>e[eJ].supply,tO=e=>e[eJ].automaticOptimization,tb=e=>e[eJ].budgeting,tP=e=>e[eJ].frequencyCap,tv=e=>e[eJ].pricing,tR=e=>e[eJ].settings,tL=e=>e[eJ].targeting,th=e=>e[eJ].advertiserSettings,tD=e=>{let t=tR(e),i=tv(e),l=tP(e),n=tL(e),s=tc(e);return!(t.name&&Number.isInteger(t.defaultTier)&&i.model&&(i.fixedRpmRateTable.rows.length||t.type===a.DEMAND_TAG_PAGE_TYPE_VALUES.hb&&!a.DEMAND_TAG_HB_GAM_PLATFORMS.includes(t.platform?.code))&&(t.type!==a.DEMAND_TAG_PAGE_TYPE_VALUES.tag||t.url)&&o.validateTimeout(t.timeout).isValid&&(l.status!==a.DEMAND_TAG_FREQUENCY_TAB_STATUS.active||r(l))&&(!i.publisherDemand||i.adServingFeesTable.rows.length)&&(n.kvTargetingStatus!==a.DEMAND_TAG_KEY_VALUE_TARGETING_STATUS.enabled||n.kvTargeting?.every(e=>!!e?.keyName&&!!(e?.valueLists?.length||e?.values?.length)))&&!s)},tf=e=>{let t=ty(e),i=e0(e),l=tc(e);return!(t.name&&(!i.isCreatingNew||t.pricing.length)&&(t.format!==a.DEMAND_TAG_FORMAT.display||t.displayType)&&!l)},tN=e=>{let l=e0(e);return l&&l.type===a.DEMAND_TAG_PAGE?tD(e):l&&l.type===i.SUPPLY_TAG_PAGE?tf(e):!l||l.type!==t.DEMAND_ADVERTISER_PAGE},tC=(0,eZ.default)(l,eJ),tM=e=>tC.schemeSelector(e),tF=e=>e[eJ];e.s(["activeTabIndexSelector",0,e1,"advertiserSettingsSelector",0,th,"advertiserSettingsValidationSchemeSelector",0,tM,"automaticOptimizationSelector",0,tO,"budgetingSelector",0,tb,"chartDataSelector",0,tu,"chartHistorySelector",0,tA,"chartTabSelector",0,td,"comparisonFilterSelector",0,tp,"dataSelector",0,ta,"demandAccountInfoSelector",0,tm,"filterByCountrySelector",0,e9,"filterByDateSelector",0,e2,"filterByDeviceSelector",0,e5,"filterByLabelSelector",0,e4,"filterByPlayerOptionsSelector",0,e6,"filterByPlayerSelector",0,e8,"filterByStatusSelector",0,e3,"frequencyCapSelector",0,tP,"fullAccessToStoreFieldsForValidation",0,tF,"infoSelector",0,te,"isChartLoadingSelector",0,tE,"isFormSubmitDisabledSelector",0,tN,"isLoadingSelector",0,tc,"labelsOptionsSelector",0,e7,"modalSelector",0,tg,"pageConfigSelector",0,e0,"pageSelector",0,tl,"pricingSelector",0,tv,"rowsPerPageSelector",0,to,"searchSelector",0,tr,"settingsSelector",0,tR,"sortBySelector",0,tn,"sortOrderSelector",0,ts,"supplyAccountInfoSelector",0,tI,"supplySelector",0,ty,"targetingSelector",0,tL,"timeIntervalFilterSelector",0,tS,"totalCountSelector",0,ti,"totalSelector",0,tt,"userDemandAccountsSelector",0,t_,"userHubsSelector",0,tT],356729);var tU=a,tB=a,tV=i;let tY=(e,t)=>
2t.filter(t=>t.include===e).map(e=>e.value),tw=e=>Object.keys(e).filter(t=>e[t]),tG=({id:e,name:t,url:a})=>{let i={url:a};return t&&(i.name=t),e&&(i.id=e),i},tk=e=>{let t=null;return Object.keys(e).forEach(a=>{let i=e[a];i.value&&(t=t?{...t,[i.key]:i.value}:{[i.key]:i.value})}),t},tH=e=>e.map(e=>({url:e.url,name:e.event,type:e.type})),tx=(e,t)=>e.map(e=>({...t?{}:{startDate:e.startDate},value:e.value,...e.model?{model:e.model}:{}})),tW=(e,t)=>e.map(e=>({...t?{}:{startDate:e.startDate},...e.endDate?{endDate:e.endDate}:{},value:e.value})),t$=e=>e.map(e=>({budget:e.budget,pacing:e.pacing,type:e.type,timeframe:e.timeFrame})),tz=e=>{let t=e0(e),a=te(e),i=tR(e),l=tv(e),o=tL(e),n=tb(e),s=tP(e),c={name:i.name,tagSource:i.source!==tV.SOURCE_TAG_OPTIONS[0].value?{source:i.source,platformId:i.platformId}:{source:i.source},daccountId:a?a.daccountId:t.demandAccount.id,advertiserId:a?a.advertiserId:t.advertiser.id,defaultTier:i.defaultTier,model:l.model,pricing:t.isCreatingNew||t.isDuplicate?tx(l.fixedRpmRateTable.rows,t.isCreatingNew):[],fee:t.isCreatingNew||t.isDuplicate?tW(l.additionalFeesTable.rows,t.isCreatingNew):[],adServingFees:t.isCreatingNew||t.isDuplicate?tx(l.adServingFeesTable.rows,t.isCreatingNew):[],adRequestFee:t.isCreatingNew||t.isDuplicate?tx(l.adRequestFeesTable.rows,t.isCreatingNew):[],type:i.type,status:i.status,format:i.format,eventPixels:[],labels:[],flightsDates:i.flightsDates||{},priority:i.priority};i.uid&&(c.id=i.uid),i.labels&&i.labels.length&&(c.labels=i.labels),Number.isInteger(i.timeout)&&(c.timeout=i.timeout),i.eventPixelsList&&i.eventPixelsList.length&&(c.eventPixels=tH(i.eventPixelsList));let d={geo:{key:"geo",value:tY(!0,o.countries)},os:{key:"os",value:tY(!0,o.os)},browsers:{key:"browsers",value:tY(!0,o.browsers)},devices:{key:"devices",value:tY(!0,o.devices)},playerSizes:{key:"playerSizes",value:tw(o.playerSize)},viewability:{key:"viewability",value:tw(o.viewability)}},u={geo:{key:"geo",value:tY(!0,o.countries)},os:{key:"os",value:tY(!0,o.os)},browsers:{key:"browsers",value:tY(!0,o.browsers)},devices:{key:"devices",value:tY(!0,o.devices)}},A=tk(i.format===tB.DEMAND_TAG_FORMAT.sponsored?u:d);A&&(c.include=A);let E=tk({geo:{key:"geo",value:tY(!1,o.countries)},os:{key:"os",value:tY(!1,o.os)},browsers:{key:"browsers",value:tY(!1,o.browsers)},devices:{key:"devices",value:tY(!1,o.devices)}});if(E&&(c.exclude=E),c.budgets=n.budgetingTabList?.length?t$(n.budgetingTabList):[],r(s)&&i.format!==tB.DEMAND_TAG_FORMAT.sponsored){let{prevSavedData:e,...t}=s;c.frequency={...t}}if(i.type===tB.DEMAND_TAG_PAGE_TYPE_VALUES.tag&&(c.adServer=tG({name:i.adServer.name,url:i.url?.trim()})),i.type===tB.DEMAND_TAG_PAGE_TYPE_VALUES.mp4&&(c.videoId=i.videoId,i.format!==tB.DEMAND_TAG_FORMAT.sponsored&&(c.clickThroughUrl=i.clickThroughUrl)),i.type===tB.DEMAND_TAG_PAGE_TYPE_VALUES.hb){let{platform:{name:e,connectorId:t,code:a,...l},supplyChainOverride:o,supplyChainValue:r,supplyChainNode:n,adjustFloor:s,pbsParticipation:d}=i;c.pbsParticipation=!!d,c.adjustFloor=s,c.platform={connectorId:t,connectorName:e,code:a,params:Object.keys(l).reduce((e,t)=>l[t]?.length?[...e,{name:t,value:l[t]}]:e,[])},i.platform?.code?.toUpperCase()==="APS"&&(c.platform={...c.platform,bidMapping:{fileName:i.bidMappingFileName,data:i.bidMappingFileData}}),tB.DEMAND_TAG_HB_GAM_PLATFORMS.includes(i.platform?.code)&&(c.platform={...c.platform,maxFloor:+i.maxFloor}),o===tB.DEMAND_TAG_SUPPLY_CHAIN_OVERRIDE.enabled&&(r===tB.DEMAND_TAG_SUPPLY_CHAIN_VALUE.blank&&(c.platform={...c.platform,supplyChain:""}),r===tB.DEMAND_TAG_SUPPLY_CHAIN_VALUE.custom&&(c.platform={...c.platform,supplyChain:n.trim()})),i.floorPrice?.override===tB.FLOOR_PRICE.override?c.floorPrice={override:!0,floor:+(i.floorPrice?.floor??0),viewableFloor:+(i.floorPrice?.viewableFloor??0)}:c.floorPrice={override:!1}}if(l.model===tB.DEMAND_TAG_PAGE_BUSINESS_MODEL[1].value){let{source:e,seatId:t,adUnitId:a,type:i}=l;e===tB.DEMAND_TAG_PAGE_SOURCE[0].value?c.rateSource={name:e,seatId:t,adUnitId:a,type:i}:c.rateSource={name:e,adUnitId:a,type:i}}return o.viewability[tB.DEMAND_TAG_TARGETING_VIEWABILITY_TYPE.inView]&&o.viewability[tB.DEMAND_TAG_TARGETING_VIEWABILITY_TYPE.nonInView]&&o.viewabilityTargeting===tB.DEMA
2ND_TAG_VIEWABILITY_TARGETING.enabled?c.viewabilityThreshold=parseFloat(Number(o.viewabilityThreshold/100).toFixed(4)):c.disableViewabilityThreshold=!0,i.format!==tB.DEMAND_TAG_FORMAT.sponsored&&(o.kvTargetingStatus===tB.DEMAND_TAG_KEY_VALUE_TARGETING_STATUS.enabled?c.kvTargeting=o.kvTargeting?.filter(e=>e?.keyName).map(e=>({key:e.keyName.value,state:e.state,type:e.type,values:e.type===tB.DEMAND_TAG_KEY_VALUE_TARGETING_TYPE.list?e.valueLists?.map(e=>e.value):e.values})):c.kvTargeting=[]),c};e.s(["createFeesListInput",0,tW,"createIncludeExcludeInput",0,tk,"createPricesListInput",0,tx,"default",0,tz,"getIncludeOrExclude",0,tY],176651);let tj=e=>{switch(e){case tU.DEMAND_TAG_PRICING_TYPE.price:return"fixedRpmRateTable";case tU.DEMAND_TAG_PRICING_TYPE.fee:return"additionalFeesTable";case tU.DEMAND_TAG_PRICING_TYPE.adServing:return"adServingFeesTable";case tU.DEMAND_TAG_PRICING_TYPE.adRequest:return"adRequestFeesTable";default:return"fixedRpmRateTable"}},tK=e=>{switch(e){case tU.DEMAND_TAG_PRICING_TYPE.price:return"pricing";case tU.DEMAND_TAG_PRICING_TYPE.fee:return"fee";case tU.DEMAND_TAG_PRICING_TYPE.adServing:return"adServingFees";case tU.DEMAND_TAG_PRICING_TYPE.adRequest:return"adRequest";default:return"pricing"}},tX=(e,{type:t,data:a})=>{let i=tR(e),l=tK(t),o=t===tU.DEMAND_TAG_PRICING_TYPE.price||t===tU.DEMAND_TAG_PRICING_TYPE.adServing?tx:tW;return{id:i.uid,[l]:o([a])}};e.s(["default",0,tX,"definePricingTableKey",0,tj],667166)},346412,548621,e=>{"use strict";var t=e.i(388302),a=e.i(604121);let i={accounts:[],page:0,totalCount:0,rowsPerPage:25,search:"",sortBy:"REQUESTS",sortOrder:"DESC",filterDate:a.FILTERS[0].value,filterByStatus:a.STATUS_FILTERS[1].value,isLoading:!1,pageConfig:null,activeTabIndex:0,userHubs:[],userDemandAccounts:[],modal:null},l=(0,t.createSlice)({name:"@@accounts/ACCOUNTS",initialState:i,reducers:{setFieldAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setDefaultConfigAction:(e,t)=>{let a={...i,userHubs:e.userHubs,userDemandAccounts:e.userDemandAccounts,...t.payload};Object.keys(a).forEach(t=>{e[t]=a[t]})},setHubsAndDemandAccountsAction:(e,t)=>{e.userHubs=t.payload?.userHubs??[],e.userDemandAccounts=t.payload?.userDemandAccounts??[]},setActiveTabIndexAction:(e,t)=>{e.activeTabIndex=t.payload},setSortByAction:(e,t)=>{e.sortBy=t.payload},setSortOrderAction:(e,t)=>{e.sortOrder=t.payload},setFilterDateAction:(e,t)=>{e.filterDate=t.payload},setFilterByStatusAction:(e,t)=>{e.filterByStatus=t.payload},setSearchAction:(e,t)=>{e.search=t.payload},setRowsPerPageAction:(e,t)=>{e.rowsPerPage=t.payload},getAccountsAction:e=>e,getNextAccountsAction:e=>e,refreshPageDataByIntervalAction:e=>e,downloadCSVAction:e=>e,saveToCSVAction:e=>e,getHubsAndDemandAccountsAction:e=>e}}),{setFieldAction:o,setDefaultConfigAction:r,setHubsAndDemandAccountsAction:n,setActiveTabIndexAction:s,setSortByAction:c,setSortOrderAction:d,setFilterDateAction:u,setFilterByStatusAction:A,setSearchAction:E,setRowsPerPageAction:S,getAccountsAction:p,getNextAccountsAction:T,refreshPageDataByIntervalAction:_,downloadCSVAction:m,saveToCSVAction:I,getHubsAndDemandAccountsAction:g}=l.actions;l.reducer,e.s(["downloadCSVAction",0,m,"getAccountsAction",0,p,"getHubsAndDemandAccountsAction",0,g,"refreshPageDataByIntervalAction",0,_,"saveToCSVAction",0,I,"setActiveTabIndexAction",0,s,"setDefaultConfigAction",0,r,"setFieldAction",0,o,"setFilterByStatusAction",0,A,"setFilterDateAction",0,u,"setHubsAndDemandAccountsAction",0,n,"setRowsPerPageAction",0,S,"setSearchAction",0,E,"setSortByAction",0,c,"setSortOrderAction",0,d,"slice",0,l],548621);let y=l.name,O=e=>e[y].accounts,b=e=>e[y].page,P=e=>e[y].totalCount,v=e=>e[y].rowsPerPage,R=e=>e[y].search,L=e=>e[y].sortBy,h=e=>e[y].sortOrder,D=e=>e[y].filterDate,f=e=>e[y].filterByStatus,N=e=>e[y].isLoading,C=e=>e[y].pageConfig,M=e=>e[y].activeTabIndex,F=e=>e[y].userHubs,U=e=>e[y].userDemandAccounts,B=e=>e[y].modal;e.s(["accountsSelector",0,O,"activeTabIndexSelector",0,M,"filterByStatusSelector",0,f,"filterDateSelector",0,D,"isLoadingSelector",0,N,"modalSelector",0,B,"pageConfigSelector",0,C,"pageSelector",0,b,"rowsPerPageSelector",0,v,"searchSelector",0,R,"sortBySelector",0,L,"sortOrderSelector",0,h,"totalCountSelector",0,P,"userDemandAccountsSelector",0,U,"userHubsSelector",0,F
2],346412)},719794,644079,156375,e=>{"use strict";var t=e.i(799460);let a="/demand",i="DEMAND_ACCOUNTS_PAGE",l="Demand Accounts",o=[{id:"NAME",label:"Name",isSortable:!0,defaultSortOrder:t.SORT_ASC},{id:"ADVERTISERS",label:"Advertisers",isSortable:!0},{id:"DEMANDS",label:"Demand Tags",isSortable:!0},{id:"REQUESTS",label:"Requests",isSortable:!0,align:"right",withGap:!0},{id:"IMPRESSIONS",label:"Impressions",isSortable:!0,align:"right",withGap:!0},{id:"REVENUE",label:"Revenue",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_REVENUE",label:"Gross Revenue",isSortable:!0,align:"right",withGap:!0},{id:"REQUESTS_FILL",label:"Req Fill",isSortable:!0,align:"right",withGap:!0},{id:"RPM",label:"RPM",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_RPM",label:"Gross RPM",isSortable:!0,align:"right",withGap:!0}],r=[{id:"NAME",label:"Name",isSortable:!0},{id:"DEMANDS",label:"Demand Tags",isSortable:!0},{id:"REQUESTS",label:"Requests",isSortable:!0,align:"right",withGap:!0},{id:"IMPRESSIONS",label:"Impressions",isSortable:!0,align:"right",withGap:!0},{id:"REVENUE",label:"Revenue",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_REVENUE",label:"Gross Revenue",isSortable:!0,align:"right",withGap:!0},{id:"PROFIT",label:"Profit",isSortable:!0,align:"right",withGap:!0},{id:"REQUESTS_FILL",label:"Req Fill",isSortable:!0,align:"right",withGap:!0},{id:"RPM",label:"RPM",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_RPM",label:"Gross RPM",isSortable:!0,align:"right",withGap:!0}
2,{id:"IMPRESSIONS_VIEWABILITY",label:"Impressions viewability",isSortable:!0,align:"right",withGap:!0},{id:"REQ_ERPM",label:"Req eRPM",align:"right",withGap:!0,isSortable:!0},{id:"REQ_EPPM",label:"Req ePPM",align:"right",withGap:!0,isSortable:!0},{id:"REQ_NET_ERPM",label:"Req Pub NET eRPM",align:"right",withGap:!0,isSortable:!0},{id:"REQ_GROSS_ERPM",label:"Req Gross eRPM ",align:"right",withGap:!0,isSortable:!0},{id:"CTR",label:"CTR",align:"right",withGap:!0,isSortable:!0},{id:"COMPLETION_RATE",label:"Completion Rate",align:"right",withGap:!0,isSortable:!0}],n=[{key:"name"},{key:"demands"},{key:"fields.REQUESTS",align:"right",withPercent:!0},{key:"fields.IMPRESSIONS",align:"right",withPercent:!0},{key:"fields.REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.PROFIT",align:"right",prefix:"$",withPercent:!0},{key:"fields.REQUESTS_FILL",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.IMPRESSIONS_VIEWABILITY",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.REQ_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.REQ_EPPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.REQ_NET_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.REQ_GROSS_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.CTR",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.COMPLETION_RATE",align:"right",postfix:"%",needMultiply:!0,withPercent:!0}],s=["REQUESTS","IMPRESSIONS","REQUESTS_FILL","REVENUE","GROSS_REVENUE","RPM","GROSS_RPM","ERPM","IMPRESSIONS_VIEWABILITY","COMPLETION_RATE","CTR","REQ_ERPM","REQ_EPPM","REQ_NET_ERPM","REQ_GROSS_ERPM","PROFIT"],c=` 3query AdvertiserDataQuery( 4 $fields: [String], 5 $sort: MarketplaceSortInputType, 6 $from: Int, 7 $size: Int, 8 $filters: MarketplaceFiltersInputType, 9 $allPages: Boolean 10) { 11 advertiserData( 12 fields: $fields, 13 sort: $sort, 14 from: $from, 15 size: $size, 16 filters: $filters, 17 allPages: $allPages 18 ) { 19 totalCount 20 data { 21 id 22 name 23 demands 24 daccountId 25 profit 26 hasApsTags 27 fields { 28 REQUESTS { 29 value 30 change 31 } 32 33 IMPRESSIONS { 34 value 35 change 36 } 37 REQUESTS_FILL { 38 value 39 change 40 } 41 REVENUE { 42 value 43 change 44 } 45 GROSS_REVENUE { 46 value 47 change 48 } 49 RPM { 50 value 51 change 52 } 53 GROSS_RPM { 54 value 55 change 56 } 57 IMPRESSIONS_VIEWABILITY { 58 value 59 change 60 } 61 COMPLETION_RATE { 62 value 63 change 64 } 65 CTR { 66 value 67 change 68 } 69 REQ_ERPM { 70 value 71 change 72 } 73 REQ_EPPM { 74 value 75 change 76 } 77 REQ_NET_ERPM { 78 value 79 change 80 } 81 REQ_GROSS_ERPM { 82 value 83 change 84 } 85 PROFIT { 86 value 87 change 88 } 89 } 90 } 91 } 92} 93`,d=[{id:"NAME",label:"Name",isSortable:!0},{id:"SUPPLIES",label:"Supply Tags",isSortable:!0},{id:"targeting",label:"Targeting",isSortable:!1},{id:"REQUESTS",label:"Requests",isSortable:!0,align:"right",withGap:!0},{id:"OPPORTUNITIES",label:"Opportunities",isSortable:!0,align:"right",withGap:!0},{id:"IMPRESSIONS",label:"Impressions",isSortable:!0,align:"right",withGap:!0},{id:"REVENUE",label:"Revenue",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_REVENUE",label:"Gross Revenue",isSortable:!0,align:"right",withGap:!0},{id:"PROFIT",label:"Profit",isSortable:!0,align:"right",withGap:!0},{id:"REQUESTS_FILL",label:"Req Fill",isSortable:!0,align:"right",withGap:!0},{id:"RPM",label:"RPM",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_RPM",label:"Gross RPM",isSortable:!0,align:"right",withGap:!0}
93,{id:"IMPRESSIONS_VIEWABILITY",label:"Impressions viewability",isSortable:!0,align:"right",withGap:!0},{id:"REQ_ERPM",label:"Req eRPM",align:"right",withGap:!0,isSortable:!0},{id:"REQ_EPPM",label:"Req ePPM",align:"right",withGap:!0,isSortable:!0},{id:"REQ_NET_ERPM",label:"Req Pub NET eRPM",align:"right",withGap:!0,isSortable:!0},{id:"REQ_GROSS_ERPM",label:"Req Gross eRPM ",align:"right",withGap:!0,isSortable:!0},{id:"CTR",label:"CTR",align:"right",withGap:!0,isSortable:!0},{id:"COMPLETION_RATE",label:"Completion Rate",align:"right",withGap:!0,isSortable:!0},{id:"CREATED",label:"Creation Date",isSortable:!0}],u=[{key:"name"},{key:"supplies"},{key:["include","exclude","frequency","advertiserInclude","advertiserExclude","waterfallSkip","viewabilityThreshold","kvTargeting"]},{key:"fields.REQUESTS",align:"right",withPercent:!0},{key:"fields.OPPORTUNITIES",align:"right",withPercent:!0},{key:"fields.IMPRESSIONS",align:"right",withPercent:!0},{key:"fields.REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.PROFIT",align:"right",prefix:"$",withPercent:!0},{key:"fields.REQUESTS_FILL",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.IMPRESSIONS_VIEWABILITY",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.REQ_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.REQ_EPPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.REQ_NET_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.REQ_GROSS_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.CTR",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.COMPLETION_RATE",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"created"}],A=["REQUESTS","OPPORTUNITIES","IMPRESSIONS","REQUESTS_FILL","REVENUE","GROSS_REVENUE","RPM","GROSS_RPM","ERPM","IMPRESSIONS_VIEWABILITY","COMPLETION_RATE","CTR","REQ_ERPM","REQ_EPPM","REQ_NET_ERPM","REQ_GROSS_ERPM","PROFIT"],E=` 94query DemandTagDataQuery( 95 $fields: [String], 96 $sort: MarketplaceSortInputType, 97 $from: Int, 98 $size: Int, 99 $filters: MarketplaceFiltersInputType, 100 $allPages: Boolean 101) { 102 demandTagData( 103 fields: $fields, 104 sort: $sort, 105 from: $from, 106 size: $size, 107 filters: $filters, 108 allPages: $allPages 109 ) { 110 totalCount 111 data { 112 id 113 name 114 supplies 115 aps 116 advertiserId 117 daccountId 118 created 119 waterfallSkip 120 viewabilityThreshold 121 profit 122 include { 123 domains 124 geo 125 os 126 browsers 127 playerSizes 128 viewability 129 devices 130 } 131 exclude { 132 domains 133 geo 134 os 135 browsers 136 devices 137 } 138 frequency { 139 status 140 value 141 amount 142 type 143 timeframe 144 } 145 advertiserInclude { 146 geo 147 } 148 advertiserExclude { 149 geo 150 } 151 kvTargeting { 152 state 153 type 154 key 155 values 156 listNames 157 keyName 158 } 159 fields { 160 REQUESTS { 161 value 162 change 163 } 164 OPPORTUNITIES { 165 value 166 change 167 } 168 IMPRESSIONS { 169 value 170 change 171 } 172 REQUESTS_FILL { 173 value 174 change 175 } 176 REVENUE { 177 value 178 change 179 } 180 GROSS_REVENUE { 181 value 182 change 183 } 184 RPM { 185 value 186 change 187 } 188 GROSS_RPM { 189 value 190 change 191 } 192 IMPRESSIONS_VIEWABILITY { 193 value 194 change 195 } 196 COMPLETION_RATE { 197 value 198 change 199 } 200 CTR { 201 value 202 change 203 } 204 REQ_ERPM { 205 value 206 change 207 } 208 REQ_EPPM { 209 value 210 change 211 } 212 REQ_NET_ERPM { 213 value 214 change 215 } 216 REQ_GROSS_ERPM { 217 value 218 change 219 } 220 PROFIT { 221 value 222 change 223 } 224 } 225 } 226 } 227} 228`,S={type:i,pathname:a,header:l,rowsPerPageOptions:[10,25,50,100,200],tabs:[{label:"Demand Accounts",dataId:"accounts",tableHeaders:o,tableCells:[{key:"name"},{key:"advertisers"},{key:"demands"},{key:"fields.REQUESTS",align:"right",withPercent:!0},{key:"fields.IMPRESSIONS",align:"right",withPercent:!0},{key:"fields.REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.REQUESTS_FILL",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_RPM",align:"right",prefix:"$",withPercent:!0}],graphQuery:` 229 query DemandAccountsDataQuery( 230 $fields: [String], 231 $sort: MarketplaceSortInputType, 232 $from: Int, 233 $size: Int, 234 $filters: MarketplaceFiltersInputType, 235 $allPages: Boolean 236 ) { 237 demandAccountsData( 238 fields: $fields, 239 sort: $sort, 240 from: $from, 241 size: $size, 242 filters: $filters, 243 allPages: $allPages 244 ) { 245 totalCount 246 data { 247 id 248 name 249 advertisers 250 demands 251 fields { 252 REQUESTS { 253 value 254 change 255 } 256 IMPRESSIONS { 257 value 258 change 259 } 260 REQUESTS_FILL { 261 value 262 change 263 } 264 REVENUE { 265 value 266 change 267 } 268 GROSS_REVENUE { 269 value 270 change 271 } 272 RPM { 273 value 274 change 275 } 276 GROSS_RPM { 277 value 278 change 279 } 280 } 281 } 282 } 283 } 284`,fields:["REQUESTS","IMPRESSIONS","REQUESTS_FILL","REVENUE","GROSS_REVENUE","RPM","GROSS_RPM"],createRowLink:({pathname:e,id:t,name:a})=>`${e}/${t}?accountName=${encodeURIComponent(a)}`},{label:"Advertisers",dataId:"advertisers",tableHeaders:r.filter(e=>!["REQ_GROSS_ERPM"].includes(e.id)),tableCells:n.filter(e=>
284!["fields.REQ_GROSS_ERPM"].includes(e.key)),graphQuery:c,fields:s,createRowLink:({pathname:e,id:t,name:a,daccountId:i})=>`${e}/${i}/advertisers/${t}?advertiserName=${encodeURIComponent(a)}`,tabPlusButton:{label:"Advertiser",onClick:e=>{e.push({pathname:`${e.pathname}/new/advertisers/new`})}}},{label:"Demand Tags",dataId:"tags",tableHeaders:d.filter(e=>!["REQ_GROSS_ERPM"].includes(e.id)),tableCells:u.filter(e=>!["fields.REQ_GROSS_ERPM"].includes(e.key)),graphQuery:E,fields:A,createRowLink:({pathname:e,id:t,name:a,daccountId:i,advertiserId:l})=>`${e}/${i}/advertisers/${l}/tags/${t}?tagName=${encodeURIComponent(a)}`}],selfServeTabs:[{label:"Advertisers",dataId:"advertisers",tableHeaders:r.filter(e=>!["REVENUE","RPM","PROFIT","REQ_ERPM","REQ_EPPM","REQ_NET_ERPM"].includes(e.id)).map(e=>"GROSS_REVENUE"===e.id?{...e,label:"Pub Revenue"}:"GROSS_RPM"===e.id?{...e,label:"Ad RPM"}:"REQ_GROSS_ERPM"===e.id?{...e,label:"Req eRPM"}:e),tableCells:n.filter(e=>!["fields.REVENUE","fields.RPM","fields.PROFIT","fields.REQ_ERPM","fields.REQ_EPPM","fields.REQ_NET_ERPM"].includes(e.key)),graphQuery:c,fields:s,createRowLink:({pathname:e,id:t,name:a,daccountId:i})=>`${e}/${i}/advertisers/${t}?advertiserName=${encodeURIComponent(a)}`,tabPlusButton:{label:"Advertiser",onClick:e=>{e.push({pathname:`${e.pathname}/new/advertisers/new`})}}},{label:"Demand Tags",dataId:"tags",tableHeaders:d.filter(e=>!["REVENUE","RPM","PROFIT","REQ_ERPM","REQ_EPPM","REQ_NET_ERPM"].includes(e.id)).map(e=>"GROSS_REVENUE"===e.id?{...e,label:"Pub Revenue"}:"GROSS_RPM"===e.id?{...e,label:"Ad RPM"}:"REQ_GROSS_ERPM"===e.id?{...e,label:"Req eRPM"}:e),tableCells:u.filter(e=>!["fields.REVENUE","fields.RPM","fields.PROFIT","fields.REQ_ERPM","fields.REQ_EPPM","fields.REQ_NET_ERPM"].includes(e.key)),graphQuery:E,fields:A,createRowLink:({pathname:e,id:t,name:a,daccountId:i,advertiserId:l})=>`${e}/${i}/advertisers/${l}/tags/${t}?tagName=${encodeURIComponent(a)}`}]};e.s(["DEMAND_ACCOUNTS_PAGE_CONFIG",0,S,"DEMAND_ACCOUNTS_PAGE_TYPE",0,i],644079);let p="/supply",T="SUPPLY_ACCOUNTS_PAGE",_="Supply Accounts",m=[{id:"NAME",label:"Name",isSortable:!0,defaultSortOrder:t.SORT_ASC},{id:"SITES",label:"Sites",isSortable:!0},{id:"PLAYER_LOADS",label:"Player Loads",isSortable:!0,align:"right",withGap:!0},{id:"SUPPLY_REQUESTS",label:"Requests",isSortable:!0,align:"right",withGap:!0},{id:"IMPRESSIONS",label:"Impressions",isSortable:!0,align:"right",withGap:!0},{id:"REVENUE",label:"Revenue",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_REVENUE",label:"Gross Revenue",isSortable:!0,align:"right",withGap:!0},{id:"PUB_NET_REVENUE",label:"Pub NET Revenue",isSortable:!0,align:"right",withGap:!0},{id:"SUPPLY_REQUESTS_FILL",label:"Req Fill",isSortable:!0,align:"right",withGap:!0},{id:"OVERALL_FILL",label:"Overall Fill",isSortable:!0,align:"right",withGap:!0},{id:"PUB_PLAYER_ERPM",label:"Player eRPM",isSortable:!0,align:"right",withGap:!0},{id:"PLAYER_ERPM",label:"Player eRPM",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_PLAYER_ERPM",label:"Gross Player eRPM",isSortable:!0,align:"right",withGap:!0},{id:"PUB_NET_PLAYER_ERPM",label:"Pub NET Player eRPM",isSortable:!0,align:"right",withGap:!0}],I=[{key:"name"},{key:"sites"},{key:"fields.PLAYER_LOADS",align:"right",withPercent:!0},{key:"fields.SUPPLY_REQUESTS",align:"right",withPercent:!0},{key:"fields.IMPRESSIONS",align:"right",withPercent:!0},{key:"fields.REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.PUB_NET_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.SUPPLY_REQUESTS_FILL",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.OVERALL_FILL",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.PUB_PLAYER_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.PLAYER_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_PLAYER_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.PUB_NET_PLAYER_ERPM",align:"right",prefix:"$",withPercent:!0}],g=["PLAYER_LOADS","SUPPLY_REQUESTS","IMPRESSIONS","SUPPLY_REQUESTS_FILL","OVERALL_FILL","REVENUE","GROSS_REVENUE","PUB_PLAYER_ERPM","PLAYER_ERPM","GROSS_PLAYER_ERPM","PUB_NET_REVENUE","PUB_NET_PLAYER_ERPM"],y=` 285 query SupplyAccountsDataQuery( 286 $fields: [String], 287 $sort: MarketplaceSortInputType, 288 $from: Int, 289 $size: Int, 290 $filters: MarketplaceFiltersInputType, 291 $allPages: Boolean 292 ) { 293 supplyAccountsData( 294 fields: $fields, 295 sort: $sort, 296 from: $from, 297 size: $size, 298 filters: $filters, 299 allPages: $allPages 300 ) { 301 totalCount 302 data { 303 id 304 name 305 sites 306 fields { 307 PLAYER_LOADS { 308 value 309 change 310 } 311 SUPPLY_REQUESTS { 312 value 313 change 314 } 315 IMPRESSIONS { 316 value 317 change 318 } 319 SUPPLY_REQUESTS_FILL { 320 value 321 change 322 } 323 OVERALL_FILL { 324 value 325 change 326 } 327 REVENUE { 328 value 329 change 330 } 331 GROSS_REVENUE { 332 value 333 change 334 } 335 PUB_PLAYER_ERPM { 336 value 337 change 338 } 339 PLAYER_ERPM { 340 value 341 change 342 } 343 GROSS_PLAYER_ERPM { 344 value 345 change 346 } 347 PUB_NET_REVENUE { 348 value 349 change 350 } 351 PUB_NET_PLAYER_ERPM { 352 value 353 change 354 } 355 } 356 } 357 } 358 } 359`,O=[{id:"NAME",label:"Name",isSortable:!0},{id:"SUPPLIES",label:"Supply Tags",isSortable:!0},{id:"PLAYER_LOADS",label:"Player Loads",isSortable:!0,align:"right",withGap:!0},{id:"SUPPLY_REQUESTS",label:"Requests",isSortable:!0,align:"right",withGap:!0},{id:"IMPRESSIONS",label:"Impressions",isSortable:!0,align:"right",withGap:!0},{id:"REVENUE",label:"Revenue",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_REVENUE",label:"Gross Revenue",isSortable:!0,align:"right",withGap:!0},{id:"PUB_REVENUE",label:"Pub Revenue",isSortable:!0,align:"right",withGap:!0},{id:"PUB_NET_REVENUE",label:"Pub NET Revenue",isSortable:!0,align:"right",withGap:!0},{id:"RPM",label:"RPM",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_RPM",label:"Gross RPM",isSortable:!0,align:"right",withGap:!0},{id:"PUB_AD_RPM",label:"Ad RPM",isSortable:!0,align:"right",withGap:!0},{id:"SUPPLY_REQUESTS_FILL",label:"Req Fill",isSortable:!0,align:"right",withGap:!0},{id:"OVERALL_FILL",label:"Overall Fill",isSortable:!0,align:"right",withGap:!0},{id:"PUB_PLAYER_ERPM",label:"Player eRPM",isSortable:!0,align:"right",withGap:!0},{id:"PLAYER_ERPM",label:"Player eRPM",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_PLAYER_ERPM",label:"Gross Player eRPM",isSortable:!0,align:"right",withGap:!0},{id:"PUB_NET_PLAYER_ERPM",label:"Pub NET Player eRPM",isSortable:!0,align:"right",withGap:!0},{id:"CTR",label:"CTR",align:"right",withGap:!0,isSortable:!0},{id:"COMPLETION_RATE",label:"Completion Rate",align:"right",withGap:!0,isSortable:!0}],b=[{key:"name"},{key:"supplies"},{key:"fields.PLAYER_LOADS",align:"right",withPercent:!0},{key:"fields.SUPPLY_REQUESTS",align:"right",withPercent:!0},{key:"fields.IMPRESSIONS",align:"right",withPercent:!0},{key:"fields.REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.PUB_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.PUB_NET_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.PUB_AD_RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.SUPPLY_REQUESTS_FILL",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.OVERALL_FILL",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.PUB_PLAYER_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.PLAYER_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_PLAYER_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.PUB_NET_PLAYER_ERPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.CTR",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.COMPLETION_RATE",align:"right",postfix:"%",needMultiply:!0,withPercent:!0}],P=["PLAYER_LOADS","SUPPLY_REQUESTS","IMPRESSIONS","SUPPLY_REQUESTS_FILL","OVERALL_FILL","REVENUE","PUB_REVENUE","GROSS_REVENUE","PUB_PLAYER_ERPM","PLAYER_ERPM","RPM","GROSS_RPM","PUB_AD_RPM","GROSS_PLAYER_ERPM","COMPLETION_RATE","CTR","PUB_NET_REVENUE","PUB_NET_PLAYER_ERPM"],v=` 360 query SiteDataQuery( 361 $fields: [String], 362 $sort: MarketplaceSortInputType, 363 $from: Int, 364 $size: Int, 365 $filters: MarketplaceFiltersInputType, 366 $allPages: Boolean 367 ) { 368 siteData( 369 fields: $fields, 370 sort: $sort, 371 from: $from, 372 size: $size, 373 filters: $filters, 374 allPages: $allPages 375 ) { 376 totalCount 377 data { 378 id 379 name 380 supplies 381 accountId 382 fields { 383 PLAYER_LOADS { 384 value 385 change 386 } 387 SUPPLY_REQUESTS { 388 value 389 change 390 } 391 IMPRESSIONS { 392 value 393 change 394 } 395 SUPPLY_REQUESTS_FILL { 396 value 397 change 398 } 399 OVERALL_FILL { 400 value 401 change 402 } 403 REVENUE { 404 value 405 change 406 } 407 PUB_REVENUE { 408 value 409 change 410 } 411 GROSS_REVENUE { 412 value 413 change 414 } 415 PUB_PLAYER_ERPM { 416 value 417 change 418 } 419 PLAYER_ERPM { 420 value 421 change 422 } 423 GROSS_PLAYER_ERPM { 424 value 425 change 426 } 427 RPM { 428 value 429 change 430 } 431 GROSS_RPM { 432 value 433 change 434 } 435 PUB_AD_RPM { 436 value 437 change 438 } 439 COMPLETION_RATE { 440 value 441 change 442 } 443 CTR { 444 value 445 change 446 } 447 PUB_NET_REVENUE { 448 value 449 change 450 } 451 PUB_NET_PLAYER_ERPM { 452 value 453 change 454 } 455 } 456 } 457 } 458 } 459`,R=[{id:"NAME",label:"Name",isSortable:!0},{id:"DEMANDS",label:"Demand Tags",isSortable:!0},{id:"SUPPLY_REQUESTS",label:"Requests",isSortable:!0,align:"right",withGap:!0},{id:"IMPRESSIONS",label:"Impressions",isSortable:!0,align:"right",withGap:!0},{id:"REVENUE",label:"Revenue",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_REVENUE",label:"Gross Revenue",isSortable:!0,align:"right",withGap:!0},{id:"PUB_REVENUE",label:"Pub Revenue",isSortable:!0,align:"right",withGap:!0},{id:"PUB_NET_REVENUE",label:"Pub NET Revenue",isSortable:!0,align:"right",withGap:!0},{id:"RPM",label:"RPM",isSortable:!0,align:"right",withGap:!0},{id:"GROSS_RPM",label:"Gross RPM",isSortable:!0,align:"right",withGap:!0},{id:"PUB_AD_RPM",label:"Ad RPM",isSortable:!0,align:"right",withGap:!0},{id:"SUPPLY_REQUESTS_FILL",label:"Req Fill",isSortable:!0,align:"right",withGap:!0},{id:"SUPPLY_REQUESTS_VIEWABILITY",label:"Requests Viewability",isSortable:!0,align:"right",withGap:!0},{id:"IMPRESSIONS_VIEWABILITY",label:"Impressions Viewability",isSortable:!0,align:"right",withGap:!0},{id:"CTR",label:"CTR",align:"right",withGap:!0,isSortable:!0},{id:"COMPLETION_RATE",label:"Completion Rate",align:"right",withGap:!0,isSortable:!0},{id:"CREATED",label:"Creation Date",isSortable:!0}],L=[{key:"name"},{key:"demands"},{key:"fields.SUPPLY_REQUESTS",align:"right",withPercent:!0},{key:"fields.IMPRESSIONS",align:"right",withPercent:!0},{key:"fields.REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.PUB_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.PUB_NET_REVENUE",align:"right",prefix:"$",withPercent:!0},{key:"fields.RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.GROSS_RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.PUB_AD_RPM",align:"right",prefix:"$",withPercent:!0},{key:"fields.SUPPLY_REQUESTS_FILL",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.SUPPLY_REQUESTS_VIEWABILITY",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.IMPRESSIONS_VIEWABILITY",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.CTR",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"fields.COMPLETION_RATE",align:"right",postfix:"%",needMultiply:!0,withPercent:!0},{key:"created"}],h=["SUPPLY_REQUESTS","IMPRESSIONS","SUPPLY_REQUESTS_FILL","REVENUE","PUB_REVENUE","GROSS_REVENUE","RPM","GROSS_RPM","PUB_AD_RPM","SUPPLY_REQUESTS_VIEWABILITY","IMPRESSIONS_VIEWABILITY","COMPLETION_RATE","CTR","PUB_NET_REVENUE"],D=` 460query SupplyTagDataQuery( 461 $fields: [String], 462 $sort: MarketplaceSortInputType, 463 $from: Int, 464 $size: Int, 465 $filters: MarketplaceFiltersInputType, 466 $allPages: Boolean 467) { 468 supplyTagData( 469 fields: $fields, 470 sort: $sort, 471 from: $from, 472 size: $size, 473 filters: $filters, 474 allPages: $allPages 475 ) { 476 totalCount 477 data { 478 id 479 name 480 demands 481 accountId 482 siteId 483 created 484 fields { 485 SUPPLY_REQUESTS { 486 value 487 change 488 } 489 IMPRESSIONS { 490 value 491 change 492 } 493 SUPPLY_REQUESTS_FILL { 494 value 495 change 496 } 497 REVENUE { 498 value 499 change 500 } 501 PUB_REVENUE { 502 value 503 change 504 } 505 GROSS_REVENUE { 506 value 507 change 508 } 509 RPM { 510 value 511 change 512 } 513 GROSS_RPM { 514 value 515 change 516 } 517 PUB_AD_RPM { 518 value 519 change 520 } 521 SUPPLY_REQUESTS_VIEWABILITY { 522 value 523 change 524 } 525 IMPRESSIONS_VIEWABILITY { 526 value 527 change 528 } 529 COMPLETION_RATE { 530 value 531 change 532 } 533 CTR { 534 value 535 change 536 } 537 PUB_NET_REVENUE { 538 value 539 change 540 } 541 } 542 } 543 } 544} 545`,f={type:T,pathname:p,header:_,rowsPerPageOptions:[10,25,50,100,200],tabs:[{label:"Supply Accounts",dataId:"accounts",tableHeaders:m.filter(e=>!["PUB_PLAYER_ERPM","PUB_AD_RPM"].includes(e.id)),tableCells:I.filter(e=>
545!["fields.PUB_PLAYER_ERPM","fields.PUB_AD_RPM"].includes(e.key)),graphQuery:y,fields:g,createRowLink:({pathname:e,id:t,name:a})=>`${e}/${t}?accountName=${encodeURIComponent(a)}`},{label:"Sites",dataId:"sites",tableHeaders:O.filter(e=>!["PUB_PLAYER_ERPM","PUB_REVENUE","PUB_AD_RPM"].includes(e.id)),tableCells:b.filter(e=>!["fields.PUB_PLAYER_ERPM","fields.PUB_REVENUE","fields.PUB_AD_RPM"].includes(e.key)),graphQuery:v,fields:P,createRowLink:({pathname:e,id:t,name:a,accountId:i})=>`${e}/${i}/sites/${t}?siteName=${encodeURIComponent(a)}`},{label:"Supply Tags",dataId:"tags",tableHeaders:R.filter(e=>!["PUB_PLAYER_ERPM","PUB_REVENUE","PUB_AD_RPM"].includes(e.id)),tableCells:L.filter(e=>!["fields.PUB_PLAYER_ERPM","fields.PUB_REVENUE","fields.PUB_AD_RPM"].includes(e.key)),graphQuery:D,fields:h,createRowLink:({pathname:e,id:t,name:a,accountId:i,siteId:l})=>`${e}/${i}/sites/${l}/tags/${t}?tagName=${encodeURIComponent(a)}`}],selfServeTabs:[{label:"Sites",dataId:"sites",tableHeaders:O.filter(e=>!["PLAYER_ERPM","REVENUE","GROSS_REVENUE","GROSS_RPM","PUB_AD_RPM","GROSS_PLAYER_ERPM","CTR","COMPLETION_RATE"].includes(e.id)),tableCells:b.filter(e=>!["fields.PLAYER_ERPM","fields.REVENUE","fields.GROSS_REVENUE","fields.GROSS_RPM","fields.PUB_AD_RPM","fields.GROSS_PLAYER_ERPM","fields.CTR","fields.COMPLETION_RATE"].includes(e.key)),graphQuery:v,fields:P,createRowLink:({pathname:e,id:t,name:a,accountId:i})=>`${e}/${i}/sites/${t}?siteName=${encodeURIComponent(a)}`,defaultConfig:{sortBy:"PLAYER_LOADS"}},{label:"Supply Tags",dataId:"tags",tableHeaders:R.filter(e=>!["PLAYER_ERPM","REVENUE","GROSS_REVENUE","GROSS_RPM","PUB_AD_RPM","CTR","COMPLETION_RATE","CREATED"].includes(e.id)),tableCells:L.filter(e=>!["fields.PLAYER_ERPM","fields.REVENUE","fields.GROSS_REVENUE","fields.GROSS_RPM","fields.PUB_AD_RPM","fields.CTR","fields.COMPLETION_RATE","created"].includes(e.key)),graphQuery:D,fields:h,createRowLink:({pathname:e,id:t,name:a,accountId:i,siteId:l})=>`${e}/${i}/sites/${l}/tags/${t}?tagName=${encodeURIComponent(a)}`}],defaultConfig:{sortBy:"SUPPLY_REQUESTS"}};e.s(["SUPPLY_ACCOUNTS_PAGE_CONFIG",0,f,"SUPPLY_ACCOUNTS_PAGE_TYPE",0,T],156375);let N="DISCLAIMER_MODAL";e.s(["DISCLAIMER_MODAL",0,N],719794)},203159,e=>{"use strict";var t=e.i(388302);let a={email:"",firstName:"",lastName:"",password:"",token:""},i=(0,t.createSlice)({name:"@@auth/GUEST_ACTIVATION",initialState:a,reducers:{setFieldAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},verifyTokenAction:e=>e,registerUserAction:e=>e}}),{setFieldAction:l,verifyTokenAction:o,registerUserAction:r}=i.actions;e.s(["registerUserAction",0,r,"setFieldAction",0,l,"slice",0,i,"verifyTokenAction",0,o])},697774,e=>{"use strict";let t="OTP_ALREADY_USED",a="OTP_HAS_EXPIRED",i="TWO_FA_IS_REQUIRED",l="CANT_USE_PASSWORDLESS_AUTH",o="TOO_MANY_ATTEMPTS",r="USER_NOT_VALID",n="UI_LINK_WAS_EXPIRED";e.s(["ERROR_CANT_USE_PASSWORDLESS_AUTH",0,l,"ERROR_OTP_ALREADY_USED",0,t,"ERROR_OTP_HAS_EXPIRED",0,a,"ERROR_TOO_MANY_ATTEMPTS",0,o,"ERROR_TWO_FA_IS_REQUIRED",0,i,"ERROR_UI_LINK_WAS_EXPIRED",0,n,"ERROR_USER_NOT_VALID",0,r])},879466,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s}});let i=e.r(741705),l=e.r(391398),o=i._(e.r(191788)),r=e.r(889129);async function n({Component:e,ctx:t}){return{pageProps:await (0,r.loadGetInitialProps)(e,t)}}class s extends o.default.Component{static{this.origGetInitialProps=n}static{this.getInitialProps=n}render(){let{Component:e,pageProps:t}=this.props;return(0,l.jsx)(e,{...t})}}("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),t.exports=a.default)},647409,678679,e=>{"use strict";var t=e.i(388302);let a={overallFailure:!1,popup:!1,message:"",updatedAt:null,updatedBy:null,isLoading:!0},i=(0,t.createSlice)({name:"@@NOTIFICATIONS",initialState:a,reducers:{setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getItemAction:e=>e,saveItemAction:e=>e}}),{setAction:l,getItemAction:o,saveItemAction:r}=i.actions;e.s(["getItemAction",0,o,"saveItemAction",0,r,"setAction",0,l,"slice",0,i],678679);let n=i.name,s=e=>e[n].overallFailure,c=e=>e[n].popup,d=e=>e[n].message,u=e=>e[n].updatedAt,A=e=>e[n].updatedBy,E=e=>e[n].isLoading;e.s(["isLoadingSelector",0,E,"messageSelector",0,d,"overallFailureSelector",0,s,"popupSelector",0,c,"updatedAtSelector",0,u,"updatedBySelector",0,A],647409)},580052,635344,e=>{"use strict";var t=e.i(388302);let a="commonTable",i=1e4;e.s(["ROWS_PER_PAGE_DEFAULT",0,i,"TABLE_REDUX_FIELD_NAME",0,a],635344);var l=e.i(799460);let o=(0,e.i(93505).default)(a,{page:1,pageSize:i,sortBy:"",sortOrder:l.SORT_DESC}),r={...o.state},n=(0,t.createSlice)({name:"@@PERMISSIONS/LIST",initialState:r,reducers:{getDataAction:o.actions.getTableDataAction,setTableAction:o.actions.setTableAction}}),{getDataAction:s,setTableAction:c}=n.actions;e.s(["getDataAction",0,s,"setTableAction",0,c,"slice",0,n],580052)},860101,68916,266670,e=>{"use strict";let t=100,a=15,i="updatedAt",l="commonTable";e.s(["ROWS_PER_PAGE_DEFAULT",0,a,"SEARCH_TEXT_MAX_LENGTH",0,t,"TABLE_REDUX_FIELD_NAME",0,l,"TABLE_SORT_BY",0,i],68916);var o=e.i(388302),r=e.i(799460);let n=(0,e.i(93505).default)(l,{page:1,pageSize:a,sortBy:i,sortOrder:r.SORT_DESC}),s={...n.state,search:""},c=(0,o.createSlice)({name:"@@ADVERTISERS/LIST",initialState:s,reducers:{getDataAction:n.actions.getTableDataAction,setTableAction:n.actions.setTableAction,setAction:(e,t)=>
545{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})}}}),{getDataAction:d,setTableAction:u,setAction:A}=c.actions;e.s(["getDataAction",0,d,"setAction",0,A,"setTableAction",0,u,"slice",0,c],266670);var E=e.i(195722);let S=c.name,{dataSelector:p,pageSelector:T,pageSizeSelector:_,totalCountSelector:m,sortBySelector:I,sortOrderSelector:g,selectedSelector:y,isLoadingSelector:O}=(0,E.default)(l,S),b=e=>e[S].search;e.s(["dataSelector",0,p,"isLoadingSelector",0,O,"pageSelector",0,T,"pageSizeSelector",0,_,"searchSelector",0,b,"sortBySelector",0,I,"sortOrderSelector",0,g,"totalCountSelector",0,m],860101)},567087,888389,646865,e=>{"use strict";let t=100,a=15,i="updatedAt",l="commonTable";e.s(["ROWS_PER_PAGE_DEFAULT",0,a,"SEARCH_TEXT_MAX_LENGTH",0,t,"TABLE_REDUX_FIELD_NAME",0,l,"TABLE_SORT_BY",0,i],888389);var o=e.i(388302),r=e.i(799460);let n=(0,e.i(93505).default)(l,{page:1,pageSize:a,sortBy:i,sortOrder:r.SORT_DESC}),s={...n.state,search:""},c=(0,o.createSlice)({name:"@@ONLINE_HELP/LIST",initialState:s,reducers:{getDataAction:n.actions.getTableDataAction,setTableAction:n.actions.setTableAction,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},deleteItemAction:(e,t)=>{e[l].data=e[l].data.filter(({id:e})=>e!==t.payload)}}}),{getDataAction:d,setTableAction:u,setAction:A,deleteItemAction:E}=c.actions;e.s(["deleteItemAction",0,E,"getDataAction",0,d,"setAction",0,A,"setTableAction",0,u,"slice",0,c],646865);var S=e.i(195722);let p=c.name,{dataSelector:T,pageSelector:_,pageSizeSelector:m,totalCountSelector:I,sortBySelector:g,sortOrderSelector:y,selectedSelector:O,isLoadingSelector:b}=(0,S.default)(l,p),P=e=>e[p].search;e.s(["dataSelector",0,T,"isLoadingSelector",0,b,"pageSelector",0,_,"pageSizeSelector",0,m,"searchSelector",0,P,"selectedSelector",0,O,"sortBySelector",0,g,"sortOrderSelector",0,y,"totalCountSelector",0,I],567087)},522175,e=>{"use strict";function t(e){let t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{return!1}return t.status>=200&&t.status<=299}let a=(e,i="download")=>{let l=window.URL||window.webkitURL,o=document.createElement("a");if(o.download=i,o.rel="noopener","string"==typeof e)if(o.href=e,o.origin!==window.location.origin&&t(o.href)){let t=new XMLHttpRequest;t.open("GET",e),t.responseType="blob",t.onload=()=>a(t.response,i),t.onerror=()=>console.error("Could not download file"),t.send()}else o.dispatchEvent(new MouseEvent("click"));else o.href=l.createObjectURL(e),setTimeout(()=>l.revokeObjectURL(o.href),4e4),setTimeout(()=>o.dispatchEvent(new MouseEvent("click")),0)};async function i(t,a,i){let l=t.split("/").pop().split("."),o=l.pop(),r=l.join("."),n=`${a||r}.${o}`;try{let a=(await e.A(170585)).default;a.mitm="/streamsaver/mitm.html";let l=await fetch(t,{cache:"no-store"});if(!l.ok||!l.body)throw Error("Fetch failed or no body");let o=l.headers.get("content-length"),r=o?Number(o):void 0,s=a.createWriteStream(n,r?{size:r}:void 0);if("function"!=typeof s.getWriter&&"function"==typeof l.body.pipeTo){i?.onLoad?.(!0),await l.body.pipeTo(s),i?.onLoad?.(!1),i?.onSuccess?.();return}let c=s.getWriter(),d=l.body.getReader(),u=0;for(i?.onLoad?.(!0);;){let{done:e,value:t}=await d.read();if(e)break;u+=t.byteLength,i?.onProcess&&i?.onProcess(r?Math.round(u/r*100):-1),await c.write(t)}await c.close(),i?.onLoad?.(!1),i?.onSuccess?.()}catch{i?.onError?.()}}e.s(["downloadFileByUrl",0,i,"saveBlobAsFile",0,a])},487595,595356,457546,e=>{"use strict";let t=5e3,a="updatedAt",i=[{id:"id",label:"#",width:"30"},{id:"updatedAt",label:"Uploaded",width:"200"},{id:"versionId",label:"Version ID"},{id:"notes",label:"Notes"}],l="commonTable";e.s(["ROWS_PER_PAGE_DEFAULT",0,t,"TABLE_COLUMNS",0,i,"TABLE_REDUX_FIELD_NAME",0,l,"TABLE_SORT_BY",0,a],595356);var o=e.i(388302),r=e.i(799460);let n=(0,e.i(93505).default)(l,{pageSize:t,sortBy:a,sortOrder:r.SORT_DESC}),s={...n.state},c=(0,o.createSlice)({name:"@@videoTabVersions",initialState:s,reducers:{getTableDataAction:n.actions.getTableDataAction,setTableAction:n.actions.setTableAction}}),{getTableDataAction:d,setTableAction:u}=c.actions;
545e.s(["getTableDataAction",0,d,"setTableAction",0,u,"slice",0,c],457546);let{dataSelector:A,pageSelector:E,pageSizeSelector:S,totalCountSelector:p,sortBySelector:T,sortOrderSelector:_,isLoadingSelector:m}=(0,e.i(195722).default)(l,c.name);e.s(["dataSelector",0,A,"pageSelector",0,E,"pageSizeSelector",0,S,"sortBySelector",0,T,"sortOrderSelector",0,_,"totalCountSelector",0,p],487595)},297383,707368,e=>{"use strict";var t=e.i(412892),a=e.i(388302),i=t,l=e.i(799460);let o=(0,e.i(93505).default)(i.TABLE_REDUX_FIELD_NAME,{page:1,pageSize:i.ROWS_PER_PAGE_DEFAULT,sortBy:i.TABLE_SORT_BY,sortOrder:l.SORT_DESC}),r={...o.state,search:"",status:i.STATUSES_ACTIVE,hub:null,hubOptions:null},n=(0,a.createSlice)({name:"@@XRAY_LINEITEMS/LIST",initialState:r,reducers:{getDataAction:o.actions.getTableDataAction,setTableAction:o.actions.setTableAction,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getHubOptionsAction:e=>e,archiveAction:e=>e}}),{getDataAction:s,setTableAction:c,setAction:d,getHubOptionsAction:u,archiveAction:A}=n.actions;e.s(["archiveAction",0,A,"getDataAction",0,s,"getHubOptionsAction",0,u,"setAction",0,d,"setTableAction",0,c,"slice",0,n],707368);var E=e.i(195722);let S=n.name,{dataSelector:p,pageSelector:T,pageSizeSelector:_,totalCountSelector:m,sortBySelector:I,sortOrderSelector:g,selectedSelector:y,isLoadingSelector:O}=(0,E.default)(t.TABLE_REDUX_FIELD_NAME,S),b=e=>e[S].status,P=e=>e[S].search,v=e=>e[S].hub,R=e=>e[S].hubOptions;e.s(["dataSelector",0,p,"hubOptionsSelector",0,R,"hubSelector",0,v,"isLoadingSelector",0,O,"pageSelector",0,T,"pageSizeSelector",0,_,"searchSelector",0,P,"sortBySelector",0,I,"sortOrderSelector",0,g,"statusSelector",0,b,"totalCountSelector",0,m],297383)},687141,569639,e=>{"use strict";var t=e.i(927153),a=e.i(388302),i=t,l=e.i(799460);let o=(0,e.i(93505).default)(i.TABLE_REDUX_FIELD_NAME,{page:1,pageSize:i.ROWS_PER_PAGE_DEFAULT,sortBy:i.TABLE_SORT_BY,sortOrder:l.SORT_ASC}),r={...o.state,search:"",type:i.TYPE_ALL,account:null,accountOptions:null},n=(0,a.createSlice)({name:"@@ROLES_PERMISSIONS/LIST",initialState:r,reducers:{getDataAction:o.actions.getTableDataAction,setTableAction:o.actions.setTableAction,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getAccountOptionsAction:e=>e}}),{getDataAction:s,setTableAction:c,setAction:d,getAccountOptionsAction:u,archiveAction:A}=n.actions;e.s(["getAccountOptionsAction",0,u,"getDataAction",0,s,"setAction",0,d,"setTableAction",0,c,"slice",0,n],569639);var E=e.i(195722);let S=n.name,{dataSelector:p,pageSelector:T,pageSizeSelector:_,totalCountSelector:m,sortBySelector:I,sortOrderSelector:g,selectedSelector:y,isLoadingSelector:O}=(0,E.default)(t.TABLE_REDUX_FIELD_NAME,S),b=e=>e[S].type,P=e=>e[S].search,v=e=>e[S].account,R=e=>e[S].accountOptions;e.s(["accountOptionsSelector",0,R,"accountSelector",0,v,"dataSelector",0,p,"isLoadingSelector",0,O,"pageSelector",0,T,"pageSizeSelector",0,_,"searchSelector",0,P,"sortBySelector",0,I,"sortOrderSelector",0,g,"totalCountSelector",0,m,"typeSelector",0,b],687141)},246920,e=>{"use strict";let t=100,a=null,i=1,l=[{label:"Active",value:1},{label:"Archived",value:-1}],o=15,r="updatedAt",n="commonTable";e.s(["ROWS_PER_PAGE_DEFAULT",0,o,"SEARCH_TEXT_MAX_LENGTH",0,t,"STATUSES_ACTIVE",0,i,"STATUSES_ALL",0,a,"STATUSES_OPTIONS",0,l,"TABLE_REDUX_FIELD_NAME",0,n,"TABLE_SORT_BY",0,r])},118618,169944,e=>{"use strict";var t=e.i(246920),a=e.i(388302),i=t,l=e.i(799460);let o=(0,e.i(93505).default)(i.TABLE_REDUX_FIELD_NAME,{page:1,pageSize:i.ROWS_PER_PAGE_DEFAULT,sortBy:i.TABLE_SORT_BY,sortOrder:l.SORT_DESC}),r={...o.state,search:"",status:i.STATUSES_ACTIVE,hub:null,hubOptions:null},n=(0,a.createSlice)({name:"@@XRAY_CREATIVES/LIST",initialState:r,reducers:{getDataAction:o.actions.getTableDataAction,setTableAction:o.actions.setTableAction,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getHubOptionsAction:e=>e,archiveAction:e=>e}}),{getDataAction:s,setTableAction:c,setAction:d,getHubOptionsAction:u,archiveAction:A}=n.actions;e.s(["archiveAction",0,A,"getDataAction",0,s,"getHubOptionsAction",0,u,"
545setAction",0,d,"setTableAction",0,c,"slice",0,n],169944);var E=e.i(195722);let S=n.name,{dataSelector:p,pageSelector:T,pageSizeSelector:_,totalCountSelector:m,sortBySelector:I,sortOrderSelector:g,selectedSelector:y,isLoadingSelector:O}=(0,E.default)(t.TABLE_REDUX_FIELD_NAME,S),b=e=>e[S].status,P=e=>e[S].search,v=e=>e[S].hub,R=e=>e[S].hubOptions;e.s(["dataSelector",0,p,"hubOptionsSelector",0,R,"hubSelector",0,v,"isLoadingSelector",0,O,"pageSelector",0,T,"pageSizeSelector",0,_,"searchSelector",0,P,"sortBySelector",0,I,"sortOrderSelector",0,g,"statusSelector",0,b,"totalCountSelector",0,m],118618)},641582,258090,158055,e=>{"use strict";let t="general",a="commonForm";e.s(["REDUX_FIELD_NAME",0,a,"TAB_GENERAL",0,t],258090);var i=e.i(388302);let l=[{fieldName:"name",tabId:t,validation:e=>e?e.length>45?"Field must be less than or equal to 45 Symbols":"":"Field cannot be empty"},{fieldName:"suffix",tabId:t,validation:e=>e?e.length>256?"Field must be less than or equal to 256 Symbols":"":"Field cannot be empty"},{fieldName:"helpPageUrl",tabId:t,validation:e=>e?e.length>256?"Field must be less than or equal to 256 Symbols":"":"Field cannot be empty"}],o=(0,e.i(192155).default)(a,l),{validateFields:r,validateSingleField:n}=o,s={id:null,name:"",suffix:"",helpPageUrl:"",activeTabId:t,...o.state},c=(0,i.createSlice)({name:"@@ONLINE_HELP/EDITOR",initialState:s,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...s}),getItemAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:o.actions.setScrollToFieldAction,setErrorByPropAction:o.actions.updateValidationSchemeAction,removeErrorByPropAction:o.actions.removeErrorByFieldNameAction}}),{setAction:d,setInitialAction:u,getItemAction:A,createItemAction:E,updateItemAction:S,setActiveTabIdAction:p,removeErrorByPropAction:T,setErrorByPropAction:_,setScrollToFieldNameAction:m}=c.actions;c.reducer,e.s(["createItemAction",0,E,"getItemAction",0,A,"removeErrorByPropAction",0,T,"setAction",0,d,"setActiveTabIdAction",0,p,"setErrorByPropAction",0,_,"setInitialAction",0,u,"setScrollToFieldNameAction",0,m,"slice",0,c,"updateItemAction",0,S,"validateFields",0,r],158055);var I=e.i(916094);let g=c.name,y=e=>e[g].name,O=e=>e[g].suffix,b=e=>e[g].helpPageUrl,P=e=>e[g].activeTabId,v=(0,I.default)(a,g),R=e=>v.getScrollField(e),L=e=>v.schemeSelector(e),h=e=>e[g];e.s(["activeTabIdSelector",0,P,"fullAccessToStoreFieldsForValidation",0,h,"helpPageUrlSelector",0,b,"nameSelector",0,y,"schemeSelector",0,L,"scrollFieldSelector",0,R,"suffixSelector",0,O],641582)},16682,477143,e=>{"use strict";let t=15,a="time",i="commonTable";var l=e.i(388302),o=e.i(799460),r=e.i(771937),n=e.i(93505),s=e.i(945503);let c=(0,n.default)(i,{page:1,pageSize:t,sortBy:a,sortOrder:o.SORT_DESC}),d={[i]:{...c.state[i]},totalCell:{customId:-1,cpm:0,time:0,domain:"",fillRate:0,impressions:0,netRevenue:0,requests:0},period:r.CALENDAR_FILTER_THIS_MONTH,customDateFrom:"",customDateTo:"",domains:[],domainsOptions:[]},u=(0,l.createSlice)({name:"@@ANALYTICS/DISPLAY_BIDDER",initialState:d,reducers:{getDataAction:c.actions.getTableDataAction,setAction:(e,t)=>{(0,s.applyPartial)(e,t.payload,[i])},setTableAction:(e,t)=>c.actions.setTableAction(e,t),getDomainsAction:(e,t)=>e,getTotalAction:e=>e,exportToCsvAction:e=>e}}),{getDataAction:A,getTotalAction:E,setTableAction:S,setAction:p,getDomainsAction:T,exportToCsvAction:_}=u.actions;e.s(["exportToCsvAction",0,_,"getDataAction",0,A,"getDomainsAction",0,T,"getTotalAction",0,E,"setAction",0,p,"setTableAction",0,S,"slice",0,u],477143);var m=e.i(195722);let I=u.name,g=(0,m.default)(i,I),y=e=>g.dataSelector(e),O=e=>g.pageSelector(e),b=e=>g.pageSizeSelector(e),P=e=>g.totalCountSelector(e),v=e=>g.sortBySelector(e),R=e=>g.sortOrderSelector(e),L=e=>g.isLoadingSelector(e),h=e=>e[I].period,D=e=>e[I].customDateFrom,f=e=>e[I].customDateTo,N=e=>e[I].domains,C=e=>e[I].domainsOptions,M=e=>e[I].totalCell;e.s(["customDateFromSelector",0,D,"customDateToSelector",0,f,"dataSelector",0,y,"domainsOptionsSelector",0,C,"domainsSelector",0,N,"isLoadingSelector",0,L,"pageSelector",0,O,"pageSizeSelector",0,b,"periodSelector",0,h,"sortBySelector",0,v,"sortOrderSelector",0,R,"totalCellSelector",0,M,"totalCountSelector",0,P],16682)},2186,17196,e=>{"use strict";var t=e.i(388302);let a={liveEvents:[],totalEvents:0,selectedEvents:[],players:null,publishers:[],embedCode:"",search:"",page:1,pageSize:15,sortBy:"updatedAt",sortOrder:"DESC",eventFilter:null,status:"active",publisherId:null,playerId:null},i=(0,t.createSlice)({name:"@@LIVE_EVENTS/LIVE_EVENTS_LIST",initialState:a,reducers:{archiveLiveEventsAction:e=>e,getPlayersAction:e=>e,getPublishersAction:e=>e,getEmbedCodeAction:e=>e,getLiveEventsAction:(e,t)=>{Object.keys(t.payload??{}
545).forEach(a=>{e[a]=t.payload[a]}),e.selectedEvents=[]},setLiveEventsAction:(e,t)=>{e.liveEvents=t.payload},setTotalEventsAction:(e,t)=>{e.totalEvents=t.payload},setSelectedEventsAction:(e,t)=>{e.selectedEvents=t.payload},setPlayersAction:(e,t)=>{e.players=t.payload},setPublishersAction:(e,t)=>{e.publishers=t.payload},setEmbedCodeAction:(e,t)=>{e.embedCode=t.payload}}}),{archiveLiveEventsAction:l,getEmbedCodeAction:o,getLiveEventsAction:r,getPlayersAction:n,getPublishersAction:s,setEmbedCodeAction:c,setLiveEventsAction:d,setPlayersAction:u,setPublishersAction:A,setSelectedEventsAction:E,setTotalEventsAction:S}=i.actions;i.reducer,e.s(["archiveLiveEventsAction",0,l,"getEmbedCodeAction",0,o,"getLiveEventsAction",0,r,"getPlayersAction",0,n,"getPublishersAction",0,s,"setEmbedCodeAction",0,c,"setLiveEventsAction",0,d,"setPlayersAction",0,u,"setPublishersAction",0,A,"setSelectedEventsAction",0,E,"setTotalEventsAction",0,S,"slice",0,i],17196);let p=i.name,T=e=>e[p].liveEvents,_=e=>e[p].totalEvents,m=e=>e[p].selectedEvents,I=e=>e[p].players,g=e=>e[p].publishers,y=e=>e[p].embedCode,O=e=>e[p].status,b=e=>({search:e[p].search,page:e[p].page,pageSize:e[p].pageSize,status:e[p].status,sortBy:e[p].sortBy,sortOrder:e[p].sortOrder,playerId:e[p].playerId,eventFilter:e[p].eventFilter,publisherId:e[p].publisherId});e.s(["embedCodeSelector",0,y,"liveEventsSelector",0,T,"playersSelector",0,I,"publishersSelector",0,g,"queryParamsSelector",0,b,"selectedEventsSelector",0,m,"statusSelector",0,O,"totalEventsSelector",0,_],2186)},385124,547871,e=>{"use strict";var t=e.i(388302);let a={video:null,metaData:[],tabIndex:0,videoStatusUpdateInProgress:!1,videoVerificationUpdateInProgress:!1,videoDeleteInProgress:!1,monitoringJobs:[],monitoringInProgress:!1,monitoring:!1,inlineEdit:{}},i=(0,t.createSlice)({name:"@@details/DETAILS",initialState:a,reducers:{loadAction:e=>e,taggerAction:e=>e,taglogTaggerAction:e=>e,videoStatusAction:e=>e,videoStatusUpdateProgressAction:(e,t)=>{e.videoStatusUpdateInProgress=t.payload},videoVerificationUpdateProgressAction:(e,t)=>{e.videoVerificationUpdateInProgress=t.payload},videoDeleteProgressAction:(e,t)=>{e.videoDeleteInProgress=t.payload},videoDeleteEventAction:e=>e,videoUpdatedAction:(e,t)=>{e.video=t.payload},monitoringAction:(e,t)=>{e.monitoring=t.payload},monitoringDataAction:(e,t)=>{e.monitoringJobs=t.payload},monitoringStartAction:e=>e,monitoringInProgressAction:(e,t)=>{e.monitoringInProgress=t.payload},videoJobAction:e=>e,videoVerificationAction:e=>e,videoDeleteAction:e=>e,tagsCloudClickAction:e=>e}}),{loadAction:l,taggerAction:o,taglogTaggerAction:r,videoStatusAction:n,videoStatusUpdateProgressAction:s,videoVerificationUpdateProgressAction:c,videoDeleteProgressAction:d,videoDeleteEventAction:u,videoUpdatedAction:A,monitoringAction:E,monitoringDataAction:S,monitoringStartAction:p,monitoringInProgressAction:T,videoJobAction:_,videoVerificationAction:m,videoDeleteAction:I,tagsCloudClickAction:g}=i.actions;e.s(["loadAction",0,l,"monitoringAction",0,E,"monitoringDataAction",0,S,"monitoringInProgressAction",0,T,"monitoringStartAction",0,p,"slice",0,i,"videoDeleteAction",0,I,"videoDeleteEventAction",0,u,"videoDeleteProgressAction",0,d,"videoJobAction",0,_,"videoStatusAction",0,n,"videoStatusUpdateProgressAction",0,s,"videoUpdatedAction",0,A,"videoVerificationAction",0,m,"videoVerificationUpdateProgressAction",0,c],547871);let y=i.name,O=e=>e[y].video,b=e=>e[y].monitoring,P=e=>e[y].monitoringJobs;e.s(["monitoringJobsSelector",0,P,"monitoringSelector",0,b,"videoSelector",0,O],385124)},618453,434221,513184,e=>{"use strict";let t="showPlayers",a=[{label:"Show Players",value:t}],i=100,l=null,o=[{label:"Active",value:1},{label:"Inactive",value:0}],r=15,n="updatedAt",s="commonTable";e.s(["ACTIONS_OPTIONS",0,a,"ACTIONS_SHOW_PLAYERS",0,t,"ROWS_PER_PAGE_DEFAULT",0,r,"SEARCH_TEXT_MAX_LENGTH",0,i,"STATUSES_ALL",0,l,"STATUSES_OPTIONS",0,o,"TABLE_REDUX_FIELD_NAME",0,s,"TABLE_SORT_BY",0,n],434221);var c=e.i(388302),d=e.i(799460);let u=(0,e.i(93505).default)(s,{pageSize:r,sortBy:n,sortOrder:d.SORT_DESC}),A={...u.state,search:"",account:null,accountOptions:null,status:l},E=(0,c.createSlice)({name:"@@HUBS/LIST",initialState:A,reducers:{getDataAction:u.actions.getTableDataAction,setTableAction:u.actions.setTableAction,setAction:(e,t)=>
545{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getAccountOptionsAction:e=>e}}),{getDataAction:S,setTableAction:p,setAction:T,getAccountOptionsAction:_}=E.actions;e.s(["getAccountOptionsAction",0,_,"getDataAction",0,S,"setAction",0,T,"setTableAction",0,p,"slice",0,E],513184);var m=e.i(195722);let I=E.name,{dataSelector:g,pageSelector:y,pageSizeSelector:O,totalCountSelector:b,sortBySelector:P,sortOrderSelector:v,selectedSelector:R,isLoadingSelector:L}=(0,m.default)(s,I),h=e=>e[I].search,D=e=>e[I].account,f=e=>e[I].accountOptions,N=e=>e[I].status;e.s(["accountOptionsSelector",0,f,"accountSelector",0,D,"dataSelector",0,g,"isLoadingSelector",0,L,"pageSelector",0,y,"pageSizeSelector",0,O,"searchSelector",0,h,"selectedSelector",0,R,"sortBySelector",0,P,"sortOrderSelector",0,v,"statusSelector",0,N,"totalCountSelector",0,b],618453)},526585,914750,253028,e=>{"use strict";var t=e.i(388302),a=e.i(799460),i=e.i(859288);let l=15,o=[{id:"id",label:"Id",sortable:!0,width:"70"},{id:"formTemplateCategory.name",label:"Category",width:"180",sortable:!0},{id:"account.name",label:"Account",sortable:!0},{id:"name",label:"Name",width:"390",sortable:!0},{id:"title",label:"Title",width:"340",sortable:!0},{id:"updatedBy",label:"Updated By",sortable:!0,width:"200"},{id:"updatedAt",label:"Update Date",sortable:!0,width:"200"},{id:null,label:"",sortable:!1,padding:"none",autoWidth:!0}];e.s(["ROWS_PER_PAGE",0,l,"TABLE_HEADER",0,o],914750);let r={templates:[],totalCount:0,page:1,pageSize:l,searchText:"",searchIn:["id","name","title"],sortBy:"updatedAt",sortOrder:a.SORT_DESC,formTemplateCategoryId:i.TEMPLATE_CATEGORY_ALL,formTemplateCategoryOptions:[]},n=(0,t.createSlice)({name:"@@FORMS_TEMPLATES/LIST",initialState:r,reducers:{getTemplatesAction:e=>e,deleteTemplateAction:e=>e,getCategoryOptionsAction:e=>e,setFieldAction:(e,t)=>({...e,...t.payload})}}),{deleteTemplateAction:s,getCategoryOptionsAction:c,getTemplatesAction:d,setFieldAction:u}=n.actions;n.reducer,e.s(["deleteTemplateAction",0,s,"getCategoryOptionsAction",0,c,"getTemplatesAction",0,d,"setFieldAction",0,u,"slice",0,n],253028);let A=n.name,E=e=>e[A].templates,S=e=>e[A].totalCount,p=e=>e[A].page,T=e=>e[A].pageSize,_=e=>e[A].searchText,m=e=>e[A].searchIn,I=e=>e[A].sortBy,g=e=>e[A].sortOrder,y=e=>e[A].formTemplateCategoryId,O=e=>e[A].formTemplateCategoryOptions;e.s(["formTemplateCategoryIdSelector",0,y,"formTemplateCategoryOptionsSelector",0,O,"pageSelector",0,p,"pageSizeSelector",0,T,"searchInSelector",0,m,"searchTextSelector",0,_,"sortBySelector",0,I,"sortOrderSelector",0,g,"templatesSelector",0,E,"totalCountSelector",0,S],526585)},949742,278645,712858,e=>{"use strict";let t=100,a=null,i="Revoked",l=[{label:"Active",value:"Active"},{label:"Pending",value:"Pending"},{label:"Revoked",value:i}],o=15,r="updatedAt",n="commonTable";e.s(["ROWS_PER_PAGE_DEFAULT",0,o,"SEARCH_TEXT_MAX_LENGTH",0,t,"STATUSES_ALL",0,a,"STATUSES_OPTIONS",0,l,"STATUSES_REVOKED",0,i,"TABLE_REDUX_FIELD_NAME",0,n,"TABLE_SORT_BY",0,r],278645);var s=e.i(388302),c=e.i(799460);let d=(0,e.i(93505).default)(n,{page:1,pageSize:o,sortBy:r,sortOrder:c.SORT_DESC}),u={...d.state,search:"",account:null,accountOptions:null,status:a},A=(0,s.createSlice)({name:"@@INVITATIONS/LIST",initialState:u,reducers:{getDataAction:d.actions.getTableDataAction,setTableAction:d.actions.setTableAction,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getAccountOptionsAction:e=>e,revokeAction:e=>e,revokeActionSuccess:(e,t)=>{let a=e[n].data.findIndex(e=>e.id===t.payload);e[n].data[a].invStatus=i}}}),{getDataAction:E,setTableAction:S,setAction:p,getAccountOptionsAction:T,revokeAction:_,revokeActionSuccess:m}=A.actions;e.s(["getAccountOptionsAction",0,T,"getDataAction",0,E,"revokeAction",0,_,"revokeActionSuccess",0,m,"setAction",0,p,"setTableAction",0,S,"slice",0,A],712858);var I=e.i(195722);let g=A.name,{dataSelector:y,pageSelector:O,pageSizeSelector:b,totalCountSelector:P,sortBySelector:v,sortOrderSelector:R,selectedSelector:L,isLoadingSelector:h}=(0,I.default)(n,g),D=e=>e[g].search,f=e=>e[g].account,N=e=>e[g].accountOptions,C=e=>e[g].status;e.s(["accountOptionsSelector",0,N,"accountSelector",0,f,"dataSelector",0,y,"isLoadingSelector",0,h,"pageSelector",0,O,"pageSizeSelector",0,b,"searchSelector",0,D,"selectedSelector",0,L,"sortBySelector",0,v,"sortOrderSelector",0,R,"statusSelector",0,C,"totalCountSelector",0,P],949742)},833222,e=>{"use strict";let t=100,a=null,i=1,l=0,o=[{label:"Enabled",value:1},{label:"Disabled",value:0}],r=[{id:"id",label:"Id",sortable:!0,width:"100"},{id:"account",label:"Account",sortable:!0,width:"200"},{id:"lookerReportId",label:"Looker Dashboard ID",sortable:!0,width:"156"},{id:"uiName",label:"Name",sortable:!0,width:"115"},{id:"description",label:"Description",sortable:!0,width:"115"},{id:"enabled",label:"Status",sortable:!0,width:"115"},{id:"updatedBy",label:"Updated By",sortable:!0,width:"150"},{id:"updatedAt",label:"Updated Date",sortable:!0,width:"240"}],n=15,s="updatedAt",c="commonTable";
545e.s(["ROWS_PER_PAGE_DEFAULT",0,n,"SEARCH_TEXT_MAX_LENGTH",0,t,"STATUSES_ACTIVE",0,i,"STATUSES_ALL",0,a,"STATUSES_INACTIVE",0,l,"STATUSES_OPTIONS",0,o,"TABLE_HEADER",0,r,"TABLE_REDUX_FIELD_NAME",0,c,"TABLE_SORT_BY",0,s])},734348,800942,e=>{"use strict";var t=e.i(833222),a=e.i(388302),i=t,l=e.i(799460);let o=(0,e.i(93505).default)(i.TABLE_REDUX_FIELD_NAME,{page:1,pageSize:i.ROWS_PER_PAGE_DEFAULT,sortBy:i.TABLE_SORT_BY,sortOrder:l.SORT_DESC}),r={...o.state,search:"",account:null,accountOptions:null,status:i.STATUSES_ALL},n=(0,a.createSlice)({name:"@@CUSTOM_DASHBOARD/LIST",initialState:r,reducers:{getDataAction:o.actions.getTableDataAction,setTableAction:o.actions.setTableAction,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getAccountOptionsAction:e=>e}}),{getDataAction:s,setTableAction:c,setAction:d,getAccountOptionsAction:u}=n.actions;e.s(["getAccountOptionsAction",0,u,"getDataAction",0,s,"setAction",0,d,"setTableAction",0,c,"slice",0,n],800942);var A=e.i(195722);let E=n.name,{dataSelector:S,pageSelector:p,pageSizeSelector:T,totalCountSelector:_,sortBySelector:m,sortOrderSelector:I,selectedSelector:g,isLoadingSelector:y}=(0,A.default)(t.TABLE_REDUX_FIELD_NAME,E),O=e=>e[E].search,b=e=>e[E].account,P=e=>e[E].accountOptions,v=e=>e[E].status;e.s(["accountOptionsSelector",0,P,"accountSelector",0,b,"dataSelector",0,S,"isLoadingSelector",0,y,"pageSelector",0,p,"pageSizeSelector",0,T,"searchSelector",0,O,"selectedSelector",0,g,"sortBySelector",0,m,"sortOrderSelector",0,I,"statusSelector",0,v,"totalCountSelector",0,_],734348)},462434,262540,521111,e=>{"use strict";let t=100,a=null,i=1,l=[{label:"Active",value:1},{label:"Archived",value:-1}],o=15,r="updatedAt",n="commonTable";e.s(["ROWS_PER_PAGE_DEFAULT",0,o,"SEARCH_TEXT_MAX_LENGTH",0,t,"STATUSES_ACTIVE",0,i,"STATUSES_ALL",0,a,"STATUSES_OPTIONS",0,l,"TABLE_REDUX_FIELD_NAME",0,n,"TABLE_SORT_BY",0,r],262540);var s=e.i(388302),c=e.i(799460);let d=(0,e.i(93505).default)(n,{page:1,pageSize:o,sortBy:r,sortOrder:c.SORT_DESC}),u={...d.state,search:"",status:i,advertiser:null,advertiserOptions:null,hub:null,hubOptions:null},A=(0,s.createSlice)({name:"@@XRAY_CAMPAIGNS/LIST",initialState:u,reducers:{getDataAction:d.actions.getTableDataAction,setTableAction:d.actions.setTableAction,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getAdvertiserOptionsAction:e=>e,getHubOptionsAction:e=>e,archiveAction:e=>e}}),{getDataAction:E,setTableAction:S,setAction:p,getAdvertiserOptionsAction:T,getHubOptionsAction:_,archiveAction:m}=A.actions;e.s(["archiveAction",0,m,"getAdvertiserOptionsAction",0,T,"getDataAction",0,E,"getHubOptionsAction",0,_,"setAction",0,p,"setTableAction",0,S,"slice",0,A],521111);var I=e.i(195722);let g=A.name,{dataSelector:y,pageSelector:O,pageSizeSelector:b,totalCountSelector:P,sortBySelector:v,sortOrderSelector:R,selectedSelector:L,isLoadingSelector:h}=(0,I.default)(n,g),D=e=>e[g].status,f=e=>e[g].search,N=e=>e[g].advertiser,C=e=>e[g].hub,M=e=>e[g].advertiserOptions,F=e=>e[g].hubOptions;e.s(["advertiserOptionsSelector",0,M,"advertiserSelector",0,N,"dataSelector",0,y,"hubOptionsSelector",0,F,"hubSelector",0,C,"isLoadingSelector",0,h,"pageSelector",0,O,"pageSizeSelector",0,b,"searchSelector",0,f,"sortBySelector",0,v,"sortOrderSelector",0,R,"statusSelector",0,D,"totalCountSelector",0,P],462434)},960157,e=>{"use strict";let t=15,a="updatedAt",i="commonTable",l="Google",o="AZURE",r="OKTA",n=[{label:"Google",value:l},{label:"Azure AD",value:o,isSAML:!0},{label:"Okta",value:r,isSAML:!0}],s="google",c="azure",d="okta",u={[s]:l,[c]:o,[d]:r},A=1,E=0;e.s(["PROVIDERS",0,n,"PROVIDER_CREATE_URL_AZURE",0,c,"PROVIDER_CREATE_URL_GOOGLE",0,s,"PROVIDER_CREATE_URL_MAPPER",0,u,"PROVIDER_CREATE_URL_OKTA",0,d,"PROVIDER_VALUE_AZURE",0,o,"PROVIDER_VALUE_GOOGLE",0,l,"PROVIDER_VALUE_OKTA",0,r,"ROWS_PER_PAGE_DEFAULT",0,t,"STATUS_ACTIVE_VALUE",0,A,"STATUS_DISABLED_VALUE",0,E,"TABLE_REDUX_FIELD_NAME",0,i,"TABLE_SORT_BY",0,a])},518516,82706,e=>{"use strict";var t=e.i(960157),a=e.i(388302),i=t,l=e.i(799460);let o=(0,e.i(93505).default)(i.TABLE_REDUX_FIELD_NAME,{page:1,pageSize:i.ROWS_PER_PAGE_DEFAULT,sortBy:i.TABLE_SORT_BY,sortOrder:l.SORT_DESC}),r={...o.state},n=(0,a.createSlice)({name:"@@SSO/LIST",initialState:r,reducers:{getDataAction:o.actions.getTableDataAction,setTableAction:o.actions.setTableAction,setAction:(e,t)=>
545{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},statusAction:e=>e}}),{getDataAction:s,setTableAction:c,setAction:d,statusAction:u}=n.actions;e.s(["getDataAction",0,s,"setAction",0,d,"setTableAction",0,c,"slice",0,n,"statusAction",0,u],82706);var A=e.i(195722);let E=n.name,{dataSelector:S,pageSelector:p,pageSizeSelector:T,totalCountSelector:_,sortBySelector:m,sortOrderSelector:I,selectedSelector:g,isLoadingSelector:y}=(0,A.default)(t.TABLE_REDUX_FIELD_NAME,E);e.s(["dataSelector",0,S,"isLoadingSelector",0,y,"pageSelector",0,p,"pageSizeSelector",0,T,"selectedSelector",0,g,"sortBySelector",0,m,"sortOrderSelector",0,I,"totalCountSelector",0,_],518516)},209279,618873,694863,e=>{"use strict";let t="general",a="commonForm";e.s(["REDUX_FIELD_NAME",0,a,"TAB_GENERAL",0,t],618873);var i=e.i(388302);let l=[{fieldName:"name",tabId:t,validation:e=>e?"":"Field cannot be empty"},{fieldName:"account",tabId:t,validation:e=>e?"":"Field cannot be empty"}],o=(0,e.i(192155).default)(a,l),{validateFields:r,validateSingleField:n}=o,s={id:null,name:"",account:null,accountOptions:null,activeTabId:t,...o.state},c=(0,i.createSlice)({name:"@@ADVERTISERS/EDITOR",initialState:s,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...s}),getItemAction:e=>e,getAccountOptionsAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:o.actions.setScrollToFieldAction,setErrorByPropAction:o.actions.updateValidationSchemeAction,removeErrorByPropAction:o.actions.removeErrorByFieldNameAction}}),{setAction:d,setInitialAction:u,getItemAction:A,getAccountOptionsAction:E,createItemAction:S,updateItemAction:p,setActiveTabIdAction:T,removeErrorByPropAction:_,setErrorByPropAction:m,setScrollToFieldNameAction:I}=c.actions;c.reducer,e.s(["createItemAction",0,S,"getAccountOptionsAction",0,E,"getItemAction",0,A,"removeErrorByPropAction",0,_,"setAction",0,d,"setActiveTabIdAction",0,T,"setErrorByPropAction",0,m,"setInitialAction",0,u,"setScrollToFieldNameAction",0,I,"slice",0,c,"updateItemAction",0,p,"validateFields",0,r],694863);var g=e.i(916094);let y=c.name,O=(0,g.default)(a,y),b=e=>e[y].account,P=e=>e[y].accountOptions,v=e=>e[y].name,R=e=>e[y].activeTabId,L=e=>O.getScrollField(e),h=e=>O.schemeSelector(e),D=e=>e[y];e.s(["accountOptionsSelector",0,P,"accountSelector",0,b,"activeTabIdSelector",0,R,"fullAccessToStoreFieldsForValidation",0,D,"nameSelector",0,v,"schemeSelector",0,h,"scrollFieldSelector",0,L],209279)},935696,e=>{"use strict";let t="hub_admin";e.s(["HUB_ADMIN_ROLE",0,t])},571670,e=>{"use strict";var t=e.i(648286),a=e.i(199231),i=e.i(916094);let l=a.slice.name,o=e=>e[l].account,r=e=>e[l].accountOptions,n=e=>e[l].contentOwner,s=e=>e[l].contentOwnersOptions,c=e=>e[l].email,d=e=>e[l].firstName,u=e=>e[l].lastName,A=e=>e[l].status,E=e=>e[l].timezone,S=e=>e[l].timezoneOptions,p=e=>e[l].role,T=e=>e[l].roleOptions,_=e=>e[l].enable2fa,m=e=>e[l].defaultHub,I=e=>e[l].publisherIds,g=e=>e[l].department,y=e=>e[l].departmentOptions,O=e=>e[l].allSites,b=e=>e[l].sendInvite,P=e=>e[l].updateDate,v=e=>e[l].updatedBy,R=e=>e[l].initialRoleType,L=e=>e[l].initialRoleName,h=e=>e[l].initialEmail,D=e=>e[l].initialStatus,f=e=>e[l].activeTabId,N=(0,i.default)(t.REDUX_FIELD_NAME,l),C=e=>N.getScrollField(e),M=e=>N.schemeSelector(e),F=e=>e[l];e.s(["accountOptionsSelector",0,r,"accountSelector",0,o,"activeTabIdSelector",0,f,"allSitesSelector",0,O,"contentOwnerSelector",0,n,"contentOwnersOptionsSelector",0,s,"defaultHubSelector",0,m,"departmentOptionsSelector",0,y,"departmentSelector",0,g,"emailSelector",0,c,"enable2faSelector",0,_,"firstNameSelector",0,d,"fullAccessToStoreFieldsForValidation",0,F,"initialEmailSelector",0,h,"initialRoleNameSelector",0,L,"initialRoleTypeSelector",0,R,"initialStatusSelector",0,D,"lastNameSelector",0,u,"publisherIdsSelector",0,I,"roleOptionsSelector",0,T,"roleSelector",0,p,"schemeSelector",0,M,"scrollFieldSelector",0,C,"sendInviteSelector",0,b,"statusSelector",0,A,"timezoneOptionsSelector",0,S,"timezoneSelector",0,E,"updateDateSelector",0,P,"updatedBySelector",0,v])},771450,e=>{"use strict";let t="commonTable",a=15,i="updatedAt",l=100,o=[{id:"id",label:"Id",width:"100",sortable:!0},{id:"name",label:"Account Name",sortable:!0},{id:"salesforceId",label:"Salesforce Account Id",width:"200",sortable:!0},{id:"type",label:"Type",width:"100",sortable:!0},{id:"sitesAmount",label:"Hubs",width:"80"},{id:"contentOwners",label:"Content",width:"80"},{id:"updatedBy",label:"Updated By",sortable:!0},{id:"updatedAt",label:"Updated Date",width:"150",sortable:!0}],r=null,n="PUBLISHER",s="DEMAND",c=[{label:"Publisher",value:n},{label:"Business",value:"BUSINESS"},{label:"Demand",value:s},{label:"Syndication",value:"SYNDICATION"},{label:"VAST",value:"VAST"}],d=[{label:"Title",value:"Title"},{label:"GUID",value:"GUID"}];e.s(["ACCOUNT_OPTIONS",0,c,"ACCOUNT_TYPE_ALL",0,r,"ACCOUNT_TYPE_DEMAND",0,s,"ACCOUNT_TYPE_PUBLISHER",0,n,"FILTER_VIDEO_DUPLICATES_BY_OPTIONS",0,d,"ROWS_PER_PAGE_DEFAULT",0,a,"SEARCH_TEXT_MAX_LENGTH",0,l,"TABLE_HEADERS",0,o,"TABLE_REDUX_FIELD_NAME",0,t,"TABLE_SORT_BY",0,i])},796357,88463,e=>{"use strict";var t=e.i(771450),a=e.i(388302),i=t,l=e.i(799460);let o=(0,e.i(93505).default)(i.TABLE_REDUX_FIELD_NAME,{page:1,pageSize:i.ROWS_PER_PAGE_DEFAULT,sortBy:i.TABLE_SORT_BY,sortOrder:l.SORT_DESC}),r={...o.state,search:"",accountType:i.ACCOUNT_TYPE_ALL},n=(0,a.createSlice)({name:"@@ACCOUNTS/LIST",initialState:r,reducers:{getDataAction:o.actions.getTableDataAction,setTableAction:o.actions.setTableAction,setAction:(e,t)=>
545{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})}}}),{getDataAction:s,setTableAction:c,setAction:d}=n.actions;e.s(["getDataAction",0,s,"setAction",0,d,"setTableAction",0,c,"slice",0,n],88463);var u=e.i(195722);let A=n.name,{dataSelector:E,pageSelector:S,pageSizeSelector:p,totalCountSelector:T,sortBySelector:_,sortOrderSelector:m,selectedSelector:I,isLoadingSelector:g}=(0,u.default)(t.TABLE_REDUX_FIELD_NAME,A),y=e=>e[A].search,O=e=>e[A].accountType;e.s(["accountTypeSelector",0,O,"dataSelector",0,E,"pageSelector",0,S,"pageSizeSelector",0,p,"searchSelector",0,y,"sortBySelector",0,_,"sortOrderSelector",0,m,"totalCountSelector",0,T],796357)},893381,e=>{"use strict";let t="commonTable",a=15,i="updatedAt",l=100,o=[{id:"name",label:"Name",width:"200",sortable:!0},{id:"url",label:"Tag URL",width:"200"},{id:"placementId",label:"Type",width:"200"},{id:"macro",label:"Macros",width:"200",align:"center"},{id:"status",label:"Status",width:"200"},{id:"comments",label:"Comments",width:"200"},{id:"updatedBy",label:"Updated By",width:"200"},{id:"updatedAt",label:"Updated At",width:"200",sortable:!0}],r=null,n=1,s=0,c=[{label:"Active",value:1},{label:"Inactive",value:0}],d="all",u=1,A=[{label:"All Types",value:d},{label:"Video",value:1},{label:"Display",value:2},{label:"Display Fallback",value:3}];e.s(["ROWS_PER_PAGE_DEFAULT",0,a,"SEARCH_TEXT_MAX_LENGTH",0,l,"STATUSES_ACTIVE",0,n,"STATUSES_ALL",0,r,"STATUSES_INACTIVE",0,s,"STATUSES_OPTIONS",0,c,"TABLE_HEADERS",0,o,"TABLE_REDUX_FIELD_NAME",0,t,"TABLE_SORT_BY",0,i,"TYPES_OPTIONS",0,A,"TYPE_ALL",0,d,"TYPE_VIDEO",0,u])},359632,264666,e=>{"use strict";var t=e.i(893381),a=e.i(388302),i=t,l=e.i(799460);let o=(0,e.i(93505).default)(i.TABLE_REDUX_FIELD_NAME,{page:1,pageSize:i.ROWS_PER_PAGE_DEFAULT,sortBy:i.TABLE_SORT_BY,sortOrder:l.SORT_DESC}),r={...o.state,search:"",status:i.STATUSES_ALL,type:i.TYPE_ALL},n=(0,a.createSlice)({name:"@@AD_SERVERS/LIST",initialState:r,reducers:{getDataAction:o.actions.getTableDataAction,setTableAction:o.actions.setTableAction,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},bulkChangeStatusAction:e=>e}}),{getDataAction:s,setTableAction:c,setAction:d,bulkChangeStatusAction:u}=n.actions;e.s(["bulkChangeStatusAction",0,u,"getDataAction",0,s,"setAction",0,d,"setTableAction",0,c,"slice",0,n],264666);var A=e.i(195722);let E=n.name,{dataSelector:S,pageSelector:p,pageSizeSelector:T,totalCountSelector:_,sortBySelector:m,sortOrderSelector:I,selectedSelector:g,isLoadingSelector:y}=(0,A.default)(t.TABLE_REDUX_FIELD_NAME,E),O=e=>e[E].search,b=e=>e[E].status,P=e=>e[E].type;e.s(["dataSelector",0,S,"pageSelector",0,p,"pageSizeSelector",0,T,"searchSelector",0,O,"selectedSelector",0,g,"sortBySelector",0,m,"sortOrderSelector",0,I,"statusSelector",0,b,"totalCountSelector",0,_,"typeSelector",0,P],359632)},154909,e=>{"use strict";let t=100,a=null,i=1,l=0,o=[{label:"Active",value:1},{label:"Inactive",value:0}],r=2,n=[{label:"Publisher",value:2},{label:"Business",value:4},{label:"Syndicator",value:5},{label:"Broadcaster",value:3},{label:"Studio",value:1},{label:"Live Event",value:99}],s=[{label:"No",value:0},{label:"Yes",value:1}],c=[{label:"No",value:0},{label:"Yes",value:1}],d=0,u=[{label:"No",value:0},{label:"Yes",value:1}],A=15,E="id",S="commonTable";e.s(["CALL_TO_ACTIONS_OPTIONS",0,s,"IS_PUBLIC_NO",0,d,"IS_PUBLIC_OPTIONS",0,u,"PLAY_FROM_CO_OPTIONS",0,c,"ROWS_PER_PAGE_DEFAULT",0,A,"SEARCH_TEXT_MAX_LENGTH",0,t,"STATUSES_ACTIVE",0,i,"STATUSES_ALL",0,a,"STATUSES_INACTIVE",0,l,"STATUSES_OPTIONS",0,o,"TABLE_REDUX_FIELD_NAME",0,S,"TABLE_SORT_BY",0,E,"TYPES_OPTIONS",0,n,"TYPE_PUBLISHER",0,r])},275584,692504,e=>{"use strict";var t=e.i(154909),a=e.i(388302),i=t,l=e.i(799460);let o=(0,e.i(93505).default)(i.TABLE_REDUX_FIELD_NAME,{page:1,pageSize:i.ROWS_PER_PAGE_DEFAULT,sortBy:i.TABLE_SORT_BY,sortOrder:l.SORT_DESC}),r={...o.state,search:"",status:i.STATUSES_ACTIVE},n=(0,a.createSlice)({name:"@@CONTENT_OWNERS/LIST",initialState:r,reducers:{getDataAction:o.actions.getTableDataAction,setTableAction:o.actions.setTableAction,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},bulkDisableOrActiveAction:e=>e}}),{getDataAction:s,setTableAction:c,setAction:d,bulkDisableOrActiveAction:u}=n.actions;e.s(["bulkDisableOrActiveAction",0,u,"getDataAction",0,s,"setAction",0,d,"setTableAction",0,c,"slice",0,n],692504);var A=e.i(195722);let E=n.name,{dataSelector:S,pageSelector:p,pageSizeSelector:T,totalCountSelector:_,sortBySelector:m,sortOrderSelector:I,selectedSelector:g,isLoadingSelector:y}=(0,A.default)(t.TABLE_REDUX_FIELD_NAME,E),O=e=>e[E].status,b=e=>e[E].search;e.s(["dataSelector",0,S,"isLoadingSelector",0,y,"pageSelector",0,p,"pageSizeSelector",0,T,"searchSelector",0,b,"selectedSelector",0,g,"sortBySelector",0,m,"sortOrderSelector",0,I,"statusSelector",0,O,"totalCountSelector",0,_],275584)},360761,860723,509126,e=>{"use strict";let t="general",a="commonForm",i="SYNDICATION";e.s(["PUBLIC_ACCOUNT_TYPE",0,i,"REDUX_FIELD_NAME",0,a,"TAB_GENERAL",0,t],860723);var l=e.i(388302),o=e.i(154909);let r=[{fieldName:"name",tabId:t,validation:e=>e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty"},{fieldName:"salesforceId",tabId:t,validation:e=>e?15!==e.length?"Must be 15 alphanumeric characters":"":"Field cannot be empty"},{fieldName:"account",tabId:t,validation:e=>e?"":"Field cannot be empty"}],n=(0,e.i(192155).default)(a,r),{validateFields:s,validateSingleField:c}=n,d={id:null,name:"",salesforceId:"",comments:"",playFromCo:!1,callToAction:!1,account:null,accountOptions:null,type:o.TYPE_PUBLISHER,status:o.STATUSES_ACTIVE,isPublic:o.IS_PUBLIC_NO,feedPriority:.5,activeTabId:t,...n.state},u=(0,l.createSlice)({name:"@@CONTENT_OWNERS/EDITOR",initialState:d,reducers:{setAction:(e,t)=>
545{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...d}),getItemAction:e=>e,getAccountOptionsAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,setScrollToFieldNameAction:n.actions.setScrollToFieldAction,setErrorByPropAction:n.actions.updateValidationSchemeAction,removeErrorByPropAction:n.actions.removeErrorByFieldNameAction}}),{setAction:A,setInitialAction:E,getItemAction:S,getAccountOptionsAction:p,createItemAction:T,updateItemAction:_,removeErrorByPropAction:m,setErrorByPropAction:I,setScrollToFieldNameAction:g}=u.actions;u.reducer,e.s(["createItemAction",0,T,"getAccountOptionsAction",0,p,"getItemAction",0,S,"removeErrorByPropAction",0,m,"setAction",0,A,"setErrorByPropAction",0,I,"setInitialAction",0,E,"setScrollToFieldNameAction",0,g,"slice",0,u,"updateItemAction",0,_,"validateFields",0,s],509126);var y=e.i(916094);let O=u.name,b=(0,y.default)(a,O),P=e=>e[O].name,v=e=>e[O].salesforceId,R=e=>e[O].comments,L=e=>e[O].playFromCo,h=e=>e[O].callToAction,D=e=>e[O].account,f=e=>e[O].accountOptions,N=e=>e[O].type,C=e=>e[O].status,M=e=>e[O].isPublic,F=e=>e[O].feedPriority,U=e=>e[O].activeTabId,B=e=>b.getScrollField(e),V=e=>b.schemeSelector(e),Y=e=>e[O];e.s(["accountOptionsSelector",0,f,"accountSelector",0,D,"activeTabIdSelector",0,U,"callToActionSelector",0,h,"commentsSelector",0,R,"feedPrioritySelector",0,F,"fullAccessToStoreFieldsForValidation",0,Y,"isPublicSelector",0,M,"nameSelector",0,P,"playFromCoSelector",0,L,"salesforceIdSelector",0,v,"schemeSelector",0,V,"scrollFieldSelector",0,B,"statusSelector",0,C,"typeSelector",0,N],360761)},12231,158020,660725,e=>{"use strict";let t="general",a="commonForm";e.s(["REDUX_FIELD_NAME",0,a,"TAB_GENERAL",0,t],158020);var i=e.i(388302);let l=[{fieldName:"name",tabId:t,validation:e=>e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty"},{fieldName:"hub",tabId:t,validation:e=>e?"":"Field cannot be empty"},{fieldName:"advertiser",tabId:t,validation:e=>e?"":"Field cannot be empty"}],o=(0,e.i(192155).default)(a,l),{validateFields:r,validateSingleField:n}=o,s={id:null,name:"",advertiser:null,advertiserOptions:null,hub:null,hubOptions:null,activeTabId:t,...o.state},c=(0,i.createSlice)({name:"@@XRAY_CAMPAIGNS/EDITOR",initialState:s,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...s}),getItemAction:e=>e,getAdvertiserOptionsAction:e=>e,createAdvertiserAction:e=>e,getHubOptionsAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,setScrollToFieldNameAction:o.actions.setScrollToFieldAction,setErrorByPropAction:o.actions.updateValidationSchemeAction,removeErrorByPropAction:o.actions.removeErrorByFieldNameAction}}),{setAction:d,setInitialAction:u,getItemAction:A,getAdvertiserOptionsAction:E,createAdvertiserAction:S,getHubOptionsAction:p,createItemAction:T,updateItemAction:_,removeErrorByPropAction:m,setErrorByPropAction:I,setScrollToFieldNameAction:g}=c.actions;c.reducer,e.s(["createAdvertiserAction",0,S,"createItemAction",0,T,"getAdvertiserOptionsAction",0,E,"getHubOptionsAction",0,p,"getItemAction",0,A,"removeErrorByPropAction",0,m,"setAction",0,d,"setErrorByPropAction",0,I,"setInitialAction",0,u,"setScrollToFieldNameAction",0,g,"slice",0,c,"updateItemAction",0,_,"validateFields",0,r],660725);var y=e.i(916094);let O=c.name,b=(0,y.default)(a,O),P=e=>e[O].name,v=e=>e[O].advertiser,R=e=>e[O].advertiserOptions,L=e=>e[O].hub,h=e=>e[O].hubOptions,D=e=>e[O].activeTabId,f=e=>b.getScrollField(e),N=e=>b.schemeSelector(e),C=e=>e[O];e.s(["activeTabIdSelector",0,D,"advertiserOptionsSelector",0,R,"advertiserSelector",0,v,"fullAccessToStoreFieldsForValidation",0,C,"hubOptionsSelector",0,h,"hubSelector",0,L,"nameSelector",0,P,"schemeSelector",0,N,"scrollFieldSelector",0,f],12231)},636036,198149,e=>{"use strict";var t=e.i(388302),a=e.i(771937);let i={calendar:a.CALENDAR_FILTER_VALUE.thisMonth,calendarCustom:{dateStart:null,dateEnd:null},activeCardFilter:{...a.CARDS_FILTERS_ALL[0],...a.CARDS_FILTERS_ALL[0].getCardConfig({adFormat:a.AD_FORMAT_CONFIG.all.value})},adFormat:a.AD_FORMAT_CONFIG.all.value,demandSources:[],demandSourcesOptions:[],players:[],playersOptions:[],domains:[],domainsOptions:[],countries:[],countriesOptions:[],devices:[],totals:{total:{externalRevenues:null,platformFee:null,adImpressions:null,viewability:null,fillRate:null,adRequests:null,cpm:null,rpm:null,playerLoads:null,netRevenue:null,ctr:null,adClicks:null},comparisonPct:{externalRevenuesPct:null,platformFeePct:null,adImpressionsPct:null,viewabilityPct:null,fillRatePct:null,adRequestsPct:null,cpmPct:null,rpmPct:null,playerLoadsPct:null,netRevenuePct:null},devices:[],countries:[],hideComparisonNumbers:!1},chartData:[],showFees:!1,countriesFullList:[],isExportPdfLoading:!1,isTotalsLoading:!1,isChartDataLoading:!1}
545,l=(0,t.createSlice)({name:"@@analyticsMonetizationDashboard/ANALYTICS_MONETIZATION_DASHBOARD",initialState:i,reducers:{setFieldAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setDefaultStateAction:e=>{Object.keys(i).forEach(t=>{e[t]=i[t]})},exportToPDFAction:e=>e,exportToCSVAction:e=>e,getCountriesFullListAction:e=>e,getCountriesAction:e=>e,getDemandSourcesAction:e=>e,getDomainsAction:e=>e,getPlayersAction:e=>e,getTotalsAction:e=>e,getChartDataAction:e=>e}}),{setFieldAction:o,setDefaultStateAction:r,exportToPDFAction:n,exportToCSVAction:s,getCountriesFullListAction:c,getCountriesAction:d,getDemandSourcesAction:u,getDomainsAction:A,getPlayersAction:E,getTotalsAction:S,getChartDataAction:p}=l.actions;l.reducer,e.s(["exportToCSVAction",0,s,"exportToPDFAction",0,n,"getChartDataAction",0,p,"getCountriesAction",0,d,"getCountriesFullListAction",0,c,"getDemandSourcesAction",0,u,"getDomainsAction",0,A,"getPlayersAction",0,E,"getTotalsAction",0,S,"setDefaultStateAction",0,r,"setFieldAction",0,o,"slice",0,l],198149);let T=l.name,_=e=>e[T].calendar,m=e=>e[T].calendarCustom,I=e=>e[T].activeCardFilter,g=e=>e[T].adFormat,y=e=>e[T].demandSources,O=e=>e[T].demandSourcesOptions,b=e=>e[T].players,P=e=>e[T].playersOptions,v=e=>e[T].domains,R=e=>e[T].domainsOptions,L=e=>e[T].countries,h=e=>e[T].countriesOptions,D=e=>e[T].devices,f=e=>e[T].totals,N=e=>e[T].chartData,C=e=>e[T].showFees,M=e=>e[T].countriesFullList,F=e=>e[T].isExportPdfLoading,U=e=>e[T].isTotalsLoading,B=e=>e[T].isChartDataLoading;e.s(["activeCardFilterSelector",0,I,"adFormatSelector",0,g,"calendarCustomSelector",0,m,"calendarSelector",0,_,"chartDataSelector",0,N,"countriesFullListSelector",0,M,"countriesOptionsSelector",0,h,"countriesSelector",0,L,"demandSourcesOptionsSelector",0,O,"demandSourcesSelector",0,y,"devicesSelector",0,D,"domainsOptionsSelector",0,R,"domainsSelector",0,v,"isChartDataLoadingSelector",0,B,"isExportPdfLoadingSelector",0,F,"isTotalsLoadingSelector",0,U,"playersOptionsSelector",0,P,"playersSelector",0,b,"showFeesSelector",0,C,"totalsSelector",0,f],636036)},864541,242919,675916,e=>{"use strict";let t="commonAdServersForm",a="general";e.s(["FORM_REDUX_FIELD_NAME",0,t,"TAB_GENERAL",0,a],242919);var i=e.i(388302),l=e.i(893381);let o=/^(https?):\/\/[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)/,r=/(.*(\${ID}).*)/,n=/(.*(\?).*)/,s=[{fieldName:"name",tabId:a,validation:e=>e?"":"Filed cant be empty"},{fieldName:"url",tabId:a,validation:e=>e?o.test(e)?"":"Please provide correct url":"Field cant be empty"},{fieldName:"macro",tabId:a,validation:e=>e?r.test(e)&&n.test(e)?"":"Please provide correct macros":"Field cant be empty"}],c=(0,e.i(192155).default)(t,s),{validateFields:d,validateSingleField:u}=c,A={name:"",status:l.STATUSES_ACTIVE,url:"",placementId:l.TYPE_VIDEO,isDefaultForPlayerType:!1,playerTypesIds:[],playerTypesOptions:[],macro:"",comments:"",activeTabId:a,...c.state},E=(0,i.createSlice)({name:"@AD_SERVERS/EDITOR",initialState:A,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...A}),getPlayerTypesOptionsAction:e=>e,getItemAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,setScrollToFieldNameAction:c.actions.setScrollToFieldAction,setErrorByPropAction:c.actions.updateValidationSchemeAction,removeErrorByPropAction:c.actions.removeErrorByFieldNameAction}}),{setAction:S,setInitialAction:p,getPlayerTypesOptionsAction:T,getItemAction:_,createItemAction:m,updateItemAction:I,setScrollToFieldNameAction:g,setErrorByPropAction:y,removeErrorByPropAction:O}=E.actions;E.reducer,e.s(["createItemAction",0,m,"getItemAction",0,_,"getPlayerTypesOptionsAction",0,T,"removeErrorByPropAction",0,O,"setAction",0,S,"setErrorByPropAction",0,y,"setInitialAction",0,p,"setScrollToFieldNameAction",0,g,"slice",0,E,"updateItemAction",0,I,"validateFields",0,d],675916);var b=e.i(916094);let P=E.name,v=(0,b.default)(t,P),R=e=>e[P].name,L=e=>e[P].status,h=e=>e[P].url,D=e=>e[P].placementId,f=e=>e[P].isDefaultForPlayerType,N=e=>e[P].playerTypesIds,C=e=>e[P].playerTypesOptions,M=e=>{let t=N(e),a=C(e);return t.map(e=>a.find(({id:t})=>t===e))},F=e=>e[P].macro,U=e=>e[P].comments,B=e=>e[P].activeTabId,V=e=>v.getScrollField(e),Y=e=>v.schemeSelector(e),w=e=>e[P];e.s(["activeTabIdSelector",0,B,"commentsSelector",0,U,"fullAccessToStoreFieldsForValidation",0,w,"isDefaultForPlayerTypeSelector",0,f,"macroSelector",0,F,"nameSelector",0,R,"placementIdSelector",0,D,"playerTypesIdsSelector",0,N,"playerTypesOptionsSelector",0,C,"playerTypesValueSelector",0,M,"schemeSelector",0,Y,"scrollFieldSelector",0,V,"statusSelector",0,L,"urlSelector",0,h],864541)},751082,426927,e=>{"use strict";let t=100,a="time",i="commonTable";var l=e.i(388302),o=e.i(799460),r=e.i(771937),n=e.i(93505),s=e.i(945503);let c=(0,n.default)(i,{page:1,pageSize:t,sortBy:a,sortOrder:o.SORT_DESC}),d={[i]:{...c.state[i]},totalCell:{customId:-1,platformFee:0,netRevenue:0,playerLoads:0,rpm:0,anyclipVideoAdImpressions:0,publisherVideoAdImpressions:0,anyclipDisplayAdImpressions:0,publisherDisplayAdImpressions:0,videoAdImpressions:0,displayAdImpressions:0,anyclipVideoRevenue:0,publisherVideoRevenue:0,anyclipDisplayRevenue:0,publisherDisplayRevenue:0,videoRevenue:0,displayRevenue:0,playerLoadsNetRpm:0,time:0},adFormat:r.AD_FORMAT_CONFIG_ALL,period:r.CALENDAR_FILTER_THIS_MONTH,customDateFrom:"",customDateTo:"",devices:[],demandSources:[],demandSourcesOptions:[],players:[],playersOptions:[],domains:[],domainsOptions:[],countriesFullList:[],countries:[],countriesOptions:[]},u=(0,l.createSlice)({name:"@@ANALYTICS/REVENUE_BREAKDOWN",initialState:d,reducers:{getDataAction:c.actions.getTableDataAction,setAction:(e,t)=>{(0,s.applyPartial)(e,t.payload,[i])},setTableAction:(e,t)=>c.actions.setTableAction(e,t),getPlayersAction:(e,t)=>e,getDomainsAction:(e,t)=>e,getCountriesFullListAction:(e,t)=>e,getCountriesAction:(e,t)=>e,getDemandSourcesAction:(e,t)=>e,exportToCsvAction:e=>e,getTotalAction:e=>e}}),{getDataAction:A,setTableAction:E,setAction:S,getPlayersAction:p,getDomainsAction:T,getCountriesAction:_,getCountriesFullListAction:m,getDemandSourcesAction:I,exportToCsvAction:g,getTotalAction:y}=u.actions;e.s(["exportToCsvAction",0,g,"getCountriesAction",0,_,"getCountriesFullListAction",0,m,"getDataAction",0,A,"getDemandSourcesAction",0,I,"getDomainsAction",0,T,"getPlayersAction",0,p,"getTotalAction",0,y,"setAction",0,S,"setTableAction",0,E,"slice",0,u],426927);var O=e.i(195722);let b=u.name,P=(0,O.default)(i,b),v=e=>P.dataSelector(e),R=e=>P.pageSelector(e),L=e=>P.pageSizeSelector(e),h=e=>P.totalCountSelector(e),D=e=>P.sortBySelector(e),f=e=>P.sortOrderSelector(e),N=e=>P.isLoadingSelector(e),C=e=>e[b].adFormat,M=e=>e[b].period,F=e=>e[b].customDateFrom,U=e=>e[b].customDateTo,B=e=>e[b].devices,V=e=>e[b].demandSources,Y=e=>e[b].demandSourcesOptions,w=e=>e[b].players,G=e=>e[b].playersOptions,k=e=>e[b].domains,H=e=>e[b].domainsOptions,x=e=>e[b].countriesFullList,W=e=>e[b].countries,$=e=>e[b].countriesOptions,z=e=>e[b].totalCell;e.s(["adFormatSelector",0,C,"countriesFullListSelector",0,x,"countriesOptionsSelector",0,$,"countriesSelector",0,W,"customDateFromSelector",0,F,"customDateToSelector",0,U,"dataSelector",0,v,"demandSourcesOptionsSelector",0,Y,"demandSourcesSelector",0,V,"devicesSelector",0,B,"domainsOptionsSelector",0,H,"domainsSelector",0,k,"isLoadingSelector",0,N,"pageSelector",0,R,"pageSizeSelector",0,L,"periodSelector",0,M,"playersOptionsSelector",0,G,"playersSelector",0,w,"sortBySelector",0,D,"sortOrderSelector",0,f,"totalCellSelector",0,z,"totalCountSelector",0,h],751082)},708766,448865,764511,e=>{"use strict";let t="general",a="commonForm",i=-1,l={id:-1,name:"All Hubs"};e.s(["OPTION_ALL",0,l,"OPTION_ALL_ID",0,i,"REDUX_FIELD_NAME",0,a,"TAB_GENERAL",0,t],448865);var o=e.i(388302),r=e.i(833222);let n=[{fieldName:"account",tabId:t,validation:e=>e?"":"Field cannot be empty"},{fieldName:"publisherIds",tabId:t,validation:(e,t)=>e.length||t.allSites?"":"Field cannot be empty"},{fieldName:"lookerReportId",tabId:t,validation:e=>{let t=e?.trim();return t?t.length<2?"Field cannot be less then 2 symbols":t.length>50?"Looker Dashboard ID is too long":"":"Field cannot be empty"}},{fieldName:"uiName",tabId:t,validation:e=>{let t=e?.trim();return t?t.length<2?"Field cannot be less then 2 symbols":t.length>50?"Name is too long":"":"Field cannot be empty"}},{fieldName:"description",tabId:t,validation:e=>(e?.trim()).length>50?"Description is too long":""}],s=(0,e.i(192155).default)(a,n),{validateFields:c,validateSingleField:d}=s,u={account:null,accountOptions:[],publisherIds:[],lookerReportId:null,allSites:0,uiName:"",description:"",enabled:r.STATUSES_ACTIVE,icon:"",activeTabId:t,...s.state},A=(0,o.createSlice)({name:"@@CUSTOM_DASHBOARD/EDITOR",initialState:u,reducers:{setAction:(e,t)=>
545{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...u}),getItemAction:e=>e,getAccountOptionsAction:e=>e,getDemandAccountsOptionsAction:e=>e,getTemplatePlayerOptionsAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:s.actions.setScrollToFieldAction,setErrorByPropAction:s.actions.updateValidationSchemeAction,removeErrorByPropAction:s.actions.removeErrorByFieldNameAction}}),{setAction:E,setInitialAction:S,getItemAction:p,getAccountOptionsAction:T,createItemAction:_,updateItemAction:m,setActiveTabIdAction:I,removeErrorByPropAction:g,setErrorByPropAction:y,setScrollToFieldNameAction:O}=A.actions;A.reducer,e.s(["createItemAction",0,_,"getAccountOptionsAction",0,T,"getItemAction",0,p,"removeErrorByPropAction",0,g,"setAction",0,E,"setActiveTabIdAction",0,I,"setErrorByPropAction",0,y,"setInitialAction",0,S,"setScrollToFieldNameAction",0,O,"slice",0,A,"updateItemAction",0,m,"validateFields",0,c],764511);var b=e.i(916094);let P=A.name,v=e=>e[P].account,R=e=>e[P].accountOptions,L=e=>e[P].publisherIds,h=e=>e[P].lookerReportId,D=e=>e[P].uiName,f=e=>e[P].description,N=e=>e[P].enabled,C=e=>e[P].icon,M=e=>e[P].allSites,F=e=>e[P].activeTabId,U=(0,b.default)(a,P),B=e=>U.getScrollField(e),V=e=>U.schemeSelector(e),Y=e=>e[P];e.s(["accountOptionsSelector",0,R,"accountSelector",0,v,"activeTabIdSelector",0,F,"allSitesSelector",0,M,"descriptionSelector",0,f,"enabledSelector",0,N,"fullAccessToStoreFieldsForValidation",0,Y,"iconSelector",0,C,"lookerReportIdSelector",0,h,"publisherIdsSelector",0,L,"schemeSelector",0,V,"scrollFieldSelector",0,B,"uiNameSelector",0,D],708766)},396130,90056,e=>{"use strict";let t=100,a="time",i="commonTable";var l=e.i(388302),o=e.i(799460),r=e.i(771937),n=e.i(93505),s=e.i(945503);let c=(0,n.default)(i,{page:1,pageSize:t,sortBy:a,sortOrder:o.SORT_DESC}),d={[i]:{...c.state[i]},totalCell:{customId:-1,platformFee:0,netRevenue:0,playerLoads:0,rpm:0,anyclipVideoAdImpressions:0,publisherVideoAdImpressions:0,anyclipDisplayAdImpressions:0,publisherDisplayAdImpressions:0,videoAdImpressions:0,displayAdImpressions:0,anyclipVideoRevenue:0,publisherVideoRevenue:0,anyclipDisplayRevenue:0,publisherDisplayRevenue:0,videoRevenue:0,displayRevenue:0,playerLoadsNetRpm:0,time:0},adFormat:r.AD_FORMAT_CONFIG_ALL,period:r.CALENDAR_FILTER_THIS_MONTH,customDateFrom:"",customDateTo:"",devices:[],demandSources:[],demandSourcesOptions:[],players:[],playersOptions:[],domains:[],domainsOptions:[],countriesFullList:[],countries:[],countriesOptions:[]},u=(0,l.createSlice)({name:"@@ANALYTICS/REVENUE_OVERVIEW",initialState:d,reducers:{getDataAction:c.actions.getTableDataAction,setAction:(e,t)=>{(0,s.applyPartial)(e,t.payload,[i])},setTableAction:(e,t)=>c.actions.setTableAction(e,t),getPlayersAction:(e,t)=>e,getDomainsAction:(e,t)=>e,getCountriesFullListAction:(e,t)=>e,getCountriesAction:(e,t)=>e,getDemandSourcesAction:(e,t)=>e,exportToCsvAction:e=>e,getTotalAction:e=>e}}),{getDataAction:A,setTableAction:E,setAction:S,getPlayersAction:p,getDomainsAction:T,getCountriesAction:_,getCountriesFullListAction:m,getDemandSourcesAction:I,getTotalAction:g,exportToCsvAction:y}=u.actions;e.s(["exportToCsvAction",0,y,"getCountriesAction",0,_,"getCountriesFullListAction",0,m,"getDataAction",0,A,"getDemandSourcesAction",0,I,"getDomainsAction",0,T,"getPlayersAction",0,p,"getTotalAction",0,g,"setAction",0,S,"setTableAction",0,E,"slice",0,u],90056);var O=e.i(195722);let b=u.name,P=(0,O.default)(i,b),v=e=>P.dataSelector(e),R=e=>P.pageSelector(e),L=e=>P.pageSizeSelector(e),h=e=>P.totalCountSelector(e),D=e=>P.sortBySelector(e),f=e=>P.sortOrderSelector(e),N=e=>P.isLoadingSelector(e),C=e=>e[b].adFormat,M=e=>e[b].period,F=e=>e[b].customDateFrom,U=e=>e[b].customDateTo,B=e=>e[b].devices,V=e=>e[b].demandSources,Y=e=>e[b].demandSourcesOptions,w=e=>e[b].players,G=e=>e[b].playersOptions,k=e=>e[b].domains,H=e=>e[b].domainsOptions,x=e=>e[b].countriesFullList,W=e=>e[b].countries,$=e=>e[b].countriesOptions,z=e=>e[b].totalCell;e.s(["adFormatSelector",0,C,"countriesFullListSelector",0,x,"countriesOptionsSelector",0,$,"countriesSelector",0,W,"customDateFromSelector",0,F,"customDateToSelector",0,U,"dataSelector",0,v,"demandSourcesOptionsSelector",0,Y,"demandSourcesSelector",0,V,"devicesSelector",0,B,"domainsOptionsSelector",0,H,"domainsSelector",0,k,"isLoadingSelector",0,N,"pageSelector",0,R,"pageSizeSelector",0,L,"periodSelector",0,M,"playersOptionsSelector",0,G,"playersSelector",0,w,"sortBySelector",0,D,"sortOrderSelector",0,f,"totalCellSelector",0,z,"totalCountSelector",0,h],396130)},204136,834976,193853,e=>{"use strict";var t=e.i(388302);let a={any:{stringFrom:"now/d"},yesterday:{stringFrom:"now-1d/d",stringTo:"now/d",value:"days"},last7days:{stringFrom:"now-7d/d",stringTo:"now/d",value:"week"},last30days:{stringFrom:"now-30d/d",stringTo:"now/d",value:"month"},custom:"Custom"},i=[{label:"Any time",value:a.any},{label:"Past 24 hours",value:a.yesterday},{label:"Past week",value:a.last7days},{label:"Past month",value:a.last30days},{label:"Custom",value:a.custom}],l={desktop:{title:"Desktop",items:[{title:"X Large",key:"xLarge"},{title:"Large",key:"large"},{title:"Medium & Smaller",key:"medium"}]}
545,mobile:{title:"Mobile",items:[{title:"Medium",key:"medium"},{title:"Small",key:"small"},{title:"X Small",key:"xSmall"}]}},o=[{title:"Users",id:"USERS",key:"users",tooltipTitle:"Total quantity of unique viewing sessions within the selected duration",query:` 546 query livePerformanceUsers( 547 $eventId: Int, 548 $scheduleSessionIds: [Int], 549 $inFocus: Boolean, 550 $interval: AnalyticsIntervalInputType, 551 $timezone: String 552 ) { 553 livePerformanceUsers( 554 eventId: $eventId, 555 scheduleSessionIds: $scheduleSessionIds, 556 inFocus: $inFocus, 557 interval: $interval, 558 timezone: $timezone 559 ) { 560 rid 561 data { 562 id 563 data { 564 time 565 users 566 usersInFocus 567 } 568 } 569 } 570 } 571`},{title:"Total viewed minutes",id:"TOTAL",key:"totalMinutes",tooltipTitle:"Total number of minutes viewed in all sessions within the selected duration",query:` 572 query livePerformanceMinutesTotal( 573 $eventId: Int, 574 $scheduleSessionIds: [Int], 575 $inFocus: Boolean, 576 $interval: AnalyticsIntervalInputType, 577 $timezone: String 578 ) { 579 livePerformanceMinutesTotal( 580 eventId: $eventId, 581 scheduleSessionIds: $scheduleSessionIds, 582 inFocus: $inFocus, 583 interval: $interval, 584 timezone: $timezone 585 ) { 586 rid 587 data { 588 id 589 data { 590 time 591 minutesTotal 592 minutesTotalInFocus 593 } 594 } 595 } 596 } 597`},{title:"Average viewed minutes",id:"AVERAGE",key:"averageMinutes",tooltipTitle:"The average quantity of minutes viewed in one session within the selected duration",additionalKey:"averageMinutesPercent",query:` 598 query livePerformanceMinutesAvg( 599 $eventId: Int, 600 $scheduleSessionIds: [Int], 601 $inFocus: Boolean, 602 $interval: AnalyticsIntervalInputType, 603 $timezone: String 604 ) { 605 livePerformanceMinutesAvg( 606 eventId: $eventId, 607 scheduleSessionIds: $scheduleSessionIds, 608 inFocus: $inFocus, 609 interval: $interval, 610 timezone: $timezone 611 ) { 612 rid 613 data { 614 id 615 data { 616 time 617 minutesAvg 618 minutesAvgInFocus 619 } 620 } 621 } 622 } 623`,chartTooltipFormatter:e=>Math.round(100*e)/100}];e.s(["CALENDAR_FILTER",0,i,"CALENDAR_FILTER_VALUE",0,a,"DEVICES_CONFIG",0,l,"TABS",0,o],834976);let r={calendar:a.any,calendarCustom:{dateStart:null,dateEnd:null},eventsSearch:"",eventsOptions:[],event:null,sessionsSearch:"",sessionsOptions:[],sessions:[],activeTab:o[0],users:null,totalMinutes:null,averageMinutes:null,averageMinutesPercent:null,desktop:{all:null,medium:null,large:null,xLarge:null},mobile:{all:null,medium:null,small:null,xSmall:null},countries:{all:null,items:[]},chartData:[],countriesFullList:[],isExportPdfLoading:!1},n=(0,t.createSlice)({name:"@@analyticsLiveDashboard/ANALYTICS_LIVE_DASHBOARD",initialState:r,reducers:{setFieldAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},getCountriesFullListAction:e=>e,getLiveEventsAction:e=>e,getLiveEventByIdAction:e=>e,getLivePerformanceTotalsAction:e=>e,getChartDataAction:e=>e,exportToPDFAction:e=>e,exportToCSVAction:e=>e}}),{setFieldAction:s,getCountriesFullListAction:c,getLiveEventsAction:d,getLiveEventByIdAction:u,getLivePerformanceTotalsAction:A,getChartDataAction:E,exportToPDFAction:S,exportToCSVAction:p}=n.actions;n.reducer,e.s(["exportToCSVAction",0,p,"exportToPDFAction",0,S,"getChartDataAction",0,E,"getCountriesFullListAction",0,c,"getLiveEventByIdAction",0,u,"getLiveEventsAction",0,d,"getLivePerformanceTotalsAction",0,A,"setFieldAction",0,s,"slice",0,n],193853);let T=n.name,_=e=>e[T].calendar,m=e=>e[T].calendarCustom,I=e=>e[T].eventsOptions,g=e=>e[T].event,y=e=>e[T].sessionsOptions,O=e=>e[T].sessions,b=e=>e[T].activeTab,P=e=>e[T].users,v=e=>e[T].totalMinutes,R=e=>e[T].averageMinutes,L=e=>e[T].averageMinutesPercent,h=e=>e[T].desktop,D=e=>e[T].mobile,f=e=>e[T].countries,N=e=>e[T].chartData,C=e=>e[T].countriesFullList,M=e=>e[T].isExportPdfLoading;e.s(["activeTabSelector",0,b,"averageMinutesPercentSelector",0,L,"averageMinutesSelector",0,R,"calendarCustomSelector",0,m,"calendarSelector",0,_,"chartDataSelector",0,N,"countriesFullListSelector",0,C,"countriesSelector",0,f,"desktopSelector",0,h,"eventSelector",0,g,"eventsOptionsSelector",0,I,"isExportPdfLoadingSelector",0,M,"mobileSelector",0,D,"sessionsOptionsSelector",0,y,"sessionsSelector",0,O,"totalMinutesSelector",0,v,"usersSelector",0,P],204136)},790605,161259,855449,e=>{"use strict";let t="NEW_ROW_ID",a=null,i="PEOPLE",l="BRANDS",o=[{label:"People",value:i},{label:"Brands",value:l}],r="ALL",n="APPROVED",s="NOT_APPROVED",c="DISABLED",d="ENABLED",u="MAIN",A="ALIAS",E=[{label:"Approved",value:n},{label:"Not Approved",value:s},{label:"Disabled",value:c}],S=[{label:"Approved",value:n},{label:"Not Approved",value:s},{label:"Disabled",value:c}],p=[{label:"Enabled",value:d}],T="LUMINOUSX",_=[{label:"Enabled",value:d,types:[T]},{label:"Disabled",value:c,types:[]}],m=[{label:"Manual",value:"Manual"},{label:"Google",value:"Google"},{label:"Wiki",value:"Wiki"},{label:"Missing",value:"MISSING"}],I={DISABLED:{label:"Disabled",color:"#00000024"},APPROVED:{label:"Approved",color:"#57AF48"},ENABLED:{label:"Enabled",color:"#57AF48"},NOT_APPROVED:{label:"Not Approved",color:"#FFA234"}},g=15,y="counterVideos",O="commonTable";e.s(["ALIAS",0,A,"ALL",0,r,"CATEGORY_OPTIONS",0,o,"DISABLED",0,c,"ENABLED",0,d,"IMAGE_OPTIONS",0,m,"LUMINOUSX",0,T,"MAIN",0,u,"NEW_ROW_ID",0,t,"NOT_APPROVED",0,s,"ROWS_PER_PAGE_DEFAULT",0,g,"SELECT_STATUS_OPTIONS",0,S,"STATUS_ALL",0,a,"STATUS_BRANDS",0,l,"STATUS_CELL_RENDER",0,I,"STATUS_OPTIONS",0,E,"STATUS_PEOPLE",0,i,"TABLE_REDUX_FIELD_NAME",0,O,"TABLE_SORT_BY",0,y,"X_RAY_OPTIONS",0,p,"X_RAY_SELECT_OPTIONS",0,_],161259);var b=e.i(388302),P=e.i(799460);let v=(0,e.i(93505).default)(O,{pageSize:g,sortBy:y,sortOrder:P.SORT_DESC,page:0}),R={...v.state,search:"",accountId:null,category:i,accountOptions:[],languages:[],xrayStatus:r,image:r,tagStatus:r,isMergeLoading:!1},L=(0,b.createSlice)({name:"@@ENTITIES/LIST",initialState:R,reducers:{getDataAction:v.actions.getTableDataAction,setTableAction:v.actions.setTableAction,setAction:(e,t)=>
623{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getAccountOptionsAction:e=>e,getLanguages:e=>e,updateEntityAction:e=>e,createEntityAction:e=>e,addEntityAction:(e,{payload:t})=>{e[O].data.unshift(t)},updateLocalEntityAction:(e,{payload:t})=>{let a=e[O].data.findIndex(e=>e.id===t.id);e[O].data[a]=t},mergeEntitiesAction:e=>e}}),{getDataAction:h,setTableAction:D,setAction:f,getLanguages:N,getAccountOptionsAction:C,updateEntityAction:M,createEntityAction:F,addEntityAction:U,updateLocalEntityAction:B,mergeEntitiesAction:V}=L.actions;e.s(["addEntityAction",0,U,"createEntityAction",0,F,"getAccountOptionsAction",0,C,"getDataAction",0,h,"getLanguages",0,N,"mergeEntitiesAction",0,V,"setAction",0,f,"setTableAction",0,D,"slice",0,L,"updateEntityAction",0,M,"updateLocalEntityAction",0,B],855449);var Y=e.i(195722);let w=L.name,{dataSelector:G,pageSelector:k,pageSizeSelector:H,totalCountSelector:x,sortBySelector:W,sortOrderSelector:$,isLoadingSelector:z}=(0,Y.default)(O,w),j=e=>e[w].search,K=e=>e[w].category,X=e=>e[w].account,q=e=>e[w].accountOptions,Q=e=>e[w].languages,Z=e=>e[w].xrayStatus,J=e=>e[w].tagStatus,ee=e=>e[w].image,et=e=>e[w].isMergeLoading;e.s(["accountOptionsSelector",0,q,"accountSelector",0,X,"categorySelector",0,K,"dataSelector",0,G,"imageSelector",0,ee,"isMergeLoadingSelector",0,et,"languagesSelector",0,Q,"pageSelector",0,k,"pageSizeSelector",0,H,"searchSelector",0,j,"sortBySelector",0,W,"sortOrderSelector",0,$,"tagStatusSelector",0,J,"totalCountSelector",0,x,"xrayStatusSelector",0,Z],790605)},208960,96585,998438,351699,e=>{"use strict";let t=1,a=-1,i=[{label:"Active",value:1},{label:"Archived",value:-1},{label:"Disabled",value:0}],l=15,o=[{id:"id",label:"Id",sortable:!0,width:"50"},{id:"name",label:"Name",width:"255",sortable:!0},{id:"title",label:"Title",sortable:!0},{id:"site",label:"Hub",sortable:!1},{id:"status",label:"Status",sortable:!0,width:"90"},{id:"updatedBy",label:"Updated By",sortable:!0},{id:"updatedAt",label:"Update Date",sortable:!0,width:"180"},{id:null,label:"",autoWidth:!0,padding:"none",sortable:!1}],r="initial";e.s(["GET_TEMPLATE_STATUS_INITIAL",0,r,"ROWS_PER_PAGE",0,l,"STATUS_ACTIVE",0,t,"STATUS_ARCHIVE",0,a,"STATUS_OPTIONS",0,i,"TABLE_HEADER",0,o],208960);var n=e.i(388302),s=e.i(799460),c=e.i(859288);let d={forms:[],page:1,totalCount:0,rowsPerPage:l,search:"",sortBy:"updatedAt",sortOrder:s.SORT_DESC,status:1,site:null,siteOptions:[],isFormDownloadInProgress:!1,formDownloadProcessingNotificationKey:null,shouldShowDownloadTryRequestOverConfirm:!1,formDownloadTryRequestCounter:1,templates:[],lastUsedTemplates:[],templateCategory:c.TEMPLATE_CATEGORY_ALL,templateCategoryOptions:c.TEMPLATE_CATEGORIES_OPTIONS,templateSearchText:""},u=(0,n.createSlice)({name:"@@FORMS/LIST",initialState:d,reducers:{getSiteOptionsAction:e=>e,getFormsAction:e=>e,toArchiveAction:e=>e,downloadFormDataAction:e=>e,sendFormReportToUserEmailAction:e=>e,getTemplateGalleryAction:e=>e,getTemplateGalleryCategoryAction:e=>e,setFieldAction:(e,t)=>({...e,...t.payload})}}),{downloadFormDataAction:A,getFormsAction:E,getSiteOptionsAction:S,getTemplateGalleryAction:p,getTemplateGalleryCategoryAction:T,sendFormReportToUserEmailAction:_,setFieldAction:m,toArchiveAction:I}=u.actions;u.reducer,e.s(["downloadFormDataAction",0,A,"getFormsAction",0,E,"getSiteOptionsAction",0,S,"getTemplateGalleryAction",0,p,"getTemplateGalleryCategoryAction",0,T,"sendFormReportToUserEmailAction",0,_,"setFieldAction",0,m,"slice",0,u,"toArchiveAction",0,I],96585);let g=u.name,y=e=>e[g].forms,O=e=>e[g].page,b=e=>e[g].totalCount,P=e=>e[g].rowsPerPage,v=e=>e[g].search,R=e=>e[g].sortBy,L=e=>e[g].sortOrder,h=e=>e[g].status,D=e=>e[g].site,f=e=>e[g].siteOptions,N=e=>e[g].isFormDownloadInProgress,C=e=>e[g].formDownloadProcessingNotificationKey,M=e=>e[g].shouldShowDownloadTryRequestOverConfirm,F=e=>e[g].formDownloadTryRequestCounter,U=e=>e[g].templates,B=e=>e[g].lastUsedTemplates,V=e=>e[g].templateCategory,Y=e=>e[g].templateCategoryOptions,w=e=>e[g].templateSearchText;e.s(["formDownloadProcessingNotificationKeySelector",0,C,"formDownloadTryRequestCounterSelector",0,F,"formsSelector",0,y,"isFormDownloadInProgressSelector",0,N,"lastUsedTemplatesSelector",0,B,"pageSelector",0,O,"rowsPerPageSelector",0,P,"searchSelector",0,v,"shouldShowDownloadTryRequestOverConfirmSelector",0,M,"siteOptionsSelector",0,f,"siteSelector",0,D,"sortBySelector",0,R,"sortOrderSelector",0,L,"statusSelector",0,h,"templateCategoryOptionsSelector",0,Y,"templateCategorySelector",0,V,"templateSearchTextSelector",0,w,"templatesSelector",0,U,"totalCountSelector",0,b],998438);var G=e.i(197335);let k="user/LAST_USED_TEMPLATES",H=()=>JSON.parse((0,G.getStorageItem)(k))||[],x=e=>{let t=H();t.find(t=>e===t)||t.push(e),t.length>3&&(t=t.slice(1)),(0,G.setBrowserStorageItem)(k,JSON.stringify(t))};e.s(["getTemplateIds",0,H,"setTemplateId",0,x],351699)},523796,452998,e=>{"use strict";var t=e.i(388302);let a={loading:!0,menuIsExpanded:!0,accountLogoUrl:null,accountUrl:null,hubs:[],selectedHub:{},hubsLoading:!1,watches:[],watchesLoading:!1,watchesPage:null,wat
623chesPageSize:null,watchesRecordsTotal:null,myWatchId:null,myWatchTitle:null,myWatchFolderName:null,myWatchChannels:[],externalShareId:null,externalShareTitle:null,externalShareFolderName:null,selectedWatchId:null,selectedWatchTitle:null,selectedWatchFolderName:null},i=(0,t.createSlice)({name:"@@HOSTED/WATCHES",initialState:a,reducers:{setInitialDataAction:(e,t)=>{e.accountLogoUrl=t.payload.accountLogoUrl,e.accountUrl=t.payload.accountUrl,e.hubs=t.payload.hubs,e.selectedHub=t.payload.selectedHub,e.watches=t.payload.watches.records,e.watchesPage=t.payload.watches.page,e.watchesPageSize=t.payload.watches.pageSize,e.watchesRecordsTotal=t.payload.watches.recordsTotal,e.myWatchId=t.payload.myWatch.id,e.myWatchTitle=t.payload.myWatch.title,e.myWatchFolderName=t.payload.myWatch.folderName,e.myWatchChannels=t.payload.myWatch.watchChannels,e.externalShareId=t.payload.shared.id,e.externalShareTitle=t.payload.shared.title,e.externalShareFolderName=t.payload.shared.folderName,e.selectedWatchId=t.payload.selectedWatch.id,e.selectedWatchTitle=t.payload.selectedWatch.title,e.selectedWatchFolderName=t.payload.selectedWatch.folderName,e.loading=!1},toggleMenuAction:(e,t)=>{e.menuIsExpanded=t.payload},getHubsAction:e=>{e.hubsLoading=!0},setHubsAction:(e,t)=>{e.hubs=t.payload,e.hubsLoading=!1},setHubAction:(e,t)=>{e.selectedHub=t.payload},getWatchesAction:e=>{e.watchesLoading=!0},setWatchesAction:(e,t)=>{e.watches=t.payload.records,e.watchesPage=t.payload.page,e.watchesPageSize=t.payload.pageSize,e.watchesRecordsTotal=t.payload.recordsTotal,e.watchesLoading=!1},setSelectedWatchAction:(e,t)=>{e.selectedWatchId=t.payload.id,e.selectedWatchTitle=t.payload.title,e.selectedWatchFolderName=t.payload.folderName},clearAllAction:()=>a}}),{setInitialDataAction:l,toggleMenuAction:o,getHubsAction:r,setHubsAction:n,setHubAction:s,getWatchesAction:c,setWatchesAction:d,setSelectedWatchAction:u,clearAllAction:A}=i.actions;i.reducer,e.s(["clearAllAction",0,A,"getHubsAction",0,r,"getWatchesAction",0,c,"setHubAction",0,s,"setHubsAction",0,n,"setInitialDataAction",0,l,"setSelectedWatchAction",0,u,"setWatchesAction",0,d,"slice",0,i,"toggleMenuAction",0,o],523796);let E=i.name,S=e=>e[E].loading,p=e=>e[E].menuIsExpanded,T=e=>e[E].accountLogoUrl,_=e=>e[E].accountUrl,m=e=>e[E].hubs,I=e=>e[E].selectedHub,g=e=>e[E].hubsLoading,y=e=>e[E].watches,O=e=>e[E].watchesLoading,b=e=>e[E].watchesPage,P=e=>e[E].watchesPageSize,v=e=>e[E].watchesRecordsTotal,R=e=>e[E].myWatchId,L=e=>e[E].myWatchTitle,h=e=>e[E].myWatchFolderName,D=e=>e[E].myWatchChannels,f=e=>e[E].externalShareId,N=e=>e[E].externalShareTitle,C=e=>e[E].externalShareFolderName,M=e=>e[E].selectedWatchId,F=e=>e[E].selectedWatchTitle,U=e=>e[E].selectedWatchFolderName;e.s(["accountLogoUrlSelector",0,T,"accountUrlSelector",0,_,"externalShareFolderNameSelector",0,C,"externalShareIdSelector",0,f,"externalShareTitleSelector",0,N,"hubsLoadingSelector",0,g,"hubsSelector",0,m,"loadingSelector",0,S,"menuIsExpandedSelector",0,p,"myWatchChannelsSelector",0,D,"myWatchFolderNameSelector",0,h,"myWatchIdSelector",0,R,"myWatchTitleSelector",0,L,"selectedHubSelector",0,I,"selectedWatchFolderNameSelector",0,U,"selectedWatchIdSelector",0,M,"selectedWatchTitleSelector",0,F,"watchesLoadingSelector",0,O,"watchesPageSelector",0,b,"watchesPageSizeSelector",0,P,"watchesRecordsTotalSelector",0,v,"watchesSelector",0,y],452998)},846566,914139,433333,e=>{"use strict";var t=e.i(388302);let a="PLANNED",i="RUNNING",l="PAUSED",o="STOPPED",r="HOURLY_EVEN",n="MINUTELY",s="INCLUDE",c="PLAY",d="PAUSE",u="STOP",A={targetingStatus:"targetingStatus",adPlaybackStatus:"adPlaybackStatus",budgetControlStatus:"budgetControlStatus"},E="ON",S="OFF",p="ON",T="OFF",_="ON",m="OFF",I=[{value:"DESKTOP",label:"Desktop"},{value:"MOBILE",label:"Mobile & Tablet"}],g="startDateTime",y="endDateTime",O="status",b="device",P="geo",v="viewsBudget",R="viewsDelivered",L="pacing",h="actions";e.s(["ACTION_PAUSE",0,d,"ACTION_PLAY",0,c,"ACTION_STOP",0,u,"AD_PLAYBACK_STATUS_OFF",0,T,"AD_PLAYBACK_STATUS_ON",0,p,"BUDGET_CONTROL_STATUS_OFF",0,m,"BUDGET_CONTROL_STATUS_ON",0,_,"DEVICE_OPTIONS",0,I,"GEO_ACTION_INCLUDE",0,s,"PACING_HOURLY_EVEN",0,r,"PACING_MINUTELY",0,n,"
623STATUS_PAUSED",0,l,"STATUS_PLANNED",0,a,"STATUS_RUNNING",0,i,"STATUS_STOPPED",0,o,"TABLE_COLUMN_DEVICE",0,b,"TABLE_COLUMN_END_DATE",0,y,"TABLE_COLUMN_GEO",0,P,"TABLE_COLUMN_START_DATE",0,g,"TABLE_COLUMN_STATUS",0,O,"TABLE_COLUMN_VIEWS_ACTIONS",0,h,"TABLE_COLUMN_VIEWS_BUDGET",0,v,"TABLE_COLUMN_VIEWS_DELIVERED",0,R,"TABLE_COLUMN_VIEWS_PACING",0,L,"TARGETING_STATUS_OFF",0,S,"TARGETING_STATUS_ON",0,E,"TARGETING_STATUS_TYPES",0,A],914139);let D={data:null,countryOptions:[],targetingStatus:S,adPlaybackStatus:T,budgetControlStatus:m,lastCreatedIdForOpenEdit:null,isLoading:!0,playersWithDisabledTargeting:null},f=(0,t.createSlice)({name:"@@VIDEO_TAB_TARGETING",initialState:D,reducers:{setStateAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},clearAction:()=>D,getTargetingAction:e=>e,createTargetingAction:e=>e,updateTargetingAction:e=>e,removeTargetingAction:e=>e,runActionTargetingAction:e=>e,getTargetingStatusesAction:e=>e,changeTargetingStatusesAction:e=>e,getPlayersWithDisabledTargeting:e=>e}}),{setStateAction:N,clearAction:C,getTargetingAction:M,createTargetingAction:F,updateTargetingAction:U,removeTargetingAction:B,runActionTargetingAction:V,getTargetingStatusesAction:Y,changeTargetingStatusesAction:w,getPlayersWithDisabledTargeting:G}=f.actions;e.s(["changeTargetingStatusesAction",0,w,"clearAction",0,C,"createTargetingAction",0,F,"getPlayersWithDisabledTargeting",0,G,"getTargetingAction",0,M,"getTargetingStatusesAction",0,Y,"removeTargetingAction",0,B,"runActionTargetingAction",0,V,"setStateAction",0,N,"slice",0,f,"updateTargetingAction",0,U],433333);let k=f.name,H=e=>e[k].data,x=e=>e[k].countryOptions,W=e=>e[k].targetingStatus,$=e=>e[k].adPlaybackStatus,z=e=>e[k].budgetControlStatus,j=e=>e[k].lastCreatedIdForOpenEdit,K=e=>e[k].isLoading,X=e=>e[k].playersWithDisabledTargeting;e.s(["adPlaybackStatus",0,$,"budgetControlStatus",0,z,"countryOptions",0,x,"data",0,H,"isLoading",0,K,"lastCreatedIdForOpenEdit",0,j,"playersWithDisabledTargetingSelector",0,X,"targetingStatus",0,W],846566)},57063,77549,966400,36274,732776,e=>{"use strict";var t=e.i(649789),a=e.i(400120);let i=function(e){return{canCreateEdit:(0,a.hasPermission)(t.VIDEO_ACCESS_TARGETING,e),canRemove:(0,a.hasPermission)(t.VIDEO_ACCESS_TARGETING,e)}};e.s(["default",0,i],77549);var l=e.i(350461),o=e.i(914139);let r=e=>24*e*36e5,n=e=>36e5*e,s=function(){let e=new Date(new Date().getTime()+r(1)+n(1)).getTime(),t=new Date(e+r(+l.default.env.APP_VIDEO_TARGETING_END_DATE_SHIFT)).getTime();return{id:`${Math.random()}-${Math.random()}`,startDateTime:e,endDateTime:t,status:o.STATUS_PLANNED,device:o.DEVICE_OPTIONS,geo:[],geoAction:o.GEO_ACTION_INCLUDE,viewsBudget:1e3,viewsDelivered:0,pacing:o.PACING_HOURLY_EVEN}};e.s(["default",0,s],966400);var c=o;function d(e=[]){return e.reduce((e,t)=>{let a=c.DEVICE_OPTIONS.find(e=>e.value===t);return a&&e.push(a),e},[])}function u(e=[],t){return e.length?e.map(e=>t.find(t=>t.value===e)):t}let A=function({countryOptions:e}){return t=>{let a=d(t.device),i=u(t.geo?.geo,e);return{id:t.uid,startDateTime:t.startDateTime,endDateTime:t.endDateTime,status:t.status,device:a,geo:i,geoAction:t.geo.action,viewsBudget:t.viewsBudget,viewsDelivered:t.viewsDelivered||0,pacing:t.pacing}}};e.s(["default",0,A],36274);var E=o;let S=function(e,t){let a={uid:e.id,startDateTime:e.startDateTime,endDateTime:e.endDateTime,device:e.device.map(e=>e.value||e),geo:{geo:e.geo.map(e=>e.value||e),action:E.GEO_ACTION_INCLUDE},viewsBudget:+e.viewsBudget};return t===E.BUDGET_CONTROL_STATUS_OFF&&(delete a.viewsBudget,a.pacing=E.PACING_MINUTELY),e.status===E.STATUS_PAUSED&&(delete a.geo,delete a.device,delete a.startDateTime),a};e.s(["default",0,S],732776),e.s([],57063)},802315,(e,t,a)=>{!function(e,a){t.exports=a()}(e.e,function(){return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}})},271817,827068,797695,559220,e=>{"use strict";let t="DEFAULT",a="CLEAN_ALL",i="WHITE_LIST",l="REGEX",o=[{label:"All",value:t},{label:"None",value:a},{label:"Custom",value:i},{label:"RegEx",value:l}],r=30,n="general",s="syndicatedContent",c="playerSelfService",d="marketplaceSelfService",u="Advanced",A="commonForm";e.s(["CLEAN_RULE_OPTIONS",0,o,"CLEAN_RULE_TYPE_ALL",0,t,"CLEAN_RULE_TYPE_CUSTOM",0,i,"CLEAN_RULE_TYPE_NONE",0,a,"CLEAN_RULE_TYPE_REGEXP",0,l,"REDUX_FIELD_NAME",0,A,"ROWS_PER_PAGE_DEFAULT",0,r,"TAB_ADVANCED",0,u,"TAB_GENERAL",0,n,"TAB_MARKETPLACE_SELF_SERVICE",0,d,"TAB_PLAYER_SELF_SERVICE",0,c,"TAB_SYNDICATED_CONTENT",0,s],827068);var E=e.i(388302);let S=[{fieldName:"account",tabId:n,validation:e=>e?"":"Field cannot be empty"},{fieldName:"name",tabId:n,validation:e=>{let t=e?.trim();return t?t.length<2?"Field cannot be less then 2 symbols":"":"Field cannot be empty"}},{fieldName:"domains",tabId:n,validation:e=>{let t="",a=()=>e.reduce((e,t)=>
623(e.seen[t.label]?e.hasDuplicates=!0:e.seen[t.label]=!0,e),{seen:{},hasDuplicates:!1}).hasDuplicates;return e.length?a()&&(t="Domain must be unique"):t="Please add at least one domain",t}},{fieldName:"demandAccount",tabId:d,validation:e=>e?"":"Field cannot be empty"},{fieldName:"defaultRule.cleanUrlRuleValue",tabId:u,validation:e=>e?"":"Field cannot be empty"}],p=(0,e.i(192155).default)(A,S),{validateFields:T,validateSingleField:_}=p,m={id:null,accountOptions:null,account:null,name:"",domains:[],publish:!1,includePublicContent:!1,accounts:[],selfService:!1,templatePlayerLumX:null,templatePlayerLumXAmp:null,templatePlayerLumN:null,templatePlayerLumNAmp:null,templatePlayerVertical:null,templatePlayerOutstream:null,templatePlayerOutstreamInArticle:null,templatePlayerOptions:null,monetization:!1,firstLook:!1,cpm:0,mpSelfService:!1,demandAccountId:null,demandAccount:null,demandAccountsOptions:[],pageRefresh:!1,refreshIntervalMinutes:0,refreshTimesLimit:0,ddSpecificPublisher:!1,defaultRule:{cleanUrlRuleType:a,cleanUrlRuleValue:""},cleanUrl:[],activeTabId:n,...p.state},I=(0,E.createSlice)({name:"@@HUBS/EDITOR",initialState:m,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...m}),getItemAction:e=>e,getAccountOptionsAction:e=>e,getDemandAccountsOptionsAction:e=>e,getTemplatePlayerOptionsAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:p.actions.setScrollToFieldAction,setErrorByPropAction:p.actions.updateValidationSchemeAction,removeErrorByPropAction:p.actions.removeErrorByFieldNameAction}}),{setAction:g,setInitialAction:y,getItemAction:O,getAccountOptionsAction:b,getDemandAccountsOptionsAction:P,getTemplatePlayerOptionsAction:v,createItemAction:R,updateItemAction:L,setActiveTabIdAction:h,removeErrorByPropAction:D,setErrorByPropAction:f,setScrollToFieldNameAction:N}=I.actions;I.reducer,e.s(["createItemAction",0,R,"getAccountOptionsAction",0,b,"getDemandAccountsOptionsAction",0,P,"getItemAction",0,O,"getTemplatePlayerOptionsAction",0,v,"removeErrorByPropAction",0,D,"setAction",0,g,"setActiveTabIdAction",0,h,"setErrorByPropAction",0,f,"setInitialAction",0,y,"setScrollToFieldNameAction",0,N,"slice",0,I,"updateItemAction",0,L,"validateFields",0,T,"validateSingleField",0,_],797695);var C=e.i(916094);let M=I.name,F=e=>e[M].id,U=e=>e[M].accountOptions,B=e=>e[M].account,V=e=>e[M].name,Y=e=>e[M].domains,w=e=>e[M].publish,G=e=>e[M].includePublicContent,k=e=>e[M].accounts,H=e=>e[M].selfService,x=e=>e[M].templatePlayerLumX,W=e=>e[M].templatePlayerLumXAmp,$=e=>e[M].templatePlayerLumN,z=e=>e[M].templatePlayerLumNAmp,j=e=>e[M].templatePlayerVertical,K=e=>e[M].templatePlayerOutstream,X=e=>e[M].templatePlayerOutstreamInArticle,q=e=>e[M].templatePlayerOptions,Q=e=>e[M].monetization,Z=e=>e[M].firstLook,J=e=>e[M].cpm,ee=e=>e[M].mpSelfService,et=e=>e[M].demandAccount,ea=e=>e[M].demandAccountId,ei=e=>e[M].demandAccountsOptions,el=e=>e[M].pageRefresh,eo=e=>e[M].refreshIntervalMinutes,er=e=>e[M].refreshTimesLimit,en=e=>e[M].ddSpecificPublisher,es=e=>e[M].defaultRule,ec=e=>e[M].cleanUrl,ed=e=>e[M].activeTabId,eu=(0,C.default)(A,M),eA=e=>eu.getScrollField(e),eE=e=>eu.schemeSelector(e),eS=e=>e[M];e.s(["accountOptionsSelector",0,U,"accountSelector",0,B,"accountsSelector",0,k,"activeTabIdSelector",0,ed,"cleanUrlSelector",0,ec,"cpmSelector",0,J,"ddSpecificPublisherSelector",0,en,"defaultRuleSelector",0,es,"demandAccountIdSelector",0,ea,"demandAccountSelector",0,et,"demandAccountsOptionsSelector",0,ei,"domainsSelector",0,Y,"firstLookSelector",0,Z,"fullAccessToStoreFieldsForValidation",0,eS,"idSelector",0,F,"includePublicContentSelector",0,G,"monetizationSelector",0,Q,"mpSelfServiceSelector",0,ee,"nameSelector",0,V,"pageRefreshSelector",0,el,"publishSelector",0,w,"refreshIntervalMinutesSelector",0,eo,"refreshTimesLimitSelector",0,er,"schemeSelector",0,eE,"scrollFieldSelector",0,eA,"selfServiceSelector",0,H,"templatePlayerLumNAmpSelector",0,z,"templatePlayerLumNSelector",0,$,"templatePlayerLumXAmpSelector",0,W,"templatePlayerLumXSelector",0,x,"templatePlayerOptionsSelector",0,q,"templatePlayerOutstreamInArticleSelector",0,X,"templatePlayerOutstreamSelector",0,K,"templatePlayerVerticalSelector",0,j],271817);var ep=e.i(350461);function eT(){return ep.default.env.APP_ENV_BASE_URL.replace(/https?:\/\//i,"")}e.s(["getDefaultDomain",0,eT],559220)},116192,997079,e=>{"use strict";var t=e.i(493107),a=e.i(388302),i=e.i(425521),l=t,o=e.i(356109),r=e.i(615775),n=t;let s=/^(https?):\/\/[^\s/$.?#].[^\s]*\.[a-z]{2,}(\/[^\s]*)?$/i,c=[{fieldName:"title",tabId:n.TAB_GENERAL,validation:e=>{let t=e?.trim();return t?t.length<2?"Field cannot be less then 2 symbols":"":"Field cannot be empty"}},{fieldName:"MRSSAliasDomain",tabId:n.TAB_GENERAL,validation:(e,t)=>{let a=e?.trim();return t.MRSSForExport&&!a?"Field cannot be empty":""}},{fieldName:"MRSSLinkUrl",tabId:n.TAB_GENERAL,validation:(e,t)=>{let a=e?.trim();return t.MRSSForExport&&a&&!s.test(a)?"Field must be a valid URL":""}},{fieldName:"design",tabId:n.TAB_LOOK_AND_FEEL,validation:(e,t,a)=>a[e]?r.uniqueChannelsMessages[e]:""},{fieldName:"frequency",tabId:n.TAB_PROMOTIONS,validation:(e,t)=>t.includeSponsoredContent?e?e<1||e>10?"between 1 and 10":"":"empty":""},{fieldName:"supplyTag",tabId:n.TAB_PROMOTIONS,validation:(e,t)=>t.includeSponsoredContent?e&&e.id?"":"Field cannot be empty":""}],d=(0,e.i(192155).default)(l.FORM_REDUX_FIELD_NAME,c),{validateFields:u,validateSingleField:A}=d,E={watchTitle:"",watchEnvironment:i.ENVIRONMENT_INTERNAL,watchFolderName:"",watchHub:null,wat
623chChannels:[],id:null,appearance:o.APPEARANCE_MODE_LIGHT,title:"",description:"",size:l.SIZE_MEDIUM,design:l.DESIGN_STANDARD,bg:null,logo:null,bgLogo:null,titleColor:null,descColor:null,vidTitleColor:null,vidInfoColor:null,cTitleColor:null,cVidTitleColor:null,cVidInfoColor:null,cTitleSize:null,cVidTitleSize:null,cVidInfoSize:null,isLoading:!1,formChanged:!1,MRSSForExport:!1,MRSSAliasDomain:"",MRSSLinkUrl:"",includeSponsoredContent:!1,frequency:3,supplyTag:null,supplyTagOptions:null,activeTabId:l.TAB_GENERAL,...d.state},S=(0,a.createSlice)({name:"@@WATCH/CHANNEL_EDIT",initialState:E,reducers:{clearAction:()=>({...E,watchChannels:[]}),updateStoreByPropAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},createChannelAction:e=>e,getChannelByIdAction:e=>e,setDefaultPropsFromWatchAction:e=>e,updateChannelAction:e=>e,getSupplyTagOptionsAction:e=>e,setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:d.actions.setScrollToFieldAction,setErrorByPropAction:d.actions.updateValidationSchemeAction,removeErrorByPropAction:d.actions.removeErrorByFieldNameAction}}),{clearAction:p,createChannelAction:T,getChannelByIdAction:_,setActiveTabIdAction:m,setScrollToFieldNameAction:I,setDefaultPropsFromWatchAction:g,setErrorByPropAction:y,removeErrorByPropAction:O,updateChannelAction:b,updateStoreByPropAction:P,getSupplyTagOptionsAction:v}=S.actions;S.reducer,e.s(["clearAction",0,p,"createChannelAction",0,T,"getChannelByIdAction",0,_,"getSupplyTagOptionsAction",0,v,"removeErrorByPropAction",0,O,"setActiveTabIdAction",0,m,"setDefaultPropsFromWatchAction",0,g,"setErrorByPropAction",0,y,"setScrollToFieldNameAction",0,I,"slice",0,S,"updateChannelAction",0,b,"updateStoreByPropAction",0,P,"validateFields",0,u],997079);var R=e.i(916094);let L=S.name,h=e=>e[L].watchTitle,D=e=>e[L].watchEnvironment,f=e=>e[L].watchFolderName,N=e=>e[L].watchHub,C=e=>e[L].id,M=e=>e[L].activeTabId,F=e=>e[L].appearance,U=e=>e[L].title,B=e=>e[L].description,V=e=>e[L].size,Y=e=>e[L].design,w=e=>e[L].bg,G=e=>e[L].logo,k=e=>e[L].bgLogo,H=e=>e[L].titleColor,x=e=>e[L].descColor,W=e=>e[L].vidTitleColor,$=e=>e[L].vidInfoColor,z=e=>e[L].cTitleColor,j=e=>e[L].cVidTitleColor,K=e=>e[L].cVidInfoColor,X=e=>e[L].cTitleSize,q=e=>e[L].cVidTitleSize,Q=e=>e[L].cVidInfoSize,Z=e=>e[L].isLoading,J=e=>e[L].formChanged,ee=e=>e[L].MRSSForExport,et=e=>e[L].MRSSAliasDomain,ea=e=>e[L].MRSSLinkUrl,ei=e=>e[L].includeSponsoredContent,el=e=>e[L].frequency,eo=e=>e[L].supplyTag,er=e=>e[L].supplyTagOptions,en=(0,R.default)(t.FORM_REDUX_FIELD_NAME,L),es=e=>e[L],ec=e=>en.getScrollField(e),ed=e=>en.schemeSelector(e);e.s(["activeTabIdSelector",0,M,"appearanceSelector",0,F,"bgLogoSelector",0,k,"bgSelector",0,w,"cTitleColorSelector",0,z,"cTitleSizeSelector",0,X,"cVidInfoColorSelector",0,K,"cVidInfoSizeSelector",0,Q,"cVidTitleColorSelector",0,j,"cVidTitleSizeSelector",0,q,"descColorSelector",0,x,"descriptionSelector",0,B,"designSelector",0,Y,"formChangedSelector",0,J,"frequencySelector",0,el,"fullAccessToStoreFieldsForValidation",0,es,"idSelector",0,C,"includeSponsoredContentSelector",0,ei,"isLoadingSelector",0,Z,"logoSelector",0,G,"mrssAliasDomainSelector",0,et,"mrssForExportSelector",0,ee,"mrssLinkUrlSelector",0,ea,"schemeSelector",0,ed,"scrollFieldSelector",0,ec,"sizeSelector",0,V,"supplyTagOptionsSelector",0,er,"supplyTagSelector",0,eo,"titleColorSelector",0,H,"titleSelector",0,U,"vidInfoColorSelector",0,$,"vidTitleColorSelector",0,W,"watchEnvironmentSelector",0,D,"watchFolderNameSelector",0,f,"watchHubSelector",0,N,"watchTitleSelector",0,h],116192)},785976,10660,289327,e=>{"use strict";let t="general",a="commonForm",i="attributeForm",l="all",o={id:l,name:"All Hubs"};e.s(["ALL_HUB_OPTION",0,o,"ALL_OPTION_ID",0,l,"REDUX_ATTRIBUTE_FORM_FIELD_NAME",0,i,"REDUX_FIELD_NAME",0,a,"TAB_GENERAL",0,t],10660);var r=e.i(388302),n=e.i(960157),s=n;let c=/^(?!:\/\/)([a-zA-Z0-9-]{1,63}\.){1,4}[a-zA-Z]{2,11}$/,d=/^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$/,u=[{fieldName:"displayName",tabId:t,validation:e=>e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty"},{fieldName:"domains",tabId:t,dynamic:!0,validation:(e,t)=>t.allDomains?"":e.reduce((e,t,a)=>{let i=t?.trim(),l="";return i?c.test(i)||(l="Invalid domain"):l="Field cannot be empty",e[a]=l,e},{})},{fieldName:"metadataURL",tabId:t,validation:(e,t)=>t.provider===s.PROVIDER_VALUE_GOOGLE?"":e?d.test(e)?"":"Field must be a valid URL":"Field cannot be empty"},{fieldName:"ssoDefaultHubs",tabId:t,validation:(e,t)=>t.onlyExisting||e.length?"":"Field cannot be empty"}],A=[{fieldName:"attributeName",tabId:t,validation:e=>e?e.length<2?"Minimum 2 letters":"":"Field cannot be empty"},{fieldName:"attributesKeyValues",tabId:t,dynamic:!0,validation:e=>
623e.reduce((e,[t,a],i)=>(e[i]={key:d.test(t)?"":"Invalid key pattern",value:a?"":"Field cannot be empty"},e),{})},{fieldName:"attributeHubs",tabId:t,validation:e=>e.length?"":"Field cannot be empty"}];var E=e.i(192155);let S=(0,E.default)(a,u),p=(0,E.default)(i,A),{validateFields:T,validateSingleField:_}=S,{validateFields:m}=p,I={id:null,displayName:"",allDomains:!1,onlyExisting:!0,domains:[""],metadataURL:"",ssoDefaultHubs:[],hubOptions:null,allHubs:!1,ssoCustomAttributes:[],provider:n.PROVIDER_VALUE_GOOGLE,settings:{allDomainsDisabled:!1,cannotCreateProfile:!1,singleSignOnUrl:"",audienceUri:""},attributeName:"",attributesKeyValues:[["",""]],attributeHubs:[],attributeAllHubs:!1,activeTabId:t,...S.state,...p.state},g=(0,r.createSlice)({name:"@@SSO/EDITOR",initialState:I,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...I}),setAttributesFormToInitialAction:e=>{e.attributeName="",e.attributesKeyValues=[["",""]],e.attributeHubs=[]},getItemAction:e=>e,getHubOptionsAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,setScrollToFieldNameAction:S.actions.setScrollToFieldAction,setErrorByPropAction:S.actions.updateValidationSchemeAction,removeErrorByPropAction:S.actions.removeErrorByFieldNameAction,setScrollToFieldNameAttributeFormAction:p.actions.setScrollToFieldAction,setErrorByPropAttributeFormAction:p.actions.updateValidationSchemeAction,removeErrorByPropAttributeFormAction:p.actions.removeErrorByFieldNameAction}}),{setAction:y,setInitialAction:O,getItemAction:b,getHubOptionsAction:P,createItemAction:v,updateItemAction:R,setAttributesFormToInitialAction:L,removeErrorByPropAction:h,setErrorByPropAction:D,setScrollToFieldNameAction:f,setScrollToFieldNameAttributeFormAction:N,setErrorByPropAttributeFormAction:C,removeErrorByPropAttributeFormAction:M}=g.actions;g.reducer,e.s(["createItemAction",0,v,"getHubOptionsAction",0,P,"getItemAction",0,b,"removeErrorByPropAction",0,h,"setAction",0,y,"setAttributesFormToInitialAction",0,L,"setErrorByPropAction",0,D,"setErrorByPropAttributeFormAction",0,C,"setInitialAction",0,O,"setScrollToFieldNameAction",0,f,"setScrollToFieldNameAttributeFormAction",0,N,"slice",0,g,"updateItemAction",0,R,"validateAttributeFields",0,m,"validateFields",0,T],289327);var F=e.i(916094);let U=g.name,B=(0,F.default)(a,U),V=(0,F.default)(i,U),Y=e=>e[U].provider,w=e=>e[U].displayName,G=e=>e[U].allDomains,k=e=>e[U].onlyExisting,H=e=>e[U].domains,x=e=>e[U].metadataURL,W=e=>e[U].settings.allDomainsDisabled,$=e=>e[U].settings.cannotCreateProfile,z=e=>e[U].settings.singleSignOnUrl,j=e=>e[U].settings.audienceUri,K=e=>e[U].ssoDefaultHubs,X=e=>e[U].allHubs,q=e=>e[U].hubOptions,Q=e=>e[U].ssoCustomAttributes,Z=e=>e[U].activeTabId,J=e=>e[U].attributeName,ee=e=>e[U].attributesKeyValues,et=e=>e[U].attributeHubs,ea=e=>e[U].attributeAllHubs,ei=e=>B.getScrollField(e),el=e=>B.schemeSelector(e),eo=e=>e[U],er=e=>V.schemeSelector(e);e.s(["activeTabIdSelector",0,Z,"allDomainsSelector",0,G,"allHubsSelectors",0,X,"attributeAllHubsSelector",0,ea,"attributeHubsSelector",0,et,"attributeNameSelector",0,J,"attributesKeyValuesSelector",0,ee,"displayNameSelector",0,w,"domainsSelector",0,H,"fullAccessToStoreFieldsForValidation",0,eo,"hubOptionsSelector",0,q,"metadataURLSelector",0,x,"onlyExistingSelector",0,k,"providerSelector",0,Y,"schemeAttributeFormSelector",0,er,"schemeSelector",0,el,"scrollFieldSelector",0,ei,"settingsAllDomainsDisabledSelector",0,W,"settingsAudienceUriSelector",0,j,"settingsCannotCreateProfileSelector",0,$,"settingsSingleSignOnUrlSelector",0,z,"ssoCustomAttributesSelector",0,Q,"ssoDefaultHubsSelector",0,K],785976)},169506,e=>{"use strict";let t="allMyVideo",a="labels",i="wordsInTitle",l="sources",o=[{label:"All my videos",value:t},{label:"My videos contain one or more custom tags",value:a},{label:"My videos contain one or more words",value:i},{label:"My videos from source",value:l}],r="allRelatedUsers",n="users",s="hubs",c=[{label:"List of people",value:n},{label:"List of hubs",value:s}],d=2,u=1,A=0,E=0,S="save",p="remove",T="AND",_="OR",m=[{label:"AND",value:T},{label:"OR",value:_}];e.s(["CONDITION_ENUM_AND",0,T,"CONDITION_ENUM_OR",0,_,"CONDITION_OPTIONS",0,m,"FIRST_RULE_SELECT_INDEX",0,A,"FIRST_RULE_SHARE_WITH_INDEX",0,E,"MAX_RULE_SELECT_INDEX",0,d,"MAX_RULE_SHARE_WITH_INDEX",0,u,"RULE_TYPE_ALL_MY_VIDEO",0,t,"RULE_TYPE_LABELS",0,a,"RULE_TYPE_OPTIONS",0,o,"RULE_TYPE_SOURCES",0,l,"RULE_TYPE_WORDS_IN_TITLE",0,i,"SAVE_RULE_ACTION_REMOVE",0,p,"SAVE_RULE_ACTION_SAVE",0,S,"SHARE_WITH_TYPE_ALL_RELATED_USERS",0,r,"SHARE_WITH_TYPE_HUBS",0,s,"SHARE_WITH_TYPE_OPTIONS",0,c,"SHARE_WITH_TYPE_USERS",0,n])},299865,e=>{"use strict";var t=e.i(169506);let a=({uiIndex:e,indexInArray:a})=>({ruleId:void 0,ruleName:`Share videos rule ${a}`,ruleOrder:void 0,ruleSelectType:[{type:"",value:[],condition:t.CONDITION_ENUM_AND}],ruleShareWithType:[{type:"",value:[]}],initialFromApi:null,sourcesOptions:null,hubsOptions:null,usersOptions:null,uiIndex:e,uiIsOpen:!0,uiIsSaved:!1,uiIsNameInEditMode:!0});e.s(["default",0,a])},120368,13273,e=>{"use strict";var t=e.i(388302);let a={rules:[],search:"",sourcesOptions:null,usersOptions:null,hubsOptions:null},i=(0,t.createSlice)({name:"@@userRulesSettings",initialState:a,reducers:{getSourcesOptionAction:e=>e,getHubsOptionsAction:e=>e,getUsersOptionsAction:e=>e,saveRulesAction:e=>e,getRulesAction:e=>e,setModuleStateAction:(e,t)=>({...e,...t.payload})}}),{getHubsOptionsAction:l,getRulesAction:o,getSourcesOptionAction:r,getUsersOptionsAction:n,saveRulesAction:s,setModuleStateAction:c}=i.actions;i.reducer,e.s(["getHubsOptionsAction",0,l,"getRulesAction",0,o,"getSourcesOptionAction",0,r,"getUsersOptionsAction",0,n,"saveRulesAction",0,s,"setModuleStateAction",0,c,"slice",0,i],13273);let d=i.name,u=e=>e[d].rules,A=e=>e[d].search,E=e=>e[d].sourcesOptions,S=e=>e[d].usersOptions,p=e=>e[d].hubsOptions;e.s(["hubsOptionsSelector",0,p,"rulesSelector",0,u,"searchSelector",0,A,"sourcesOptionsSelector",0,E,"usersOptionsSelector",0,S],120368)},94513,548228,34929,673888,e=>{"use strict";e.i(299865);var t=e.i(169506),a=e.i(120368);let i=e=>({id:e.value}),l=e=>{let a={};return e.forEach((e,l)=>{a[e.type]={order:l,condition:e.condition},e.type===t.RULE_TYPE_ALL_MY_VIDEO&&(a[e.type].value=!0),[t.RULE_TYPE_LABELS,t.RULE_TYPE_WORDS_IN_TITLE].includes(e.type)&&(a[e.type].value=e.value),e.type===t.RULE_TYPE_SOURCES&&(a[e.type].value=e.value.map(i))}),Object.keys(a).length?a:null},o=e=>{let a={};return e.forEach((e,l)=>{e.type===t.SHARE_WITH_TYPE_ALL_RELATED_USERS&&(a[e.type]={value:!0,order:l}),e.type===t.SHARE_WITH_TYPE_HUBS&&(a[e.type]={value:e.value.map(i),order:l}),e.type===t.SHARE_WITH_TYPE_USERS&&(a[e.type]={value:e.value,order:l})}),Object.keys(a).length?a:null},r=e=>(0,a.rulesSelector)(e).filter(e=>e.initialFromApi).map((e,t)=>{let a={ruleName:e.uiIsSaved?e.ruleName:e.initialFromApi.ruleName,ruleOrder:t},i=l(e.uiIsSaved?e.ruleSelectType:e.initialFromApi.ruleSelectType),r=o(e.uiIsSaved?e.ruleShareWithType:e.initialFromApi.ruleShareWithType);return i&&(a.sharedVideoRules=i),r&&(a.shareWith=r),a});e.s(["default",0,r],548228);let n=(e,t)=>e.map(e=>{let a={};return Object.keys(t).forEach(i=>
623{a[i]=t[i](e)}),{...e,...a}});e.s(["default",0,n],34929);var s=t;let c=(e,t)=>{let a=[];return Object.keys(e).forEach(i=>{let l=e[i];if(l){let e={type:i,value:[s.RULE_TYPE_SOURCES,s.SHARE_WITH_TYPE_HUBS].includes(i)?l.value.map(e=>({label:e.name,value:e.id})):l.value};t&&(e.condition=l.condition||s.CONDITION_ENUM_AND),a[l.order]=e}}),a.filter(e=>e)},d=e=>e.map(e=>{let t=c(e.sharedVideoRules,!0),a=c(e.shareWith);return{ruleId:e.id,ruleName:e.ruleName,ruleOrder:e.ruleOrder,ruleSelectType:t,ruleShareWithType:a,initialFromApi:{ruleName:e.ruleName,ruleSelectType:t,ruleShareWithType:a},sourcesOptions:null,hubsOptions:null,usersOptions:null,uiIndex:`${Math.random()}-${Math.random()}`,uiIsOpen:!0,uiIsSaved:!0,uiIsNameInEditMode:!1}});e.s(["default",0,d],673888),e.s([],94513)},881544,524191,762292,e=>{"use strict";var t=e.i(33829);let a=[{label:"All Origins",value:"ALL"},{label:"Direct Navigation ",value:"playlist"},{label:"Collaboration",value:"share"},{label:"Search",value:"search"}],i={hours:"HOURS",days:"DAYS",weeks:"WEEKS"},l={today:{stringFrom:"now/d",comparison:{stringFrom:"now-1d/d",stringTo:"now-1d/h"},interval:i.hours,videoChartDataKey:"hours",tooltipDateFormatter:e=>e.format("hh A"),tooltipGraphDateFormatter:e=>e.format("hh:mm A")},yesterday:{stringFrom:"now-1d/d",stringTo:"now/d",comparison:{stringFrom:"now-2d/d",stringTo:"now-1d/d"},interval:i.hours,videoChartDataKey:"hours",tooltipDateFormatter:e=>e.format("hh A"),tooltipGraphDateFormatter:e=>e.format("hh:mm A")},last7days:{stringFrom:"now-7d/d",stringTo:"now/d",comparison:{stringFrom:"now-14d/d",stringTo:"now-7d/d"},interval:i.days,videoChartDataKey:"date",tooltipDateFormatter:e=>e.format("MMM DD"),tooltipGraphDateFormatter:e=>e.format("MMM DD, YYYY")},last30days:{stringFrom:"now-30d/d",stringTo:"now/d",comparison:{stringFrom:"now-60d/d",stringTo:"now-30d/d"},interval:i.days,videoChartDataKey:"date",tooltipDateFormatter:e=>e.format("MMM DD"),tooltipGraphDateFormatter:e=>e.format("MMM DD, YYYY")},last90days:{stringFrom:"now-90d/d",stringTo:"now/d",comparison:{stringFrom:"now-180d/d",stringTo:"now-90d/d"},interval:i.weeks,videoChartDataKey:"weeks",tooltipDateFormatter:e=>e.format("MMM DD"),tooltipGraphDateFormatter:e=>e.format("MMM DD, YYYY")},custom:"Custom"},o=[{label:"Today",value:l.today},{label:"Yesterday",value:l.yesterday},{label:"Last 7 Days",value:l.last7days},{label:"Last 30 Days",value:l.last30days},{label:"Last 90 Days",value:l.last90days},{label:"Custom",value:l.custom}],r=[{key:"NO_OF_VIEWS",title:"Views",formatter:e=>(0,t.abbreviateNumber)(e,2),dataKey:"numOfViews",barColor:"secondary.light"},{key:"ATTENTION_SPAN",title:"Attention Span",formatter:e=>`${e?.toFixed(1)}%`,dataKey:"attentionSpan",barColor:"primary.main"},{key:"ENG_SCORE",title:"Eng. Score",formatter:e=>e?.toFixed(2),dataKey:"engScore",barColor:"warning.main",domainChart:[0,"dataMax"],ticks:[0,1,2,3,4,5]}],n={VIDEOS:{id:"VIDEOS",title:"Top Videos",label:"Video Name",chartLegend:"This Video"},CHANNELS:{id:"CHANNELS",title:"Top Channels",label:"Channel Name",chartLegend:"This Channel"},WATCHES:{id:"WATCHES",title:"Top Watches",label:"Watch Name",chartLegend:"This Watch"},HUBS:{id:"HUBS",title:"Top Hubs",label:"Hub Name",chartLegend:"This Hub"}},s=[n.VIDEOS,n.CHANNELS,n.WATCHES,n.HUBS],c=[{id:"name",getLabel:e=>n[e]?.label,sortable:!1},{id:"NO_OF_VIEWS",getLabel:e=>e===n.VIDEOS.id?"Views":"Views, total",sortable:!0,align:"center"},{id:"ATTENTION_SPAN",getLabel:e=>e===n.VIDEOS.id?"Attention Span":"Attention Span, avg",sortable:!0,align:"center"},{id:"ENG_SCORE",getLabel:e=>e===n.VIDEOS.id?"Eng. Score":"Engagement Score, avg",sortable:!0,align:"center"}];e.s(["CALENDAR_FILTER",0,o,"CALENDAR_FILTER_VALUE",0,l,"INTERVAL",0,i,"ORIGIN_FILTER",0,a,"TABLE_HEADERS",0,c,"TABS",0,s,"TABS_CONFIG",0,n,"VIDEO_METRICS_TABS",0,r],881544);var d=e.i(877713),u=e.i(388302),A=d;let E={hub:null,hubOptions:null,watch:null,watchOptions:null,watchChannel:null,watchChannelOptions:null,origin:"ALL",calendar:l.last30days,calendarCustom:{dateStart:null,dateEnd:null,comparison:{dateStart:null,dateEnd:null},interval:"DAYS"},includeArchived:!1,activeTabId:n.VIDEOS.id,total:0,topSearches:[],tableItems:[],search:null,searchOptions:[],sortBy:"NO_OF_VIEWS",sortOrder:"DESC",metrics:{total:null,comparison:null},metricViews:[],metricAttentionSpan:[],metricSearches:[],selectedItemId:null,activeMetric:r[0].key,itemMetrics:[],displayStateMainMetrics:A.WIDGET_DISPLAY_STATE_NO_DATA,displayStateTopSearches:A.WIDGET_DISPLAY_STATE_NO_DATA,displayStateTopVideos:A.WIDGET_DISPLAY_STATE_NO_DATA,isExportCsvLoading:!1,isExportPdfLoading:!1},S=(0,u.createSlice)({name:"@@analyticsVideoContentPerformance/ANALYTICS_VIDEO_CONTENT_PERFORMANCE",initialState:E,reducers:{setFieldAction:(e,t)=>
623{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},getHubOptionsAction:e=>e,getWatchOptionsAction:e=>e,getTableItemsAction:e=>e,getPerformanceTopSearchesAction:e=>e,getSearchOptionsAction:e=>e,getPerformanceVideosTotalAction:e=>e,getPerformanceVideosTotalMetricAction:e=>e,getItemMetricsAction:e=>e,exportToCsvAction:e=>e,exportToPdfAction:e=>e}}),{setFieldAction:p,getHubOptionsAction:T,getWatchOptionsAction:_,getTableItemsAction:m,getPerformanceTopSearchesAction:I,getSearchOptionsAction:g,getPerformanceVideosTotalAction:y,getPerformanceVideosTotalMetricAction:O,getItemMetricsAction:b,exportToCsvAction:P,exportToPdfAction:v}=S.actions;S.reducer,e.s(["exportToCsvAction",0,P,"exportToPdfAction",0,v,"getHubOptionsAction",0,T,"getItemMetricsAction",0,b,"getPerformanceTopSearchesAction",0,I,"getPerformanceVideosTotalAction",0,y,"getPerformanceVideosTotalMetricAction",0,O,"getSearchOptionsAction",0,g,"getTableItemsAction",0,m,"getWatchOptionsAction",0,_,"setFieldAction",0,p,"slice",0,S],524191);let R=S.name,L=e=>e[R].hub,h=e=>e[R].hubOptions,D=e=>e[R].watch,f=e=>e[R].watchOptions,N=e=>e[R].watchChannel,C=e=>e[R].watchChannelOptions,M=e=>e[R].origin,F=e=>e[R].calendar,U=e=>e[R].calendarCustom,B=e=>e[R].includeArchived,V=e=>e[R].activeTabId,Y=e=>e[R].total,w=e=>e[R].topSearches,G=e=>e[R].tableItems,k=e=>e[R].search,H=e=>e[R].searchOptions,x=e=>e[R].sortBy,W=e=>e[R].sortOrder,$=e=>e[R].metrics,z=e=>e[R].metricViews,j=e=>e[R].metricAttentionSpan,K=e=>e[R].metricSearches,X=e=>e[R].selectedItemId,q=e=>e[R].activeMetric,Q=e=>e[R].itemMetrics,Z=e=>e[R].displayStateMainMetrics,J=e=>e[R].displayStateTopSearches,ee=e=>e[R].displayStateTopVideos,et=e=>e[R].isExportCsvLoading,ea=e=>e[R].isExportPdfLoading,ei=e=>{let t=e[R];return[t.displayStateMainMetrics,t.displayStateTopSearches,t.displayStateTopVideos].every(e=>e===d.WIDGET_DISPLAY_STATE_NO_DATA)},el=e=>{let t=e[R];return[t.displayStateMainMetrics,t.displayStateTopSearches,t.displayStateTopVideos].every(e=>e===d.WIDGET_DISPLAY_STATE_ERROR)};e.s(["activeMetricSelector",0,q,"activeTabIdSelector",0,V,"calendarCustomSelector",0,U,"calendarSelector",0,F,"displayStateMainMetricsSelector",0,Z,"displayStateTopSearchesSelector",0,J,"displayStateTopVideosSelector",0,ee,"getGlobalErrorState",0,el,"getGlobalNoDataState",0,ei,"hubOptionsSelector",0,h,"hubSelector",0,L,"includeArchivedSelector",0,B,"isExportCsvLoadingSelector",0,et,"isExportPdfLoadingSelector",0,ea,"itemMetricsSelector",0,Q,"metricAttentionSpanSelector",0,j,"metricSearchesSelector",0,K,"metricViewsSelector",0,z,"metricsSelector",0,$,"originSelector",0,M,"searchOptionsSelector",0,H,"searchSelector",0,k,"selectedItemIdSelector",0,X,"sortBySelector",0,x,"sortOrderSelector",0,W,"tableItemsSelector",0,G,"topSearchesSelector",0,w,"totalSelector",0,Y,"watchChannelOptionsSelector",0,C,"watchChannelSelector",0,N,"watchOptionsSelector",0,f,"watchSelector",0,D],762292)},843396,e=>{"use strict";let t=100,a=null,i=1,l=0,o=[{label:"Active",value:1},{label:"Disabled",value:0}],r=15,n="updateDate",s="commonTable";e.s(["ROWS_PER_PAGE_DEFAULT",0,r,"SEARCH_TEXT_MAX_LENGTH",0,t,"STATUSES_ACTIVE",0,i,"STATUSES_ALL",0,a,"STATUSES_INACTIVE",0,l,"STATUSES_OPTIONS",0,o,"TABLE_REDUX_FIELD_NAME",0,s,"TABLE_SORT_BY",0,n])},648286,e=>{"use strict";let t="general",a="commonForm",i=-1,l={id:-1,name:"All Hubs"};e.s(["OPTION_ALL",0,l,"OPTION_ALL_ID",0,i,"REDUX_FIELD_NAME",0,a,"TAB_GENERAL",0,t])},199231,82686,e=>{"use strict";var t=e.i(388302),a=e.i(843396),i=e.i(648286),l=i,o=e.i(983314);let r=[{fieldName:"firstName",tabId:l.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"},{fieldName:"lastName",tabId:l.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"},{fieldName:"email",tabId:l.TAB_GENERAL,validation:e=>{let t=e?.trim(),a="";return t?o.emailRegExp.test(t)||(a="Invalid email"):a="Field cannot be empty",a}},{fieldName:"timezone",tabId:l.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"},{fieldName:"role",tabId:l.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"},{fieldName:"account",tabId:l.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"}
623,{fieldName:"contentOwner",tabId:l.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"},{fieldName:"publisherIds",tabId:l.TAB_GENERAL,validation:(e,t)=>t.allSites||e?.length?"":"Field cannot be empty"}],n=(0,e.i(192155).default)(i.REDUX_FIELD_NAME,r),{validateFields:s,validateSingleField:c}=n,d={id:null,email:"",firstName:"",lastName:"",status:a.STATUSES_ACTIVE,enable2fa:!1,sendInvite:!0,allSites:!1,updateDate:"",updatedBy:"",timezone:null,timezoneOptions:null,role:null,roleOptions:null,defaultHub:null,publisherIds:[],department:null,departmentOptions:null,account:null,accountOptions:null,contentOwner:null,contentOwnersOptions:null,initialRoleName:null,initialRoleType:null,initialEmail:null,initialStatus:a.STATUSES_INACTIVE,activeTabId:i.TAB_GENERAL,...n.state},u=(0,t.createSlice)({name:"@@USERS/EDITOR",initialState:d,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...d}),impersonateUserAction:e=>e,getItemAction:e=>e,getAccountOptionsAction:e=>e,getContentOwnersOptionsAction:e=>e,getDemandAccountsOptionsAction:e=>e,getTemplatePlayerOptionsAction:e=>e,createDepartmentAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,getRoleOptionsAction:e=>e,getTimezoneOptionsAction:e=>e,getDepartmentOptionsAction:e=>e,setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:n.actions.setScrollToFieldAction,setErrorByPropAction:n.actions.updateValidationSchemeAction,removeErrorByPropAction:n.actions.removeErrorByFieldNameAction}}),{setAction:A,setInitialAction:E,getItemAction:S,impersonateUserAction:p,getAccountOptionsAction:T,getContentOwnersOptionsAction:_,createItemAction:m,updateItemAction:I,createDepartmentAction:g,getRoleOptionsAction:y,getTimezoneOptionsAction:O,getDepartmentOptionsAction:b,setActiveTabIdAction:P,removeErrorByPropAction:v,setErrorByPropAction:R,setScrollToFieldNameAction:L}=u.actions;u.reducer,e.s(["createDepartmentAction",0,g,"createItemAction",0,m,"getAccountOptionsAction",0,T,"getContentOwnersOptionsAction",0,_,"getDepartmentOptionsAction",0,b,"getItemAction",0,S,"getRoleOptionsAction",0,y,"getTimezoneOptionsAction",0,O,"impersonateUserAction",0,p,"removeErrorByPropAction",0,v,"setAction",0,A,"setActiveTabIdAction",0,P,"setErrorByPropAction",0,R,"setInitialAction",0,E,"setScrollToFieldNameAction",0,L,"slice",0,u,"updateItemAction",0,I,"validateFields",0,s],199231);var h=t,D=a,f=e.i(799460);let N=(0,e.i(93505).default)(D.TABLE_REDUX_FIELD_NAME,{page:1,pageSize:D.ROWS_PER_PAGE_DEFAULT,sortBy:D.TABLE_SORT_BY,sortOrder:f.SORT_DESC}),C={...N.state,search:"",account:null,accountOptions:null,role:null,roleOptions:null,department:null,departmentOptions:null,status:D.STATUSES_ACTIVE,apiSet:null},M=(0,h.createSlice)({name:"@@USERS/LIST",initialState:C,reducers:{getDataAction:N.actions.getTableDataAction,setTableAction:N.actions.setTableAction,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getRoleOptionsAction:e=>e,getAccountOptionsAction:e=>e,getApiSetAction:e=>e,generateTokenAction:e=>e,resetPasswordAction:e=>e,bulkUpdateAction:e=>e,getDepartmentOptionsAction:e=>e}}),{getDataAction:F,setTableAction:U,setAction:B,getRoleOptionsAction:V,getAccountOptionsAction:Y,getApiSetAction:w,generateTokenAction:G,resetPasswordAction:k,bulkUpdateAction:H,getDepartmentOptionsAction:x}=M.actions;e.s(["bulkUpdateAction",0,H,"generateTokenAction",0,G,"getAccountOptionsAction",0,Y,"getApiSetAction",0,w,"getDataAction",0,F,"getDepartmentOptionsAction",0,x,"getRoleOptionsAction",0,V,"resetPasswordAction",0,k,"setAction",0,B,"setTableAction",0,U,"slice",0,M],82686)},13179,e=>{"use strict";var t=e.i(843396),a=e.i(82686),i=e.i(195722);let l=a.slice.name,{dataSelector:o,pageSelector:r,pageSizeSelector:n,totalCountSelector:s,sortBySelector:c,sortOrderSelector:d,selectedSelector:u,isLoadingSelector:A}=(0,i.default)(t.TABLE_REDUX_FIELD_NAME,l),E=e=>e[l].status,S=e=>e[l].search,p=e=>e[l].account,T=e=>e[l].accountOptions,_=e=>e[l].department,m=e=>e[l].departmentOptions,I=e=>e[l].role,g=e=>e[l].roleOptions,y=e=>e[l].apiSet;e.s(["accountOptionsSelector",0,T,"accountSelector",0,p,"apiSetSelector",0,y,"dataSelector",0,o,"departmentOptionsSelector",0,m,"departmentSelector",0,_,"isLoadingSelector",0,A,"pageSelector",0,r,"pageSizeSelector",0,n,"roleOptionsSelector",0,g,"roleSelector",0,I,"searchSelector",0,S,"selectedSelector",0,u,"sortBySelector",0,c,"sortOrderSelector",0,d,"statusSelector",0,E,"totalCountSelector",0,s])},701085,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}
623(a,{AppRouterContext:function(){return l},GlobalLayoutRouterContext:function(){return r},LayoutRouterContext:function(){return o},MissingSlotContext:function(){return s},TemplateContext:function(){return n}});let i=e.r(741705)._(e.r(191788)),l=i.default.createContext(null),o=i.default.createContext(null),r=i.default.createContext(null),n=i.default.createContext(null),s=i.default.createContext(new Set)},531430,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return l}});class i extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class l extends URLSearchParams{append(){throw new i}delete(){throw new i}set(){throw new i}sort(){throw new i}}("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),t.exports=a.default)},470008,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(a,{NavigationPromisesContext:function(){return s},PathParamsContext:function(){return n},PathnameContext:function(){return r},ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},SearchParamsContext:function(){return o},createDevToolsInstrumentedPromise:function(){return c}});let i=e.r(191788),l=e.r(531430),o=(0,i.createContext)(null),r=(0,i.createContext)(null),n=(0,i.createContext)(null),s=(0,i.createContext)(null);
623function c(e,t){let a=Promise.resolve(t);return a.status="fulfilled",a.value=t,a.displayName=`${e} (SSR)`,a}},14760,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(a,{BailoutToCSRError:function(){return l},isBailoutToCSRError:function(){return o}});let i="BAILOUT_TO_CLIENT_SIDE_RENDERING";class l extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=i}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===i}},991622,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(a,{HTTPAccessErrorStatus:function(){return i},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return o},getAccessFallbackErrorTypeByStatus:function(){return s},getAccessFallbackHTTPStatus:function(){return n},isHTTPAccessFallbackError:function(){return r}});let i={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},l=new Set(Object.values(i)),o="NEXT_HTTP_ERROR_FALLBACK";function r(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,a]=e.digest.split(";");return t===o&&l.has(Number(a))}function n(e){return Number(e.digest.split(";")[1])}function s(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("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),t.exports=a.default)},40184,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"RedirectStatusCode",{enumerable:!0,get:function(){return i}});var i=function(e){return e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e}({});("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),t.exports=a.default)},301939,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(a,{REDIRECT_ERROR_CODE:function(){return l},isRedirectError:function(){return o}});let i=e.r(40184),l="NEXT_REDIRECT";function o(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[a,o]=t,r=t.slice(2,-2).join(";"),n=Number(t.at(-2));return a===l&&("replace"===o||"push"===o)&&"string"==typeof r&&!isNaN(n)&&n in i.RedirectStatusCode}("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),t.exports=a.default)},68934,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"isNextRouterError",{enumerable:!0,get:function(){return o}});let i=e.r(991622),l=e.r(301939);function o(e){return(0,l.isRedirectError)(e)||(0,i.isHTTPAccessFallbackError)(e)}("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),t.exports=a.default)},326172,434480,e=>{"use strict";var t=e.i(388302);let a={users:[],sites:[],usersToShare:[],message:"",accessLevel:e.i(298796).PUBLIC,accessSites:[],accessUsers:[],isLoading:!1,isSitesLoading:!1,isAccessUsersLoading:!1,isSharing:!1,isOpen:!1,videoId:"",sendHubsNotification:!1,isUsedInTrim:!1,isKeepSharingCheckedInTrim:!1},i=(0,t.createSlice)({name:"@@shareAndAccess",initialState:a,reducers:{getUsersByAccountAction:e=>e,setUsersByAccountAction:(e,t)=>{e.users=t.payload},deleteAccessUsersAction:e=>e,getPublishersByIdsAction:e=>e,setPublishersByIdsAction:(e,t)=>{e.sites=t.payload},updateAccessLevelAction:e=>e,changeAccessLevelAction:e=>e,addAccessSitesAction:e=>
623e,deleteAccessSitesAction:e=>e,shareVideoWithUsersAction:e=>e,updateStateByParamAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},setIsSharingAction:(e,t)=>{e.isSharing=t.payload},setVideoSharedAction:e=>{e.usersToShare=[],e.isSharing=!1},clearFormAction:()=>a,setIsLoadingAction:(e,t)=>{e.isLoading=t.payload},setIsSitesLoadingAction:(e,t)=>{e.isSitesLoading=t.payload},setFormCloseAction:(e,t)=>{e.isOpen=t.payload},copyAccessUsersToTrimedVideoAction:e=>e,getSharedUsersNameAction:e=>e}}),{getUsersByAccountAction:l,setUsersByAccountAction:o,getPublishersByIdsAction:r,setPublishersByIdsAction:n,updateAccessLevelAction:s,changeAccessLevelAction:c,addAccessSitesAction:d,deleteAccessSitesAction:u,shareVideoWithUsersAction:A,setIsSharingAction:E,setVideoSharedAction:S,clearFormAction:p,setIsLoadingAction:T,setIsSitesLoadingAction:_,setFormCloseAction:m,copyAccessUsersToTrimedVideoAction:I,getSharedUsersNameAction:g,deleteAccessUsersAction:y,updateStateByParamAction:O}=i.actions;e.s(["addAccessSitesAction",0,d,"changeAccessLevelAction",0,c,"clearFormAction",0,p,"copyAccessUsersToTrimedVideoAction",0,I,"deleteAccessSitesAction",0,u,"deleteAccessUsersAction",0,y,"getPublishersByIdsAction",0,r,"getSharedUsersNameAction",0,g,"getUsersByAccountAction",0,l,"setFormCloseAction",0,m,"setIsLoadingAction",0,T,"setIsSharingAction",0,E,"setIsSitesLoadingAction",0,_,"setPublishersByIdsAction",0,n,"setUsersByAccountAction",0,o,"setVideoSharedAction",0,S,"shareVideoWithUsersAction",0,A,"slice",0,i,"updateAccessLevelAction",0,s,"updateStateByParamAction",0,O],434480);let b=i.name,P=e=>e[b].users,v=e=>e[b].sites,R=e=>e[b].usersToShare,L=e=>e[b].message,h=e=>e[b].accessLevel,D=e=>e[b].accessSites,f=e=>e[b].accessUsers,N=e=>e[b].isLoading,C=e=>e[b].isAccessUsersLoading,M=e=>e[b].isSharing,F=e=>e[b].videoId,U=e=>e[b].sendHubsNotification,B=e=>e[b].isUsedInTrim,V=e=>e[b].isKeepSharingCheckedInTrim;e.s(["accessLevelSelector",0,h,"accessSitesSelector",0,D,"accessUsersSelector",0,f,"isAccessUsersLoadingSelector",0,C,"isKeepSharingCheckedInTrimSelector",0,V,"isLoadingSelector",0,N,"isSharingSelector",0,M,"isUsedInTrimSelector",0,B,"messageSelector",0,L,"sendHubsNotificationSelector",0,U,"sitesSelector",0,v,"usersSelector",0,P,"usersToShareSelector",0,R,"videoIdSelector",0,F],326172)},509196,e=>{"use strict";let t=e.i(38039).slice.name,a=e=>e[t].selectedVideo,i=e=>e[t].dialogVisible,l=e=>e[t].speechToTextModel,o=e=>e[t].speechToTextModels,r=e=>e[t].ownersOptions,n=e=>e[t].tabIndex,s=e=>e[t].advertiserOptions,c=e=>e[t].isChaptersMonitoringActive;e.s(["advertiserOptionsSelector",0,s,"dialogVisibleSelector",0,i,"isChaptersMonitoringActive",0,c,"ownersOptionsSelector",0,r,"selectedVideoSelector",0,a,"speechToTextModelSelector",0,l,"speechToTextModelsSelector",0,o,"tabIndexSelector",0,n])},768918,e=>{"use strict";var t=e.i(388302);let a={name:"",originalVideoId:null,isOpen:!1,isPlayed:!1,isMuted:!1,startTrimProgress:0,playProgress:0,endTrimProgress:100,currentTime:0,duration:0,isVideoDurationLessHour:!1,startTrimTime:0,endTrimTime:0,isShowShare:!1,originalVideo:null,trimedVideo:null},i=(0,t.createSlice)({name:"@@COMMON/TRIM_VIDEO",initialState:a,reducers:{makeTrimAction:e=>e,setStateAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},openAction:e=>{e.isOpen=!0},clearAction:()=>a}}),{clearAction:l,makeTrimAction:o,openAction:r,setStateAction:n}=i.actions;i.reducer,e.s(["clearAction",0,l,"makeTrimAction",0,o,"openAction",0,r,"setStateAction",0,n,"slice",0,i])},111413,e=>{"use strict";let t=e.i(768918).slice.name,a=e=>e[t].name,i=e=>e[t].originalVideoId,l=e=>e[t].isOpen,o=e=>e[t].isPlayed,r=e=>e[t].isMuted,n=e=>e[t].startTrimProgress,s=e=>e[t].playProgress,c=e=>e[t].endTrimProgress,d=e=>e[t].currentTime,u=e=>e[t].duration,A=e=>e[t].isVideoDurationLessHour,E=e=>e[t].startTrimTime,S=e=>e[t].endTrimTime,p=e=>e[t].isShowShare,T=e=>e[t].originalVideo,_=e=>e[t].trimedVideo;e.s(["currentTimeSelector",0,d,"durationSelector",0,u,"endTrimProgressSelector",0,c,"endTrimTimeSelector",0,S,"isMutedSelector",0,r,"isOpenSelector",0,l,"isPlayedSelector",0,o,"isShowShareSelector",0,p,"isVideoDurationLessHourSelector",0,A,"nameSelector",0,a,"originalVideoIdSelector",0,i,"originalVideoSelector",0,T,"playProgressSelector",0,s,"startTrimProgressSelector",0,n,"startTrimTimeSelector",0,E,"trimedVideoSelector",0,_])},705596,e=>{"use strict";let t={AMAZON:"awsRecognitionModels",CLARIFAI:"clarifaiModels",GOOGLE:"googleModels",WEAVO:"weavoModels"},a=[{name:"BRANDS",value:"BRANDS"},{name:"BRAND_SAFETY",value:"BRAND_SAFETY"},{name:"KEYWORDS",value:"KEYWORDS"},{name:"PEOPLE",value:"PEOPLE"},{name:"TEXT",value:"TEXT"}],i=(e,t)=>{let i=e.find(e=>e.provider===t)?.models??[];return{model:{options:i.map(e=>({...e})),selected:i[0]?.value??""},category:{options:a.map(e=>({...e})),selected:a[0].value}
623,lowerBound:{value:"0.5"},maxResults:{value:""}}},l=({min:e,max:t,isFloat:a,value:i})=>{let l=a?parseFloat(i):parseInt(i,10);return l<e?l=e:l>t&&(l=t),l};e.s(["getDefaultTempForm",0,i,"iabClassificationCategoriesCollection",0,a,"modelsByProviders",0,t,"numberInRange",0,l])},98792,e=>{"use strict";var t=e.i(388302);let a={isLoading:!0,providers:[],awsRecognitionModels:{providerName:"AMAZON",formList:[],tempForm:null},clarifaiModels:{providerName:"CLARIFAI",formList:[],tempForm:null},googleModels:{providerName:"GOOGLE",formList:[],tempForm:null},weavoModels:{providerName:"WEAVO",formList:[],tempForm:null},dictionaryBrandSafetyCategories:[],dictionaryIabClassificationCategories:[],notifications:[],dictionaryBrandSafetySpeech:[],dictionaryBrandSafetyText:[],dictionaryBlacklistFile:{},dictionaryMapFile:{},dictionaryCategorizationFile:{},dictionaryFilterFile:{},dictionaryBrandSafetyFile:{},htmlParsingConfigFile:{},classificationIabWeightsFile:{},classificationIabCelebritiesMapFile:{},classificationIabMapFile:{},classificationKeywordsLowerbound:0,classificationKeywordsCount:0,classificationIabCount:0,classificationIabLowerbound:0,enableIabKeywordsMergingAlgorithm:!1,enableIabCategorizationAlgorithm:!1},i=(0,t.createSlice)({name:"@@CONFIG_PAGE",initialState:a,reducers:{getConfigurationDataAction:e=>e,updateConfigurationByPropAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},uploadConfigFileAction:e=>e,setConfigurationDataAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]}),e.isLoading=!1},saveConfigurationDataOnServerAction:e=>e,onUpdateFormAction:e=>e,onDeleteFormAction:e=>e,onAddFormAction:e=>e,onChangeModelFormAction:e=>e,onChangeModelTempFormAction:e=>e}}),{getConfigurationDataAction:l,updateConfigurationByPropAction:o,uploadConfigFileAction:r,setConfigurationDataAction:n,saveConfigurationDataOnServerAction:s,onUpdateFormAction:c,onDeleteFormAction:d,onAddFormAction:u,onChangeModelFormAction:A,onChangeModelTempFormAction:E}=i.actions;e.s(["getConfigurationDataAction",0,l,"onAddFormAction",0,u,"onChangeModelFormAction",0,A,"onChangeModelTempFormAction",0,E,"onDeleteFormAction",0,d,"onUpdateFormAction",0,c,"saveConfigurationDataOnServerAction",0,s,"setConfigurationDataAction",0,n,"slice",0,i,"updateConfigurationByPropAction",0,o,"uploadConfigFileAction",0,r])},129006,e=>{"use strict";let t=e.i(98792).slice.name,a=e=>e[t].isLoading,i=e=>e[t].providers,l=e=>e[t].awsRecognitionModels,o=e=>e[t].clarifaiModels,r=e=>e[t].googleModels,n=e=>e[t].weavoModels,s=e=>e[t].dictionaryBrandSafetyCategories,c=e=>e[t].dictionaryIabClassificationCategories,d=e=>e[t].notifications,u=e=>e[t].dictionaryBrandSafetySpeech,A=e=>e[t].dictionaryBrandSafetyText,E=e=>e[t].dictionaryBlacklistFile,S=e=>e[t].dictionaryMapFile,p=e=>e[t].dictionaryCategorizationFile,T=e=>e[t].dictionaryFilterFile,_=e=>e[t].dictionaryBrandSafetyFile,m=e=>e[t].htmlParsingConfigFile,I=e=>e[t].classificationIabWeightsFile,g=e=>e[t].classificationIabCelebritiesMapFile,y=e=>e[t].classificationIabMapFile,O=e=>e[t].classificationKeywordsLowerbound,b=e=>e[t].classificationKeywordsCount,P=e=>e[t].classificationIabCount,v=e=>e[t].classificationIabLowerbound,R=e=>e[t].enableIabKeywordsMergingAlgorithm,L=e=>e[t].enableIabCategorizationAlgorithm,h=e=>({isLoading:a(e),weavoModels:n(e),googleModels:r(e),clarifaiModels:o(e),awsRecognitionModels:l(e),dictionaryBrandSafetyCategories:s(e),dictionaryIabClassificationCategories:c(e),notifications:d(e),dictionaryBrandSafetySpeech:u(e),dictionaryBrandSafetyText:A(e),dictionaryBlacklistFile:E(e),dictionaryMapFile:S(e),dictionaryCategorizationFile:p(e),dictionaryFilterFile:T(e),dictionaryBrandSafetyFile:_(e),htmlParsingConfigFile:m(e),classificationIabWeightsFile:I(e),classificationIabCelebritiesMapFile:g(e),classificationIabMapFile:y(e),classificationKeywordsLowerbound:O(e),classificationKeywordsCount:b(e),classificationIabCount:P(e),classificationIabLowerbound:v(e),enableIabKeywordsMergingAlgorithm:R(e),enableIabCategorizationAlgorithm:L(e)}),D=e=>({isLoading:a(e),providers:i(e),awsRecognitionModels:l(e),clarifaiModels:o(e),googleModels:r(e),weavoModels:n(e)}),f=e=>({awsRecognitionModels:l(e),clarifaiModels:o(e),googleModels:r(e),weavoModels:n(e)}),N=e=>({providers:i(e)});e.s(["awsRecognitionModelsSelector",0,l,"clarifaiModelsSelector",0,o,"classificationIabCelebritiesMapFileSelector",0,g,"classificationIabCountSelector",0,P,"classificationIabLowerboundSelector",0,v,"classificationIabMapFileSelector",0,y,"classificationIabWeightsFileSelector",0,I,"classificationKeywordsCountSelector",0,b,"classificationKeywordsLowerboundSelector",0,O,"dictionaryBlacklistFileSelector",0,E,"dictionaryBlockInfoComputedSelector",0,h,"dictionaryBrandSafetyCategoriesSelector",0,s,"dictionaryBrandSafetyFileSelector",0,_,"dictionaryBrandSafetySpeechSelector",0,u,"dictionaryBrandSafetyTextSelector",0,A,"dictionaryCategorizationFileSelector",0,p,"dictionaryFilterFileSelector",0,T,"dictionaryIabClassificationCategoriesSelector",0,c,"dictionaryMapFileSelector",0,S,"enableIabCategorizationAlgorithmSelector",0,L,"enableIabKeywordsMergingAlgorithmSelector",0,R,"getAllAnalyticsModelsComputedSelector",0,f,"getProvidersListComputedSelector",0,N,"googleModelsSelector",0,r,"htmlParsingConfigFileSelector",0,m,"isLoadingSelector",0,a,"modelBlockInfoComputedSelector",0,D,"notificationsSelector",0,d,"providersSelector",0,i,"weavoModelsSelector",0,n])},523394,703783,e=>{"use strict";var t=e.i(388302),a=e.i(264775),i=a;let l=/^[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,16}\b([-a-zA-Z0-9@:%_+.~#?&/=\S]*)/,o=/(https?:\/\/)|(\/){2,}/,r=e=>e.replace(/https?:\/\//i,"").replace(/\/$/,""),n=e=>e.replace(/^www\./,""),s=e=>{let t=r(e).toLowerCase();return l.test(e)&&!o.test(t)&&"/"!==e.substring(e.length-1)},c=(e,t)=>{let a=e?n(e.toLowerCase()):"";return t.filter(e=>e.urlPrefix.find(e=>a.includes(n(e.toLowerCase()))))},d=(e,t)=>{let a=[...new Set(t.map(e=>e.playerId))];return e.filter(e=>!a.includes(e.id))};e.s(["availablePlayers",0,d,"isValidPlaylistUrl",0,s,"matchedPlayersByURL",0,c,"removeProtocol",0,r,"removeWorldWideWebPrefix",0,n],703783);let u=[{fieldName:"hub",tabId:i.TAB_GENERAL,validation:e=>e?"":"Hub is required"},{fieldName:"name",tabId:i.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"},{fieldName:"url",tabId:i.TAB_GENERAL,validation:(e,t)=>{if(!s(e))return i.ERROR_MESSAGE_DEFAULT;let a=c(e,t.playerOptions);return a.length?d(a,t.playlistsByUrl).length?"":i.ERROR_MESSAGE_ALREADY_EXISTS:i.ERROR_MESSAGE_NO_MATCH}},{fieldName:"player",tabId:i.TAB_GENERAL,validation:e=>e?"":"Player is required"},{fieldName:"frequency",tabId:i.TAB_PROMOTIONS,validation:(e,t)=>t.includeSponsoredContent?e?e<1||e>10?"between 1 and 10":"":"empty":""},{fieldName:"supplyTag",tabId:i.TAB_PROMOTIONS,validation:(e,t)=>t.includeSponsoredContent?e&&e.id?"":"Field cannot be empty":""}],A=(0,e.i(192155).default)(a.FORM_REDUX_FIELD_NAME,u),{validateFields:E,validateSingleField:S}=A,p={isLoading:!1,activeTabId:a.TAB_GENERAL,formChanged:!1,playlistId:null,duplicatedPlaylistId:null,hubOptions:[],hub:null,name:"",status:!0,url:"",isPrefix:!0,playerOptions:[],player:null,playlistsByUrl:[],isFallback:!1,shuffle:!1,clips:[],includeSponsoredContent:!1,frequency:3,supplyTag:null,supplyTagOptions:null,...A.state},T=(0,t.createSlice)({name:"@@EDITORIAL/SIDEBAR/PLAYLISTS/PLAYLIST_EDIT",initialState:p,reducers:{setIsLoadingAction:(e,t)=>{e.isLoading=t.payload},setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},getPlaylistByIdAction:e=>e,getHubOptionsAction:e=>e,setHubOptionsAction:(e,t)=>{e.hubOptions=t.payload},getPlayerOptionsAction:e=>e,setPlayerOptionsAction:(e,t)=>{e.playerOptions=t.payload},getPlaylistsByUrlAction:e=>e,setPlaylistsByUrlAction:(e,t)=>{e.playlistsByUrl=t.payload},updateStoreByPropAction:(e,t)=>
623{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},createPlaylistAction:e=>e,updatePlaylistAction:e=>e,duplicatePlaylistAction:e=>e,clearCreateFormAction:e=>({...p,activeTabId:e.activeTabId}),getSupplyTagOptionsAction:e=>e,setScrollToFieldNameAction:A.actions.setScrollToFieldAction,setErrorByPropAction:A.actions.updateValidationSchemeAction,removeErrorByPropAction:A.actions.removeErrorByFieldNameAction}}),{setIsLoadingAction:_,setActiveTabIdAction:m,getPlaylistByIdAction:I,getHubOptionsAction:g,setHubOptionsAction:y,getPlayerOptionsAction:O,setPlayerOptionsAction:b,getPlaylistsByUrlAction:P,setPlaylistsByUrlAction:v,updateStoreByPropAction:R,createPlaylistAction:L,updatePlaylistAction:h,duplicatePlaylistAction:D,clearCreateFormAction:f,setScrollToFieldNameAction:N,setErrorByPropAction:C,removeErrorByPropAction:M,getSupplyTagOptionsAction:F}=T.actions;T.reducer,e.s(["clearCreateFormAction",0,f,"createPlaylistAction",0,L,"duplicatePlaylistAction",0,D,"getHubOptionsAction",0,g,"getPlayerOptionsAction",0,O,"getPlaylistByIdAction",0,I,"getPlaylistsByUrlAction",0,P,"getSupplyTagOptionsAction",0,F,"removeErrorByPropAction",0,M,"setActiveTabIdAction",0,m,"setErrorByPropAction",0,C,"setHubOptionsAction",0,y,"setIsLoadingAction",0,_,"setPlayerOptionsAction",0,b,"setPlaylistsByUrlAction",0,v,"setScrollToFieldNameAction",0,N,"slice",0,T,"updatePlaylistAction",0,h,"updateStoreByPropAction",0,R,"validateFields",0,E,"validateSingleField",0,S],523394)},453665,e=>{"use strict";var t=e.i(264775),a=e.i(523394),i=e.i(916094);let l=a.slice.name,o=e=>e[l].isLoading,r=e=>e[l].activeTabId,n=e=>e[l].formChanged,s=e=>e[l].playlistId,c=e=>e[l].duplicatedPlaylistId,d=e=>e[l].hubOptions,u=e=>e[l].hub,A=e=>e[l].name,E=e=>e[l].status,S=e=>e[l].url,p=e=>e[l].isPrefix,T=e=>e[l].playerOptions,_=e=>e[l].player,m=e=>e[l].playlistsByUrl,I=e=>e[l].isFallback,g=e=>e[l].shuffle,y=e=>e[l].clips,O=e=>e[l].includeSponsoredContent,b=e=>e[l].frequency,P=e=>e[l].supplyTag,v=e=>e[l].supplyTagOptions,R=(0,i.default)(t.FORM_REDUX_FIELD_NAME,l),L=e=>R.getScrollField(e),h=e=>R.schemeSelector(e),D=e=>e[l];e.s(["activeTabIdSelector",0,r,"clipsSelector",0,y,"duplicatedPlaylistIdSelector",0,c,"formChangedSelector",0,n,"frequencySelector",0,b,"fullAccessToStoreFieldsForValidation",0,D,"hubOptionsSelector",0,d,"hubSelector",0,u,"includeSponsoredContentSelector",0,O,"isFallbackSelector",0,I,"isLoadingSelector",0,o,"isPrefixSelector",0,p,"nameSelector",0,A,"playerOptionsSelector",0,T,"playerSelector",0,_,"playlistIdSelector",0,s,"playlistsByUrlSelector",0,m,"schemeSelector",0,h,"scrollFieldSelector",0,L,"shuffleSelector",0,g,"statusSelector",0,E,"supplyTagOptionsSelector",0,v,"supplyTagSelector",0,P,"urlSelector",0,S])},45147,e=>{"use strict";var t=e.i(388302);let a={destinations:[],totalDestinations:0,publishers:[],search:"",page:1,pageSize:15,sortBy:"id",sortOrder:"DESC",platform:null,status:null,publisherId:null,publishEntries:[]},i=(0,t.createSlice)({name:"@@DESTINATION/LIST",initialState:a,reducers:{getPublishersAction:(e,t)=>({...e,...t.payload}),addPublishEntriesAction:(e,t)=>(t.payload,e),getPublishEntriesAction:(e,t)=>(t.payload,e),deletePublishEntriesAction:(e,t)=>(t.payload,e),updatePublishEntryAction:(e,t)=>(t.payload,e),getDestinationsAction:(e,t)=>({...e,...t.payload}),setDestinationsAction:(e,t)=>{e.destinations=t.payload},setTotalDestinationsAction:(e,t)=>{e.totalDestinations=t.payload},setPublishersAction:(e,t)=>{e.publishers=t.payload},setPublishEntriesAction:(e,t)=>{e.publishEntries=t.payload},setFilterParamAction:(e,t)=>({...e,...t.payload}),clearFilterParamsAction:()=>({...a})}}),{addPublishEntriesAction:l,clearFilterParamsAction:o,deletePublishEntriesAction:r,getDestinationsAction:n,getPublishEntriesAction:s,getPublishersAction:c,setDestinationsAction:d,setFilterParamAction:u,setPublishEntriesAction:A,setPublishersAction:E,setTotalDestinationsAction:S,updatePublishEntryAction:p}=i.actions;i.name,i.reducer,e.s(["addPublishEntriesAction",0,l,"clearFilterParamsAction",0,o,"deletePublishEntriesAction",0,r,"getDestinationsAction",0,n,"getPublishEntriesAction",0,s,"getPublishersAction",0,c,"setDestinationsAction",0,d,"setFilterParamAction",0,u,"
623setPublishEntriesAction",0,A,"setPublishersAction",0,E,"setTotalDestinationsAction",0,S,"slice",0,i,"updatePublishEntryAction",0,p])},882507,e=>{"use strict";let t="general",a="commonForm",i="YOUTUBE",l="FACEBOOK",o=[{label:"YouTube",value:i},{label:"Facebook",value:l}],r=[{label:"Title",value:"TITLE",required:!0,propertyName:"title"},{label:"Language",value:"LANGUAGE",propertyName:"language"},{label:"Category",value:"CATEGORY",propertyName:"category"},{label:"Manual Tags",value:"MANUAL_TAGS",propertyName:"manualTags"},{label:"Thumbnail",value:"THUMBNAIL",propertyName:"thumbnail"},{label:"Automatic Tags",value:"AUTO_TAGS",propertyName:"autoTags"},{label:"Description",value:"DESCRIPTION",propertyName:"description"},{label:"Closed Captions",value:"CC",propertyName:"closedCaptions"}],n="ENABLED",s="DISABLED",c="DISCONNECTED",d=[{label:"Enabled",value:n},{label:"Disabled",value:s},{label:"Disconnected",value:c}];e.s(["DESTINATION_REDUX_FIELD_NAME",0,a,"PUBLISH_DESTINATION_TYPES",0,o,"PUBLISH_SETTINGS",0,r,"SETTINGS_STATUS_DISABLED",0,s,"SETTINGS_STATUS_DISCONNECTED",0,c,"SETTINGS_STATUS_ENABLED",0,n,"STATUS_SETTINGS",0,d,"TAB_GENERAL",0,t,"TYPE_FACEBOOK",0,l,"TYPE_YOUTUBE",0,i])},435278,356610,e=>{"use strict";var t=e.i(882507),a=e.i(388302),i=t,l=t;let o=[{fieldName:"platform",tabId:l.TAB_GENERAL,validation:(e,t)=>t.accessToken?"":"You must be autorized"},{fieldName:"name",tabId:l.TAB_GENERAL,validation:e=>e?e.length>250?"The Name field canât exceed 250 characters":"":"Field cannot be empty"},{fieldName:"publisherId",tabId:l.TAB_GENERAL,validation:e=>e?"":"Field cannot be empty"},{fieldName:"defaultChannel",tabId:l.TAB_GENERAL,validation:(e,t)=>{if(!t.channels?.length){let e="",a="";return t.type===l.TYPE_YOUTUBE?(e="Youtube",a="channel"):t.type===l.TYPE_FACEBOOK&&(e="Facebook",a="page"),`The ${e} account must have a ${a}`}return e?"":"Please choose channel"}}],r=(0,e.i(192155).default)(i.DESTINATION_REDUX_FIELD_NAME,o),{validateFields:n,validateSingleField:s}=r,c={type:"",id:0,publisherId:0,publisher:null,name:"",status:i.SETTINGS_STATUS_ENABLED,visibility:null,viewabilityConfig:[],channels:[],defaultChannel:"",playlists:[],defaultPlaylist:"",defaultChannelName:"",defaultPlaylistName:"",userName:"",pageAccessToken:"",title:!0,category:!0,thumbnail:!0,description:!0,language:!1,manualTags:!0,autoTags:!1,closedCaptions:!1,expiryDate:"",accessToken:"",refreshToken:"",isLoading:!1,activeTabId:i.TAB_GENERAL,...r.state},d=(0,a.createSlice)({name:"@@DESTINATION/EDIT",initialState:c,reducers:{exchangeGoogleAuthCodeAction:e=>e,exchangeFacebookAuthCodeAction:e=>e,createDestinationAction:e=>e,getDestinationByIdAction:e=>e,updateDestinationAction:e=>e,getViewabilityConfigAction:e=>e,setDestinationDataAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]}),e.publisher={id:t.payload.publisherId,name:t.payload.publisher.name}},clearFormAction:()=>({...c}),updateDestinationFormAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})}
623,setViewabilityConfigAction:(e,t)=>{e.viewabilityConfig=[...t.payload]},setErrorAction:(e,t)=>{e.errors={...e.errors,...t.payload}},setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:r.actions.setScrollToFieldAction,setErrorByPropAction:r.actions.updateValidationSchemeAction,removeErrorByPropAction:r.actions.removeErrorByFieldNameAction}}),{clearFormAction:u,createDestinationAction:A,exchangeFacebookAuthCodeAction:E,exchangeGoogleAuthCodeAction:S,getDestinationByIdAction:p,getViewabilityConfigAction:T,setDestinationDataAction:_,setViewabilityConfigAction:m,updateDestinationAction:I,updateDestinationFormAction:g,setActiveTabIdAction:y,setScrollToFieldNameAction:O,setErrorByPropAction:b,removeErrorByPropAction:P}=d.actions;d.reducer,e.s(["clearFormAction",0,u,"createDestinationAction",0,A,"exchangeFacebookAuthCodeAction",0,E,"exchangeGoogleAuthCodeAction",0,S,"getDestinationByIdAction",0,p,"getViewabilityConfigAction",0,T,"removeErrorByPropAction",0,P,"setActiveTabIdAction",0,y,"setDestinationDataAction",0,_,"setErrorByPropAction",0,b,"setScrollToFieldNameAction",0,O,"setViewabilityConfigAction",0,m,"slice",0,d,"updateDestinationAction",0,I,"updateDestinationFormAction",0,g,"validateFields",0,n],356610);var v=e.i(916094);let R=d.name,L=e=>e[R].type,h=e=>e[R].publisherId,D=e=>e[R].publisher,f=e=>e[R].name,N=e=>e[R].status,C=e=>e[R].visibility,M=e=>e[R].viewabilityConfig,F=e=>e[R].channels,U=e=>e[R].defaultChannel,B=e=>e[R].playlists,V=e=>e[R].defaultPlaylist,Y=e=>e[R].defaultChannelName,w=e=>e[R].defaultPlaylistName,G=e=>e[R].userName,k=e=>e[R].pageAccessToken,H=e=>e[R].title,x=e=>e[R].category,W=e=>e[R].thumbnail,$=e=>e[R].description,z=e=>e[R].language,j=e=>e[R].manualTags,K=e=>e[R].autoTags,X=e=>e[R].closedCaptions,q=e=>e[R].expiryDate,Q=e=>e[R].accessToken,Z=e=>e[R].refreshToken,J=e=>e[R].isLoading,ee=e=>e[R].activeTabId,et=(0,v.default)(t.DESTINATION_REDUX_FIELD_NAME,R),ea=e=>et.getScrollField(e),ei=e=>et.schemeSelector(e),el=e=>e[R];e.s(["accessTokenSelector",0,Q,"activeTabIdSelector",0,ee,"autoTagsSelector",0,K,"categorySelector",0,x,"channelsSelector",0,F,"closedCaptionsSelector",0,X,"defaultChannelNameSelector",0,Y,"defaultChannelSelector",0,U,"defaultPlaylistNameSelector",0,w,"defaultPlaylistSelector",0,V,"descriptionSelector",0,$,"expiryDateSelector",0,q,"fullAccessToStoreFieldsForValidation",0,el,"isLoadingSelector",0,J,"languageSelector",0,z,"manualTagsSelector",0,j,"nameSelector",0,f,"pageAccessTokenSelector",0,k,"playlistsSelector",0,B,"publisherIdSelector",0,h,"publisherSelector",0,D,"refreshTokenSelector",0,Z,"schemeSelector",0,ei,"scrollFieldSelector",0,ea,"statusSelector",0,N,"thumbnailSelector",0,W,"titleSelector",0,H,"typeSelector",0,L,"userNameSelector",0,G,"viewabilityConfigSelector",0,M,"visibilitySelector",0,C],435278)},150698,882632,789717,e=>{"use strict";let t="details",a="features",i="dashboards",l="content",o="commonForm",r="IMPRESSIONS_CPM",n="REV_SHARE",s=[{label:"Impression CPM",value:r},{label:"Rev-Share",value:n}],c="Blank",d="Disabled",u="Custom",A=[{label:c,value:c},{label:d,value:d},{label:u,value:u}],E="contentOwnersTable",S=15,p="updatedAt",T=[{id:"name",label:"Content Owner Name"},{id:"salesforceId",label:"Salesforce Opportunity Id"},{id:"status",label:"Status"},{id:"isPublic",label:"Access Level"},{id:"comments",label:"Comments"},{id:"callToAction",label:"Display Call to Action"},{id:"",label:""}];e.s(["FEE_BUSINESS_MODEL_IMPRESSIONS_CPM",0,r,"FEE_BUSINESS_MODEL_OPTIONS",0,s,"FEE_BUSINESS_MODEL_RAV_SHARE",0,n,"REDUX_FIELD_NAME",0,o,"ROWS_PER_PAGE_DEFAULT",0,S,"SCHAIN_OVERRIDE_BLANK",0,c,"SCHAIN_OVERRIDE_OPTIONS",0,A,"TABLE_HEADERS",0,T,"TABLE_REDUX_FIELD_NAME",0,E,"TABLE_SORT_BY",0,p,"TAB_CONTENT",0,l,"TAB_DASHBOARDS",0,i,"TAB_DETAILS",0,t,"TAB_FEATURES",0,a],150698);var _=e.i(388302),m=e.i(799460);let I=/^(https?:\/\/)((([a-z\d]([a-z\d-]*[a-z\d])*)\.)+[a-z]{2,}|((\d{1,3}\.){3}\d{1,3}))(:\d+)?(\/[-a-z\d%_.~+]*)*(\?[;&a-z\d%_.~+=[\]-]*)?(#\S*)?$/,g=(e="")=>{if(!I.test(e))return!1;try{let{protocol:t}=new URL(e);return"http:"===t||"https:"===t}catch{return!1}},y=(e,t)=>{let a="number"!=typeof e||Number.isNaN(e);if(!t.publisherDemand)return"";if(t.adServingFeeBusinessModel===r){if(a)return"Field cannot be empty";if(e>9.99)return"Must be at most 9.99"}if(t.adServingFeeBusinessModel===n){if(a)return"Field cannot be empty";if(e<.01)return"Must be at least 0.01";if(e>100)return"Must be at most 100"}return""},O=[{fieldName:"salesforceId",tabId:t,validation:e=>e?"":"Field cannot be empty"},{fieldName:"adServingFeeVideo",tabId:t,validation:y},{fieldName:"adServingFeeDisplay",tabId:t,validation:y}
623,{fieldName:"customLogoUrl",tabId:t,validation:e=>e&&!g(e)?"Field should be a valid URL":""},{fieldName:"customLoginPageUrl",tabId:t,validation:e=>e&&!g(e)?"Field should be a valid URL":""},{fieldName:"usersLimit",tabId:t,validation:e=>e?+e>9999999?"Field must be less than or equal to 9999999":"":"Field cannot be empty"},{fieldName:"publisherRevShare",tabId:t,validation:e=>0===e||e?Number.isInteger(Number(e))?e<0?"Must be at least 0":e>100?"Must be at most 100":"":"Must be an integer":"Field cannot be empty"},{fieldName:"expenses",tabId:t,validation:e=>0===e||e?Number.isInteger(Number(e))?e<0?"Must be at least 0":e>100?"Must be at most 100":"":"Must be an integer":"Field cannot be empty"}];var b=e.i(192155),P=e.i(93505);let v=(0,b.default)(o,O),{validateFields:R,validateSingleField:L}=v,h=(0,P.default)(E,{page:1,pageSize:S,sortBy:p,sortOrder:m.SORT_DESC}),D={salesforceInstanceUrl:"",salesforceId:"",name:"",salesManager:"",accountManager:"",accountManagerEmail:"",type:"",publisherDemand:!1,schainOverride:c,adServingFeeBusinessModel:r,adServingFeeDisplay:null,adServingFeeVideo:null,avatarUrl:"",avatar:{base64Url:"",mimeType:""},customLogoUrl:"",customLoadingMessage:"",customLoginPageUrl:"",subdomain:"",publisherRevShare:null,expenses:null,usersLimit:100,videoDuplicatesBy:"Title",activeTabId:t,featuresUi:[],featuresData:null,featuresDependsFieldData:null,dashboardsGeneral:[],dashboardsCustom:[],isSalesforceDataLoading:!1,...v.state,...h.state},f=(0,_.createSlice)({name:"@@ACCOUNTS/EDITOR",initialState:D,reducers:{setAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:e=>{Object.entries(D).forEach(([t,a])=>{e[t]=a})},setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},getSalesforceDataAction:e=>e,getItemAction:e=>e,createItemAction:e=>e,updateItemAction:e=>e,updateContentOwner:e=>e,deleteAllVideos:e=>e,setScrollToFieldNameAction:v.actions.setScrollToFieldAction,setErrorByPropAction:v.actions.updateValidationSchemeAction,removeErrorByPropAction:v.actions.removeErrorByFieldNameAction,getDataAction:h.actions.getTableDataAction,setTableAction:h.actions.setTableAction}}),{setAction:N,setInitialAction:C,setActiveTabIdAction:M,getSalesforceDataAction:F,getItemAction:U,createItemAction:B,updateItemAction:V,updateContentOwner:Y,deleteAllVideos:w,setScrollToFieldNameAction:G,setErrorByPropAction:k,removeErrorByPropAction:H,getDataAction:x,setTableAction:W}=f.actions;f.reducer,e.s(["createItemAction",0,B,"deleteAllVideos",0,w,"getDataAction",0,x,"getItemAction",0,U,"getSalesforceDataAction",0,F,"removeErrorByPropAction",0,H,"setAction",0,N,"setActiveTabIdAction",0,M,"setErrorByPropAction",0,k,"setInitialAction",0,C,"setScrollToFieldNameAction",0,G,"setTableAction",0,W,"slice",0,f,"updateContentOwner",0,Y,"updateItemAction",0,V,"validateFields",0,R],882632);var $=e.i(916094),z=e.i(195722);let j=f.name,K=e=>e[j].salesforceInstanceUrl,X=e=>e[j].salesforceId,q=e=>e[j].name,Q=e=>e[j].salesManager,Z=e=>e[j].accountManager,J=e=>e[j].accountManagerEmail,ee=e=>e[j].type,et=e=>e[j].avatarUrl,ea=e=>e[j].avatar,ei=e=>e[j].customLogoUrl,el=e=>e[j].customLoadingMessage,eo=e=>e[j].customLoginPageUrl,er=e=>e[j].subdomain,en=e=>e[j].publisherRevShare,es=e=>e[j].expenses,ec=e=>e[j].usersLimit,ed=e=>e[j].publisherDemand,eu=e=>e[j].schainOverride,eA=e=>e[j].adServingFeeBusinessModel,eE=e=>e[j].adServingFeeDisplay,eS=e=>e[j].adServingFeeVideo,ep=e=>e[j].videoDuplicatesBy,eT=e=>e[j].featuresUi,e_=e=>e[j].featuresData,em=e=>e[j].featuresDependsFieldData,eI=e=>e[j].dashboardsGeneral,eg=e=>e[j].dashboardsCustom,ey=e=>e[j].activeTabId,eO=e=>e[j].isSalesforceDataLoading,eb=(0,$.default)(o,j),eP=e=>eb.getScrollField(e),ev=e=>eb.schemeSelector(e),eR=e=>e[j],{dataSelector:eL,pageSelector:eh,pageSizeSelector:eD,totalCountSelector:ef,isLoadingSelector:eN,sortBySelector:eC,sortOrderSelector:eM}=(0,z.default)(E,j);e.s(["accountManagerEmailSelector",0,J,"accountManagerSelector",0,Z,"activeTabIdSelector",0,ey,"adServingFeeBusinessModelSelector",0,eA,"adServingFeeDisplaySelector",0,eE,"adServingFeeVideoSelector",0,eS,"avatarSelector",0,ea,"avatarUrlSelector",0,et,"customLoadingMessageSelector",0,el,"customLoginPageUrlSelector",0,eo,"customLogoUrlSelector",0,ei,"dashboardsCustomSelector",0,eg,"dashboardsGeneralSelector",0,eI,"dataSelector",0,eL,"expensesSelector",0,es,"featuresDataSelector",0,e_,"featuresDependsFieldDataSelector",0,em,"featuresUiSelector",0,eT,"fullAccessToStoreFieldsForValidation",0,eR,"isSalesforceDataLoadingSelector",0,eO,"nameSelector",0,q,"pageSelector",0,eh,"pageSizeSelector",0,eD,"publisherDemandSelector",0,ed,"publisherRevShareSelector",0,en,"salesManagerSelector",0,Q,"salesforceIdSelector",0,X,"salesforceInstanceUrlSelector",0,K,"schainOverrideSelector",0,eu,"schemeSelector",0,ev,"scrollFieldSelector",0,eP,"sortBySelector",0,eC,"sortOrderSelector",0,eM,"subdomainSelector",0,er,"totalCountSelector",0,ef,"typeSelector",0,ee,"usersLimitSelector",0,ec,"videoDuplicatesBy",0,ep],789717)},960788,14628,273838,13425,367860,97111,e=>{"use strict";var t=e.i(407469);
623let a=15,i="updateDate",l="commonTable",o=100,r={title:"CSV",label:"CSV",value:t.TYPE_CSV},n={title:"Instagram",label:"Instagram",value:t.TYPE_INSTAGRAM},s={title:"Manual",label:"Manual",value:t.TYPE_MANUAL},c={title:"MRSS",label:"MRSS",value:t.TYPE_MRSS},d={title:"RSS",label:"RSS",value:t.TYPE_RSS},u={title:"RSS SITEMAP",label:"RSS Sitemap",value:t.TYPE_SITEMAP},A={title:"Story API",label:"Story API",value:t.TYPE_STORY_API},E={title:"Teams",label:"Teams",value:t.TYPE_TEAMS},S={title:"SharePoint",label:"SharePoint",value:t.TYPE_SHAREPOINT},p={title:"Video API",label:"Video API",value:t.TYPE_VIDEO_API},T={title:"Vimeo",label:"Vimeo",value:t.TYPE_VIMEO},_={title:"YouTube",label:"YouTube",value:t.TYPE_YOUTUBE},m={title:"Zoom",label:"Zoom",value:t.TYPE_ZOOM},I={title:"TikTok",label:"TikTok",value:t.TYPE_TIKTOK};t.TYPE_CSV,t.TYPE_INSTAGRAM,t.TYPE_TIKTOK,t.TYPE_MANUAL,t.TYPE_MRSS,t.TYPE_RSS,t.TYPE_SITEMAP,t.TYPE_STORY_API,t.TYPE_TEAMS,t.TYPE_SHAREPOINT,t.TYPE_VIDEO_API,t.TYPE_VIMEO,t.TYPE_YOUTUBE,t.TYPE_ZOOM;let g=[c,_,d,u,r,n,I,A,p,T,S,E,m,s],y=1,O=-1,b=0,P=-2,v="Active",R="Archived",L="Disabled",h="Disconnected",D=[{label:v,value:1},{label:h,value:-2},{label:R,value:-1}],f="On",N="Off",C=[{label:"Auto Import ON",value:1},{label:"Auto Import OFF",value:0}],M="ACTION_RUN_NOW",F="ACTION_RUN_START_DATE",U="ACTION_ACTIVATE_SCHEDULER",B="ACTION_DISABLE_SCHEDULER",V="ACTION_ARCHIVE",Y=[{value:M,label:"Run Now"},{value:F,label:"Run From Start Date"},{value:U,label:"Activate Auto Import"},{value:B,label:"Disable Auto Import"},{value:V,label:"Archive"}],w=[n,I,c,_,T,S,E,m,r,s,p,d,u,A];e.s(["ACTION_ACTIVATE_SCHEDULER",0,U,"ACTION_ARCHIVE",0,V,"ACTION_DISABLE_SCHEDULER",0,B,"ACTION_OPTIONS",0,Y,"ACTION_RUN_NOW",0,M,"ACTION_RUN_START_DATE",0,F,"AUTO_IMPORT_OPTIONS",0,C,"AUTO_IMPORT_STATUS_OFF_TITLE",0,N,"AUTO_IMPORT_STATUS_ON_TITLE",0,f,"CREATE_TYPE_MENU_OPTIONS",0,w,"ROWS_PER_PAGE_DEFAULT",0,a,"SEARCH_TEXT_MAX_LENGTH",0,o,"STATUS_ACTIVE",0,y,"STATUS_ACTIVE_TITLE",0,v,"STATUS_ARCHIVED",0,O,"STATUS_ARCHIVED_TITLE",0,R,"STATUS_DISABLED",0,b,"STATUS_DISABLED_TITLE",0,L,"STATUS_DISCONNECTED",0,P,"STATUS_DISCONNECTED_TITLE",0,h,"STATUS_OPTIONS",0,D,"TABLE_REDUX_FIELD_NAME",0,l,"TABLE_SORT_BY",0,i,"TYPE_OPTIONS",0,g],14628);var G=e.i(388302),k=e.i(799460),H=e.i(93505),x=e.i(945503);let W=(0,H.default)(l,{page:1,pageSize:a,sortBy:i,sortOrder:k.SORT_DESC}),$={[l]:{...W.state[l]},searchText:"",status:y,scheduleStatus:null,type:null,account:null,accountOptions:null},z=(0,G.createSlice)({name:"@@FEEDS/ADMIN_LIST",initialState:$,reducers:{setAction:(e,t)=>{(0,x.applyPartial)(e,t.payload,[l])},setTableAction:(e,t)=>W.actions.setTableAction(e,t),getDataAction:W.actions.getTableDataAction,getAccountOptionsAction:(e,t)=>(t.payload,e),archiveAction:(e,t)=>(t.payload,e),autoImportAction:(e,t)=>(t.payload,e),runAction:(e,t)=>(t.payload,e),runFromStartDateAction:(e,t)=>(t.payload,e)}}),{getDataAction:j,setTableAction:K,setAction:X,getAccountOptionsAction:q,archiveAction:Q,autoImportAction:Z,runAction:J,runFromStartDateAction:ee}=z.actions;e.s(["archiveAction",0,Q,"autoImportAction",0,Z,"getAccountOptionsAction",0,q,"getDataAction",0,j,"runAction",0,J,"runFromStartDateAction",0,ee,"setAction",0,X,"setTableAction",0,K,"slice",0,z],273838);var et=e.i(195722);let ea=z.name,ei=(0,et.default)(l,ea),el=e=>ei.dataSelector(e),eo=e=>ei.pageSelector(e),er=e=>ei.pageSizeSelector(e),en=e=>ei.totalCountSelector(e),es=e=>ei.sortBySelector(e),ec=e=>ei.sortOrderSelector(e),ed=e=>ei.selectedSelector(e),eu=e=>e[ea].searchText,eA=e=>e[ea].status,eE=e=>e[ea].scheduleStatus,eS=e=>e[ea].type,ep=e=>e[ea].account,eT=e=>e[ea].accountOptions;e.s(["accountOptionsSelector",0,eT,"accountSelector",0,ep,"dataSelector",0,el,"pageSelector",0,eo,"pageSizeSelector",0,er,"scheduleStatusSelector",0,eE,"searchTextSelector",0,eu,"selectedSelector",0,ed,"sortBySelector",0,es,"sortOrderSelector",0,ec,"statusSelector",0,eA,"totalCountSelector",0,en,"typeSelector",0,eS],960788);var e_=t;let em=15,eI="updatedDate",eg="commonTable",ey=100,eO="Active",eb="Archived",eP="Disconnected",ev=[{label:eO,value:e_.STATUS_ACTIVE},{label:eP,value:e_.STATUS_DISCONNECTED},{label:eb,value:e_.STATUS_ARCHIVED}],eR=[{label:"Microsoft Teams",value:e_.TYPE_TEAMS},{label:"Zoom",value:e_.TYPE_ZOOM},{label:"SharePoint",value:e_.TYPE_SHAREPOINT},{label:"Instagram",value:e_.TYPE_INSTAGRAM},{label:"TikTok",value:e_.TYPE_TIKTOK},{label:"MRSS",value:e_.TYPE_MRSS}];e.s(["ROWS_PER_PAGE_DEFAULT",0,em,"SEARCH_TEXT_MAX_LENGTH",0,ey,"STATUS_ACTIVE_TITLE",0,eO,"STATUS_ARCHIVED_TITLE",0,eb,"STATUS_DISCONNECTED_TITLE",0,eP,"STATUS_OPTIONS",0,ev,"TABLE_REDUX_FIELD_NAME",0,eg,"TABLE_SORT_BY",0,eI,"TYPE_MENU_OPTIONS",0,eR],13425);var eL=e.i(246920),eh=G,eD=k,ef=x;let eN=(0,H.default)(eg,{page:1,pageSize:em,sortBy:eI,sortOrder:eD.SORT_DESC}),eC={[eg]:{...eN.state[eg]},searchText:"",status:null},eM=(0,eh.createSlice)({name:"@@FEEDS/SELF_SERVE_LIST",initialState:eC,reducers:{setAction:(e,t)=>{(0,ef.applyPartial)(e,t.payload,[eg])},setTableAction:(e,t)=>eN.actions.setTableAction(e,t),getDataAction:eN.actions.getTableDataAction,importArchivedAction:(e,t)=>(t.payload,e)}}),{getDataAction:eF,setTableAction:eU,setAction:eB,importArchivedAction:eV}=eM.actions;e.s(["getDataAction",0,eF,"importArchivedAction",0,eV,"setAction",0,eB,"setTableAction",0,eU,"slice",0,eM],367860);var eY=et;
623let ew=eM.name,eG=(0,eY.default)(eg,ew),ek=e=>eG.dataSelector(e),eH=e=>eG.pageSelector(e),ex=e=>eG.pageSizeSelector(e),eW=e=>eG.totalCountSelector(e),e$=e=>eG.sortBySelector(e),ez=e=>eG.sortOrderSelector(e),ej=e=>eG.isLoadingSelector(e),eK=e=>eG.selectedSelector(e),eX=e=>e[ew].searchText,eq=e=>e[ew].status,eQ=e=>{let t=ek(e),a=eH(e),i=eX(e),l=eq(e);return!ej(e)&&Array.isArray(t)&&!t.length&&1===a&&!i&&l===eL.STATUSES_ALL};e.s(["dataSelector",0,ek,"pageSelector",0,eH,"pageSizeSelector",0,ex,"searchTextSelector",0,eX,"selectedSelector",0,eK,"shouldShowEmptySelector",0,eQ,"sortBySelector",0,e$,"sortOrderSelector",0,ez,"statusSelector",0,eq,"totalCountSelector",0,eW],97111)},533661,e=>{"use strict";var t=e.i(613184),a=e.i(446738),i=e.i(562545),l=e.i(799460);let o=100,r=[{id:i.TYPE_INTELLIGENT,name:i.TYPE_INTELLIGENT_NAME,selfServe:!0,preview:!0,embedCodeAspectRatio:!0,embedCodeAspectRatioDisabled:!1},{id:i.TYPE_STORIES,name:i.TYPE_STORIES_NAME,selfServe:!0,preview:!0,embedCodeAspectRatio:!0,embedCodeAspectRatioDisabled:!1},{id:i.TYPE_WATCH,name:i.TYPE_WATCH_NAME},{id:i.TYPE_INTELLIGENT_AMP,name:i.TYPE_INTELLIGENT_AMP_NAME,selfServe:!0,embedCodeAspectRatio:!1,embedCodeAspectRatioDisabled:!0},{id:i.TYPE_STORIES_AMP,name:i.TYPE_STORIES_AMP_NAME,selfServe:!0,embedCodeAspectRatio:!1,embedCodeAspectRatioDisabled:!0},{id:i.TYPE_LIVE,name:i.TYPE_LIVE_NAME},{id:i.TYPE_MOBILE_SDK,name:i.TYPE_MOBILE_SDK_NAME},{id:i.TYPE_OUTSTREAM,name:i.TYPE_OUTSTREAM_NAME,selfServe:!0,preview:!1,embedCodeAspectRatio:!1,embedCodeAspectRatioDisabled:!0,embedCodeTypes:!0},{id:i.TYPE_WATCH_INLINE,name:i.TYPE_WATCH_INLINE_NAME},{id:i.TYPE_VERTICAL,name:i.TYPE_VERTICAL_NAME,selfServe:!0,preview:!0,embedCodeAspectRatio:!0,embedCodeAspectRatioDisabled:!0},{id:i.TYPE_OUTSTREAM_IN_ARTICLE,name:i.TYPE_OUTSTREAM_IN_ARTICLE_NAME,selfServe:!0,preview:!1,embedCodeAspectRatio:!1,embedCodeAspectRatioDisabled:!0,embedCodeTypes:!0}],n=[{id:"id",label:"Id",sortable:!0,width:"68"},{id:"slug",label:"Player (Widget Id)",sortable:!0,width:"200",adminOnly:!0},{id:"alias",label:"Name",sortable:!0,width:"200"},{id:"comments",label:"Description",sortable:!0,width:"200"},{id:"type",label:"Type",sortable:!0,width:"100"},{id:"abTest",label:"AB test",sortable:!1,width:"160",adminOnly:!0},{id:"status",label:"Status",sortable:!0,width:"160",adminOnly:!0},{id:"locked",label:"Lock",sortable:!0,width:"160",adminOnly:!0},{id:"accountName",label:"Account",sortable:!0,width:"160",adminOnly:!0},{id:"selfServe",label:"Self",sortable:!1,width:"160",adminOnly:!0},{id:"publisherName",label:"Hub",sortable:!0,width:"160"},{id:"updatedBy",label:"Updated By",sortable:!0,width:"220"},{id:"updatedAt",label:"Updated Date",sortable:!0,width:"160",isDefaultSortBy:!0,defaultSortOrder:l.SORT_DESC},{id:"rowActions",label:"",sortable:!1,autoWidth:!0,padding:"none"}],s=15,c=30,d="commonTable",u=[{label:a.EMBED_CODE_TYPE_DIRECT_LABEL,value:a.EMBED_CODE_TYPE_DIRECT_VALUE},{label:a.EMBED_CODE_TYPE_DFP_GAM_LABEL,value:a.EMBED_CODE_TYPE_DFP_GAM_VALUE}],A=[{label:t.ASPECT_RATIO_16_9_LABEL,value:t.ASPECT_RATIO_16_9_VALUE},{label:t.ASPECT_RATIO_9_16_LABEL,value:t.ASPECT_RATIO_9_16_VALUE},{label:t.ASPECT_RATIO_4_3_LABEL,value:t.ASPECT_RATIO_4_3_VALUE},{label:t.ASPECT_RATIO_3_4_LABEL,value:t.ASPECT_RATIO_3_4_VALUE},{label:t.ASPECT_RATIO_1_1_LABEL,value:t.ASPECT_RATIO_1_1_VALUE}],E="1",S="2",p="3",T="4",_="5",m="6",I="7",g=[{label:"Active",value:E},{label:"Demo",value:S},{label:"Inactive",value:p},{label:"A/B Test Enabled",value:T},{label:"A/B Test Disabled",value:_},{label:"A/B Test Name",value:m},{label:"Locked",value:I}],y="1",O="0",b=[{label:"By Hub",value:y},{label:"By Anyclip",value:O}],P={1:"Active",2:"Demo",0:"Inactive"};e.s(["ASPECT_RATIOS",0,A,"EMBED_CODE_TYPES",0,u,"PLAYER_TYPES",0,r,"ROWS_PER_PAGE_DEFAULT",0,s,"ROWS_PER_PAGE_DEFAULT_FILTER",0,c,"SEARCH_TEXT_MAX_LENGTH",0,o,"SELF_SERVE_BY_ANYCLIP",0,O,"SELF_SERVE_BY_HUB",0,y,"SELF_SERVE_COLLECTION",0,b,"STATUS_LABEL_COLLECTION",0,P,"STATUS_TYPE_AB_TEST_DISABLED",0,_,"STATUS_TYPE_AB_TEST_ENABLED",0,T,"STATUS_TYPE_AB_TEST_NAME",0,m,"STATUS_TYPE_ACTIVE",0,E,"STATUS_TYPE_COLLECTION",0,g,"STATUS_TYPE_DEMO",0,S,"STATUS_TYPE_INACTIVE",0,p,"STATUS_TYPE_LOCKED",0,I,"TABLE_HEADER",0,n,"TABLE_REDUX_FIELD_NAME",0,d])},311825,589969,e=>{"use strict";var t=e.i(533661),a=e.i(388302),i=t,l=e.i(799460);let o=(0,e.i(93505).default)(i.TABLE_REDUX_FIELD_NAME,{pageSize:i.ROWS_PER_PAGE_DEFAULT,sortBy:i.TABLE_HEADER.find(e=>e.isDefaultSortBy)?.id||"id",sortOrder:i.TABLE_HEADER.find(e=>e.isDefaultSortBy)?.defaultSortOrder||l.SORT_ASC}),r=(e,t)=>{let a=e.match(/data-ar\s*=\s*['"]([^'"]+)['"]/);return a?e.replace(a[0],`data-ar="${t}"`):e.replace(/(src\s*=\s*['"]([^'"]+)['"])/i,`$1 data-ar="${t}"`)},n=(e,t)=>t?e.replace(/src="([^"]*)"/,`src="${t}"`):e,s={...o.state,search:"",publisher:null,publishersOptions:[],account:null,accountOptions:[],type:null,statusType:null,selfServe:null,typesOptions:[],embedCodeRaw:"",embedCode:"",aspectRatio:i.ASPECT_RATIOS[0],embedSources:null,newPlayerType:{},allRecordsCount:0},c=(0,a.createSlice)({name:"@@PLAYER/LIST",initialState:s,reducers:{getDataAction:o.actions.getTableDataAction,setTableAction:o.actions.setTableAction,setAction:(e,t)=>
623{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getUiPropsAction:e=>e,getAccountOptionsAction:e=>e,getPublishersOptionsAction:e=>e,setEmbedCodeAction:(e,{payload:t})=>{let a=e[i.TABLE_REDUX_FIELD_NAME].data.find(e=>e.id===t.id),l=a?.embedCode||"";e.embedCodeRaw=l,e.embedCode=i.PLAYER_TYPES.find(e=>e.id===a.type)?.embedCodeAspectRatio?r(l,e.aspectRatio.label):l},setEmbedCodeByTypeAction:(e,{payload:t})=>{let a=e[i.TABLE_REDUX_FIELD_NAME].data.find(e=>e.id===t.id);if(!i.PLAYER_TYPES.find(e=>e.id===a.type)?.embedCodeTypes){e.embedCode=e.embedCodeRaw||"";return}let l=e.embedSources[t.embedCodeTypeObj.value];e.embedCode=l?n(e.embedCodeRaw||"",l):e.embedCodeRaw||""},setAspectRatio:(e,{payload:t})=>{e.aspectRatio=t.aspectRatioObj;let a=e[i.TABLE_REDUX_FIELD_NAME].data.find(e=>e.id===t.id);i.PLAYER_TYPES.find(e=>e.id===a.type)?.embedCodeAspectRatio&&(e.embedCode=r(e.embedCode,t.aspectRatioObj.label))},deletePlayerAction:e=>e,bulkActionsAction:e=>e,purgePlayerConfigAction:e=>e,exportToCsvByPlayerIdAction:e=>e}}),{getDataAction:d,setTableAction:u,setAction:A,getAccountOptionsAction:E,getPublishersOptionsAction:S,getUiPropsAction:p,setEmbedCodeAction:T,setAspectRatio:_,deletePlayerAction:m,bulkActionsAction:I,purgePlayerConfigAction:g,setEmbedCodeByTypeAction:y,exportToCsvByPlayerIdAction:O}=c.actions;e.s(["bulkActionsAction",0,I,"deletePlayerAction",0,m,"exportToCsvByPlayerIdAction",0,O,"getAccountOptionsAction",0,E,"getDataAction",0,d,"getPublishersOptionsAction",0,S,"getUiPropsAction",0,p,"purgePlayerConfigAction",0,g,"setAction",0,A,"setAspectRatio",0,_,"setEmbedCodeAction",0,T,"setEmbedCodeByTypeAction",0,y,"setTableAction",0,u,"slice",0,c],589969);var b=e.i(195722);let P=c.name,{dataSelector:v,pageSelector:R,pageSizeSelector:L,totalCountSelector:h,sortBySelector:D,sortOrderSelector:f,selectedSelector:N,isLoadingSelector:C,allRecordsCountSelector:M}=(0,b.default)(t.TABLE_REDUX_FIELD_NAME,c.name),F=e=>e[P].search,U=e=>e[P].type,B=e=>e[P].typesOptions,V=e=>e[P].publisher,Y=e=>e[P].publishersOptions,w=e=>e[P].embedCode,G=e=>e[P].aspectRatio,k=e=>e[P].statusType,H=e=>e[P].account,x=e=>e[P].accountOptions,W=e=>e[P].selfServe;e.s(["accountOptionsSelector",0,x,"accountSelector",0,H,"allRecordsCountSelector",0,M,"aspectRatioSelector",0,G,"dataSelector",0,v,"embedCodeSelector",0,w,"pageSelector",0,R,"pageSizeSelector",0,L,"publisherSelector",0,V,"publishersOptionsSelector",0,Y,"searchSelector",0,F,"selectedSelector",0,N,"selfServeSelector",0,W,"sortBySelector",0,D,"sortOrderSelector",0,f,"statusTypeSelector",0,k,"totalCountSelector",0,h,"typeSelector",0,U,"typesOptionsSelector",0,B],311825)},214740,e=>{"use strict";let t=e.i(670323).slice.name,a=e=>e[t].videos,i=e=>e[t].totalCount,l=e=>e[t].isVideosLoading,o=e=>e[t].isNextVideosLoading,r=e=>e[t].filterParams,n=e=>e[t].filterInternalParams,s=e=>e[t].searchFilters,c=e=>e[t].selectedVideo,d=e=>e[t].page,u=e=>e[t].size,A=e=>e[t].players,E=e=>e[t].maxPerformance,S=e=>e[t].targetVideoId,p=e=>e[t].targetClipId,T=e=>e[t].canAddToPlaylist,_=e=>e[t].selectedPlayer,m=e=>e[t].selectedAspectRatio,I=e=>e[t].embedCode,g=e=>e[t].dragAndDropEnd,y=e=>e[t].playlistMode,O=e=>e[t].showEmbedCodeButton,b=e=>e[t].aiPlaylistId,P=e=>e[t].showDivider,v=e=>e[t].currentFiltersAsString;e.s(["aiPlaylistIdSelector",0,b,"canAddToPlaylistSelector",0,T,"currentFiltersAsStringSelector",0,v,"dragAndDropEndSelector",0,g,"embedCodeSelector",0,I,"filterInternalParamsSelector",0,n,"filterParamsSelector",0,r,"isNextVideosLoadingSelector",0,o,"isVideosLoadingSelector",0,l,"maxPerformanceSelector",0,E,"pageSelector",0,d,"playersSelector",0,A,"playlistModeSelector",0,y,"searchFiltersSelector",0,s,"selectedAspectRatioSelector",0,m,"selectedPlayerSelector",0,_,"selectedVideoSelector",0,c,"showDividerSelector",0,P,"showEmbedCodeButtonSelector",0,O,"sizeSelector",0,u,"targetClipIdSelector",0,p,"targetVideoIdSelector",0,S,"totalCountSelector",0,i,"videosSelector",0,a]
623)},404740,e=>{"use strict";let t=e.i(837946).slice.name,a=e=>e[t].query,i=e=>e[t].fromSuggester,l=e=>e[t].playlistType,o=e=>e[t].suggesterOptions;e.s(["fromSuggesterSelector",0,i,"playlistTypeSelector",0,l,"querySelector",0,a,"suggesterOptionsSelector",0,o])},349787,e=>{"use strict";var t=e.i(649789),a=e.i(728580),i=e.i(400120),l=e.i(917626);let o=e=>(0,i.hasPermission)(t.VIDEO_ALL_TAB,e),r=e=>({[a.VIDEO_TAB_ALL]:(0,i.hasPermission)(t.VIDEO_ALL_TAB,e),[a.VIDEO_TAB_OWN]:(0,i.hasPermission)(t.VIDEO_MY_TAB,e),[a.VIDEO_TAB_SHARED]:(0,i.hasPermission)(t.VIDEO_SHARED_TAB,e)}),n=e=>{let t=r(e);return l.filterConfig[a.FILTER_VIDEO_TABS].filters.map((e,t)=>({...e,originalIndex:t})).filter(e=>t[e.value])},s=(e,t)=>{let i=n(t),{own:l,shared:o}=e,r=a.VIDEO_TAB_ALL;return 1===i.length?r=i[0].value:l>0?r=a.VIDEO_TAB_OWN:o>0&&(r=a.VIDEO_TAB_SHARED),r},c=(e,t)=>{let a=n(t),i=s(e,t);return a.find(e=>e.value===i)},d=e=>n(e)[0];e.s(["getDefaultTab",0,c,"getDefaultTabAfterSearchOrFilter",0,d,"getVideoTabs",0,n,"ifAllTabAvailable",0,o])},308024,606086,85532,200434,e=>{"use strict";var t=e.i(388302);let a={isUserShareMode:!1,users:[],userOptions:null,message:"",accessLevel:"",hubs:[],hubOptions:null,sendHubsNotification:!1},i=(0,t.createSlice)({name:"@@bulkActions/share",initialState:a,reducers:{setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},clearAction:e=>{Object.keys(a).forEach(t=>{e[t]=a[t]})},getUserOptionsAction:e=>e,getHubOptionsAction:e=>e}}),{setAction:l,clearAction:o,getUserOptionsAction:r,getHubOptionsAction:n}=i.actions;e.s(["clearAction",0,o,"getHubOptionsAction",0,n,"getUserOptionsAction",0,r,"setAction",0,l,"slice",0,i],606086);let s=i.name,c=e=>e[s].isUserShareMode,d=e=>e[s].users,u=e=>e[s].userOptions,A=e=>e[s].message,E=e=>e[s].accessLevel,S=e=>e[s].hubs,p=e=>e[s].hubOptions,T=e=>e[s].sendHubsNotification;e.s(["accessLevelSelector",0,E,"hubOptionsSelector",0,p,"hubsSelector",0,S,"isUserShareModeSelector",0,c,"messageSelector",0,A,"sendHubsNotificationSelector",0,T,"userOptionsSelector",0,u,"usersSelector",0,d],308024);let _={keywordType:"",keywordList:[],keywordListLoading:!1,keywordSearchPrefix:"",labelType:"",labelList:[],labelListLoading:!1,labelSearchPrefix:"",feedDescriptionType:"",feedDescriptionList:[],feedDescriptionListLoading:!1,feedDescriptionSearchPrefix:"",accountType:"",accountList:[],accountListLoading:!1,accountSearchPrefix:"",hubsType:"",hubsList:[],hubsListLoading:!1,hubsSearchPrefix:"",accountGetOwners:""},m=(0,t.createSlice)({name:"@@editorialSearchFilterSuggester/EDITORIAL_SEARCH_FILTER_SUGGESTER",initialState:_,reducers:{keywordTypeAction:(e,t)=>{e.keywordType=t.payload||_.keywordType},keywordListAction:(e,t)=>{e.keywordList=t.payload||_.keywordList},keywordListLoadingAction:(e,t)=>{e.keywordListLoading=t.payload||_.keywordListLoading},keywordSearchPrefixAction:(e,t)=>{e.keywordSearchPrefix=t.payload||_.keywordSearchPrefix},labelTypeAction:(e,t)=>{e.labelType=t.payload||_.labelType},labelListAction:(e,t)=>{e.labelList=t.payload||_.labelList},labelListLoadingAction:(e,t)=>{e.labelListLoading=t.payload||_.labelListLoading},labelSearchPrefixAction:(e,t)=>{e.labelSearchPrefix=t.payload||_.labelSearchPrefix},feedDescriptionTypeAction:(e,t)=>{e.feedDescriptionType=t.payload||_.feedDescriptionType},feedDescriptionListAction:(e,t)=>{e.feedDescriptionList=t.payload||_.feedDescriptionList},feedDescriptionListLoadingAction:(e,t)=>{e.feedDescriptionListLoading=t.payload||_.feedDescriptionListLoading},feedDescriptionSearchPrefixAction:(e,t)=>{e.feedDescriptionSearchPrefix=t.payload||_.feedDescriptionSearchPrefix},accountTypeAction:(e,t)=>{e.accountType=t.payload||_.accountType},accountListAction:(e,t)=>{e.accountList=t.payload||_.accountList},accountListLoadingAction:(e,t)=>{e.accountListLoading=t.payload||_.accountListLoading},accountSearchPrefixAction:(e,t)=>{e.accountSearchPrefix=t.payload||_.accountSearchPrefix},accountGetOwnersAction:(e,t)=>{e.accountGetOwners=t.payload||_.accountGetOwners},hubsTypeAction:(e,t)=>{e.hubsType=t.payload||_.hubsType},hubsListAction:(e,t)=>{e.hubsList=t.payload||_.hubsList},hubsListLoadingAction:(e,t)=>{e.hubsListLoading=t.payload||_.hubsListLoading},hubsSearchPrefixAction:(e,t)=>{e.hubsSearchPrefix=t.payload||_.hubsSearchPrefix},clearAction:e=>{Object.keys(_).forEach(t=>{e[t]=_[t]})}}}),{keywordTypeAction:I,keywordListAction:g,keywordListLoadingAction:y,keywordSearchPrefixAction:O,labelTypeAction:b,labelListAction:P,labelListLoadingAction:v,labelSearchPrefixAction:R,feedDescriptionTypeAction:L,feedDescriptionListAction:h,feedDescriptionListLoadingAction:D,feedDescriptionSearchPrefixAction:f,accountTypeAction:N,accountListAction:C,accountListLoadingAction:M,accountSearchPrefixAction:F,accountGetOwnersAction:U,hubsTypeAction:B,hubsListAction:V,hubsListLoadingAction:Y,hubsSearchPrefixAction:w,clearAction:G}=m.actions;e.s(["accountGetOwnersAction",0,U,"accountListAction",0,C,"accountListLoadingAction",0,M,"accountSearchPrefixAction",0,F,"accountTypeAction",0,N,"feedDescriptionListAction",0,h,"feedDescriptionListLoadingAction",0,D,"feedDescriptionSearchPrefixAction",0,f,"feedDescriptionTypeAction",0,L,"hubsListAction",0,V,"hubsListLoadingAction",0,Y,"hubsSearchPrefixAction",0,w,"hubsTypeAction",0,B,"keywordListAction",0,g,"keywordListLoadingAction",0,y,"keywordSearchPrefixAction",0,O,"keywordTypeAction",0,I,"labelListAction",0,P,"labelListLoadingAction",0,v,"labelSearchPrefixAction",0,R,"labelTypeAction",0,b,"slice",0,m],85532);let k=m.name,H=e=>e[k].keywordType,x=e=>e[k].keywordList,W=e=>e[k].keywordListLoading,$=e=>e[k].labelList,z=e=>e[k].labelListLoading,j=e=>e[k].feedDescriptionList,K=e=>e[k].feedDescriptionListLoading,X=e=>e[k].accountList,q=e=>e[k].accountListLoading,Q=e=>e[k].hubsList,Z=e=>e[k].hubsListLoading;e.s(["accountListLoadingSelector",0,q,"accountListSelector",0,X,"feedDescriptionListLoadingSelector",0,K,"feedDescriptionListSelector",0,j,"hubsListLoadingSelector",0,Z,"hubsListSelector",0,Q,"keywordListLoadingSelector",0,W,"keywordListSelector",0,x,"keywordTypeSelector",0,H,"labelListLoadingSelector",0,z,"labelListSelector",0,$],200434)},972625,e=>{"use strict";var t=e.i(725442);e.s(["CustomSlidesOutlined",()=>t.default])},341354,e=>{"use strict";var t=e.i(975899);e.s(["CustomCommentsOutlined",()=>t.default])},83085,28741,e=>{"use strict";var t=e.i(750704);e.s(["CustomDeepSearchOutlined",()=>t.default],83085);var a=e.i(851629);e.s(["CustomPlaylistOutlined",()=>a.default],28741)},228791,e=>{"use strict";var t=e.i(693437),a=e.i(391398);let i=(0,t.default)((0,a.jsx)("path",{d:"M15 7v12.97l-4.21-1.81-.79
623-.34-.79.34L5 19.97V7zm4-6H8.99C7.89 1 7 1.9 7 3h10c1.1 0 2 .9 2 2v13l2 1V3c0-1.1-.9-2-2-2m-4 4H5c-1.1 0-2 .9-2 2v16l7-3 7 3V7c0-1.1-.9-2-2-2"}),"BookmarksOutlined");e.s(["default",0,i])},280287,490335,669639,578461,519065,306925,e=>{"use strict";var t=e.i(425521),a=e.i(388302),i=t;let l="PEOPLE",o="BRANDS",r="IAB",n="LABEL_VALUE",s=[{label:"People",value:l},{label:"Brands",value:o},{label:"Transcript",value:"CC"},{label:"Text",value:"TEXT"},{label:"Custom Tags",value:n}],c=[{label:"Custom Tag Categories",value:"LABEL_NAME"},{label:"Custom Tags",value:n},{label:"People",value:l},{label:"Brands",value:o},{label:"IAB Categories",value:r},{label:"Keywords",value:"KEYWORDS"}];e.s(["CHIP_TYPE_LIST",0,c,"CUSTOM_TAG_VALUE",0,n,"DEEP_SEARCH_TAGS_LIST",0,s,"SYSTEM_TAG_BRANDS",0,o,"SYSTEM_TAG_IAB",0,r,"SYSTEM_TAG_PEOPLE",0,l],490335);var d=t;let u="MAIN",A="CHANNEL",E="PLAYER",S="SEARCH",p=[{label:"Main",value:u},{label:"Channel",value:A},{label:"Player",value:E},{label:"Search",value:S}];e.s(["PAGE_CHANNEL",0,A,"PAGE_LIST",0,p,"PAGE_MAIN",0,u,"PAGE_PLAYER",0,E,"PAGE_SEARCH",0,S],669639);let T={color:null,bg:null,cTitleColor:null,cDescColor:null,cVidTitleColor:null,cInfoColor:null,sTitleColor:null,sVidTitleColor:null,sVidInfoColor:null},_={color:null,bg:null,cTitleColor:null,cDescColor:null,cVidTitleColor:null,cInfoColor:null,sTitleColor:null,sVidTitleColor:null,sVidInfoColor:null},m={[d.ENUM_LIGHT]:{...T},[d.ENUM_DARK]:{..._}},I={tags:!0,tagTypes:[l,o,r,n],fixedTags:[],excludedTags:[],tagPages:[u,A,E,S],tagCount:3,tagMin:3,tagMax:30},g={tags:!1,tagTypes:[],fixedTags:[],excludedTags:[],tagPages:[],tagCount:1,tagMin:0,tagMax:1};e.s(["CHIPS_DISABLED_PRESET",0,g,"CHIPS_ENABLED_PRESET",0,I,"LIGHT_PRESET",0,T,"PRESETS",0,m],578461);var y=e.i(228791);e.i(988641);var O=e.i(341354),b=e.i(83085),P=e.i(28741),v=e.i(972625),R=e.i(142607),R=R;let L="PLAYLIST",h="DEEP_SEARCH",D="CHAPTERS",f="COMMENTS",N="TRANSCRIPTS",C="SLIDES",M={[L]:{label:"Playlist",Icon:P.CustomPlaylistOutlined},[h]:{label:"Deep Search",Icon:b.CustomDeepSearchOutlined},[D]:{label:"Chapters",Icon:y.default},[f]:{label:"Comments",Icon:O.CustomCommentsOutlined},[N]:{label:"Transcript",Icon:R.default},[C]:{label:"Slides",Icon:v.CustomSlidesOutlined}},F=[L,h,D,f,N,C];e.s(["ORDER_OF_TABS",0,F,"ORDER_OF_TAB_INFO",0,M],519065);var U=t,B=e.i(103875);let V=[{fieldName:"hub",tabId:U.TAB_BASIC_DETAILS,validation:e=>e?"":"Hub is required"},{fieldName:"title",tabId:U.TAB_BASIC_DETAILS,validation:e=>{let t=e?.trim();return t?t.length<2?"Field cannot be less then 2 symbols":"":"Field cannot be empty"}},{fieldName:"source",tabId:U.TAB_BASIC_DETAILS,validation:e=>e?.length?"":"Field cannot be empty"},{fieldName:"domain",tabId:U.TAB_BASIC_DETAILS,validation:e=>e?"":"Field cannot be empty"},{fieldName:"sitemap",tabId:U.TAB_BASIC_DETAILS,validation:e=>"boolean"==typeof e&&!0===e?"":e?(0,B.isValidUrl)(e)?"":"Wrong link format":"Field cannot be empty"},{fieldName:"dsTags",tabId:U.TAB_ADVANCED,validation:e=>e.length?"":"Field cannot be empty"},{fieldName:"adHubId",tabId:U.TAB_ADVANCED,validation:e=>e.length?"":"Field cannot be empty"},{fieldName:"adWidgetId",tabId:U.TAB_ADVANCED,validation:e=>e.length?"":"Field cannot be empty"},{fieldName:"widgetOrigin",tabId:U.TAB_CUSTOM,validation:e=>e&&!(0,B.isValidUrl)(e)?"Wrong URL format":""},{fieldName:"js",tabId:U.TAB_CUSTOM,validation:e=>{try{Function(e)()}catch(e){return e.message}return""}},{fieldName:"configuration",tabId:U.TAB_CONFIGURATION,validation:e=>{try{if(e){let t=JSON.parse(e);if("object"!=typeof t||null===t)throw Error()}return""}catch{return"Invalid JSON format"}}}];var Y=e.i(192155);let w={appearance:i.ENUM_LIGHT,font:"Roboto",fontSize:null,color:T.color,bg:T.bg,dockMobile:!0,offsetTop:"0",offsetBottom:"10"},G={cTitleSize:null,cTitleColor:T.cTitleColor,cDescSize:null,cDescColor:T.cDescColor,cVidTitleSize:null,cVidTitleColor:T.cVidTitleColor,cInfoColor:T.cInfoColor},k={sTitleSize:null,sTitleColor:T.sTitleColor,sVidTitleSize:null,sVidTitleColor:T.sVidTitleColor,sVidInfoSize:null,sVidInfoColor:T.sVidInfoColor},H=(0,Y.default)(i.FORM_REDUX_FIELD_NAME,V),{validateFields:x,validateSingleField:W}=H,$={id:null,hub:null,hubOptions:null,title:"",description:"",status:1,environment:i.ENVIRONMENT_INTERNAL,source:[],sourceOptions:null,sourceSearchText:"",domain:null,domainOptions:null,search:!0,deepSearch:!0,genAI:!1,comments:!1,autoplay:!0,autoplayMobile:!0,autoplayNext:!0,sound:!0,soundMobile:!0,seo:!1,sitemap:"",download:!1,emailShare:!0,socialShare:!0,shareService:!0,highlights:!1,transcriptDownload:!1,slides:!1,chapters:!0,...w,...G,engagement:[i.VIEWS,i.LIKES,i.SHARES],layout:i.PAGE_MODE_STANDARD,popupSize:80,...k,searchPlaceholder:"Search within Video - Powered by AnyClip",searchLabel:"Search within Video",...I,language:i.DEFAULT_WATCH_LANGUAGE_VALUE,languages:i.DEFAULT_LANGUAGES_LIST,tabOrder:F,dsTags:s.map(e=>e.value),dsRedirect:i.DEEP_SEARCH_REDIRECT_PLAYLIST,dblClickFlow:!0,rtl:!1,ad:!1,adHubId:"",adWidgetId:"",videoPreview:!0,delayPreview:750,css:"",configuration:null,player:null,inlinePlayer:null,verticalPlayer:null,inlineVerticalPlayer:null,myWatch:!1,widgetOrigin:"",js:"",backMobile:!1,genAICount:i.GEN_AI_DEFAULT_VIDEO_COUNT,genAICountDraft:"",accountId:null,accountFeatures:{},formChanged:!1,isLoading:!1,folderName:"",activeTabId:i.TAB_BASIC_DETAILS,...H.state},z=(0,a.createSlice)({name:"@@WATCH/WATCH_EDIT",initialState:$,reducers:{getWatchByIdAction:e=>e,createWatchAction:e=>e,updateWatchAction:e=>e,getHubOptionsAction:e=>e,getSourceOptionsAction:e=>e,getDomainOptionsAction:e=>e,getAccountFeatures:e=>e,updateStoreByPropAction:(e,t)=>
623{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},clearAction:()=>({...$}),setAppearanceModelAction:(e,t)=>{let a=m[t.payload]??{};Object.keys(a).forEach(t=>{e[t]=a[t]})},setLookAndFeelToDefaultAction:e=>{Object.keys(w).forEach(t=>{e[t]=w[t]}),Object.keys(G).forEach(t=>{e[t]=G[t]}),Object.keys(k).forEach(t=>{e[t]=k[t]})},setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:H.actions.setScrollToFieldAction,setErrorByPropAction:H.actions.updateValidationSchemeAction,removeErrorByPropAction:H.actions.removeErrorByFieldNameAction}}),{clearAction:j,createWatchAction:K,getDomainOptionsAction:X,getAccountFeatures:q,getHubOptionsAction:Q,getSourceOptionsAction:Z,getWatchByIdAction:J,setActiveTabIdAction:ee,setAppearanceModelAction:et,setErrorByPropAction:ea,setLookAndFeelToDefaultAction:ei,updateStoreByPropAction:el,removeErrorByPropAction:eo,updateWatchAction:er,setScrollToFieldNameAction:en}=z.actions;z.reducer,e.s(["clearAction",0,j,"createWatchAction",0,K,"getAccountFeatures",0,q,"getDomainOptionsAction",0,X,"getHubOptionsAction",0,Q,"getSourceOptionsAction",0,Z,"getWatchByIdAction",0,J,"removeErrorByPropAction",0,eo,"setActiveTabIdAction",0,ee,"setAppearanceModelAction",0,et,"setErrorByPropAction",0,ea,"setLookAndFeelToDefaultAction",0,ei,"setScrollToFieldNameAction",0,en,"slice",0,z,"updateStoreByPropAction",0,el,"updateWatchAction",0,er,"validateFields",0,x,"validateSingleField",0,W],306925);var es=e.i(916094);let ec=z.name,ed=e=>e[ec].hub,eu=e=>e[ec].hubOptions,eA=e=>e[ec].title,eE=e=>e[ec].description,eS=e=>e[ec].status,ep=e=>e[ec].environment,eT=e=>e[ec].source,e_=e=>e[ec].sourceOptions,em=e=>e[ec].sourceSearchText,eI=e=>e[ec].domain,eg=e=>e[ec].domainOptions,ey=e=>e[ec].search,eO=e=>e[ec].deepSearch,eb=e=>e[ec].genAI,eP=e=>e[ec].comments,ev=e=>e[ec].autoplay,eR=e=>e[ec].autoplayMobile,eL=e=>e[ec].autoplayNext,eh=e=>e[ec].sound,eD=e=>e[ec].soundMobile,ef=e=>e[ec].seo,eN=e=>e[ec].sitemap,eC=e=>e[ec].download,eM=e=>e[ec].emailShare,eF=e=>e[ec].socialShare,eU=e=>e[ec].shareService,eB=e=>e[ec].highlights,eV=e=>e[ec].transcriptDownload,eY=e=>e[ec].slides,ew=e=>e[ec].chapters,eG=e=>e[ec].appearance,ek=e=>e[ec].font,eH=e=>e[ec].fontSize,ex=e=>e[ec].color,eW=e=>e[ec].bg,e$=e=>e[ec].dockMobile,ez=e=>e[ec].offsetTop,ej=e=>e[ec].offsetBottom,eK=e=>e[ec].cTitleSize,eX=e=>e[ec].cTitleColor,eq=e=>e[ec].cDescSize,eQ=e=>e[ec].cDescColor,eZ=e=>e[ec].cVidTitleSize,eJ=e=>e[ec].cVidTitleColor,e0=e=>e[ec].cInfoColor,e1=e=>e[ec].engagement,e2=e=>e[ec].layout,e3=e=>e[ec].popupSize,e9=e=>e[ec].sTitleSize,e5=e=>e[ec].sTitleColor,e8=e=>e[ec].sVidTitleSize,e6=e=>e[ec].sVidTitleColor,e4=e=>e[ec].sVidInfoSize,e7=e=>e[ec].sVidInfoColor,te=e=>e[ec].searchPlaceholder,tt=e=>e[ec].searchLabel,ta=e=>e[ec].tags,ti=e=>e[ec].tagTypes,tl=e=>e[ec].fixedTags,to=e=>e[ec].excludedTags,tr=e=>e[ec].tagPages,tn=e=>e[ec].tagCount,ts=e=>e[ec].tagMin,tc=e=>e[ec].tagMax,td=e=>e[ec].language,tu=e=>e[ec].languages,tA=e=>e[ec].tabOrder,tE=e=>e[ec].dsTags,tS=e=>e[ec].dsRedirect,tp=e=>e[ec].dblClickFlow,tT=e=>e[ec].rtl,t_=e=>e[ec].ad,tm=e=>e[ec].adHubId,tI=e=>e[ec].adWidgetId,tg=e=>e[ec].videoPreview,ty=e=>e[ec].delayPreview,tO=e=>e[ec].css,tb=e=>e[ec].player,tP=e=>e[ec].inlinePlayer,tv=e=>e[ec].verticalPlayer,tR=e=>e[ec].inlineVerticalPlayer,tL=e=>e[ec].myWatch,th=e=>e[ec].widgetOrigin,tD=e=>e[ec].js,tf=e=>e[ec].backMobile,tN=e=>e[ec].genAICount,tC=e=>e[ec].configuration,tM=e=>e[ec].accountFeatures,tF=e=>e[ec].activeTabId,tU=e=>e[ec].formChanged,tB=e=>e[ec].isLoading,tV=e=>e[ec].folderName,tY=(0,es.default)(t.FORM_REDUX_FIELD_NAME,ec),tw=e=>tY.getScrollField(e),tG=e=>tY.schemeSelector(e),tk=e=>e[ec];e.s(["accountFeaturesSelector",0,tM,"activeTabIdSelector",0,tF,"adHubIdSelector",0,tm,"adSelector",0,t_,"adWidgetIdSelector",0,tI,"appearanceSelector",0,eG,"autoplayMobileSelector",0,eR,"autoplayNextSelector",0,eL,"autoplaySelector",0,ev,"backMobileSelector",0,tf,"bgSelector",0,eW,"cDescColorSelector",0,eQ,"cDescSizeSelector",0,eq,"cInfoColorSelector",0,e0,"cTitleColorSelector",0,eX,"cTitleSizeSelector",0,eK,"cVidTitleColorSelector",0,eJ,"cVidTitleSizeSelector",0,eZ,"chaptersSelector",0,ew,"colorSelector",0,ex,"commentsSelector",0,eP,"configurationSelector",0,tC,"cssSelector",0,tO,"dblClickFlowSelector",0,tp,"deepSearchSelector",0,eO,"delayPreviewSelector",0,ty,"descriptionSelector",0,eE,"dockMobileSelector",0,e$,"domainOptionsSelector",0,eg,"domainSelector",0,eI,"downloadSelector",0,eC,"dsRedirectSelector",0,tS,"dsTagsSelector",0,tE,"emailShareSelector",0,eM,"engagementSelector",0,e1,"environmentSelector",0,ep,"excludedTagsSelector",0,to,"fixedTagsSelector",0,tl,"folderNameSelector",0,tV,"fontSelector",0,ek,"fontSizeSelector",0,eH,"formChangedSelector",0,tU,"fullAccessToStoreFieldsForValidation",0,tk,"genAICountSelector",0,tN,"genAISelector",0,eb,"highlightsSelector",0,eB,"hubOptionsSelector",0,eu,"hubSelector",0,ed,"inlinePlayerSelector",0,tP,"inlineVerticalPlayerSelector",0,tR,"isLoadingSelector",0,tB,"jsSelector",0,tD,"languageSelector",0,td,"languagesSelector",0,tu,"layoutSelector",0,e2,"myWatchSelector",0,tL,"offsetBottomSelector",0,ej,"offsetTopSelector",0,ez,"playerSelector",0,tb,"popupSizeSelector",0,e3,"rtlSelector",0,tT,"sTitleColorSelector",0,e5,"sTitleSizeSelector",0,e9,"sVidInfoColorSelector",0,e7,"sVidInfoSizeSelector",0,e4,"sVidTitleColorSelector",0,e6,"sVidTitleSizeSelector",0,e8,"schemeSelector",0,tG,"scrollFieldSelector",0,tw,"searchLabelSelector",0,tt,"searchPlaceholderSelector",0,te,"searchSelector",0,ey,"seoSelector",0,ef,"shareServiceSelector",0,eU,"sitemapSelector",0,eN,"slidesSelector",0,eY,"socialShareSelector",0,eF,"soundMobileSelector",0,eD,"soundSelector",0,eh,"sourceOptionsSelector",0,e_,"sourceSearchTextSelector",0,em,"sourceSelector",0,eT,"statusSelector",0,eS,"tabOrderSelector",0,tA,"tagCountSelector",0,tn,"tagMaxSelector",0,tc,"tagMinSelector",0,ts,"tagPagesSelector",0,tr,"tagTypesSelector",0,ti,"tagsSelector",0,ta,"titleSelector",0,eA,"transcriptDownloadSelector",0,eV,"verticalPlayerSelector",0,tv,"videoPreviewSelector",0,tg,"widgetOriginSelector",0,th],280287)},858234,e=>{"use strict";var t=e.i(350461),a=e.i(388514);let i=(e,a)=>{let i=t.default.env.APP_DWH_SEO_S3_BUCKET;return`https://${i}/${e}/${e}_${a}/sitemap.xml`},l=()=>[{value:-1,label:"All"}],o=(e="")=>parseInt(e.replace(/\D+/g,""),10)||0,r=(e,t)=>e.map(e=>t.find(t=>t.value===e)),n=(e,t)=>e?(0,a.canEdit)(t):(0,a.canCreate)(t);e.s(["getIsAllowedForCreateOrUpdate",0,n,"getSitemapFileUrlBy",0,i,"getSourceDefaultValue",0,l,"strToInt",0,o,"valuesArrayToAutocomplete",0,r])},294403,e=>{"use strict";var t=e.i(935696),a=e.i(842775);function i(e){let i=(0,a.getUserRoleSelector)(e),l=(0,a.getUserAccountSelector)(e),o=(0,a.getPublisherIdsSelector)(e);if(!l)return!0;let r=l.publishers.filter(e=>o.includes(e.id)),n=l.publishers.length>1&&l.publishers.length===r.length,s=i?.name!==t.HUB_ADMIN_ROLE;return n&&s}e.s(["shouldAddAllOptionsSelector",0,i])},224263,(e,t,a)=>{!function(e,a){t.exports=a()}(e.e,function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,i=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,o={},r=function(e){return(e*=1)+(e>68?1900:2e3)},n=function(e){return function(t){this[e]=+t}},s=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e||"Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),a=60*t[1]+(+t[2]||0);return 0===a?0:"+"===t[0]?-a:a}(e)}],c=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var a,i=o.meridiem;if(i){for(var l=1;l<=24;l+=1)if(e.indexOf(i(l,0,t))>-1){a=l>12;break}}else a=e===(t?"pm":"PM");return a},u={A:[l,function(e){this.afternoon=d(e,!1)}],a:[l,function(e){this.afternoon=d(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*e}],SS:[a,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,n("seconds")],ss:[i,n("seconds")],m:[i,n("minutes")],mm:[i,n("minutes")],H:[i,n("hours")],h:[i,n("hours")],HH:[i,n("hours")],hh:[i,n("hours")],D:[i,n("day")],DD:[a,n("day")],Do:[l,function(e){var t=o.ordinal,a=e.match(/\d+/);if(this.day=a[0],t)for(var i=1;i<=31;i+=1)t(i).replace(/\[|\]/g,"")===e&&(this.day=i)}
623],M:[i,n("month")],MM:[a,n("month")],MMM:[l,function(e){var t=c("months"),a=(c("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(a<1)throw Error();this.month=a%12||a}],MMMM:[l,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,n("year")],YY:[a,function(e){this.year=r(e)}],YYYY:[/\d{4}/,n("year")],Z:s,ZZ:s};function A(a){var i,l;i=a,l=o&&o.formats;for(var r=(a=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,a,i){var o=i&&i.toUpperCase();return a||l[i]||e[i]||l[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,a){return t||a.slice(1)})})).match(t),n=r.length,s=0;s<n;s+=1){var c=r[s],d=u[c],A=d&&d[0],E=d&&d[1];r[s]=E?{regex:A,parser:E}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},a=0,i=0;a<n;a+=1){var l=r[a];if("string"==typeof l)i+=l.length;else{var o=l.regex,s=l.parser,c=e.slice(i),d=o.exec(c)[0];s.call(t,d),e=e.replace(d,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var a=e.hours;t?a<12&&(e.hours+=12):12===a&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,a){a.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(r=e.parseTwoDigitYear);var i=t.prototype,l=i.parse;i.parse=function(e){var t=e.date,i=e.utc,r=e.args;this.$u=i;var n=r[1];if("string"==typeof n){var s=!0===r[2],c=!0===r[3],d=s||c,u=r[2];c&&(u=r[2]),o=this.$locale(),!s&&u&&(o=a.Ls[u]),this.$d=function(e,t,a){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var i=A(t)(e),l=i.year,o=i.month,r=i.day,n=i.hours,s=i.minutes,c=i.seconds,d=i.milliseconds,u=i.zone,E=new Date,S=r||(l||o?1:E.getDate()),p=l||E.getFullYear(),T=0;l&&!o||(T=o>0?o-1:E.getMonth());var _=n||0,m=s||0,I=c||0,g=d||0;return u?new Date(Date.UTC(p,T,S,_,m,I,g+60*u.offset*1e3)):a?new Date(Date.UTC(p,T,S,_,m,I,g)):new Date(p,T,S,_,m,I,g)}catch(e){return new Date("")}}(t,n,i),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),d&&t!=this.format(n)&&(this.$d=new Date("")),o={}}else if(n instanceof Array)for(var E=n.length,S=1;S<=E;S+=1){r[1]=n[S-1];var p=a.apply(this,r);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}S===E&&(this.$d=new Date(""))}else l.call(this,e)}}})},458021,713357,663366,952277,e=>{"use strict";var t=e.i(744220),a=t,i=e.i(388302),l=e.i(859288),o=t,r=l,n=t,s=e.i(863237),c=e.i(983314);let d=e=>{let t=e?.trim(),a="";return t?c.emailRegExp.test(t)||(a="Invalid email"):a="Field cannot be empty",a},u=e=>{let t=e?.trim(),a="";return t?/^https:/.test(t)?/^(https:\/\/)[a-z0-9]+([.-]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/gm.test(t)||(a="Invalid URL"):a="URL must begin with https":a="Field cannot be empty",a};e.s(["getErrorMessageForEmail",0,d,"getErrorMessageForHttpsLink",0,u],713357);let A=[{fieldName:"name",tabId:r.TAB_FORM_DETAILS,validation:e=>{let t=e?.trim();return t?t.length<2?"Field cannot be less then 2 symbols":"":"Field cannot be empty"}},{fieldName:"site",tabId:r.TAB_FORM_DETAILS,validation:e=>e?"":"Field cannot be empty"},{fieldName:"scheduleReport.email",tabId:r.TAB_FORM_DETAILS,validation:e=>{let t=d(e);return t||""}},{fieldName:"title",tabId:r.TAB_FORM_DETAILS,validation:e=>{let t=(0,s.getCharacterCount)(e);return t?t>n.FIELD_MAX_LENGTH_TITLE?`Field canât exceed ${n.FIELD_MAX_LENGTH_TITLE} characters`:"":"Field cannot be empty"}},{fieldName:"description",tabId:r.TAB_FORM_DETAILS,validation:e=>(0,s.getCharacterCount)(e)>n.FIELD_MAX_LENGTH_DESCRIPTION?`Field canât exceed ${n.FIELD_MAX_LENGTH_DESCRIPTION} characters`:""},{fieldName:"dynamicFields",dynamic:!0,tabId:r.TAB_FORM_DETAILS,validation:e=>e.reduce((e,t)=>(e[t.id]={value:t.value?"":"Field cannot be empty",options:t.options?.reduce((e,t)=>(e[t.id]={name:t.name?"":"Field cannot be empty"},e),{})},e),{})},{fieldName:"submitButton.title",tabId:r.TAB_FORM_DETAILS,validation:e=>e?"":"Field cannot be empty"},{fieldName:"privacyPolicy.title",tabId:r.TAB_FORM_DETAILS,validation:e=>e?"":"Field cannot be empty"},{fieldName:"privacyPolicy.src",tabId:r.TAB_FORM_DETAILS,validation:e=>{let t=u(e);return t||""}},{fieldName:"termsConditions.title",tabId:r.TAB_FORM_DETAILS,validation:e=>e?"":"Field cannot be empty"},{fieldName:"termsConditions.src",tabId:r.TAB_FORM_DETAILS,validation:e=>{let t=u(e);return t||""}},{fieldName:"skipButton.title",tabId:r.TAB_FORM_DETAILS,validation:e=>e?"":"Field cannot be empty"},{fieldName:"trigger.triggerTime",tabId:r.TAB_FORM_TRIGGER,validation:e=>e?"":"Field cannot be empty"}
623,{fieldName:"trigger.watch",tabId:r.TAB_FORM_TRIGGER,validation:e=>e?"":"Field cannot be empty"},{fieldName:"trigger.playerName",tabId:r.TAB_FORM_TRIGGER,validation:e=>e?"":"Field cannot be empty"},{fieldName:"trigger.video",tabId:r.TAB_FORM_TRIGGER,validation:e=>e?.value?"":"Field cannot be empty"}];var E=e.i(192155),S=e.i(161248);let p=(0,E.default)(o.FORM_REDUX_FIELD_NAME,A),{validateFields:T,validateSingleField:_}=p,m={id:null,status:o.STATUS_DISABLED,name:"",site:null,scheduleReport:{email:"",period:o.PERIOD_DAILY},enableInstantDelivery:!1,image:[null,null],title:"",description:"",dynamicFields:[(0,S.createDefaultField)({name:"defaultDynamicFieldName"})],submitButton:{title:"Submit"},privacyPolicy:{title:"Privacy Policy",src:""},termsConditions:{isActive:!0,title:"Terms & Conditions",src:""},skipButton:{isActive:!0,title:"Skip"},style:{bgColor:"#fff",alignItems:o.ALIGN_ITEMS_RIGHT,fontFamily:o.FONTS_OPTIONS[0].value,fontSize:14,fontColor:"#666",submitButtonBgColor:"#2869d1",submitButtonFontColor:"#fff"},trigger:{triggerAction:o.TRIGGER_TIMESTAMP,triggerTime:"00:00:00",triggerApiValue:"",activateLimitsPeriod:!1,frequencyLimitsMaxViewPerUser:5,frequencyLimitsPeriod:o.PERIOD_DAILY,frequencyLimitsDisplayOnlyOnceSubmitted:!1,frequencyLimitsNotShowWhenOnceDisplayed:!1,targetPlacementType:o.TARGET_PLACEMENT_TYPE_WATCH,watch:null,watchChannel:null,playerName:null,playerSize:[o.PLAYER_SIZE_X_SMALL,o.PLAYER_SIZE_SMALL,o.PLAYER_SIZE_MEDIUM,o.PLAYER_SIZE_LARGE],domains:[],devices:[],geographies:[],video:null,categories:[],peoples:[],brands:[],keywords:[],labels:[],brandSafeties:[]},medataFormId:null,autocomplete:{textOptions:null,watchOptions:null,watchChannelOptions:null},isFormDownloadInProgress:!1,shouldShowDownloadTryRequestOverConfirm:!1,formDownloadTryRequestCounter:1,activeTabId:l.TAB_FORM_DETAILS,...p.state},I=(0,i.createSlice)({name:"@@FORM/EDITOR",initialState:m,reducers:{getBrandSafetyOptionsAction:e=>e,getKeywordsOptionsAction:e=>e,getBrandsOptionsAction:e=>e,getPeopleOptionsAction:e=>e,getLabelOptionsAction:e=>e,getDomainOptionsAction:e=>e,getGeoOptionsAction:e=>e,getSiteOptionsAction:e=>e,getWatchOptionsAction:e=>e,getVideoOptionsAction:e=>e,getPlayerOptionsAction:e=>e,createFormAction:e=>e,uploadLogoAction:e=>e,uploadBannerAction:e=>e,getFormByIdAction:e=>e,updateFormAction:e=>e,duplicateFormAction:e=>e,downloadFormDataAction:e=>e,sendTestEmailAction:e=>e,sendFormReportToUserEmailAction:e=>e,getTemplateByIdAction:e=>e,setFieldAction:(e,t)=>{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setInitialAction:()=>({...m}),setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:p.actions.setScrollToFieldAction,setErrorByPropAction:p.actions.updateValidationSchemeAction,removeErrorByPropAction:p.actions.removeErrorByFieldNameAction}}),{createFormAction:g,downloadFormDataAction:y,duplicateFormAction:O,getBrandSafetyOptionsAction:b,getBrandsOptionsAction:P,getDomainOptionsAction:v,getFormByIdAction:R,getGeoOptionsAction:L,getKeywordsOptionsAction:h,getLabelOptionsAction:D,getPeopleOptionsAction:f,getPlayerOptionsAction:N,getSiteOptionsAction:C,getTemplateByIdAction:M,getVideoOptionsAction:F,getWatchOptionsAction:U,sendFormReportToUserEmailAction:B,sendTestEmailAction:V,setFieldAction:Y,setInitialAction:w,updateFormAction:G,uploadBannerAction:k,uploadLogoAction:H,setActiveTabIdAction:x,setScrollToFieldNameAction:W,setErrorByPropAction:$,removeErrorByPropAction:z}=I.actions;I.reducer,e.s(["createFormAction",0,g,"downloadFormDataAction",0,y,"duplicateFormAction",0,O,"getBrandSafetyOptionsAction",0,b,"getBrandsOptionsAction",0,P,"getDomainOptionsAction",0,v,"getFormByIdAction",0,R,"getGeoOptionsAction",0,L,"getKeywordsOptionsAction",0,h,"getLabelOptionsAction",0,D,"getPeopleOptionsAction",0,f,"getPlayerOptionsAction",0,N,"getSiteOptionsAction",0,C,"getTemplateByIdAction",0,M,"getVideoOptionsAction",0,F,"getWatchOptionsAction",0,U,"removeErrorByPropAction",0,z,"sendFormReportToUserEmailAction",0,B,"sendTestEmailAction",0,V,"setActiveTabIdAction",0,x,"setErrorByPropAction",0,$,"setFieldAction",0,Y,"setInitialAction",0,w,"setScrollToFieldNameAction",0,W,"slice",0,I,"updateFormAction",0,G,"uploadBannerAction",0,k,"uploadLogoAction",0,H,"validateFields",0,T,"validateSingleField",0,_],663366);var j=e.i(916094);let K=I.name,X=e=>e[K].id,q=e=>e[K].status,Q=e=>e[K].name,Z=e=>e[K].site,J=e=>e[K].scheduleReport,ee=e=>e[K].enableInstantDelivery,et=e=>e[K].image,ea=e=>e[K].title,ei=e=>e[K].description,el=e=>e[K].dynamicFields,eo=e=>e[K].submitButton,er=e=>e[K].privacyPolicy,en=e=>e[K].termsConditions,es=e=>e[K].skipButton,ec=e=>e[K].style,ed=e=>e[K].trigger,eu=e=>e[K].medataFormId,eA=e=>e[K].autocomplete,eE=e=>e[K].isFormDownloadInProgress,eS=e=>e[K].shouldShowDownloadTryRequestOverConfirm,ep=e=>e[K].formDownloadTryRequestCounter,eT=e=>e[K].activeTabId,e_=(0,j.default)(a.FORM_REDUX_FIELD_NAME,K),em=e=>e_.getScrollField(e),eI=e=>e_.schemeSelector(e),eg=e=>e[K];e.s(["activeTabIdSelector",0,eT,"autocompleteSelector",0,eA,"descriptionSelector",0,ei,"dynamicFieldsSelector",0,el,"enableInstantDeliverySelector",0,ee,"formDownloadTryRequestCounterSelector",0,ep,"fullAccessToStoreFieldsForValidation",0,eg,"idSelector",0,X,"imageSelector",0,et,"isFormDownloadInProgressSelector",0,eE,"medataFormIdSelector",0,eu,"nameSelector",0,Q,"privacyPolicySelector",0,er,"scheduleReportSelector",0,J,"schemeSelector",0,eI,"scrollFieldSelector",0,em,"shouldShowDownloadTryRequestOverConfirmSelector",0,eS,"siteSelector",0,Z,"skipButtonSelector",0,es,"statusSelector",0,q,"styleSelector",0,ec,"submitButtonSelector",0,eo,"termsConditionsSelector",0,en,"titleSelector",0,ea,"triggerSelector",0,ed],952277);var ey=e.i(536216);let eO=e=>{let t={name:Q(e),style:ec(e),privacyPolicy:er(e),termsConditions:en(e),skipButton:es(e),submitButton:eo(e),image:et(e),title:ea(e),description:ei(e),dynamicFields:el(e)};return(0,ey.createFormMetadata)(t)};e.s(["getFormMetadataCalculation",0,eO],458021)},859288,e=>{"use strict";let t="formDetails",a="formTrigger",i="start",l="retry",o=45,r="all",n=1,s=[{label:"All categories",value:r}],c="CREATE",d="UPDATE",u="DUPLICATE",A={label:"All accounts",value:null},E=100,S="form_preview_widget_id";e.s(["FORM_DOWNLOAD_STATUS_RETRY",0,l,"FORM_DOWNLOAD_STATUS_START",0,i,"FORM_MAX_DOWNLOAD_TRY_REQUESTS",0,o,"FORM_PREVIEW_WIDGET_ID",0,S,"FORM_SUBMIT_MODE_CREATE",0,c,"FORM_SUBMIT_MODE_DUPLICATE",0,u,"FORM_
623SUBMIT_MODE_UPDATE",0,d,"SEARCH_TEXT_MAX_LENGTH",0,E,"TAB_FORM_DETAILS",0,t,"TAB_FORM_TRIGGER",0,a,"TEMPLATE_ACCOUNT_ALL",0,A,"TEMPLATE_CATEGORIES_OPTIONS",0,s,"TEMPLATE_CATEGORY_ALL",0,r,"TEMPLATE_CATEGORY_CONTENT_FEEDBACK",0,n])},744220,863237,161248,536216,e=>{"use strict";let t="DAILY",a="WEEKLY",i="MONTHLY",l=[{label:"Daily",value:t},{label:"Weekly",value:a},{label:"Monthly",value:i}],o=[{label:"Arial",value:"Arial"},{label:"Helvetica",value:"Helvetica"},{label:"Times New Roman",value:"Times New Roman"},{label:"Times Courier New",value:"Times Courier New"},{label:"Courier",value:"Courier"}],r="TextField",n="TextAreaField",s="EmailField",c="DateField",d="SelectField",u="RadioField",A="CheckboxOptionsField",E=[{id:r,name:"Text",fontSize:"13px"},{id:n,name:"Text Area",fontSize:"15px"},{id:s,name:"Email",fontSize:"15px"},{id:c,name:"Date",fontSize:"15px"},{id:d,name:"Dropdown",fontSize:"15px"},{id:u,name:"Radio Button",fontSize:"15px"},{id:A,name:"Checkbox",fontSize:"15px"}],S=1,p=-1,T=0,_="center",m="left",I="right",g="TIMESTAMP",y="BEGINNING_OF_VIDEO",O="END_OF_VIDEO",b="API",P=[{id:g,name:"Timestamp"},{id:y,name:"Beginning of video"},{id:O,name:"End of video"},{id:b,name:"API"}],v=[{label:"Per Day",value:t},{label:"Per Week",value:a},{label:"Per Month",value:i}],R="x-small",L="small",h="medium",D="large",f=[{label:"Desktop",value:"DESKTOP"},{label:"Mobile",value:"MOBILE"},{label:"Tablet",value:"TABLET"},{label:"Connected TV",value:"CONNECTED_TV"},{label:"Other",value:"OTHER"}],N="CREATE",C="UPDATE",M="DUPLICATE",F="WATCH",U="PLAYER",B="VIDEO",V=["jpg","jpeg","png"],Y=92160,w=512e3,G=255,k=40,H=360,x=40,W=40,$=40,z=40,j="commonForm";e.s(["ALIGN_ITEMS_CENTER",0,_,"ALIGN_ITEMS_LEFT",0,m,"ALIGN_ITEMS_RIGHT",0,I,"ALLOWED_IMAGE_EXT",0,V,"DEVICE_LIST",0,f,"FIELDS_OPTIONS",0,E,"FIELD_CHECKBOX",0,A,"FIELD_DATE",0,c,"FIELD_EMAIL",0,s,"FIELD_MAX_LENGTH_DESCRIPTION",0,H,"FIELD_MAX_LENGTH_NAME",0,G,"FIELD_MAX_LENGTH_PPTEXT",0,W,"FIELD_MAX_LENGTH_SKIPBUTTONTEXT",0,z,"FIELD_MAX_LENGTH_SUBMITTEXT",0,x,"FIELD_MAX_LENGTH_TCTEXT",0,$,"FIELD_MAX_LENGTH_TITLE",0,k,"FIELD_RADIO",0,u,"FIELD_SELECT",0,d,"FIELD_TEXT",0,r,"FIELD_TEXTAREA",0,n,"FONTS_OPTIONS",0,o,"FORM_REDUX_FIELD_NAME",0,j,"FORM_SUBMIT_MODE_CREATE",0,N,"FORM_SUBMIT_MODE_DUPLICATE",0,M,"FORM_SUBMIT_MODE_UPDATE",0,C,"MAX_BANNER_SIZE_IN_BYTES",0,w,"MAX_LOGO_SIZE_IN_BYTES",0,Y,"PERIOD_DAILY",0,t,"PERIOD_MONTHLY",0,i,"PERIOD_WEEKLY",0,a,"PLAYER_SIZE_LARGE",0,D,"PLAYER_SIZE_MEDIUM",0,h,"PLAYER_SIZE_SMALL",0,L,"PLAYER_SIZE_X_SMALL",0,R,"SCHEDULE_REPORT_PERIOD_OPTIONS",0,l,"STATUS_ACTIVE",0,S,"STATUS_ARCHIVED",0,p,"STATUS_DISABLED",0,T,"TARGET_PLACEMENT_TYPE_PLAYER",0,U,"TARGET_PLACEMENT_TYPE_VIDEO",0,B,"TARGET_PLACEMENT_TYPE_WATCH",0,F,"TRIGGER_API",0,b,"TRIGGER_BEGINNING",0,y,"TRIGGER_END",0,O,"TRIGGER_OPTIONS",0,P,"TRIGGER_PERIOD_OPTIONS",0,v,"TRIGGER_TIMESTAMP",0,g],744220);let K=e=>{let t=document.createElement("div");return t.innerHTML=e,t.textContent.trim().length};e.s(["getCharacterCount",0,K],863237);let X=(e,t={})=>({id:t.name||`name-${Date.now()}`,isSelected:t.isSelected||!1,component:e,value:"",placeholder:"Enter Label *",isRequire:!t.validation||t.validation?.required?.value,isTypeDisabled:t.isTypeDisabled||!1}),q=(e=1)=>({id:e,name:"",placeholder:`Option ${e}`,isEditable:!1,isDefault:!1}),Q=e=>e.map(e=>({id:e.value,name:e.label,placeholder:`Option ${e.value}`,isDefault:e.isSelected,isEditable:!1})),Z=(e,t={})=>{let a=X(e,t);switch(e){case r:case n:case s:return{...a,value:t.placeholder||""};case c:return{...a,value:t.label||""};case u:case d:case A:return{...a,value:t.label||"",options:t.options?.length?Q(t.options):[q()]};default:return a}},J=e=>Z(r,e);e.s(["createDefaultField",0,J,"createDynamicField",0,Z,"createOption",0,q],161248);let ee=({src:e,order:t})=>({columns:12,order:t,widget:{component:"Logo",props:{src:e}}}),et=({src:e,order:t})=>({columns:12,order:t,widget:{component:"Banner",props:{src:e}}}),ea=({text:e,order:t})=>({columns:12,order:t,widget:{component:"Title",props:{text:e}}}),ei=({text:e,order:t})=>({columns:12,order:t,widget:{component:"Description",props:{text:e}}}),el=({id:e,value:t,defaultValue:a,isRequire:i=!0,order:l})=>({columns:"12",order:l,widget:{component:r,props:{type:"text",name:e,placeholder:t,defaultValue:a,validation:{required:{value:i,errMsg:"Is required"}}}}}),eo=({id:e,value:t,defaultValue:a,isRequire:i=!0,order:l})=>({columns:"12",order:l,widget:{component:n,props:{name:e,placeholder:t,defaultValue:a,validation:{required:{value:i,errMsg:"Is required"}}}}}),er=({id:e,value:t,defaultValue:a,isRequire:i=!0,order:l})=>({columns:"12",order:l,widget:{component:s,props:{type:"email",name:e,placeholder:t,defaultValue:a,validation:{required:{value:i,errMsg:"Is required"}}}}}),en=({id:e,value:t,defaultValue:a,isRequire:i=!0,order:l})=>({columns:"12",order:l,widget:{component:c,props:{name:e,label:t,defaultValue:a,day:{label:"Day"},month:{label:"Month"},year:{label:"Year"},validation:{required:{value:i,errMsg:"Is required"}}}}}),es=({id:e,value:t,isRequire:a=!0,options:i,order:l})=>({columns:"12",order:l,widget:{component:d,props:{name:e,label:t,options:i.map(e=>({value:e.id,label:e.name,isSelected:e.isDefault})),validation:{required:{value:a,errMsg:"Is required"}}}}}),ec=({id:e,value:t,isRequire:a=!0,options:i,order:l})=>({columns:"12",order:l,widget:{component:u,props:{name:e,label:t,options:i.map(e=>({value:e.id,label:e.name,isSelected:e.isDefault})),validation:{required:{value:a,errMsg:"Is required"}}}}}),ed=({id:e,value:t,isRequire:a=!0,options:i,order:l})=>({columns:"12",order:l,widget:{component:A,props:{name:e,label:t,options:i.map(e=>({value:e.id,label:e.name,isSelected:e.isDefault})),validation:{required:{value:a,errMsg:"Is required"}}}}}),eu={[r]:el,[n]:eo,[s]:er,[c]:en,[d]:es,[u]:ec,[A]:ed},eA=e=>{let t=[],[a,i]=e.image;return a&&t.push(ee({src:a,order:t.length+1})),i&&t.push(et({src:i,order:t.length+1})),e.title&&t.push(ea({text:e.title,order:t.length+1})),e.description&&t.push(ei({text:e.description,order:t.length+1})),t},eE=e=>{let t=[];return e.dynamicFields.forEach((e,a)=>{let i=eu[e.component];if(i){let l=i({...e,order:a});t.push(l)}}),t},eS=e=>({globalConfig:{name:e.name,version:"1",styles:{bgColor:e.style.bgColor,alignment:e.style.alignItems,font:{family:e.style.fontFamily,size:e.style.fontSize,color:e.style.fontColor}},links:{privacy:{title:e.privacyPolicy.title,src:e.privacyPolicy.src},termsConditions:{isHidden:!e.termsConditions.isActive,title:e.termsConditions.title,src:e.termsConditions.src}}},widget:{component:"Container",props:[{columns:12,order:1,widget:{component:"Container",props:eA(e)}}
623,{columns:12,order:2,widget:{component:"Form",props:{skipButton:{isHidden:!e.skipButton.isActive,title:e.skipButton.title,bgColor:"",textColor:e.style.submitButtonBgColor},submitButton:{title:e.submitButton.title,bgColor:e.style.submitButtonBgColor,textColor:e.style.submitButtonFontColor},fields:eE(e)}}}]}});e.s(["createFormMetadata",0,eS],536216)},551598,68244,252530,e=>{"use strict";let t="commonForm";var a=e.i(388302),i=e.i(859288),l=e.i(744220),o=i,r=l,n=e.i(863237);let s=[{fieldName:"name",tabId:o.TAB_FORM_DETAILS,validation:e=>{let t=e?.trim();return t?t.length<2?"Field cannot be less then 2 symbols":"":"Field cannot be empty"}},{fieldName:"title",tabId:o.TAB_FORM_DETAILS,validation:e=>{let t=(0,n.getCharacterCount)(e);return t?t>r.FIELD_MAX_LENGTH_TITLE?`Field canât exceed ${r.FIELD_MAX_LENGTH_TITLE} characters`:"":"Field cannot be empty"}},{fieldName:"description",tabId:o.TAB_FORM_DETAILS,validation:e=>(0,n.getCharacterCount)(e)>r.FIELD_MAX_LENGTH_DESCRIPTION?`Field canât exceed ${r.FIELD_MAX_LENGTH_DESCRIPTION} characters`:""},{fieldName:"dynamicFields",dynamic:!0,tabId:o.TAB_FORM_DETAILS,validation:e=>e.reduce((e,t)=>(e[t.id]={value:t.value?"":"Field cannot be empty",options:t.options?.reduce((e,t)=>(e[t.id]={name:t.name?"":"Field cannot be empty"},e),{})},e),{})},{fieldName:"submitButton.title",tabId:o.TAB_FORM_DETAILS,validation:e=>e?"":"Field cannot be empty"},{fieldName:"privacyPolicy.title",tabId:o.TAB_FORM_DETAILS,validation:e=>e?"":"Field cannot be empty"},{fieldName:"termsConditions.title",tabId:o.TAB_FORM_DETAILS,validation:e=>e?"":"Field cannot be empty"},{fieldName:"skipButton.title",tabId:o.TAB_FORM_DETAILS,validation:e=>e?"":"Field cannot be empty"}];var c=e.i(192155),d=e.i(161248);let u=(0,c.default)(t,s),{validateFields:A,validateSingleField:E}=u,S={id:null,name:"",category:i.TEMPLATE_CATEGORY_CONTENT_FEEDBACK,categoryOptions:[],account:i.TEMPLATE_ACCOUNT_ALL,image:[null,null,null],title:"",description:"",dynamicFields:[(0,d.createDefaultField)({name:"defaultDynamicFieldName"})],submitButton:{title:"Submit"},privacyPolicy:{title:"Privacy Policy",src:""},termsConditions:{isActive:!0,title:"Terms & Conditions",src:""},skipButton:{isActive:!0,title:"Skip"},style:{bgColor:"#fff",alignItems:l.ALIGN_ITEMS_RIGHT,fontFamily:l.FONTS_OPTIONS[0].value,fontSize:14,fontColor:"#666",submitButtonBgColor:"#2869d1",submitButtonFontColor:"#fff"},medataFormId:null,autocomplete:{textOptions:null},activeTabId:i.TAB_FORM_DETAILS,...u.state},p=(0,a.createSlice)({name:"@@TEMPLATE/EDITOR",initialState:S,reducers:{getAccountOptionsAction:e=>e,getCategoryOptionsAction:e=>e,createTemplateAction:e=>e,uploadLogoAction:e=>e,uploadBannerAction:e=>e,getTemplateByIdAction:e=>e,updateTemplateAction:e=>e,duplicateTemplateAction:e=>e,saveProcessAction:e=>e,setFieldAction:(e,t)=>({...e,...t.payload}),setInitialAction:()=>({...S}),setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:u.actions.setScrollToFieldAction,setErrorByPropAction:u.actions.updateValidationSchemeAction,removeErrorByPropAction:u.actions.removeErrorByFieldNameAction}}),{createTemplateAction:T,duplicateTemplateAction:_,getAccountOptionsAction:m,getCategoryOptionsAction:I,getTemplateByIdAction:g,saveProcessAction:y,setFieldAction:O,setInitialAction:b,updateTemplateAction:P,uploadBannerAction:v,uploadLogoAction:R,setActiveTabIdAction:L,setScrollToFieldNameAction:h,setErrorByPropAction:D,removeErrorByPropAction:f}=p.actions;p.reducer,e.s(["createTemplateAction",0,T,"duplicateTemplateAction",0,_,"getAccountOptionsAction",0,m,"getCategoryOptionsAction",0,I,"getTemplateByIdAction",0,g,"removeErrorByPropAction",0,f,"saveProcessAction",0,y,"setActiveTabIdAction",0,L,"setErrorByPropAction",0,D,"setFieldAction",0,O,"setInitialAction",0,b,"setScrollToFieldNameAction",0,h,"slice",0,p,"updateTemplateAction",0,P,"uploadBannerAction",0,v,"uploadLogoAction",0,R,"validateFields",0,A],68244);var N=e.i(916094);let C=p.name,M=e=>e[C].id,F=e=>e[C].name,U=e=>e[C].category,B=e=>e[C].categoryOptions,V=e=>e[C].account,Y=e=>e[C].image,w=e=>e[C].title,G=e=>e[C].description,k=e=>e[C].dynamicFields,H=e=>e[C].submitButton,x=e=>e[C].privacyPolicy,W=e=>e[C].termsConditions,$=e=>e[C].skipButton,z=e=>e[C].style,j=e=>e[C].autocomplete,K=e=>e[C].activeTabId,X=(0,N.default)(t,C),q=e=>
623X.getScrollField(e),Q=e=>X.schemeSelector(e),Z=e=>e[C];e.s(["accountSelector",0,V,"activeTabIdSelector",0,K,"autocompleteSelector",0,j,"categoryOptionsSelector",0,B,"categorySelector",0,U,"descriptionSelector",0,G,"dynamicFieldsSelector",0,k,"fullAccessToStoreFieldsForValidation",0,Z,"idSelector",0,M,"imageSelector",0,Y,"nameSelector",0,F,"privacyPolicySelector",0,x,"schemeSelector",0,Q,"scrollFieldSelector",0,q,"skipButtonSelector",0,$,"styleSelector",0,z,"submitButtonSelector",0,H,"termsConditionsSelector",0,W,"titleSelector",0,w],551598);var J=e.i(536216);let ee=e=>{let t={name:F(e),style:z(e),privacyPolicy:x(e),termsConditions:W(e),skipButton:$(e),submitButton:H(e),image:Y(e),title:w(e),description:G(e),dynamicFields:k(e)};return(0,J.createFormMetadata)(t)};e.s(["getFormMetadataCalculation",0,ee],252530)},969676,__turbopack_context__=>{"use strict";var __TURBOPACK__imported__module__350461__=__turbopack_context__.i(350461),__TURBOPACK__imported__module__191788__=__turbopack_context__.i(191788),__TURBOPACK__imported__module__825647__=__turbopack_context__.i(825647);let getPlayerEndpoint=()=>__TURBOPACK__imported__module__350461__.default.env.APP_PLAYER_WIDGET_URL,getPlaylistApiEndpoint=()=>__TURBOPACK__imported__module__350461__.default.env.APP_PLAYER_PLAYLIST_URL,getPlayerConfigCdnEndpoint=(e,t)=>{let a=__TURBOPACK__imported__module__350461__.default.env.APP_PLAYER_CONFIG_URL;return`${a}${e}/${t}/conf.js?cb=${Date.now()}`},getDirtyEvalObjectFromString=response=>eval(`(function(){ return ${response.replace(/ac_lre_conf =/,"")}})()`),providers={},setContext=e=>
623{providers[e]||(providers[e]=(0,__TURBOPACK__imported__module__191788__.createContext)({}))},getContext=e=>providers[e],deleteContext=e=>{delete providers[e]},getCustomWidgetId=e=>`${e}==[${Date.now().toString(36)}]`,usePlayerWidget=e=>(0,__TURBOPACK__imported__module__191788__.useContext)(providers[e]),fetchConfig=(e,t,a)=>new Promise((i,l)=>{let o=(0,__TURBOPACK__imported__module__825647__.mountTag)("script",{props:{src:getPlayerConfigCdnEndpoint(e,t)},appendContainer:document.body,withoutUnmount:!0});o.addEventListener("load",()=>{window.ac_lre_conf_override={...a({...window.ac_lre_conf}),lre_export_for_demo:!0,lre_playlistApiEndpoint:getPlaylistApiEndpoint()},o.remove(),i()}),o.addEventListener("error",()=>{o.remove(),l()})});__turbopack_context__.s(["deleteContext",0,deleteContext,"fetchConfig",0,fetchConfig,"getContext",0,getContext,"getCustomWidgetId",0,getCustomWidgetId,"getDirtyEvalObjectFromString",0,getDirtyEvalObjectFromString,"getPlayerConfigCdnEndpoint",0,getPlayerConfigCdnEndpoint,"getPlayerEndpoint",0,getPlayerEndpoint,"getPlaylistApiEndpoint",0,getPlaylistApiEndpoint,"setContext",0,setContext,"usePlayerWidget",0,usePlayerWidget])},201424,(e,t,a)=>{!function(e,a){t.exports=a()}(e.e,function(){"use strict";var e,t,a=1e3,i=6e4,l=36e5,o=864e5,r=/\[([^\]]+)]|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,n=31536e6,s=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,d={years:31536e6,months:2628e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},u=function(e){return e instanceof m},A=function(e,t,a){return new m(e,a,t.$l)},E=function(e){return t.p(e)+"s"},S=function(e){return e<0},p=function(e){return S(e)?Math.ceil(e):Math.floor(e)},T=function(e){return Math.abs(e)},_=function(e,t){return e?S(e)?{negative:!0,format:""+T(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},m=function(){function S(e,t,a){var i=this;if(this.$d={},this.$l=a,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return A(e*d[E(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach(function(t){i.$d[E(t)]=e[t]}),this.calMilliseconds(),this;if("string"==typeof e){var l=e.match(c);if(l){var o=l.slice(2).map(function(e){return null!=e?Number(e):0});return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var T=S.prototype;return T.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce(function(t,a){return t+(e.$d[a]||0)*d[a]},0)},T.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=p(e/n),e%=n,this.$d.months=p(e/s),e%=s,this.$d.days=p(e/o),e%=o,this.$d.hours=p(e/l),e%=l,this.$d.minutes=p(e/i),e%=i,this.$d.seconds=p(e/a),e%=a,this.$d.milliseconds=e},T.toISOString=function(){var e=_(this.$d.years,"Y"),t=_(this.$d.months,"M"),a=+this.$d.days||0;this.$d.weeks&&(a+=7*this.$d.weeks);var i=_(a,"D"),l=_(this.$d.hours,"H"),o=_(this.$d.minutes,"M"),r=this.$d.seconds||0;this.$d.milliseconds&&(r+=this.$d.milliseconds/1e3,r=Math.round(1e3*r)/1e3);var n=_(r,"S"),s=e.negative||t.negative||i.negative||l.negative||o.negative||n.negative,c=l.format||o.format||n.format?"T":"",d=(s?"-":"")+"P"+e.format+t.format+i.format+c+l.format+o.format+n.format;return"P"===d||"-P"===d?"P0D":d},T.toJSON=function(){return this.toISOString()},T.format=function(e){var a=e||"YYYY-MM-DDTHH:mm:ss",i={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return a.replace(r,function(e,t){return t||String(i[e])})},T.as=function(e){return this.$ms/d[E(e)]},T.get=function(e){var t=this.$ms,a=E(e);return"milliseconds"===a?t%=1e3:t="weeks"===a?p(t/d[a]):this.$d[a],t||0},T.add=function(e,t,a){var i;return i=t?e*d[E(t)]:u(e)?e.$ms:A(e,this).$ms,A(this.$ms+i*(a?-1:1),this)},T.subtract=function(e,t){return this.add(e,t,!0)},T.locale=function(e){var t=this.clone();return t.$l=e,t},T.clone=function(){return A(this.$ms,this)},T.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},T.valueOf=function(){return this.asMilliseconds()},T.milliseconds=function(){return this.get("milliseconds")},T.asMilliseconds=function(){return this.as("milliseconds")},T.seconds=function(){return this.get("seconds")},T.asSeconds=function(){return this.as("seconds")},T.minutes=function(){return this.get("minutes")},T.asMinutes=function(){return this.as("minutes")},T.hours=function(){return this.get("hours")},T.asHours=function(){return this.as("hours")},T.days=function(){return this.get("days")},T.asDays=function(){return this.as("days")},T.weeks=function(){return this.get("weeks")},T.asWeeks=function(){return this.as("weeks")},T.months=function(){return this.get("months")},T.asMonths=function(){return this.as("months")},T.years=function(){return this.get("years")},T.asYears=function(){return this.as("years")},S}(),I=function(e,t,a){return e.add(t.years()*a,"y").add(t.months()*a,"M").add(t.days()*a,"d").add(t.hours()*a,"h").add(t.minutes()*a,"m").add(t.seconds()*a,"s").add(t.milliseconds()*a,"ms")};return function(a,i,l){e=l,t=l().$utils(),l.duration=function(e,t){return A(e,{$l:l.locale()},t)},l.isDuration=u;var o=i.prototype.add,r=i.prototype.subtract;i.prototype.add=function(e,t){return u(e)?I(this,e,1):o.bind(this)(e,t)},i.prototype.subtract=function(e,t){return u(e)?I(this,e,-1):r.bind(this)(e,t)}}})},592985,112909,679713,e=>{"use strict";var t=e.i(494834),a=e.i(664894),i=e.i(53157),l=e.i(388302);let o="DETAILS",r="SCHEDULE",n="DELIVERY",s="PRE_POST",c="EXTERNAL",d="INTERNAL",u="PRE_EVENT",A="POST_EVENT",E="RECOMMENDED",S="IMAGE",p="SAME_AS_PRE_EVENT",T={"1_1":"ASPECT_RATIO_1x1","3_4":"ASPECT_RATIO_3x4","4_3":"ASPECT_RATIO_4x3","16_9":"ASPECT_RATIO_16x9","9_16":"ASPECT_RATIO_9x16"},_="SAVED",m="PROCESSING",I="IDLE",g="RUNNING",y="FAILED",O=-1,b=1,P="NON_RECURRING",v="DAY",R="WEEK",L="MONTH",h=100,D=15;e.s(["ASPECT_RATIO",0,T,"DAY",0,v,"EVENT_STATUS_ACTIVE",0,b,"EVENT_STATUS_ARCHIVED",0,O,"EVENT_UX_TYPES_IMAGE",0,S,"EVENT_UX_TYPES_RECOMMENDED",0,E,"EVENT_UX_TYPES_SAME",0,p,"EXTERNAL_ENDPOINT",0,c,"FAILED",0,y,"IDLE",0,I,"INTERNAL_ENDPOINT",0,d,"MAX_FIELD_INDICATOR_TEXT",0,D,"MAX_FIELD_INPUT_SIZE",0,h,"MONTH",0,L,"NON_RECURRING",0,P,"POST_EVENT",0,A,"PRE_EVENT",0,u,"PROCESSING",0,m,"RUNNING",0,g,"SAVED",0,_,"TAB_EVENT_DELIVERY",0,n,"TAB_EVENT_DETAILS",0,o,"TAB_EVENT_PRE_POST",0,s,"TAB_EVENT_SCHEDULE",0,r,"WEEK",0,R],112909),t.default.extend(i.default),t.default.extend(a.default);let f={id:null,name:"",description:"",timezone:t.default.tz.guess(),timezoneOptions:[],region:"US_EAST",delivery:"INTERNAL",url:"",rtmpInputUrl:"",rtmpSecondaryInputUrl:"",rtmpStreamKey:"",rtmpSecondaryStreamKey:"",status:"",sc
623hedules:[],scheduleErrors:{},streamId:"",indicationText:"Live",indicationColor:"#2F56E7",publisherId:0,contentOwnerId:0,playerId:0,userId:null,playerAspectRatio:"",guid:"",preEventText:"Live event will start in",preEventType:S,preEventId:null,postEventText:"Live event ended",postEventType:p,postEventId:null,transitionText:"Live event will start shortly",countdown:!0,preEventImages:[],postEventImages:[],publishers:[],publisher:null,players:[],isLoading:!0,errors:{},isEditContinue:!1,embedCode:"",activeTabId:o,createdPreEventPlaylist:!1,createdPostEventPlaylist:!1,playerConfig:null,eventStatus:b,liveStreamRequestFailed:!1,liveCcEnabled:!1,liveCcLang:"",isTimezoneDisabled:!1,recurrentPeriod:P,recurrentEndDate:0,displayViewersCounter:!1,viewersAmount:null,forcePoster:!1,forcePosterType:null,prevValue:{},tmPlaylist:null,player:null,recurrent:null,publisherInfo:null,liveEventSchedules:null,aspectRatio:""},N=(0,l.createSlice)({name:"@@LIVE_EVENTS/LIVE_EVENT",initialState:f,reducers:{getLiveEventDefaultImagesAction:e=>e,getLiveEventImageAction:e=>e,getLiveEventContentOwnerAction:e=>e,getPublishersAction:e=>e,getPublisherPlayersAction:e=>e,getLiveEventByIdAction:e=>e,getLiveEventEmbedCodeAction:e=>e,createLiveEventFlowAction:e=>e,createLiveEventAction:e=>e,createLiveStreamAction:e=>e,createLiveEventImageAction:e=>e,uploadLiveEventImageFlowAction:e=>e,uploadLiveEventImageToS3Action:e=>e,updateLiveEventFlowAction:e=>e,updateLiveEventAction:e=>e,updateLiveStreamAction:e=>e,updateLiveEventImageAction:e=>e,setIsLoadingAction:(e,t)=>{e.isLoading=t.payload},setLiveEventDefaultImagesAction:e=>e,setLiveEventDataAction:(e,t)=>{Object.keys(t.payload??{}).forEach(a=>{e[a]=t.payload[a]}),e.publisherId=t.payload.player?.publisher?.id},setLiveStreamDataAction:e=>e,setLiveEventEmbedCodeAction:(e,t)=>{e.embedCode=t.payload},setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setLiveEventSchedulesAction:e=>e,updateLiveEventByParamAction:e=>e,deleteLiveEventPlaylistAction:e=>e,clearFormAction:()=>f,setErrorAction:(e,t)=>{Object.keys(t.payload??{}).forEach(a=>{e.errors[a]=t.payload[a]})},testLiveEventEndPointAction:e=>e,cancelLiveStreamRequestAction:e=>e,createLiveEventEndpointAction:e=>e,getPlayerConfigAction:e=>e,getTmPlaylistAction:e=>e,getPublisherInfoByIdAction:e=>e,getViewersCounterAction:e=>e,updateViewersCounterStatusAction:e=>e,updateForcePosterStatusAction:e=>e,updateLiveEventFormAction:(e,t)=>{Object.keys(t.payload??{}).forEach(a=>{e[a]=t.payload[a]})},getTimezoneOptionsAction:e=>e,updateTimezoneOptionsAction:(e,t)=>{e.timezoneOptions=t.payload}}}),{cancelLiveStreamRequestAction:C,clearFormAction:M,createLiveEventAction:F,createLiveEventEndpointAction:U,createLiveEventFlowAction:B,createLiveEventImageAction:V,createLiveStreamAction:Y,deleteLiveEventPlaylistAction:w,getLiveEventByIdAction:G,getLiveEventContentOwnerAction:k,getLiveEventDefaultImagesAction:H,getLiveEventEmbedCodeAction:x,getLiveEventImageAction:W,getPlayerConfigAction:$,getPublisherInfoByIdAction:z,getPublisherPlayersAction:j,getPublishersAction:K,getTmPlaylistAction:X,getViewersCounterAction:q,setActiveTabIdAction:Q,setErrorAction:Z,setIsLoadingAction:J,setLiveEventDataAction:ee,setLiveEventEmbedCodeAction:et,setLiveStreamDataAction:ea,testLiveEventEndPointAction:ei,updateForcePosterStatusAction:el,updateLiveEventAction:eo,updateLiveEventFlowAction:er,updateLiveEventFormAction:en,updateLiveEventImageAction:es,updateLiveStreamAction:ec,updateViewersCounterStatusAction:ed,uploadLiveEventImageFlowAction:eu,uploadLiveEventImageToS3Action:eA,getTimezoneOptionsAction:eE,updateTimezoneOptionsAction:eS}=N.actions;N.reducer,e.s(["cancelLiveStreamRequestAction",0,C,"clearFormAction",0,M,"createLiveEventAction",0,F,"createLiveEventEndpointAction",0,U,"createLiveEventFlowAction",0,B,"createLiveEventImageAction",0,V,"createLiveStreamAction",0,Y,"deleteLiveEventPlaylistAction",0,w,"getLiveEventByIdAction",0,G,"getLiveEventContentOwnerAction",0,k,"getLiveEventDefaultImagesAction",0,H,"getLiveEventEmbedCodeAction",0,x,"getLiveEventImageAction",0,W,"getPlayerConfigAction",0,$,"getPublisherInfoByIdAction",0,z,"getPublisherPlayersAction",0,j,"getPublishersAction",0,K,"getTimezoneOptionsAction",0,eE,"getTmPlaylistAction",0,X,"getViewersCounterAction",0,q,"setActiveTabIdAction",0,Q,"setErrorAction",0,Z,"setIsLoadingAction",0,J,"setLiveEventDataAction",0,ee,"setLiveEventEmbedCodeAction",0,et,"setLiveStreamDataAction",0,ea,"slice",0,N,"testLiveEventEndPointAction",0,ei,"updateForcePosterStatusAction",0,el,"updateLiveEventAction",0,eo,"updateLiveEventFlowAction",0,er,"updateLiveEventFormAction",0,en,"updateLiveEventImageAction",0,es,"updateLiveStreamAction",0,ec,"updateTimezoneOptionsAction",0,eS,"updateViewersCounterStatusAction",0,ed,"uploadLiveEventImageFlowAction",0,eu,"uploadLiveEventImageToS3Action",0,eA],679713);let ep=N.name,eT=e=>e[ep].id,e_=e=>e[ep].name,em=e=>e[ep].description,eI=e=>e[ep].timezone,eg=e=>e[ep].timezoneOptions,ey=e=>e[ep].region,eO=e=>e[ep].delivery,eb=e=>e[ep].url,eP=e=>e[ep].rtmpInputUrl,ev=e=>e[ep].rtmpSecondaryInputUrl,eR=e=>e[ep].rtmpStreamKey,eL=e=>e[ep].rtmpSecondaryStreamKey,eh=e=>e[ep].status,eD=e=>e[ep].schedules,ef=e=>e[ep].streamId,eN=e=>e[ep].indicationText,eC=e=>e[ep].indicationColor,eM=e=>e[ep].publisherId,eF=e=>e[ep].contentOwnerId,eU=e=>e[ep].playerId,eB=e=>e[ep].playerAspectRatio,eV=e=>e[ep].guid,eY=e=>e[ep].preEventText,ew=e=>e[ep].preEventType,eG=e=>e[ep].preEventId,ek=e=>e[ep].postEventText,eH=e=>e[ep].postEventType,ex=e=>e[ep].postEventId,eW=e=>e[ep].transitionText,e$=e=>e[ep].countdown,ez=e=>e[ep].preEventImages,ej=e=>e[ep].postEventImages,eK=e=>e[ep].publishers,eX=e=>e[ep].publisher,eq=e=>e[ep].players,eQ=e=>e[ep].isLoading,eZ=e=>e[ep].errors,eJ=e=>e[ep].isEditContinue,e0=e=>e[ep].embedCode,e1=e=>e[ep].activeTabId,e2=e=>e[ep].createdPreEventPlaylist,e3=e=>e[ep].createdPostEventPlaylist,e9=e=>e[ep].playerConfig,e5=e=>e[ep].eventStatus,e8=e=>e[ep].liveStreamRequestFailed,e6=e=>e[ep].liveCcEnabled,e4=e=>e[ep].liveCcLang,e7=e=>e[ep].isTimezoneDisabled,te=e=>e[ep].recurrentPeriod,tt=e=>
623e[ep].recurrentEndDate,ta=e=>e[ep].displayViewersCounter,ti=e=>e[ep].viewersAmount,tl=e=>e[ep].forcePoster,to=e=>e[ep].forcePosterType,tr=e=>e[ep].tmPlaylist,tn=e=>e[ep].player,ts=e=>e[ep].recurrent,tc=e=>e[ep].publisherInfo,td=e=>e[ep].liveEventSchedules,tu=e=>e[ep].aspectRatio;e.s(["activeTabIdSelector",0,e1,"aspectRatioSelector",0,tu,"contentOwnerIdSelector",0,eF,"countdownSelector",0,e$,"createdPostEventPlaylistSelector",0,e3,"createdPreEventPlaylistSelector",0,e2,"deliverySelector",0,eO,"descriptionSelector",0,em,"displayViewersCounterSelector",0,ta,"embedCodeSelector",0,e0,"errorsSelector",0,eZ,"eventStatusSelector",0,e5,"forcePosterSelector",0,tl,"forcePosterTypeSelector",0,to,"guidSelector",0,eV,"idSelector",0,eT,"indicationColorSelector",0,eC,"indicationTextSelector",0,eN,"isEditContinueSelector",0,eJ,"isLoadingSelector",0,eQ,"isTimezoneDisabledSelector",0,e7,"liveCcEnabledSelector",0,e6,"liveCcLangSelector",0,e4,"liveEventSchedulesSelector",0,td,"liveStreamRequestFailedSelector",0,e8,"nameSelector",0,e_,"playerAspectRatioSelector",0,eB,"playerConfigSelector",0,e9,"playerIdSelector",0,eU,"playerSelector",0,tn,"playersSelector",0,eq,"postEventIdSelector",0,ex,"postEventImagesSelector",0,ej,"postEventTextSelector",0,ek,"postEventTypeSelector",0,eH,"preEventIdSelector",0,eG,"preEventImagesSelector",0,ez,"preEventTextSelector",0,eY,"preEventTypeSelector",0,ew,"publisherIdSelector",0,eM,"publisherInfoSelector",0,tc,"publisherSelector",0,eX,"publishersSelector",0,eK,"recurrentEndDateSelector",0,tt,"recurrentPeriodSelector",0,te,"recurrentSelector",0,ts,"regionSelector",0,ey,"rtmpInputUrlSelector",0,eP,"rtmpSecondaryInputUrlSelector",0,ev,"rtmpSecondaryStreamKeySelector",0,eL,"rtmpStreamKeySelector",0,eR,"schedulesSelector",0,eD,"statusSelector",0,eh,"streamIdSelector",0,ef,"timezoneOptionsSelector",0,eg,"timezoneSelector",0,eI,"tmPlaylistSelector",0,tr,"transitionTextSelector",0,eW,"urlSelector",0,eb,"viewersAmountSelector",0,ti],592985)},245367,335771,606982,77218,e=>{"use strict";var t=e.i(562545);let a="generalTab",i="lookAndFeel",l="floating",o="contentFilters",r="playback",n="videoAds",s="displayAds",c="customPlaceholder",d=1e3,u=-1e6,A=[{id:t.TYPE_INTELLIGENT,templateName:"IntelligentPlayerTemplate"},{id:t.TYPE_STORIES,templateName:"StoriesPlayerTemplate"},{id:t.TYPE_WATCH,templateName:null},{id:t.TYPE_INTELLIGENT_AMP,templateName:"IntelligentAMPPlayerTemplate"},{id:t.TYPE_STORIES_AMP,templateName:"StoriesAMPPlayerTemplate"},{id:t.TYPE_LIVE,templateName:null},{id:t.TYPE_MOBILE_SDK,templateName:null},{id:t.TYPE_OUTSTREAM,templateName:"OutstreamPlayerTemplate"},{id:t.TYPE_OUTSTREAM_IN_ARTICLE,templateName:"OutstreamInArticlePlayerTemplate"},{id:t.TYPE_WATCH_INLINE,templateName:null},{id:t.TYPE_VERTICAL,templateName:"VerticalPlayerTemplate"}],E="The file size exceeds the maximum allowed limit",S="The file type is not supported",p="Unsupported player type",T="The player was removed",_=0,m=1,I=5,g=80,y=7680,O=80,b=7680,P="DISABLED",v="Disabled",R="only",L=1,h=4,D=6,f=5,N="%",C=2,M=3,F=1,U=6,B=0,V={id:0,term:"Disable",termUi:"Disable",termUiSelfServe:"Disable",ApiValue:null},Y="EDITORIAL_ONLY",w="EDITORIAL_AND_LUMINOUS",G=1,k=6e4,H=-1,x="All",W=-1,$="All",z=1,j=200,K=0,X=999999,q=2,Q=45,Z=[1,4,5],J="commonForm",ee=0,et=999,ea="ALWAYS",ei=3,el=5,eo=[{label:"Always Visible",value:ea},{label:"Visible on Tap",value:"ON-TAP"}],er={RATIO_16_9:"16_9",RATIO_4_3:"4_3",RATIO_1_1:"1_1",RATIO_9_16:"9_16",DYNAMIC:"dynamic"},en=512;e.s(["AD_SERVER_ENABLED_VALUES",0,Z,"ALL_FEEDS_ID",0,H,"ALL_FEEDS_NAME",0,x,"ALL_LANGUAGES_NAME",0,$,"ALL_LANGUAGES_VALUE",0,W,"ASPECT_RATIO",0,er,"CONTENT_FILTERS_TAB",0,o,"CUSTOM_PLACEHOLDER_MAX_LENGTH",0,en,"CUSTOM_PLACEHOLDER_TAB",0,c,"DELAY_CLOSE_ICON_ENABLE_DEFAULT",0,L,"DELAY_MAX_VALUE",0,et,"DELAY_MIN_VALUE",0,ee,"DISABLED_FLOW_TERM_OPTION",0,V,"DISABLED_FLOW_TERM_OPTION_ID",0,B,"DISPLAY_ADS_TAB",0,s,"EDITORIAL_TYPE_DEFAULT",0,w,"EDITORIAL_TYPE_ONLY",0,Y,"FLOATING_AMP_STICKY_AD_BAR",0,I,"FLOATING_AMP_STICKY_BAR_MODE",0,f,"FLOATING_DISABLED",0,_,"FLOATING_MODE_DISABLED",0,P,"FLOATING_MODE_DISABLED_LABEL",0,v,"FLOATING_MODE_ONLY_FOR_CONFIG",0,R,"FLOATING_PAGE_WIDTH_MODE",0,h,"FLOATING_PAGE_WIDTH_WITH_PILLARBOXING",0,D,"FLOATING_STANDARD",0,m,"FLOATING_TAB",0,l,"FLOATING_WIDTH_MAX",0,b,"FLOATING_WIDTH_MIN",0,O,"GENERAL_TAB",0,a,"INACTIVATED_PLAYER",0,T,"INTERVAL_MAX",0,X,"INTERVAL_MIN",0,K,"LOOK_AND_FEEL_TAB",0,i,"NAME_MAX_LENGTH",0,Q,"NAME_MIN_LENGTH",0,q,"NEGATIVE_BOOST_FILTERS_VALUE_DEFAULT",0,u,"PLAYBACK_MODE_CLICK_TO_PLAY",0,M,"PLAYBACK_MODE_SCROLL_TO_PLAY",0,C,"PLAYBACK_TAB",0,r,"PLAYER_LOGO_INVALID_FILE_TYPE",0,S,"PLAYER_LOGO_MAX_FILE_SIZE",0,E,"PLAYER_REDUX_FIELD_NAME",0,J,"PLAYER_TYPES",0,A,"PLAYER_WIDTH_UNITS_PERCENT",0,N,"PLAYLIST_LIMIT_MAX",0,j,"PLAYLIST_LIMIT_MIN",0,z,"POSITIVE_BOOST_FILTERS_VALUE_DEFAULT",0,d,"SKIP_AD_APPEARS_AFTER_MS_MAX",0,k,"SKIP_AD_APPEARS_AFTER_MS_MIN",0,G,"SWIPE_ANIMATION_DURATION",0,el,"SWIPE_ANIMATION_MAX_VISITS",0,ei,"UNSUPPORTED_PLAYER_TYPE",0,p,"VERTICAL_FULLSCREEN_TITLE_TIMELINE_OPTIONS",0,eo,"VERTICAL_FULLSCREEN_TITLE_TIMELINE_VISIBILITY_ALWAYS",0,ea,"VIDEO_ADS_TAB",0,n,"VIDEO_MONETIZATION_DISABLED",0,U,"VIDEO_MONETIZATION_ENABLED",0,F,"WIDTH_MAX",0,y,"WIDTH_MIN",0,g],245367);var es=e.i(388302),ec=e.i(192155);let ed=7680;var eu=e.i(33829),eA=e.i(103875),eE=t;let eS=e=>eE.TYPE_INTELLIGENT===e,ep=e=>eE.TYPE_INTELLIGENT_AMP===e,eT=e=>eE.TYPE_VERTICAL===e,e_=e=>[eE.TYPE_STORIES,eE.TYPE_STORIES_AMP].includes(e),em=e=>[eE.TYPE_INTELLIGENT_AMP,eE.TYPE_STORIES_AMP].includes(e),eI=e=>eE.TYPE_OUTSTREAM===e,eg=e=>eE.TYPE_OUTSTREAM_IN_ARTICLE===e,ey=[eE.TYPE_OUTSTREAM,eE.TYPE_OUTSTREAM_IN_ARTICLE],eO=e=>"number"==typeof e&&ey.includes(e),eb=(e,t)=>{let a=[h,D].includes(e)?"isDefaultForPageWidth":"isDefault";return t.find(e=>e[a])?.value},eP=(e,t)=>{let a=t.find(t=>t.value===e);return a.dependentFieldsDefaults?a.dependentFieldsDefaults:{}},ev=e=>{if("string"!=typeof e)return e;try{let t=JSON.parse(e);if("string"==typeof t)return t;return e}catch{return e}},eR=e=>Math.floor(+e.replace(/^0+/,""))||0;e.s(["castToInt",0,eR,"getDefaultFloatingMobilePosition",0,eb,"getDependentFieldsDefaultValuesObj",0,eP,"isAmpTypes",0,em,"isIntelligentAmpType",0,ep,"isIntelligentType",0,eS,"isOutstreamInArticleType",0,eg,"isOutstreamType",0,eI,"isOutstreamTypesFamily",0,eO,"isStoriesTypes",0,e_,"isVerticalType",0,eT,"normalizeValue",0,ev],335771);let eL=[{fieldName:"publisher",tabId:a,validation:e=>e?"":"Field cannot be empty"},{fieldName:"alias",tabId:a,validation:e=>{let t=e?.trim();return t?t.length<q?`Field cannot be less then ${q}
623 symbols`:t.length>Q?`Field cannot be greater then ${Q} symbols`:"":"Field cannot be empty"}},{fieldName:"publisherDomain",tabId:a,validation:e=>e?"":"Field cannot be empty"},{fieldName:"playerLreLogo.link",tabId:i,validation:(e,t)=>{let a=t.playerLreLogo?.enabled,i=e?.trim();return a&&!i?"Field cannot be empty":i&&!(0,eA.isValidUrl)(i)?"Wrong link format":""}},{fieldName:"swipeAnimationMaxVisits",tabId:i,validation:(e,t)=>{if(eT(t.playerType?.id)){let t=1,a=9999;if(!(0,eu.isInRange)(e,t,a))return`${t}-${a}`}return""}},{fieldName:"swipeAnimationDuration",tabId:i,validation:(e,t)=>{if(eT(t.playerType?.id)){let t=1,a=99;if(!(0,eu.isInRange)(e,t,a))return`${t}-${a}`}return""}},{fieldName:"playerWidth",tabId:a,validation:e=>e<g?`Cannot be less than ${g}px`:e>y?`Cannot be greater than ${y}px`:""},{fieldName:"playerWidthMobile",tabId:a,validation:e=>e<g?`Cannot be less than ${g}px`:e>y?`Cannot be greater than ${y}px`:""},{fieldName:"floatingDesktopWidth",tabId:l,validation:e=>e<O?`Cannot be less than ${O}px`:e>b?`Cannot be greater than ${b}px`:""},{fieldName:"floatingMobileWidth",tabId:l,validation:e=>e<O?`Cannot be less than ${O}px`:e>b?`Cannot be greater than ${b}px`:""},{fieldName:"floatingDesktopDelay",tabId:l,validation:e=>e||"number"==typeof e?e<ee?`Cannot be less than ${ee}`:e>et?`Cannot be greater than ${et}`:"":"Field cannot be empty"},{fieldName:"floatingMobileDelay",tabId:l,validation:e=>e||"number"==typeof e?e<ee?`Cannot be less than ${ee}`:e>et?`Cannot be greater than ${et}`:"":"Field cannot be empty"},{fieldName:"playerContentOwnerFeeds",tabId:o,validation:(e,t)=>t.useDefaultContentOwner||e&&e.length?"":"Field cannot be empty"},{fieldName:"playerFeedLanguages",tabId:o,validation:e=>e&&e.length?"":"Field cannot be empty"},{fieldName:"playlistLimit",tabId:r,validation:e=>(0,eu.isInRange)(e,z,j)?"":`${z}-${j}`},{fieldName:"clipAutomaticSkipTimeToPresent",tabId:r,validation:(e,t)=>{let a=t.clipAutomaticSkipOptions.clipAutomaticSkipTimeToPresent.minValue,i=t.clipAutomaticSkipOptions.clipAutomaticSkipTimeToPresent.maxValue;return(0,eu.isInRange)(e,a,i)?"":`${a}-${i}`}},{fieldName:"clipAutomaticSkipTimeToSkip",tabId:r,validation:(e,t)=>{let a=t.clipAutomaticSkipOptions.clipAutomaticSkipTimeToSkip.minValue,i=t.clipAutomaticSkipOptions.clipAutomaticSkipTimeToSkip.maxValue;return(0,eu.isInRange)(e,a,i)?"":`${a}-${i}`}},{fieldName:"preRollWaitMs",tabId:n,validation:(e,t)=>{let a=t.preRollOptions.preRollWaitMs.minValue,i=t.preRollOptions.preRollWaitMs.maxValue;return(0,eu.isInRange)(e,a,i)?"":`${a}-${i}`}},{fieldName:"firstAdRequestDelay",tabId:n,validation:e=>{let t=0,a=ed;return(0,eu.isInRange)(e,t,a)?"":`${t}-${a}`}},{fieldName:"skipAdAppearAfter",tabId:n,validation:e=>{let t=G,a=k;return(0,eu.isInRange)(e,t,a)?"":`${t}-${a}`}},{fieldName:"placeholderSelector",tabId:c,validation:(e,t)=>t.customPlaceholderEnable&&!t.selectors.length?"Add at least one selector":""},{fieldName:"selectors",dynamic:!0,tabId:c,validation:e=>e.reduce((t,a)=>{let i=a.selector.trim(),l="";return i?e.filter(e=>e.id!==a.id).some(e=>e.selector.trim()===i)&&(l="Field has duplicate"):l="Field cannot be empty",t[a.id]={selector:l},t},{})}],eh=(0,ec.default)(J,eL),{validateFields:eD,validateSingleField:ef}=eh,eN={id:0,type:0,playerType:null,name:"",status:1,activeTabId:a,availableTemplatePlayers:[],publisherId:0,publishersOptions:null,publisher:null,alias:"",publisherDomainId:0,publisherDomainsOptions:[],publisherDomain:null,comments:"",playerLreLogo:null,playerWidth:0,playerWidthUnit:"",playerWidthMobile:0,playerWidthMobileUnit:"",playerWidthUnitOptions:[],playerAspectRatio:"",playerAspectRatioOptions:[],playerDynamicAspectRatioOptions:[],brandingLeft:"",brandingRight:"",brandingRightDefault:"",carouselEnabled:0,carouselEnabledMobile:0,carouselOrientation:"",carouselOrientationOptions:[],closedCaptioning:"",closedCaptioningOptions:[],videoResolutionControl:0,playbackSpeedControl:0,fullScreen:0,chapteringMenuNavigation:0,chapteringTimeline:0,theaterMode:0,ffRewind:0,socialViewButton:0,socialLikeButton:0,xRayCampaignsEnabled:0,leftBrandingColor:"",leftBrandingSize:0,leftBrandingSizeOptions:[],verticalFullscreenTitleTimelineVisibility:ea,swipeAnimation:!0,swipeAnimationMaxVisits:ei,swipeAnimationDuration:el,progressBarColor:"",timestampTooltipColor:"",volumeBarColor:"",settingsMenuHighlightColor:"",floatingDesktopEnabled:0,floatingDesktopEnabledOptions:[],floatingDesktopMode:"",floatingDesktopModeOptions:[],floatingDesktopPosition:"",floatingDesktopPositionOptions:[],floatingDesktopWidth:0,floatingDesktopWidthVertical:0,floatingDesktopDelay:0,floatingMobileEnabled:0,delayCloseIconEnabledMobile:0,floatingMobileEnabledOptions:[],floatingMobileMode:"",floatingMobileModeOptions:[],floatingMobilePosition:"",floatingMobilePositionOptions:[],floatingMobileWidth:0,floatingMobileWidthVertical:0,floatingMobileDelay:0,useDefaultContentOwner:0,allFeeds:0,playerContentOwnerFeeds:[],playerContentOwnerFeedsOptions:[],playerBrandSafeties:[],brandSafetiesOptions:[],playerFeedLanguages:[],feedLanguagesOptions:[],boosts:[],boostsTypesOptions:[],boostsListOptions:[],autoplayDesktop:0,autoplayMobile:0,autoplayOptions:[],startWithSound:0,startWithSoundMobile:0,startWithSoundOptions:[],playlistLimit:0,flowTermId:0,editorialEnabled:0,editorialType:"",flowTermsOptions:[],playInLoop:0,playInLoopOptions:[],loopPlaylist:0,adsOnLoopOff:0,shufflePlaylist:0,clipAutomaticSkipOptions:null,clipAutomaticSkipEnabled:0,clipAutomaticSkipTimeToPresent:0,clipAutomaticSkipTimeToSkip:0,playerEditorialPlaylistId:0,editorialPlaylist:null,playerEditorialPlaylistsOptions:null,adManagerDesktop:0,fallbackDisplayMonetizationDesktop:!0,adManagerMobile:0,fallbackDisplayMonetizationMobile:!0,clipNotInViewPlayAdsDesktop:0,clipNotInViewPlayAdsMobile:0,maxAdsPerClipChecked:0,maxAdsPerClip:0,maxAdsPerClipOptions:[],firstAdRequestDelay:0,preRollOptions:null,preRoll:0,preRollWaitMs:0,prerollOnly:!1,prerollOnlyClipsCount:1,adIndicator:0,adIndicatorText:"",skipAdButton:0,skipAdAppearAfter:1,skipAdAppearAfterDefault:1,inviewAdInterval:0,notInviewAdInterval:0,inviewAdIntervalMobile:0,notInviewAdIntervalMobile:0,displayMonetizationDesktop:0,displayMonetizationMobile:0,displayClipNotInViewPlayAdsDesktop:0,displayClipNotInViewPlayAdsMobile:0,displayInviewAdInterval:0,displayNotInviewAdInterval:0,displayInviewAdIntervalMobile:0,displayNotInviewAdIntervalMobile:0,abTest:!1,enableVideoTargeting:!1,videoFormatByDevice:!1,isLoading:!0,customPlaceholderEnable:!1,selectors:[],...eh.state},eC=(0,es.createSlice)({name:"@@PLAYER/EDITOR",initialState:eN,reducers:{setDefaultsAction:(e,t)=>({...e,...t.payload}),setAction:(e,t)=>
623{Object.entries(t.payload).forEach(([t,a])=>{e[t]=a})},setObjectValuesAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{a&&(e[a]={...e[a],...t.payload[a]})})},setOppositeAction:(e,t)=>{Object.keys(t.payload).forEach(t=>{e[t]=+!e[t]})},setInitialAction:()=>({...eN}),getPlayerDataAction:e=>e,getPublishersOptionsAction:e=>e,getPlayerFeedsOptionsAction:e=>e,getPlayerBoostListOptionsAction:e=>e,getPlayerEditorialPlaylistsOptionsAction:e=>e,createPlayerAction:e=>e,updatePlayerAction:e=>e,setPlayerIsLoadingAction:(e,t)=>{e.isLoading=t.payload},setSelectorsAction:(e,t)=>{e.selectors=t.payload},setSelectorAction:(e,t)=>{e.selectors.push(t.payload)},setSelectorValuesAction:(e,t)=>{let a=e.selectors.findIndex(e=>e.id===t.payload.id);-1!==a&&(e.selectors[a].selector=t.payload.selector)},deleteSelectorAction:(e,t)=>{let a=e.selectors.findIndex(e=>e.id===t.payload.id);-1!==a&&e.selectors.slice(a,1)},setActiveTabIdAction:(e,t)=>{e.activeTabId=t.payload},setScrollToFieldNameAction:eh.actions.setScrollToFieldAction,setErrorByPropAction:eh.actions.updateValidationSchemeAction,removeErrorByPropAction:eh.actions.removeErrorByFieldNameAction}}),{setDefaultsAction:eM,setAction:eF,setObjectValuesAction:eU,setInitialAction:eB,setOppositeAction:eV,getPlayerDataAction:eY,getAccountOptionsAction:ew,getPublishersOptionsAction:eG,getPlayerFeedsOptionsAction:ek,getPlayerBoostListOptionsAction:eH,getPlayerEditorialPlaylistsOptionsAction:ex,setPlayerIsLoadingAction:eW,createPlayerAction:e$,updatePlayerAction:ez,setSelectorAction:ej,setSelectorValuesAction:eK,deleteSelectorAction:eX,setSelectorsAction:eq,setActiveTabIdAction:eQ,setScrollToFieldNameAction:eZ,setErrorByPropAction:eJ,removeErrorByPropAction:e0}=eC.actions;eC.reducer,e.s(["createPlayerAction",0,e$,"getPlayerBoostListOptionsAction",0,eH,"getPlayerDataAction",0,eY,"getPlayerEditorialPlaylistsOptionsAction",0,ex,"getPlayerFeedsOptionsAction",0,ek,"getPublishersOptionsAction",0,eG,"removeErrorByPropAction",0,e0,"setAction",0,eF,"setActiveTabIdAction",0,eQ,"setDefaultsAction",0,eM,"setErrorByPropAction",0,eJ,"setInitialAction",0,eB,"setObjectValuesAction",0,eU,"setOppositeAction",0,eV,"setPlayerIsLoadingAction",0,eW,"setScrollToFieldNameAction",0,eZ,"setSelectorAction",0,ej,"setSelectorsAction",0,eq,"slice",0,eC,"updatePlayerAction",0,ez,"validateFields",0,eD,"validateSingleField",0,ef],606982);var e1=e.i(916094);let e2=eC.name,e3=e=>e[e2].activeTabId,e9=e=>e[e2].id,e5=e=>e[e2].name,e8=e=>e[e2].status,e6=e=>e[e2].isLoading,e4=e=>e[e2].abTest,e7=e=>e[e2].type,te=e=>e[e2].availableTemplatePlayers,tt=e=>e[e2].playerType,ta=e=>e[e2].publisher,ti=e=>e[e2].publishersOptions,tl=e=>e[e2].publisherDomain,to=e=>e[e2].publisherDomainId,tr=e=>e[e2].publisherDomainsOptions,tn=e=>e[e2].comments,ts=e=>e[e2].alias,tc=e=>e[e2].playerLreLogo,td=e=>e[e2].playerWidthUnitOptions,tu=e=>e[e2].playerWidthUnit,tA=e=>e[e2].playerWidth,tE=e=>e[e2].playerWidthMobileUnit,tS=e=>e[e2].playerWidthMobile,tp=e=>e[e2].playerAspectRatioOptions,tT=e=>e[e2].playerDynamicAspectRatioOptions,t_=e=>e[e2].playerAspectRatio,tm=e=>e[e2].brandingLeft,tI=e=>e[e2].carouselEnabled,tg=e=>e[e2].carouselEnabledMobile,ty=e=>e[e2].carouselOrientation,tO=e=>e[e2].carouselOrientationOptions,tb=e=>e[e2].brandingRight,tP=e=>e[e2].brandingRightDefault,tv=e=>e[e2].closedCaptioning,tR=e=>e[e2].verticalFullscreenTitleTimelineVisibility,tL=e=>e[e2].swipeAnimation,th=e=>e[e2].swipeAnimationMaxVisits,tD=e=>e[e2].swipeAnimationDuration,tf=e=>e[e2].closedCaptioningOptions,tN=e=>e[e2].videoResolutionControl,tC=e=>e[e2].playbackSpeedControl,tM=e=>e[e2].fullScreen,tF=e=>e[e2].chapteringMenuNavigation,tU=e=>e[e2].theaterMode,tB=e=>e[e2].ffRewind,tV=e=>e[e2].socialViewButton,tY=e=>e[e2].socialLikeButton,tw=e=>e[e2].xRayCampaignsEnabled,tG=e=>e[e2].leftBrandingColor,tk=e=>e[e2].leftBrandingSize,tH=e=>e[e2].leftBrandingSizeOptions,tx=e=>e[e2].progressBarColor,tW=e=>e[e2].timestampTooltipColor,t$=e=>e[e2].volumeBarColor,tz=e=>e[e2].settingsMenuHighlightColor,tj=e=>e[e2].floatingDesktopEnabled,tK=e=>e[e2].floatingDesktopEnabledOptions,tX=e=>e[e2].floatingDesktopMode,tq=e=>e[e2].floatingDesktopModeOptions,tQ=e=>e[e2].floatingDesktopPosition,tZ=e=>e[e2].floatingDesktopPositionOptions,tJ=e=>e[e2].floatingDesktopWidth,t0=e=>e[e2].floatingDesktopWidthVertical,t1=e=>e[e2].floatingDesktopDelay,t2=e=>e[e2].floatingMobileEnabled,t3=e=>e[e2].floatingMobileEnabledOptions,t9=e=>e[e2].floatingMobileMode,t5=e=>e[e2].floatingMobileModeOptions,t8=e=>e[e2].floatingMobilePosition,t6=e=>e[e2].floatingMobilePositionOptions,t4=e=>e[e2].floatingMobileWidth,t7=e=>e[e2].floatingMobileWidthVertical,ae=e=>e[e2].floatingMobileDelay,at=e=>e[e2].useDefaultContentOwner,aa=e=>e[e2].playerContentOwnerFeeds,ai=e=>e[e2].playerContentOwnerFeedsOptions,al=e=>e[e2].allFeeds,ao=e=>e[e2].playerFeedLanguages,ar=e=>e[e2].feedLanguagesOptions,an=e=>e[e2].playerBrandSafeties,as=e=>e[e2].brandSafetiesOptions,ac=e=>e[e2].boosts,ad=e=>e[e2].boostsTypesOptions,au=e=>e[e2].boostsListOptions,aA=e=>e[e2].enableVideoTargeting,aE=e=>e[e2].videoFormatByDevice,aS=e=>e[e2].autoplayOptions,ap=e=>e[e2].autoplayDesktop,aT=e=>e[e2].autoplayMobile,a_=e=>
623e[e2].startWithSoundOptions,am=e=>e[e2].startWithSound,aI=e=>e[e2].startWithSoundMobile,ag=e=>e[e2].playlistLimit,ay=e=>e[e2].flowTermId,aO=e=>e[e2].flowTermsOptions,ab=e=>e[e2].playInLoop,aP=e=>e[e2].playInLoopOptions,av=e=>e[e2].loopPlaylist,aR=e=>e[e2].adsOnLoopOff,aL=e=>e[e2].clipAutomaticSkipOptions,ah=e=>e[e2].clipAutomaticSkipEnabled,aD=e=>e[e2].clipAutomaticSkipTimeToPresent,af=e=>e[e2].clipAutomaticSkipTimeToSkip,aN=e=>e[e2].shufflePlaylist,aC=e=>e[e2].editorialPlaylist,aM=e=>e[e2].playerEditorialPlaylistsOptions,aF=e=>e[e2].adManagerDesktop,aU=e=>e[e2].fallbackDisplayMonetizationDesktop,aB=e=>e[e2].adManagerMobile,aV=e=>e[e2].fallbackDisplayMonetizationMobile,aY=e=>e[e2].clipNotInViewPlayAdsDesktop,aw=e=>e[e2].clipNotInViewPlayAdsMobile,aG=e=>e[e2].maxAdsPerClipChecked,ak=e=>e[e2].maxAdsPerClip,aH=e=>e[e2].maxAdsPerClipOptions,ax=e=>e[e2].firstAdRequestDelay,aW=e=>e[e2].preRollOptions,a$=e=>e[e2].preRoll,az=e=>e[e2].preRollWaitMs,aj=e=>e[e2].prerollOnly,aK=e=>e[e2].prerollOnlyClipsCount,aX=e=>e[e2].adIndicator,aq=e=>e[e2].adIndicatorText,aQ=e=>e[e2].skipAdButton,aZ=e=>e[e2].skipAdAppearAfter,aJ=e=>e[e2].skipAdAppearAfterDefault,a0=e=>e[e2].inviewAdInterval,a1=e=>e[e2].notInviewAdInterval,a2=e=>e[e2].inviewAdIntervalMobile,a3=e=>e[e2].displayMonetizationDesktop,a9=e=>e[e2].displayMonetizationMobile,a5=e=>e[e2].displayClipNotInViewPlayAdsDesktop,a8=e=>e[e2].displayClipNotInViewPlayAdsMobile,a6=e=>e[e2].displayInviewAdInterval,a4=e=>e[e2].displayNotInviewAdInterval,a7=e=>e[e2].displayInviewAdIntervalMobile,ie=e=>e[e2].displayNotInviewAdIntervalMobile,it=e=>e[e2],ia=(0,e1.default)(J,e2),ii=e=>ia.getScrollField(e),il=e=>ia.schemeSelector(e),io=e=>e[e2],ir=e=>e[e2].customPlaceholderEnable,is=e=>e[e2].selectors;e.s(["abTestSelector",0,e4,"activeTabIdSelector",0,e3,"adIndicatorSelector",0,aX,"adIndicatorTextSelector",0,aq,"adManagerDesktopSelector",0,aF,"adManagerMobileSelector",0,aB,"adsOnLoopOffSelector",0,aR,"aliasSelector",0,ts,"allFeedsSelector",0,al,"autoplayDesktopSelector",0,ap,"autoplayMobileSelector",0,aT,"autoplayOptionsSelector",0,aS,"availableTemplatePlayersSelector",0,te,"boostsListOptionsSelector",0,au,"boostsSelector",0,ac,"boostsTypesOptionsSelector",0,ad,"brandingLeftSelector",0,tm,"brandingRightDefaultSelector",0,tP,"brandingRightSelector",0,tb,"carouselEnabledMobileSelector",0,tg,"carouselEnabledSelector",0,tI,"carouselOrientationOptionsSelector",0,tO,"carouselOrientationSelector",0,ty,"chapteringMenuNavigationSelector",0,tF,"clipAutomaticSkipEnabledSelector",0,ah,"clipAutomaticSkipOptionsSelector",0,aL,"clipAutomaticSkipTimeToPresentSelector",0,aD,"clipAutomaticSkipTimeToSkipSelector",0,af,"clipNotInViewPlayAdsDesktopSelector",0,aY,"clipNotInViewPlayAdsMobileSelector",0,aw,"closedCaptioningOptionsSelector",0,tf,"closedCaptioningSelector",0,tv,"commentsSelector",0,tn,"customPlaceholderEnableSelector",0,ir,"displayClipNotInViewPlayAdsDesktopSelector",0,a5,"displayClipNotInViewPlayAdsMobileSelector",0,a8,"displayInviewAdIntervalMobileSelector",0,a7,"displayInviewAdIntervalSelector",0,a6,"displayMonetizationDesktopSelector",0,a3,"displayMonetizationMobileSelector",0,a9,"displayNotInviewAdIntervalMobileSelector",0,ie,"displayNotInviewAdIntervalSelector",0,a4,"enableVideoTargetingSelector",0,aA,"fallbackDisplayMonetizationDesktopSelector",0,aU,"fallbackDisplayMonetizationMobileSelector",0,aV,"feedLanguagesOptionsSelector",0,ar,"ffRewindSelector",0,tB,"firstAdRequestDelaySelector",0,ax,"floatingDesktopDelaySelector",0,t1,"floatingDesktopEnabledOptionsSelector",0,tK,"floatingDesktopEnabledSelector",0,tj,"floatingDesktopModeOptionsSelector",0,tq,"floatingDesktopModeSelector",0,tX,"floatingDesktopPositionOptionsSelector",0,tZ,"floatingDesktopPositionSelector",0,tQ,"floatingDesktopWidthSelector",0,tJ,"floatingDesktopWidthVerticalSelector",0,t0,"floatingMobileDelaySelector",0,ae,"floatingMobileEnabledOptionsSelector",0,t3,"floatingMobileEnabledSelector",0,t2,"floatingMobileModeOptionsSelector",0,t5,"floatingMobileModeSelector",0,t9,"floatingMobilePositionOptionsSelector",0,t6,"floatingMobilePositionSelector",0,t8,"floatingMobileWidthSelector",0,t4,"floatingMobileWidthVerticalSelector",0,t7,"flowTermIdSelector",0,ay,"flowTermsOptionsSelector",0,aO,"fullAccessToStoreFieldsForValidation",0,io,"fullScreenSelector",0,tM,"idSelector",0,e9,"inviewAdIntervalMobileSelector",0,a2,"inviewAdIntervalSelector",0,a0,"isLoadingSelector",0,e6,"leftBrandingColorSelector",0,tG,"leftBrandingSizeOptionsSelector",0,tH,"leftBrandingSizeSelector",0,tk,"loopPlaylistSelector",0,av,"maxAdsPerClipCheckedSelector",0,aG,"maxAdsPerClipOptionsSelector",0,aH,"maxAdsPerClipSelector",0,ak,"nameSelector",0,e5,"notInviewAdIntervalSelector",0,a1,"playInLoopOptionsSelector",0,aP,"playInLoopSelector",0,ab,"playbackSpeedControlSelector",0,tC,"playerAspectRatioOptionsSelector",0,tp,"playerAspectRatioSelector",0,t_,"playerBrandSafetiesOptionsSelector",0,as,"playerBrandSafetiesSelector",0,an,"playerContentOwnerFeedsOptionsSelector",0,ai,"playerContentOwnerFeedsSelector",0,aa,"playerDynamicAspectRatioOptionsSelector",0,tT,"playerEditorialPlaylistSelector",0,aC,"playerEditorialPlaylistsOptionsSelector",0,aM,"playerFeedLanguagesSelector",0,ao,"playerLreLogoSelector",0,tc,"playerStateSelector",0,it,"playerTypeSelector",0,tt,"playerWidthMobileSelector",0,tS,"playerWidthMobileUnitSelector",0,tE,"playerWidthSelector",0,tA,"playerWidthUnitOptionsSelector",0,td,"playerWidthUnitSelector",0,tu,"playlistLimitSelector",0,ag,"preRollOptionsSelector",0,aW,"preRollSelector",0,a$,"preRollWaitMsSelector",0,az,"prerollOnlyClipsCountSelector",0,aK,"prerollOnlySelector",0,aj,"progressBarColorSelector",0,tx,"publisherDomainIdSelector",0,to,"publisherDomainSelector",0,tl,"publisherDomainsOptionsSelector",0,tr,"publisherSelector",0,ta,"publishersOptionsSelector",0,ti,"sc
623hemeSelector",0,il,"scrollFieldSelector",0,ii,"selectorsSelector",0,is,"settingsMenuHighlightColorSelector",0,tz,"shufflePlaylistSelector",0,aN,"skipAdAppearAfterDefaultSelector",0,aJ,"skipAdAppearAfterSelector",0,aZ,"skipAdButtonSelector",0,aQ,"socialLikeButtonSelector",0,tY,"socialViewButtonSelector",0,tV,"startWithSoundMobileSelector",0,aI,"startWithSoundOptionsSelector",0,a_,"startWithSoundSelector",0,am,"statusSelector",0,e8,"swipeAnimationDurationSelector",0,tD,"swipeAnimationMaxVisitsSelector",0,th,"swipeAnimationSelector",0,tL,"theaterModeSelector",0,tU,"timestampTooltipColorSelector",0,tW,"typeSelector",0,e7,"useDefaultContentOwnerSelector",0,at,"verticalFullscreenTitleTimelineVisibilitySelector",0,tR,"videoFormatByDeviceSelector",0,aE,"videoResolutionControlSelector",0,tN,"volumeBarColorSelector",0,t$,"xRayCampaignsEnabledSelector",0,tw],77218)},999679,538617,e=>{"use strict";var t=e.i(596293);let a={src:e.i(240965).default,width:1196,height:672,blurWidth:8,blurHeight:4,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAEAAgDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDx3f8A6Ns2r97O7HNAH//Z"},i=e=>{let a=e.split(".").pop();return t.SUPPORT_AUDIO_EXT.includes(`.${a}`)},l=async()=>{let e=await fetch(a.src),t=await e.blob();return new File([t],a.src,{type:t.type})};e.s(["checkFileIsAudio",0,i,"getDefaultAudioThumbnailAsFile",0,l],999679);var o=e.i(400120);let r=e.i(317205).slice.name,n="selectedHubs",s="selectedAccessLevel",c=()=>(0,o.getUserPreferences)()?.[r],d=(e,t)=>{let a=c();(0,o.setUserPreferences)(r,{...a,[e]:t})},u=e=>({set:t=>d(e,t),get:()=>c(e)?.[e]}),A=u("selectedFeedName"),E=u(n),S=u(s);e.s(["persistAccessLevel",0,S,"persistFeedName",0,A,"persistHubs",0,E],538617)},23154,e=>{"use strict";let t=0x140000000,a=5242880,i="LUMINOUS",l="EDITORIAL",o="AUDIO";e.s(["AUDIO_SOURCE_TYPE",0,o,"EDITORIAL_SOURCE_TYPE",0,l,"LUMINOUS_SOURCE_TYPE",0,i,"MAX_FILE_SIZE",0,t,"MAX_THUMBNAIL_SIZE",0,a])},742377,846124,911166,e=>{"use strict";var t=e.i(388302);let a="AUTO",i="MANUAL",l={[a]:{id:a,name:"Auto"},[i]:{id:i,name:"Manual"}},o={IN_TAB:"InTab",IN_VIDEO_UPLOAD:"InVideoUpload"},r={ready:"READY",failed:"FAILED",processing:"PROCESSING"},n={[r.ready]:"Ready",[r.failed]:"Failed",[r.processing]:"Processing"};e.s(["CC_FILES_STATUS",0,r,"CC_FILES_STATUS_LABEL",0,n,"RUN_CONTEXT",0,o,"TYPES",0,l,"TYPE_AUTO",0,a,"TYPE_MANUAL",0,i],846124);let s={runContext:o.IN_TAB,ccFiles:{[o.IN_TAB]:[],[o.IN_VIDEO_UPLOAD]:[]},languages:[],totalSegments:0,autoTranslateLanguages:[],isShowAutoTranslateInfoDialog:!1,checkCcFileStateMonitoringIsActive:!1},c=(0,t.createSlice)({name:"@@COMMON/CC_FILES",initialState:s,reducers:{getCcTotalSegmentsAction:e=>e,uploadStartAction:e=>e,uploadProcessingAction:e=>e,replaceUploadStartAction:e=>e,replaceUploadProcessingAction:e=>e,loadLanguagesAction:e=>e,loadTranslateLanguagesAction:e=>e,translateLanguagesProcessingAction:e=>e,getCcFilesAction:e=>e,addCcFileAction:e=>e,deleteCcFileAction:e=>e,setCcFilesAction:(e,t)=>{e.ccFiles[e.runContext]=t.payload},setCcTotalSegmentsAction:(e,t)=>{e.totalSegments=t.payload||s.totalSegments},setLanguagesAction:(e,t)=>{e.languages=t.payload},setTranslateLanguagesAction:(e,t)=>{e.autoTranslateLanguages=t.payload},appendUploadedFileAction:(e,t)=>{let{name:a,file:l,fileObject:o=null}=t.payload;e.ccFiles[e.runContext]=[].concat(e.ccFiles[e.runContext],{name:a,file:l,lang:null,version:i,isFormItem:!0,toApproveAfterUpload:!0,fileObject:o})},replaceAppendUploadedFileAction:(e,t)=>{let{name:a,file:l,ccFileForReplace:o}=t.payload;e.ccFiles[e.runContext]=e.ccFiles[e.runContext].map(e=>e.file===o.file?{name:a,file:l,lang:null,version:i,isFormItem:!0,original:o}:e)},setRunContextAction:(e,t)=>{e.runContext=t.payload},resetCcFilesInVideoUploadAction:e=>{e.ccFiles[o.IN_VIDEO_UPLOAD]=[]},showAutoTranslateInfoDialogAction:(e,t)=>{e.isShowAutoTranslateInfoDialog=t.payload},clearAction:e=>{e.ccFiles[e.runContext]=[],e.runContext=o.IN_TAB},checkCcFilesStateAction:(e,t)=>{e.checkCcFileStateMonitoringIsActive=t.payload.isActive}}}),{addCcFileAction:d,appendUploadedFileAction:u,checkCcFilesStateAction:A,clearAction:E,deleteCcFileAction:S,getCcFilesAction:p,getCcTotalSegmentsAction:T,loadLanguagesAction:_,loadTranslateLanguagesAction:m,replaceAppendUploadedFileAction:I,replaceUploadProcessingAction:g,replaceUploadStartAction:y,resetCcFilesInVideoUploadAction:O,setCcFilesAction:b,setCcTotalSegmentsAction:P,setLanguagesAction:v,setRunContextAction:R,setTranslateLanguagesAction:L,showAutoTranslateInfoDialogAction:h,translateLanguagesProcessingAction:D,uploadProcessingAction:f,uploadStartAction:N}=c.actions;c.reducer,e.s(["addCcFileAction",0,d,"appendUploadedFileAction",0,u,"checkCcFilesStateAction",0,A,"clearAction",0,E,"deleteCcFileAction",0,S,"getCcFilesAction",0,p,"getCcTotalSegmentsAction",0,T,"loadLanguagesAction",0,_,"loadTranslateLanguagesAction",0,m,"replaceAppendUploadedFileAction",0,I,"replaceUploadProcessingAction",0,g,"replaceUploadStartAction",0,y,"resetCcFilesInVideoUploadAction",0,O,"setCcFilesAction",0,b,"setCcTotalSegmentsAction",0,P,"setLanguagesAction",0,v,"setRunContextAction",0,R,"setTranslateLanguagesAction",0,L,"showAutoTranslateInfoDialogAction",0,h,"slice",0,c,"translateLanguagesProcessingAction",0,D,"uploadProcessingAction",0,f,"uploadStartAction",0,N],911166);let C=c.name,M=e=>e[C].runContext,F=e=>e[C].ccFiles,U=e=>e[C].languages,B=e=>e[C].checkCcFileStateMonitoringIsActive;e.s(["ccFilesSelector",0,F,"checkCcFileStateMonitoringIsActiveSelector",0,B,"languagesSelector",0,U,"runContextSelector",0,M],742377)},298796,e=>{"use strict";let t="PUBLIC",a="PRIVATE",i="SITE",l=[{label:"Private",value:a},{label:"Hub",value:i},{label:"Syndication",value:t}],o=[{label:"Private",value:a},{label:"Hub",value:i}],r=0,n={owner:"OWNER",read:"READ"},s={private:a,site:i,public:t},c=[{label:"Private",value:s.private},{label:"Syndication",value:s.public},{label:"Hub",value:s.site}
623],d="SEND_HUBS_NOTIFICATION";e.s(["ACCESS_LEVEL_CO_PRIVATE",0,o,"ACCESS_LEVEL_CO_PUBLIC",0,l,"ACCESS_LEVEL_ENUM",0,s,"ACCESS_LEVEL_SELECT",0,c,"ACCESS_USER_ROLES",0,n,"CONTENT_OWNER_PRIVATE",0,r,"PRIVATE",0,a,"PUBLIC",0,t,"SEND_HUBS_NOTIFICATION",0,d,"SITE",0,i])},435995,e=>{"use strict";let t=e=>{let t=[];function a(e){e.categories?.length?e.categories.forEach(e=>a(e)):e.id&&e.name&&t.push(e)}return a(e),t},a=(e,t=[])=>{let a=[],i=()=>a.length===t.length,l=e=>{e.forEach(e=>{t.includes(e.id)&&a.push(e),!i()&&e.categories?.length&&l(e.categories)})};return l(e),a},i=(e,t)=>{if(!t?.length)return[];let a={},i={},l={},o=(e,t)=>{e.forEach(e=>{a[e.id]=e,i[e.id]=t,e.categories?.length&&o(e.categories,e.id)})};o(e??[],null);let r=e=>{let t=i[e];if(t){let e=a[t];l[t]||(l[t]={id:e.id,name:e.name,probability:e.probability,version:e.version}),r(e.id)}};return t.forEach(e=>{l[e.id]={id:e.id,name:e.name,probability:e.probability,version:e.version}}),t.forEach(({id:e})=>r(e)),Object.keys(l).reduce((e,t)=>{let a=l[t];return e.concat(Object.keys(a).reduce((e,t)=>void 0!==a[t]?{...e,[t]:a[t]}:e,{}))},[]).sort((e,t)=>e.id.localeCompare(t.id))},l=e=>{let t={},a=[],i=e.map(e=>({...e,parentId:e.id?.split(".").slice(0,-1).join(".")}));for(let e=0;e<i.length;e+=1)t[i[e].id]=e,i[e].categories=[];for(let e=0;e<i.length;e+=1){let l=i[e];l.parentId?i[t[l.parentId]].categories.push(l):a.push(l)}return a};e.s(["findNodes",0,a,"getTreeByChildItems",0,i,"iabFindLeafNodes",0,t,"iabFlatToTree",0,l])},728580,e=>{"use strict";var t=e.i(649789);let a={FilterTimePicker:"FilterTimePicker",FilterSelector:"FilterSelector",FilterDatePicker:"FilterDatePicker",FilterSuggester:"FilterSuggester"},i="orderForInsights",l="timeFrame",o="owner",r="duration",n="time",s="order",c="videoTabs",d="account",u="status",A="mediaType",E="hubs",S="source",p="verification",T="feedType",_="people",m="brands",I="languages",g="labels",y="publishStatus",O="publishPlatform",b="targetingStatus",P="categories",v="uploadDate",R="brandSafety",L="keywords",h="evergreen",D="sponsored",f=[s,n,r],N=[l],C=[{id:d,permission:t.VIDEO_FILTERS_ACCOUNT},{id:E,permission:t.VIDEO_FILTERS_HUBS},{id:S,permission:t.VIDEO_FILTERS_SOURCE},{id:u,permission:t.VIDEO_FILTERS_STATUS},{id:T,permission:t.VIDEO_FILTERS_FEED_TYPE},{id:A,permission:t.VIDEO_FILTERS_MEDIA_TYPE},{id:p,permission:t.VIDEO_FILTERS_VERIFICATION},{id:I,permission:t.VIDEO_FILTERS_LANGUAGES},{id:b,permission:t.VIDEO_FILTERS_TARGETING_STATUS},{id:g,permission:t.VIDEO_FILTERS_CUSTOM_TAGS},{id:L,permission:t.VIDEO_FILTERS_KEYWORDS},{id:P,permission:t.VIDEO_FILTERS_CATEGORIES},{id:_,permission:t.VIDEO_FILTERS_PEOPLE},{id:m,permission:t.VIDEO_FILTERS_BRANDS},{id:y,permission:t.VIDEO_FILTERS_PUBLISH_STATUS},{id:O,permission:t.VIDEO_FILTERS_PUBLISH_PLATFORM},{id:v,permission:t.VIDEO_FILTERS_UPLOAD_DATE},{id:R,permission:t.VIDEO_FILTERS_BRAND_SAFETY},{id:h,permission:t.VIDEO_FILTERS_EVERGREEN},{id:D,permission:t.VIDEO_FILTERS_SPONSORED}],M=C.map(e=>e.id),F=[d,u,E,p,T,y,O,v,D],U=[n,r,s,c],B="ALL",V="ANY",Y="ANY",w="ALL",G="VIDEO",k="AUDIO",H="VIDEO_AUDIO",x="TRENDING",W="ALL",$="ALL",z="ACTIVE",j="DISABLED",K="PROCESSING",X="FAILED",q=B,Q=V,Z=Y,J=G,ee=H,et=W,ea=$,ei="ALL",el=[{label:"All",value:B},{label:"Non Evergreen",value:"NO_EVERGREEN"},{label:"Evergreen",value:"EVERGREEN"}],eo=[{label:"Any",value:V},{label:"Facebook",value:"FACEBOOK"},{label:"YouTube",value:"YOUTUBE"}],er=[{label:"Any",value:Y},{label:"Published",value:"PUBLISHED"},{label:"Not Published",value:"UNPUBLISHED"},{label:"Publish Error",value:"PUBLISH_ERROR"}],en=[{label:"Any",value:w},{label:"Video",value:G},{label:"Trending",value:x},{label:"Audio",value:k},{label:"Video+Audio",value:H}],es=[{label:"Video+Audio",value:H},{label:"Video",value:G},{label:"Audio",value:k}],ec=[{label:"Any",value:W},{label:"Verified",value:"APPROVED"},{label:"Un-Verified",value:"NOT_APPROVED"}],ed=[{label:"Any",value:$},{label:"Active",value:z},{label:"Archived",value:j},{label:"Processing",value:K},{label:"Failed",value:X}],eu="ALL",eA="OWN",eE="SHARED",eS="ANY",ep=[{label:"Any",value:eS},{label:"None",value:"NONE"},{label:"Planned",value:"PLANNED"},{label:"Running",value:"RUNNING"},{label:"Paused",value:"PAUSED"},{label:"Stopped",value:"STOPPED"}],eT="ALL",e_="UNDER_4_MIN",em="4_TO_20_MIN",eI="OVER_20_MIN",eg={[e_]:{from:0,to:239999},[em]:{from:24e4,to:12e5},[eI]:{from:1200001}},ey={[eT]:"Any Duration",[e_]:"Under 4 minutes",[em]:"4 - 20 minutes",[eI]:"Over 20 minutes"},eO=[{label:"All",value:ei},{label:"Sponsored Content Only",value:"SPONSORED"},{label:"Not Sponsored Content",value:"NONE"}];e.s(["ALL_PERMISSION_DEPENDS_FILTERS",0,C,"ALL_PERMISSION_DEPENDS_FILTERS_LIST",0,M,"DEFAULT_EVERGREEN_TYPE_VALUE",0,q,"DEFAULT_FEED_TYPE_VALUE",0,J,"DEFAULT_MEDIA_TYPE_VALUE",0,ee,"DEFAULT_PUBLISH_PLATFORM_TYPE_VALUE",0,Q,"DEFAULT_PUBLISH_STATUS_TYPE_VALUE",0,Z,"DEFAULT_VERIFICATION_TYPE_VALUE",0,et,"DEFAULT_VIDEO_STATUS_VALUE",0,ea,"EXCLUDE_AI_BLOCK_FILTER",0,F,"EXTRA_SEARCH_PARAMS",0,U,"FEED_TYPE_ALL",0,w,"FEED_TYPE_AUDIO",0,k,"FEED_TYPE_TRENDING",0,x,"FEED_TYPE_VIDEO",0,G,"FEED_TYPE_VIDEO_AUDIO",0,H,"FILTER_ACCOUNT",0,d,"FILTER_BRANDS",0,m,"FILTER_BRAND_SAFETY",0,R,"FILTER_CATEGORIES",0,P,"FILTER_COMPONENTS_NAMES",0,a,"FILTER_CUSTOM_TAGS",0,g,"FILTER_DURATION",0,r,"FILTER_EVERGREEN",0,h,"FILTER_FEED_TYPE",0,T,"FILTER_HUBS",0,E,"FILTER_KEYWORDS",0,L,"FILTER_LANGUAGES",0,I,"FILTER_MEDIA_TYPE",0,A,"FILTER_ORDER",0,s,"FILTER_ORDER_FOR_INSIGHTS_GROUP",0,i,"FILTER_OWNER",0,o,"FILTER_PEOPLE",0,_,"FILTER_PUBLISH_PLATFORM",0,O,"FILTER_PUBLISH_STATUS",0,y,"FILTER_SOURCE",0,S,"FILTER_SPONSORED",0,D,"FILTER_STATUS",0,u,"FILTER_TARGETING_STATUS",0,b,"FILTER_TIME",0,n,"FILTER_TIME_FRAME",0,l,"FILTER_UPLOAD_DATE",0,v,"FILTER_VERIFICATION",0,p,"FILTER_VIDEO_TABS",0,c,"INSIGHTS_MODE_FILTER_LIST",0,N,"SPONSORED_ALL",0,ei,"VIDEO_DURATION_4_TO_20_MIN",0,em,"VIDEO_DURATION_ALL",0,eT,"VIDEO_DURATION_LABELS",0,ey,"VIDEO_DURATION_OVER_20_MIN",0,eI,"VIDEO_DURATION_UNDER_4_MIN",0,e_,"VIDEO_DURATION_VALUES",0,eg,"VIDEO_MODE_FILTER_LIST",0,f,"VIDEO_STATUS_ACTIVE",0,z,"VIDEO_STATUS_DISABLED",0,j,"VIDEO_STATUS_FAILED",0,X,"VIDEO_STATUS_PROCESSING",0,K,"VIDEO_TAB_ALL",0,eu,"VIDEO_TAB_OWN",0,eA,"VIDEO_TAB_SHARED",0,eE,"VIDEO_TARGETING_ANY",0,eS,"VIDEO_TARGETING_OPTIONS",0,ep,"evergreenOptions",0,el,"feedTypeOptions",0,en,"filterPublishPlatformOptions",0,eo,"filterPublishStatusOptions",0,er,"mediaTypeOptions",0,es,"sponsoredOptions",0,eO,"verificationOptions",0,ec,"videoStatusOptions",0,ed])},224864,e=>{"use strict";let t="EXTERNAL",a="INTERNAL",i="ACCOUNT",l="API";
623e.s(["ACCOUNT",0,i,"API",0,l,"EXTERNAL",0,t,"INTERNAL",0,a])},38039,e=>{"use strict";var t=e.i(388302);let a={selectedVideo:{},monitoringJob:null,currentVideoTime:0,updateVideo:null,evergreen:!1,dialogVisible:!1,setThumbnailUrl:null,uploadThumbnail:{},getPlayerEmbedCode:null,keywords:[],isLoadingKeywords:!1,newKeyword:null,getTaxonomyKeywords:null,createTaxonomyKeyword:null,showNotification:"",deleteVideo:null,speechToTextModel:"DEEPGRAM_ANYCLIP",speechToTextModels:[],downloadTags:"",getOwnersOptions:null,ownersOptions:null,advertiserOptions:null,tabIndex:0},i=(0,t.createSlice)({name:"@@editorialVideoDetails/EDITORIAL_VIDEO_DETAILS",initialState:a,reducers:{selectedVideoAction:(e,t)=>{e.selectedVideo=t.payload||a.selectedVideo},currentVideoTimeAction:(e,t)=>{e.currentVideoTime=t.payload||a.currentVideoTime},monitoringJobAction:(e,t)=>{e.monitoringJob=t.payload||a.monitoringJob},updateVideoAction:(e,t)=>{e.updateVideo=t.payload||a.updateVideo},evergreenAction:(e,t)=>{e.evergreen=t.payload||a.evergreen},dialogVisibleAction:(e,t)=>{e.dialogVisible=t.payload||a.dialogVisible},getPlayerEmbedCodeAction:(e,t)=>{e.getPlayerEmbedCode=t.payload||a.getPlayerEmbedCode},keywordsAction:(e,t)=>{e.keywords=t.payload||a.keywords},isLoadingKeywordsAction:(e,t)=>{e.isLoadingKeywords=t.payload||a.isLoadingKeywords},newKeywordAction:(e,t)=>{e.newKeyword=t.payload||a.newKeyword},getTaxonomyKeywordsAction:(e,t)=>{e.getTaxonomyKeywords=t.payload||a.getTaxonomyKeywords},createTaxonomyKeywordAction:(e,t)=>{e.createTaxonomyKeyword=t.payload||a.createTaxonomyKeyword},showNotificationAction:(e,t)=>{e.showNotification=t.payload||a.showNotification},deleteVideoAction:(e,t)=>{e.deleteVideo=t.payload||a.deleteVideo},speechToTextModelAction:(e,t)=>{e.speechToTextModel=t.payload||a.speechToTextModel},speechToTextModelsAction:(e,t)=>{e.speechToTextModels=t.payload||a.speechToTextModels},getOwnersOptionsAction:(e,t)=>{e.getOwnersOptions=t.payload||a.getOwnersOptions},ownersOptionsAction:(e,t)=>{e.ownersOptions=t.payload||a.ownersOptions},setTabIndexAction:(e,t)=>{e.tabIndex=t.payload},setAdvertiserOptionsAction:(e,t)=>{e.advertiserOptions=t.payload||a.advertiserOptions},reloadSelectedVideoAction:e=>e,getSpeechToTextModelsAction:e=>e,updateVideoTagsAction:e=>e,getAdvertiserOptionsAction:e=>e,clearAction:e=>{Object.keys(a).forEach(t=>{"tabIndex"!==t&&(e[t]=a[t])})}}}),{selectedVideoAction:l,currentVideoTimeAction:o,monitoringJobAction:r,updateVideoAction:n,evergreenAction:s,dialogVisibleAction:c,getPlayerEmbedCodeAction:d,keywordsAction:u,isLoadingKeywordsAction:A,newKeywordAction:E,getTaxonomyKeywordsAction:S,createTaxonomyKeywordAction:p,showNotificationAction:T,deleteVideoAction:_,speechToTextModelAction:m,speechToTextModelsAction:I,getOwnersOptionsAction:g,ownersOptionsAction:y,setTabIndexAction:O,reloadSelectedVideoAction:b,getSpeechToTextModelsAction:P,updateVideoTagsAction:v,clearAction:R,getAdvertiserOptionsAction:L,setAdvertiserOptionsAction:h}=i.actions;e.s(["clearAction",0,R,"createTaxonomyKeywordAction",0,p,"currentVideoTimeAction",0,o,"deleteVideoAction",0,_,"dialogVisibleAction",0,c,"evergreenAction",0,s,"getAdvertiserOptionsAction",0,L,"getOwnersOptionsAction",0,g,"getSpeechToTextModelsAction",0,P,"getTaxonomyKeywordsAction",0,S,"isLoadingKeywordsAction",0,A,"keywordsAction",0,u,"monitoringJobAction",0,r,"ownersOptionsAction",0,y,"reloadSelectedVideoAction",0,b,"selectedVideoAction",0,l,"setAdvertiserOptionsAction",0,h,"setTabIndexAction",0,O,"showNotificationAction",0,T,"slice",0,i,"speechToTextModelAction",0,m,"speechToTextModelsAction",0,I,"updateVideoAction",0,n,"updateVideoTagsAction",0,v])},565692,184363,e=>{"use strict";var t=e.i(649789),a=e.i(224864),i=e.i(728580);let l={public:"PUBLIC",private:"PRIVATE",site:"SITE"},o={owner:"OWNER",read:"READ",readWrite:"READ_WRITE"};e.s(["ACCESS_LEVEL_ENUM",0,l,"ACCESS_USER_ROLE",0,o],184363);var r=e.i(38039),n=e.i(435995),s=e.i(400120);let c=r.slice.name,d=e=>(0,s.hasPermission)(t.VIDEO_SHOW_CONTENT_OWNER_NAME,e),u=(e,t,a)=>{if(e?.access?.level===l.private&&e?.access?.users)return e.access.users.some(e=>+e.id===a&&e.role===o.owner);if(e?.access?.level===l.site){let a=(e.access.sites||[]).map(e=>parseInt(e.id,10));return(t||[]).some(e=>a.some(t=>t===e))}return!0},A=(e,t,a)=>[d(a)&&e?.contentOwnerName,e?.feedDescription||((0,s.isOwnContent)(e?.contentOwner,t)?"My Videos":"AnyClip")].filter(
623Boolean).join("/"),E=(e,t)=>{let a=["brands","people","categories"],i=t&&Object.entries(t).reduce((e,[t,{filters:i}])=>a.includes(t)?{...e,[t]:i[0].value.map(({value:e})=>e)}:e,{})||{},l=[...e?.keywords??[]],o=e?.iab?.data?(0,n.iabFindLeafNodes)(JSON.parse(e.iab.data)):[],r={people:[],brands:[],iab:[],brandsafety:[],keywords:[],text:[],custom:[]};return l.forEach(e=>{let t=e.category.toLowerCase().replace(/_/,"");if(r[t]){let a={type:t,text:e.value,filterMatch:i[t]?.includes(e.value),id:["text","custom"].includes(t)?e.value:e.id};"custom"===t&&(a.labelId=e.labelId,a.labelName=e.labelName,a.color=e.color),r[t].push(a)}}),o.forEach(e=>{try{return r.iab.push({type:"iab",text:e.name,id:e.id,filterMatch:i.categories?.includes(e.id)})}catch{return null}}),Object.keys(r).reduce((e,t)=>[...e,...r[t]],[])},S=(e,t)=>{if(t?.length){let a=[...t].sort((e,t)=>t.height-e.height)[0];return a&&a.file?a.file:e}return e},p=(e,t=2)=>{if(0===e)return"0 Bytes";let a=1024,i=t<0?0:t,l=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(e)/Math.log(1024));return`${parseFloat((e/a**o).toFixed(i))} ${l[o]}`},T=()=>(0,s.getUserPreferences)()?.[c],_=(e,t)=>{let a=T();(0,s.setUserPreferences)(c,{...a,[e]:t})},m=(e,t,a,l,o)=>{let{contentOwner:r,status:n}=e;return n!==i.VIDEO_STATUS_PROCESSING&&(!!(0,s.hasPermission)(t,o)||a&&(0,s.hasPermission)(a,o)&&(0,s.isOwnContent)(r,l))},I=(e,a,i)=>m(e,t.VIDEO_ADMIN,t.VIDEO_INFO_TAB,a,i),g=(e,a,i)=>m(e,t.VIDEO_ADVANCED_TAB,null,a,i),y=(e,a,i)=>m(e,t.VIDEO_ADMIN,t.PCN_PUT_VIDEO,a,i),O={google:"S2T",deepgram:"DEEPGRAM_ANYCLIP",verbitAuto:"VERBIT_AUTO",verbitManual:"VERBIT_MANUAL",verbitManual24h:"VERBIT_MANUAL_24H"},b=(e,o,r,n,c,d,A)=>{let E=!!o,S=!!(e?.contentOwner&&(0,s.isOwnContent)(e?.contentOwner,c)),p=u(e,r,n),T=t=>(0,s.hasPermission)(t,d)&&p&&(!E||S)&&e.status!==i.VIDEO_STATUS_PROCESSING,_=()=>p&&S&&e.status!==i.VIDEO_STATUS_PROCESSING,m=()=>e?.access?.level===l.public&&(0,s.hasPermission)(t.VIDEO_ADMIN,d),I=()=>(0,s.hasPermission)(t.VIDEO_VERSION_UPLOAD,d)&&p&&e?.access?.level!==l.public&&e.origin!==i.FEED_TYPE_AUDIO;return{canEditVideoName:T(t.PCN_PUT_VIDEO),canEditVideoDate:T(t.PCN_PUT_VIDEO),canEditVideoDescription:T(t.PCN_PUT_VIDEO),canEditVideoSource:T(t.VIDEO_EDIT_SOURCE),canEditTagsAndLabels:_()||m(),canSeeMenu:_()||m(),canEditVideo:_()||m(),canOperateWithVideoVersionUpload:I(),canShowTabVideoVersions:I()||A===a.INTERNAL}};e.s(["canAccessTabAdvanced",0,g,"canAccessTabInfo",0,I,"canArchive",0,y,"canEditVideoByAccessControl",0,u,"canShowVideoContentOwnerName",0,d,"defineThumbnail",0,S,"formatBytes",0,p,"getCanEditVideoAttributes",0,b,"getContentOwnerNameAndFeedDisplayName",0,A,"getPreferences",0,T,"setPreferences",0,_,"speechModelTypes",0,O,"tagsGenerator",0,E],565692)},231383,e=>{"use strict";var t=e.i(145592);e.s(["CustomPeople",()=>t.default])},456891,e=>{"use strict";var t=e.i(222908);e.s(["CustomKeywords",()=>t.default])},248857,245896,e=>{"use strict";e.i(988641);var t=e.i(980195),t=t,a=e.i(418893);e.s(["CustomBrandSafety",()=>a.default],245896);var a=a,i=e.i(305775),i=i,l=e.i(456891),o=e.i(231383),r=e.i(645417),r=r;let n="SYSTEM",s="CUSTOM",c="TEXT",d="CC",u="PEOPLE",A="BRANDS",E="IAB",S="BRAND_SAFETY",p="KEYWORDS",T="CUSTOM",_={[u]:o.CustomPeople,[A]:t.default,[E]:i.default,[S]:a.default,[p]:l.CustomKeywords,[c]:r.default},m=[{label:"People",value:u,iconComponent:_[u],group:n},{label:"Brands",value:A,iconComponent:_[A],group:n},{label:"IAB Categories",value:E,iconComponent:_[E],group:n},{label:"Brands Safety",value:S,iconComponent:_[S],group:n},{label:"Keywords",value:p,iconComponent:_[p],group:n},{label:"Text",value:c,iconComponent:_[c],group:n}],I=["#e45043","#fb6923","#fca93e","#934c20","#fa0729","#9e0788","#f36cc1","#b7a0b4","#0e3674","#2b6db3","#5cb0d6","#3fd3fc","#50e593","#68a335","#5e7698"],g=64,y=64,O=255,b="CONTEXT_OPEN_IN_TAG_LOG",P="CONTEXT_OPEN_IN_TAG_LOG_SUMMARY",v="CONTEXT_OPEN_IN_VIDEO_EDIT_TAGS";e.s(["CATEGORY_SIZE",0,g,"CONTEXT_OPEN_IN_TAG_LOG",0,b,"CONTEXT_OPEN_IN_TAG_LOG_SUMMARY",0,P,"CONTEXT_OPEN_IN_VIDEO_EDIT_TAGS",0,v,"CUSTOM_LABEL_VALUE_SIZE",0,O,"CUSTOM_TAGS_COLORS",0,I,"SYSTEM_LABEL_VALUE_SIZE",0,y,"SYSTEM_TAGS_CATEGORY_OPTIONS",0,m,"TAG_CUSTOM_TYPE",0,s,"TAG_SYSTEM_CATEGORY_BRANDS",0,A,"TAG_SYSTEM_CATEGORY_BRAND_SAFETY",0,S,"TAG_SYSTEM_CATEGORY_CC",0,d,"TAG_SYSTEM_CATEGORY_CUSTOM",0,T,"TAG_SYSTEM_CATEGORY_IAB",0,E,"TAG_SYSTEM_CATEGORY_KEYWORDS",0,p,"TAG_SYSTEM_CATEGORY_PEOPLE",0,u,"TAG_SYSTEM_CATEGORY_TEXT",0,c,"TAG_SYSTEM_TYPE",0,n],248857)},523028,e=>{"use strict";let t=(e,t,a=null)=>{let i=`${e}/${t}`;return a&&(i+=`/${a}`),i},a=(e,{category:t,id:a,value:i})=>`${e}_${a||i.trim().toLowerCase().replace(/ /g,"-")}_${t.toLowerCase()}`;e.s(["createTagUniqKey",0,a,"getInfoTooltipKey",0,t])},234751,e=>{"use strict";var t=e.i(388302);let a={selectedCategory:null,customCategoriesOptions:null,selectedTag:null,tagsOptions:null,openContext:e.i(248857).CONTEXT_OPEN_IN_VIDEO_EDIT_TAGS},i=(0,t.createSlice)({name:"@@tagEditor",initialState:a,reducers:{setStateAction:(e,t)=>
623{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},clearAction:()=>a,getCustomCategoriesOptionsAction:e=>e,createCustomCategoryAction:e=>e,editCustomCategoryAction:e=>e,getCustomTagsOptionsAction:e=>e,getCustomTagsWithCategoryOptionsAction:e=>e,getSystemTagsOptionsAction:e=>e,createSystemTagAction:e=>e}}),{setStateAction:l,clearAction:o,getCustomCategoriesOptionsAction:r,createCustomCategoryAction:n,editCustomCategoryAction:s,getCustomTagsOptionsAction:c,getCustomTagsWithCategoryOptionsAction:d,getSystemTagsOptionsAction:u,createSystemTagAction:A}=i.actions;e.s(["clearAction",0,o,"createCustomCategoryAction",0,n,"createSystemTagAction",0,A,"editCustomCategoryAction",0,s,"getCustomCategoriesOptionsAction",0,r,"getCustomTagsOptionsAction",0,c,"getCustomTagsWithCategoryOptionsAction",0,d,"getSystemTagsOptionsAction",0,u,"setStateAction",0,l,"slice",0,i])},204715,815663,e=>{"use strict";let t="Desktop",a="Camera";e.s(["RECORD_MODE_CAMERA",0,a,"RECORD_MODE_SCREEN",0,t],204715);let i=(0,e.i(191788).createContext)(void 0);e.s(["RecordingContext",0,i],815663)},784310,e=>{"use strict";var t=e.i(388302);let a={translationFiles:null,selectedTranslateFile:null,ccSegments:null,languages:[],translateLanguages:[],subtitle:null,published:!1,processing:!1,currentProcessingJobType:null,processingPercentage:null,isLoading:!1,shouldOpenGenerateByAiConfirm:!1,isEditMode:!1,editData:{},isAutoscroll:!0,isHighlightSpeech:!1},i=(0,t.createSlice)({name:"@@AIWORKBENCH/TRANSLATES",initialState:a,reducers:{setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getTranslationFilesAction:e=>e,removeTranslationFileAction:e=>e,getSubtitleAction:(e,t)=>{e.selectedTranslateFile=t.payload},uploadAction:e=>e,addTranslationFileAction:e=>e,toggleConfirmForGenerateByAiConfirmAction:(e,t)=>{e.shouldOpenGenerateByAiConfirm=t.payload},generateByAiAction:e=>e,generateTranscriptByAiAction:e=>e,setEditDataAction:(e,t)=>{let{uid:a,startTime:i,endTime:l,token:o}=t.payload;e.editData[a]||(e.editData[a]={startTime:i,endTime:l,tokens:{}}),e.editData[a].tokens[o.startTime]=o},setSubtitleAction:e=>e,unmountAction:e=>{e.translationFiles=null,e.selectedTranslateFile=null,e.subtitle=null,e.ccSegments=null,e.isEditMode=!1,e.editData={}}}}),{setAction:l,getTranslationFilesAction:o,removeTranslationFileAction:r,getSubtitleAction:n,uploadAction:s,addTranslationFileAction:c,toggleConfirmForGenerateByAiConfirmAction:d,generateByAiAction:u,generateTranscriptByAiAction:A,setEditDataAction:E,setSubtitleAction:S,unmountAction:p}=i.actions;e.s(["addTranslationFileAction",0,c,"generateByAiAction",0,u,"generateTranscriptByAiAction",0,A,"getSubtitleAction",0,n,"getTranslationFilesAction",0,o,"removeTranslationFileAction",0,r,"setAction",0,l,"setEditDataAction",0,E,"setSubtitleAction",0,S,"slice",0,i,"toggleConfirmForGenerateByAiConfirmAction",0,d,"unmountAction",0,p,"uploadAction",0,s])},865978,e=>{"use strict";let t="AUTO",a="MANUAL",i="data-lemmastarttime",l='[data-lemmaempty="empty"]',o='[data-rowlemmaempty="empty"]';e.s(["FILE_VERSION_AUTO",0,t,"FILE_VERSION_MANUAL",0,a,"ROW_DATA_VALUE_ATTR_EMPTY",0,o,"TOKEN_DATA_ATTR_START_TIME",0,i,"TOKEN_DATA_VALUE_ATTR_EMPTY",0,l])},849411,e=>{"use strict";let t=e.i(784310).slice.name,a=e=>e[t].translationFiles,i=e=>e[t].selectedTranslateFile,l=e=>e[t].subtitle,o=e=>e[t].ccSegments,r=e=>e[t].languages,n=e=>e[t].translateLanguages,s=e=>e[t].published,c=e=>e[t].processing,d=e=>e[t].currentProcessingJobType,u=e=>e[t].processingPercentage,A=e=>e[t].shouldOpenGenerateByAiConfirm,E=e=>e[t].isEditMode,S=e=>e[t].editData,p=e=>e[t].isLoading,T=e=>e[t].isAutoscroll,_=e=>e[t].isHighlightSpeech;e.s(["currentProcessingJobTypeSelector",0,d,"editDataSelector",0,S,"getCcSegmentsSelector",0,o,"getLanguagesSelector",0,r,"getSubtitleSelector",0,l,"getTranslateLanguagesSelector",0,n,"isAutoscrollSelector",0,T,"isEditModeSelector",0,E,"isHighlightSpeechSelector",0,_,"isLoadingSelector",0,p,"processingPercentageSelector",0,u,"processingSelector",0,c,"publishedSelector",0,s,"selectedTranslateFileSelector",0,i,"shouldOpenGenerateByAiConfirmSelector",0,A,"translationFilesSelector",0,a]
623)},395253,e=>{"use strict";var t=e.i(388302);let a={aspectRatios:null,published:!1,draft:!1,processing:!1,processingPercentage:null,isLoading:!1,editableId:null,createId:null,shouldOpenGenerateByAiConfirm:!1,isDirty:!1,isGeneratingAvailable:!1,causes:[],selectedAspectRatioId:null,shouldOpenCreateVideoForm:!1,videos:[]},i=(0,t.createSlice)({name:"@@AIWORKBENCH/ASPECT_RATIOS",initialState:a,reducers:{setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getAspectRatiosAction:e=>e,toggleConfirmForGenerateByAiConfirmAction:(e,t)=>{e.shouldOpenGenerateByAiConfirm=t.payload},generateByAiAction:e=>e,unmountAction:e=>{e.isDirty=!1,e.editableId=!1,e.createId=!1,e.aspectRatios=null,e.selectedAspectRatioId=null,e.shouldOpenCreateVideoForm=!1,e.videos=[]},createVideoAction:e=>e,getListOfCreatedVideoAction:e=>e}}),{setAction:l,getAspectRatiosAction:o,toggleConfirmForGenerateByAiConfirmAction:r,generateByAiAction:n,unmountAction:s,createVideoAction:c,getListOfCreatedVideoAction:d}=i.actions;e.s(["createVideoAction",0,c,"generateByAiAction",0,n,"getAspectRatiosAction",0,o,"getListOfCreatedVideoAction",0,d,"setAction",0,l,"slice",0,i,"toggleConfirmForGenerateByAiConfirmAction",0,r,"unmountAction",0,s])},290093,999237,814186,e=>{"use strict";let t=e.i(395253).slice.name,a=e=>e[t].aspectRatios,i=e=>e[t].published,l=e=>e[t].draft,o=e=>e[t].processing,r=e=>e[t].isLoading,n=e=>e[t].shouldOpenGenerateByAiConfirm,s=e=>e[t].processingPercentage,c=e=>e[t].isGeneratingAvailable,d=e=>e[t].causes,u=e=>e[t].selectedAspectRatioId,A=e=>e[t].shouldOpenCreateVideoForm,E=e=>e[t].videos;e.s(["aspectRatiosSelector",0,a,"causesSelector",0,d,"draftSelector",0,l,"isGeneratingAvailableSelector",0,c,"isLoadingSelector",0,r,"processingPercentageSelector",0,s,"processingSelector",0,o,"publishedSelector",0,i,"selectedAspectRatioIdSelector",0,u,"shouldOpenCreateVideoFormSelector",0,A,"shouldOpenGenerateByAiConfirm",0,n,"videosSelector",0,E],290093);var S=e.i(388302);let p={fadeInIsActive:!0,fadeIn:1e3,fadeOutIsActive:!0,fadeOut:1e3,title:"",description:"",language:null,owner:null,feed:null,feedOptions:null,accessLevel:null,hubs:null,hubsOptions:null,date:null,notes:"",evergreen:!1,labels:[],keywords:[],iab:[],isNotify:!0,isHubsNotify:!1,isCreateDateValidationError:!1},T=(0,S.createSlice)({name:"@@AIWORKBENCH/CREATE_VIDEO",initialState:p,reducers:{setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},unmountAction:e=>{Object.keys(p).forEach(t=>{e[t]=p[t]})},getFeedOptionsAction:e=>e,getHubsOptionsAction:e=>e}}),{setAction:_,unmountAction:m,getFeedOptionsAction:I,getHubsOptionsAction:g}=T.actions;e.s(["getFeedOptionsAction",0,I,"getHubsOptionsAction",0,g,"setAction",0,_,"slice",0,T,"unmountAction",0,m],999237);let y=T.name,O=e=>e[y].fadeInIsActive,b=e=>e[y].fadeIn,P=e=>e[y].fadeOutIsActive,v=e=>e[y].fadeOut,R=e=>e[y].title,L=e=>e[y].description,h=e=>e[y].language,D=e=>e[y].feed,f=e=>e[y].feedOptions,N=e=>e[y].owner,C=e=>e[y].accessLevel,M=e=>e[y].hubs,F=e=>e[y].hubsOptions,U=e=>e[y].date,B=e=>e[y].notes,V=e=>e[y].evergreen,Y=e=>e[y].labels,w=e=>e[y].keywords,G=e=>e[y].iab,k=e=>e[y].isNotify,H=e=>e[y].isHubsNotify,x=e=>e[y].isCreateDateValidationError;e.s(["accessLevelSelector",0,C,"dateSelector",0,U,"descriptionSelector",0,L,"evergreenSelector",0,V,"fadeInIsActiveSelector",0,O,"fadeInSelector",0,b,"fadeOutIsActiveSelector",0,P,"fadeOutSelector",0,v,"feedOptionsSelector",0,f,"feedSelector",0,D,"hubsOptionsSelector",0,F,"hubsSelector",0,M,"iabSelector",0,G,"isCreateDateValidationErrorSelector",0,x,"isHubsNotifySelector",0,H,"isNotifySelector",0,k,"keywordsSelector",0,w,"labelsSelector",0,Y,"languageSelector",0,h,"notesSelector",0,B,"ownerSelector",0,N,"titleSelector",0,R],814186)},890079,e=>{"use strict";let t=e.i(21762).slice.name,a=e=>e[t].activeModule,i=e=>e[t].selectedVideo,l=e=>e[t].shouldShowWarnEditConfirm,o=e=>e[t].updatedBy,r=e=>e[t].updatedAt,n=e=>e[t].prevVideoIdInQuery;e.s(["activeModuleSelector",0,a,"prevVideoIdInQuerySelector",0,n,"selectedVideoSelector",0,i,"shouldShowWarnEditConfirmSelector",0,l,"updatedAtSelector",0,r,"updatedBySelector",0,o])},909648,e=>{"use strict";var t=e.i(388302);let a={chapters:null,published:!1,draft:!1,processing:!1,processingPercentage:null,isLoading:!1,editableId:null,createId:null,shouldOpenGenerateByAiConfirm:!1,isDirty:!1,isGeneratingAvailable:!1,
623causes:[],isMultiselectModeActive:!1,selectedChapters:[],shouldOpenCreateVideoForm:!1,videos:[]},i=(0,t.createSlice)({name:"@@AIWORKBENCH/CHAPTERS",initialState:a,reducers:{setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getChaptersAction:e=>e,setChaptersAction:e=>e,publishUnpublishAction:e=>e,toggleConfirmForGenerateByAiConfirmAction:(e,t)=>{e.shouldOpenGenerateByAiConfirm=t.payload},generateByAiAction:e=>e,unmountAction:e=>{e.isDirty=!1,e.editableId=!1,e.createId=!1,e.chapters=null,e.isMultiselectModeActive=!1,e.selectedChapters=[],e.shouldOpenCreateVideoForm=!1,e.videos=[]},createVideoAction:e=>e,getListOfCreatedVideoAction:e=>e}}),{setAction:l,getChaptersAction:o,setChaptersAction:r,publishUnpublishAction:n,toggleConfirmForGenerateByAiConfirmAction:s,generateByAiAction:c,unmountAction:d,createVideoAction:u,getListOfCreatedVideoAction:A}=i.actions;e.s(["createVideoAction",0,u,"generateByAiAction",0,c,"getChaptersAction",0,o,"getListOfCreatedVideoAction",0,A,"publishUnpublishAction",0,n,"setAction",0,l,"setChaptersAction",0,r,"slice",0,i,"toggleConfirmForGenerateByAiConfirmAction",0,s,"unmountAction",0,d])},100579,e=>{"use strict";let t=e.i(909648).slice.name,a=e=>e[t].chapters,i=e=>e[t].published,l=e=>e[t].draft,o=e=>e[t].processing,r=e=>e[t].isLoading,n=e=>e[t].editableId,s=e=>e[t].createId,c=e=>e[t].shouldOpenGenerateByAiConfirm,d=e=>e[t].isDirty,u=e=>e[t].processingPercentage,A=e=>e[t].isGeneratingAvailable,E=e=>e[t].causes,S=e=>e[t].isMultiselectModeActive,p=e=>e[t].selectedChapters,T=e=>e[t].shouldOpenCreateVideoForm,_=e=>e[t].videos;e.s(["causesSelector",0,E,"chaptersSelector",0,a,"createIdSelector",0,s,"draftSelector",0,l,"editableIdSelector",0,n,"isDirtySelector",0,d,"isGeneratingAvailableSelector",0,A,"isLoadingSelector",0,r,"isMultiselectModeActiveSelector",0,S,"processingPercentageSelector",0,u,"processingSelector",0,o,"publishedSelector",0,i,"selectedChaptersSelector",0,p,"shouldOpenCreateVideoFormSelector",0,T,"shouldOpenGenerateByAiConfirm",0,c,"videosSelector",0,_])},90241,111853,752692,794510,651178,e=>{"use strict";var t=e.i(388302);let a={description:null,descriptions:null,published:!1,draft:!1,processing:!1,processingPercentage:null,isLoading:!1,shouldOpenGenerateByAiConfirm:!1,isGeneratingAvailable:!1,causes:[],isDirty:!1},i=(0,t.createSlice)({name:"@@AIWORKBENCH/DESCRIPTION",initialState:a,reducers:{getDescriptionAction:e=>e,setDescriptionAction:e=>e,generateByAiAction:e=>e,publishUnpublishAction:e=>e,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},toggleConfirmForGenerateByAiConfirmAction:(e,t)=>{e.shouldOpenGenerateByAiConfirm=t.payload},unmountAction:e=>{e.description=null,e.descriptionOptions=null,e.isDirty=!1},updateDescriptionInVideoListOrDetailAction:e=>e}}),{getDescriptionAction:l,setDescriptionAction:o,generateByAiAction:r,publishUnpublishAction:n,setAction:s,toggleConfirmForGenerateByAiConfirmAction:c,unmountAction:d,updateDescriptionInVideoListOrDetailAction:u}=i.actions;e.s(["generateByAiAction",0,r,"getDescriptionAction",0,l,"publishUnpublishAction",0,n,"setAction",0,s,"setDescriptionAction",0,o,"slice",0,i,"toggleConfirmForGenerateByAiConfirmAction",0,c,"unmountAction",0,d,"updateDescriptionInVideoListOrDetailAction",0,u],90241);let A={ccSegments:null,highlights:[],published:!1,draft:!1,processing:!1,processingPercentage:null,currentProcessingJobType:null,isLoading:!1,shouldOpenGenerateByAiConfirm:!1,isDirty:!1,isGeneratingAvailable:!1,causes:[],videos:[],lastCreatedVideoId:null},E=(0,t.createSlice)({name:"@@AIWORKBENCH/HIGHLIGHTS",initialState:A,reducers:{setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getCcSegmentsAction:e=>e,getHighlightsAction:e=>e,setHighlightsAction:e=>e,publishUnpublishAction:e=>e,toggleConfirmForGenerateByAiConfirmAction:(e,t)=>{e.shouldOpenGenerateByAiConfirm=t.payload},generateByAiAction:e=>e,unmountAction:e=>{e.isDirty=!1,e.highlights=[],e.lastCreatedVideoId=null},createVideoAction:e=>e,getListOfCreatedVideo:e=>e}}),{setAction:S,getCcSegmentsAction:p,getHighlightsAction:T,setHighlightsAction:_,publishUnpublishAction:m,toggleConfirmForGenerateByAiConfirmAction:I,generateByAiAction:g,unmountAction:y,getListOfCreatedVideo:O,createVideoAction:b}=E.actions;e.s(["createVideoAction",0,b,"generateByAiAction",0,g,"getCcSegmentsAction",0,p,"getHighlightsAction",0,T,"getListOfCreatedVideo",0,O,"publishUnpublishAction",0,m,"setAction",0,S,"setHighlightsAction",0,_,"slice",0,E,"toggleConfirmForGenerateByAiConfirmAction",0,I,"unmountAction",0,y],111853);let P={slides:null,published:!1,draft:!1,processing:!1,processingPercentage:null,download:!1,isLoading:!1,formId:null,shouldOpenGenerateByAiConfirm:!1,pdfFile:"",isPdfFileReadyToDownload:!1,isDirty:!1,isGeneratingAvailable:!1,
623causes:[]},v=(0,t.createSlice)({name:"@@AIWORKBENCH/SLIDES",initialState:P,reducers:{setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},getSlidesAction:e=>e,setSlidesAction:e=>e,toggleConfirmForGenerateByAiConfirmAction:(e,t)=>{e.shouldOpenGenerateByAiConfirm=t.payload},generateByAiAction:e=>e,uploadAction:e=>e,setStateAction:e=>e,runPdfMonitoringAction:e=>e,unmountAction:e=>{e.isDirty=!1,e.formId=null,e.slides=null}}}),{setAction:R,getSlidesAction:L,setSlidesAction:h,toggleConfirmForGenerateByAiConfirmAction:D,generateByAiAction:f,uploadAction:N,setStateAction:C,runPdfMonitoringAction:M,unmountAction:F}=v.actions;e.s(["generateByAiAction",0,f,"getSlidesAction",0,L,"runPdfMonitoringAction",0,M,"setAction",0,R,"setSlidesAction",0,h,"setStateAction",0,C,"slice",0,v,"toggleConfirmForGenerateByAiConfirmAction",0,D,"unmountAction",0,F,"uploadAction",0,N],752692);let U={thumbnailDraftPreview:null,thumbnails:null,published:!1,draft:!1,processing:!1,processingJob:null,processingPercentage:null,isLoading:!1,isDirty:!1,shouldOpenGenerateByAiConfirm:!1,isGeneratingAvailable:!1,causes:[]},B=(0,t.createSlice)({name:"@@AIWORKBENCH/THUMBNAIL",initialState:U,reducers:{getThumbnailAction:e=>e,setThumbnailDraftAction:e=>e,generateByAiAction:e=>e,uploadAction:e=>e,publishAction:e=>e,setThumbnailFromVideoFrameAction:e=>e,updateThumbnailInVideoListOrDetailAction:e=>e,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},toggleConfirmForGenerateByAiConfirmAction:(e,t)=>{e.shouldOpenGenerateByAiConfirm=t.payload},unmountAction:e=>{e.thumbnailDraftPreview=null,e.thumbnails=null,e.isDirty=!1}}}),{getThumbnailAction:V,setThumbnailDraftAction:Y,generateByAiAction:w,uploadAction:G,publishAction:k,setThumbnailFromVideoFrameAction:H,setAction:x,toggleConfirmForGenerateByAiConfirmAction:W,unmountAction:$,updateThumbnailInVideoListOrDetailAction:z}=B.actions;e.s(["generateByAiAction",0,w,"getThumbnailAction",0,V,"publishAction",0,k,"setAction",0,x,"setThumbnailDraftAction",0,Y,"setThumbnailFromVideoFrameAction",0,H,"slice",0,B,"toggleConfirmForGenerateByAiConfirmAction",0,W,"unmountAction",0,$,"updateThumbnailInVideoListOrDetailAction",0,z,"uploadAction",0,G],794510);let j={title:null,titles:null,published:!1,draft:!1,processing:!1,processingPercentage:null,isLoading:!1,shouldOpenGenerateByAiConfirm:!1,isGeneratingAvailable:!1,causes:[],isDirty:!1},K=(0,t.createSlice)({name:"@@AIWORKBENCH/TITLE",initialState:j,reducers:{getTitleAction:e=>e,setTitleAction:e=>e,generateByAiAction:e=>e,publishUnpublishAction:e=>e,setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},toggleConfirmForGenerateByAiConfirmAction:(e,t)=>{e.shouldOpenGenerateByAiConfirm=t.payload},unmountAction:e=>{e.title=null,e.titleOptions=null,e.isDirty=!1},updateTitleInVideoListOrDetailAction:e=>e}}),{getTitleAction:X,setTitleAction:q,generateByAiAction:Q,publishUnpublishAction:Z,setAction:J,toggleConfirmForGenerateByAiConfirmAction:ee,unmountAction:et,updateTitleInVideoListOrDetailAction:ea}=K.actions;e.s(["generateByAiAction",0,Q,"getTitleAction",0,X,"publishUnpublishAction",0,Z,"setAction",0,J,"setTitleAction",0,q,"slice",0,K,"toggleConfirmForGenerateByAiConfirmAction",0,ee,"unmountAction",0,et,"updateTitleInVideoListOrDetailAction",0,ea],651178)},895345,e=>{"use strict";var t=e.i(391398);e.i(191788);var a=e.i(691567);e.i(815277);var i=e.i(74374),l=e.i(689741),o=e.i(642380),r=e.i(141776),n=e.i(761485),s=e.i(901119);let c=null;function d(e){c=e}function u(){return c}function A(){c=null}function E(e){let a=()=>{A(),e.onClose()},c=()=>{u()(),A(),e.onOverwrite()};return(0,t.jsxs)(l.Dialog,{open:e.open,onClose:e.onClose,maxWidth:"md",children:[(0,t.jsx)(n.DialogTitle,{onClose:e.onClose,children:e.title}),(0,t.jsx)(r.DialogContent,{children:(0,t.jsx)(s.Typography,{variant:"body2",color:"text.primary",fontWeight:400,children:e.body})}),(0,t.jsxs)(o.DialogActions,{children:[(0,t.jsx)(i.Button,{size:"small",variant:"outlined",color:"primary",onClick:a,children:"Cancel"}),(0,t.jsx)(i.Button,{size:"small",variant:"contained",color:"primary",onClick:c,children:"Overwrite"})]})]})}E.propTypes={title:a.default.node.isRequired,body:a.default.node.isRequired,open:a.default.bool.isRequired,onClose:a.default.func.isRequired,onOverwrite:a.default.func.isRequired};let S=E;
623e.s(["default",0,S,"getCallback",0,u,"removeCallback",0,A,"setCallback",0,d])},890861,304150,e=>{"use strict";let t=e.i(90241).slice.name,a=e=>e[t].description,i=e=>e[t].descriptions,l=e=>e[t].published,o=e=>e[t].draft,r=e=>e[t].processing,n=e=>e[t].processingPercentage,s=e=>e[t].isLoading,c=e=>e[t].shouldOpenGenerateByAiConfirm,d=e=>e[t].isGeneratingAvailable,u=e=>e[t].causes,A=e=>e[t].isDirty;e.s(["causesSelector",0,u,"descriptionSelector",0,a,"descriptionsSelector",0,i,"draftSelector",0,o,"isDirtySelector",0,A,"isGeneratingAvailableSelector",0,d,"isLoadingSelector",0,s,"processingPercentageSelector",0,n,"processingSelector",0,r,"publishedSelector",0,l,"shouldOpenGenerateByAiConfirm",0,c],890861);let E=e.i(111853).slice.name,S=e=>e[E].ccSegments,p=e=>e[E].highlights,T=e=>e[E].published,_=e=>e[E].draft,m=e=>e[E].processing,I=e=>e[E].isLoading,g=e=>e[E].shouldOpenGenerateByAiConfirm,y=e=>e[E].isDirty,O=e=>e[E].processingPercentage,b=e=>e[E].isGeneratingAvailable,P=e=>e[E].causes,v=e=>e[E].videos,R=e=>e[E].lastCreatedVideoId;e.s(["causesSelector",0,P,"ccSegmentsSelector",0,S,"draftSelector",0,_,"highlightsSelector",0,p,"isDirtySelector",0,y,"isGeneratingAvailableSelector",0,b,"isLoadingSelector",0,I,"lastCreatedVideoIdSelector",0,R,"processingPercentageSelector",0,O,"processingSelector",0,m,"publishedSelector",0,T,"shouldOpenGenerateByAiConfirm",0,g,"videosSelector",0,v],304150)},282095,e=>{"use strict";let t=e.i(752692).slice.name,a=e=>e[t].slides,i=e=>e[t].published,l=e=>e[t].draft,o=e=>e[t].processing,r=e=>e[t].processingPercentage,n=e=>e[t].download,s=e=>e[t].isLoading,c=e=>e[t].formId,d=e=>e[t].shouldOpenGenerateByAiConfirm,u=e=>e[t].pdfFile,A=e=>e[t].isPdfFileReadyToDownload,E=e=>e[t].isDirty,S=e=>e[t].isGeneratingAvailable,p=e=>e[t].causes;e.s(["causesSelector",0,p,"downloadSelector",0,n,"draftSelector",0,l,"formIdSelector",0,c,"isDirtySelector",0,E,"isGeneratingAvailableSelector",0,S,"isLoadingSelector",0,s,"isPdfFileReadyToDownload",0,A,"pdfFileSelector",0,u,"processingPercentageSelector",0,r,"processingSelector",0,o,"publishedSelector",0,i,"shouldOpenGenerateByAiConfirm",0,d,"slidesSelector",0,a]
623)},19542,e=>{"use strict";let t="create_",a="publish",i="download";e.s(["CREATE_ID_PREFIX",0,t,"STATE_DOWNLOAD",0,i,"STATE_PUBLISH",0,a])},251680,970827,e=>{"use strict";var t=e.i(388302);let a="TEXT",i="PEOPLE",l="BRANDS",o="IAB",r="BRAND_SAFETY",n="KEYWORDS",s="CUSTOM",c={[n]:"-tagKeywords",[i]:"-tagPeople",[l]:"-tagBrands",[o]:"-tagIAB",[r]:"-tagBrandSafety",[a]:"-tagText",CC:"-tagCC"},d="APPROVED",u="final-tags",A="source",E="tag-info-context-summary",S="tag-info-context-tag-row";e.s(["DOWNLOAD_FINAL_TAGS",0,u,"DOWNLOAD_SOURCES_TAGS",0,A,"TAG_INFO_CONTEXT_SUMMARY",0,E,"TAG_INFO_CONTEXT_TAG_ROW",0,S,"TAG_SYSTEM_CATEGORY_BRANDS",0,l,"TAG_SYSTEM_CATEGORY_BRAND_SAFETY",0,r,"TAG_SYSTEM_CATEGORY_CUSTOM",0,s,"TAG_SYSTEM_CATEGORY_IAB",0,o,"TAG_SYSTEM_CATEGORY_KEYWORDS",0,n,"TAG_SYSTEM_CATEGORY_PEOPLE",0,i,"TAG_SYSTEM_CATEGORY_TEXT",0,a,"VIDEO_STATUS_APPROVED",0,d,"tagsTypesColor",0,c],970827);let p={data:[],isLoading:!1,selectedStartTime:null,selectedItemTime:null,shouldWrapTags:!0,search:{searchText:"",startTime:null,currentSearchedUniqIndex:null},tagInfo:{},activeTagsFilter:[i,l,r,o,s]},T=(0,t.createSlice)({name:"@@AIWORKBENCH/TAGLOG",initialState:p,reducers:{setAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},unmountAction:e=>{e.data=null,e.selectedStartTime=null,e.selectedItemTime=null,e.shouldWrapTags=!0,e.search={searchText:"",startTime:null},e.tagInfo={}},getDataAction:e=>e,upsertTagsAction:e=>e,updateSummaryTagsAction:e=>e,updateVideoVerificationStateAction:e=>e,getTagInfoAction:e=>e,downloadAction:e=>e}}),{setAction:_,unmountAction:m,getDataAction:I,upsertTagsAction:g,updateSummaryTagsAction:y,updateVideoVerificationStateAction:O,getTagInfoAction:b,downloadAction:P}=T.actions;e.s(["downloadAction",0,P,"getDataAction",0,I,"getTagInfoAction",0,b,"setAction",0,_,"slice",0,T,"unmountAction",0,m,"updateSummaryTagsAction",0,y,"updateVideoVerificationStateAction",0,O,"upsertTagsAction",0,g],251680)},139742,e=>{"use strict";var t=e.i(494834),a=e.i(201424),i=e.i(53157);t.default.extend(i.default),t.default.extend(a.default);let l=(e,a,i)=>{let l=i||new Date;return`${e}-${(0,t.default)(l).format("DD-MM-YYYY")}.${a}`};e.s(["getFileName",0,l])},139056,663858,931949,e=>{"use strict";let t=e.i(251680).slice.name,a=e=>e[t].data,i=e=>e[t].isLoading,l=e=>e[t].selectedStartTime,o=e=>e[t].selectedItemTime,r=e=>e[t].shouldWrapTags,n=e=>e[t].search,s=e=>e[t].tagInfo,c=e=>e[t].activeTagsFilter,d=null,u=null,A=null,E=e=>{let t=c(e),i=a(e);if(A&&d===t&&u===i)return A;let l=i?.reduce((e,a)=>{let i=a.log.map(e=>{let a=e.keywords.filter(e=>t.includes(e.category));return a.length?{...e,keywords:a}:null}).filter(Boolean);return i.length&&e.push({...a,log:i}),e},[]);return d=t,u=i,A=l,l};e.s(["activeTagsFilterSelector",0,c,"dataSelector",0,a,"dataWithTagsFilterSelector",0,E,"isLoadingSelector",0,i,"searchSelector",0,n,"selectedItemTimeSelector",0,o,"selectedStartTimeSelector",0,l,"shouldWrapTagsSelector",0,r,"tagInfoSelector",0,s],139056);let S=e.i(794510).slice.name,p=e=>e[S].thumbnailDraftPreview,T=e=>e[S].thumbnails,_=e=>e[S].published,m=e=>e[S].draft,I=e=>e[S].processing,g=e=>e[S].processingJob,y=e=>e[S].processingPercentage,O=e=>e[S].isLoading,b=e=>e[S].isDirty,P=e=>e[S].shouldOpenGenerateByAiConfirm,v=e=>e[S].isGeneratingAvailable,R=e=>e[S].causes;e.s(["causesSelector",0,R,"draftSelector",0,m,"isDirtySelector",0,b,"isGeneratingAvailableSelector",0,v,"isLoadingSelector",0,O,"processingJobSelector",0,g,"processingPercentageSelector",0,y,"processingSelector",0,I,"publishedSelector",0,_,"shouldOpenGenerateByAiConfirm",0,P,"thumbnailDraftPreviewSelector",0,p,"thumbnailsSelector",0,T],663858);let L=e.i(651178).slice.name,h=e=>e[L].title,D=e=>e[L].titles,f=e=>e[L].published,N=e=>e[L].draft,C=e=>e[L].processing,M=e=>e[L].processingPercentage,F=e=>e[L].isLoading,U=e=>e[L].shouldOpenGenerateByAiConfirm,B=e=>e[L].isGeneratingAvailable,V=e=>e[L].causes,Y=e=>e[L].isDirty;e.s(["causesSelector",0,V,"draftSelector",0,N,"isDirtySelector",0,Y,"isGeneratingAvailableSelector",0,B,"isLoadingSelector",0,F,"processingPercentageSelector",0,M,"processingSelector",0,C,"publishedSelector",0,f,"shouldOpenGenerateByAiConfirm",0,U,"titleSelector",0,h,"titlesSelector",0,D],931949)},268360,e=>{"use strict";let t="AI_BLOCK_WATCH",a="AI_BLOCK_PLAYLIST",i="MODE_LIST",l="MODE_PLAYLIST",o=[{label:"Active",value:1},{label:"Inactive",value:0}],r=[{label:"Active",value:"Enabled"},{label:"Inactive",value:"Disabled"}],n=[{label:"Name",value:"Name"},{label:"Date",value:"Date"},{label:"User",value:"User"},{label:"URL",value:"URL"}],s="The video is Sponsored",c="Manually added Sponsored videos arenât shown in the Player";e.s(["AI_BLOCK_PLAYLIST",0,a,"AI_BLOCK_WATCH",0,t,"MODE_LIST",0,i,"MODE_PLAYLIST",0,l,"PLAYLIST_STATUSES",0,r,"SORTERS",0,n,"TITLE_VIDEO_IS_SPONSORED",0,s,"TOOLTIP_VIDEO_IS_SPONSORED",0,c,"WATCH_STATUSES",0,o])},670323,e=>{"use strict";var t=e.i(388302);let a={videos:[],totalCount:0,isVideosLoading:!1,isNextVideosLoading:!1,filterParams:{},filterInternalParams:{}
623,searchFilters:null,selectedVideo:null,page:0,size:0,players:[],maxPerformance:{},isSearchFiltered:!1,targetVideoId:null,targetClipId:null,isTargetClipIdLoading:!1,canAddToPlaylist:!1,showNotification:"",startSearchEvent:null,selectedPlayer:null,selectedAspectRatio:null,embedCode:"",getEmbedCode:null,dragAndDropEnd:null,playlistMode:null,showEmbedCodeButton:!1,aiPlaylistId:0,showDivider:!1,currentFiltersAsString:""},i=(0,t.createSlice)({name:"@@editorialSearchResults/EDITORIAL_SEARCH_RESULTS",initialState:a,reducers:{videosAction:(e,t)=>{e.videos=t.payload||a.videos},totalCountAction:(e,t)=>{e.totalCount=t.payload||a.totalCount},isVideosLoadingAction:(e,t)=>{e.isVideosLoading=t.payload||a.isVideosLoading},isNextVideosLoadingAction:(e,t)=>{e.isNextVideosLoading=t.payload||a.isNextVideosLoading},filterParamsAction:(e,t)=>{e.filterParams=t.payload||a.filterParams},filterInternalParamsAction:(e,t)=>{e.filterInternalParams=t.payload||a.filterInternalParams},searchFiltersAction:(e,t)=>{e.searchFilters=t.payload||a.searchFilters},selectedVideoAction:(e,t)=>{e.selectedVideo=t.payload||a.selectedVideo},pageAction:(e,t)=>{e.page=t.payload||a.page},sizeAction:(e,t)=>{e.size=t.payload||a.size},playersAction:(e,t)=>{e.players=t.payload||a.players},maxPerformanceAction:(e,t)=>{e.maxPerformance=t.payload||a.maxPerformance},isSearchFilteredAction:(e,t)=>{e.isSearchFiltered=t.payload||a.isSearchFiltered},targetVideoIdAction:(e,t)=>{e.targetVideoId=t.payload||a.targetVideoId},targetClipIdAction:(e,t)=>{e.targetClipId=t.payload||a.targetClipId},isTargetClipIdLoadingAction:(e,t)=>{e.isTargetClipIdLoading=t.payload||a.isTargetClipIdLoading},canAddToPlaylistAction:(e,t)=>{e.canAddToPlaylist=t.payload||a.canAddToPlaylist},showNotificationAction:(e,t)=>{e.showNotification=t.payload||a.showNotification},startSearchEventAction:(e,t)=>{e.startSearchEvent=t.payload||a.startSearchEvent},selectedPlayerAction:(e,t)=>{e.selectedPlayer=t.payload||a.selectedPlayer},selectedAspectRatioAction:(e,t)=>{e.selectedAspectRatio=t.payload||a.selectedAspectRatio},embedCodeAction:(e,t)=>{e.embedCode=t.payload||a.embedCode},getEmbedCodeAction:(e,t)=>{e.getEmbedCode=t.payload||a.getEmbedCode},dragAndDropEndAction:(e,t)=>{e.dragAndDropEnd=t.payload||a.dragAndDropEnd},playlistModeAction:(e,t)=>{e.playlistMode=t.payload||a.playlistMode},showEmbedCodeButtonAction:(e,t)=>{e.showEmbedCodeButton=t.payload||a.showEmbedCodeButton},aiPlaylistIdAction:(e,t)=>{e.aiPlaylistId=t.payload||a.aiPlaylistId},showDividerAction:(e,t)=>{e.showDivider=t.payload||a.showDivider},clearAction:e=>{Object.keys(a).forEach(t=>{e[t]=a[t]})},currentFiltersAsStringAction:(e,t)=>{e.currentFiltersAsString=JSON.stringify(t.payload)},restartSearchEventAction:e=>e,targetClipIdEventAction:e=>e,addFiltersQueriesAction:e=>e,getPlayersAction:e=>e,downloadEventAction:e=>e,videosChangeProcessingStatusMonitoringAction:e=>e,loadNextEventAction:e=>e}}),{videosAction:l,totalCountAction:o,isVideosLoadingAction:r,isNextVideosLoadingAction:n,filterParamsAction:s,filterInternalParamsAction:c,searchFiltersAction:d,selectedVideoAction:u,pageAction:A,sizeAction:E,playersAction:S,maxPerformanceAction:p,isSearchFilteredAction:T,targetVideoIdAction:_,targetClipIdAction:m,isTargetClipIdLoadingAction:I,canAddToPlaylistAction:g,showNotificationAction:y,startSearchEventAction:O,selectedPlayerAction:b,selectedAspectRatioAction:P,embedCodeAction:v,getEmbedCodeAction:R,dragAndDropEndAction:L,playlistModeAction:h,showEmbedCodeButtonAction:D,aiPlaylistIdAction:f,showDividerAction:N,clearAction:C,restartSearchEventAction:M,targetClipIdEventAction:F,addFiltersQueriesAction:U,getPlayersAction:B,downloadEventAction:V,videosChangeProcessingStatusMonitoringAction:Y,loadNextEventAction:w,currentFiltersAsStringAction:G}=i.actions;e.s(["addFiltersQueriesAction",0,U,"aiPlaylistIdAction",0,f,"canAddToPlaylistAction",0,g,"currentFiltersAsStringAction",0,G,"downloadEventAction",0,V,"dragAndDropEndAction",0,L,"embedCodeAction",0,v,"filterInternalParamsAction",0,c,"filterParamsAction",0,s,"getEmbedCodeAction",0,R,"getPlayersAction",0,B,"isNextVideosLoadingAction",0,n,"isSearchFilteredAction",0,T,"isTargetClipIdLoadingAction",0,I,"isVideosLoadingAction",0,r,"loadNextEventAction",0,w,"maxPerformanceAction",0,p,"pageAction",0,A,"playersAction",0,S,"playlistModeAction",0,h,"restartSearchEventAction",0,M,"searchFiltersAction",0,d,"selectedAspectRatioAction",0,P,"selectedPlayerAction",0,b,"selectedVideoAction",0,u,"
623showDividerAction",0,N,"showEmbedCodeButtonAction",0,D,"showNotificationAction",0,y,"slice",0,i,"startSearchEventAction",0,O,"targetClipIdAction",0,m,"targetClipIdEventAction",0,F,"targetVideoIdAction",0,_,"totalCountAction",0,o,"videosAction",0,l,"videosChangeProcessingStatusMonitoringAction",0,Y])},139325,e=>{"use strict";var t=e.i(388302);let a={isLoading:!1,players:[],publishers:[],publisher:null,fallbackOnly:!1,search:"",page:1,pageSize:10,recordsTotal:0,sortBy:"Date",sortOrder:e.i(799460).SORT_DESC,status:null,mode:null,aiPlaylistMode:!1,playlists:[],playlistId:null,embedCodePopup:{playlistId:null,aspectRatio:null,player:null,embedCode:""}},i=(0,t.createSlice)({name:"@@EDITORIAL/SIDEBAR/PLAYLISTS",initialState:a,reducers:{setIsLoadingAction:(e,t)=>{e.isLoading=t.payload},getPlayersAction:e=>e,setPlayersAction:(e,t)=>{e.players=t.payload},getPublishersAction:e=>e,setPublishersAction:(e,t)=>{e.publishers=t.payload},setPublisherAction:(e,t)=>{e.publisher=t.payload},setFallbackOnlyAction:(e,t)=>{e.fallbackOnly=t.payload},searchPlaylistAction:(e,t)=>{e.search=t.payload},setPageAction:(e,t)=>{e.page=t.payload},setRecordsTotalAction:(e,t)=>{e.recordsTotal=t.payload},setSortByAction:(e,t)=>{e.sortBy=t.payload},setSortOrderAction:(e,t)=>{e.sortOrder=t.payload},setStatusAction:(e,t)=>{e.status=t.payload},setModeAction:(e,t)=>{e.mode=t.payload},setAiPlaylistModeAction:(e,t)=>{e.aiPlaylistMode=t.payload},getPlaylistsAction:e=>e,setPlaylistsAction:(e,t)=>{e.playlists=t.payload},setPlaylistIdAction:(e,t)=>{e.playlistId=t.payload},getPlaylistByIdAction:e=>e,updatePlaylistAction:(e,t)=>{let a=t.payload?.playlistId||e.playlistId,i=e.playlists.find(e=>e.id===a);i&&Object.keys(t.payload).forEach(e=>{i[e]=t.payload[e]})},deletePlaylistAction:e=>e,getPlaylistVideosAction:e=>e,setPlaylistVideosAction:(e,t)=>{let{playlistId:a,videos:i}=t.payload,l=e.playlists.find(e=>e.id===a);l&&(l.videos=i)},setPlaylistVideosAttributeAction:(e,t)=>{let{uid:a,attribute:i}=t.payload,l=e.playlists.find(t=>t.id===e.playlistId);l&&(l.videos=l.videos.map(e=>e.uid===a?{...e,...i}:e))},searchVideoAction:e=>e,getAiPlaylistAction:e=>e,setAiPlaylistAction:(e,t)=>{let{playlistId:a,aiPlaylist:i}=t.payload,l=e.playlists.find(e=>e.id===a);l&&(l.aiPlaylists||(l.aiPlaylists={}),l.aiPlaylists[i.type]=i)},createAiPlaylistAction:e=>e,updateAiPlaylistAction:e=>e,deleteAiPlaylistAction:(e,t)=>{let{playlistId:a,aiPlaylistId:i}=t.payload,l=e.playlists.find(e=>e.id===a);if(l){let e=Object.values(l.aiPlaylists).find(e=>e.id===i);e&&delete l.aiPlaylists[e.type];let t=i.toString();l.videos=l.videos.filter(e=>e.distributionId.toString()!==t),l.clips=l.clips.filter(e=>e.toString()!==t)}},getAiFiltersAction:e=>e,setAiFiltersAction:(e,t)=>{let{playlistId:a,aiPlaylistId:i,aiFilters:l}=t.payload,o=e.playlists.find(e=>e.id===a);if(o){let e=Object.values(o.aiPlaylists).find(e=>e.id===i);e&&(l&&l.length?e.aiFilters=l:delete e.aiFilters)}},updateAiFiltersAction:e=>e,getEmbedCodeAction:e=>e,getEmbedCodeSuccessAction:(e,t)=>{e.embedCodePopup.embedCode=t.payload},setEmbedCodeInfoAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.embedCodePopup[a]=t.payload[a]})}}}),{setIsLoadingAction:l,getPlayersAction:o,setPlayersAction:r,getPublishersAction:n,setPublishersAction:s,setPublisherAction:c,setFallbackOnlyAction:d,searchPlaylistAction:u,setPageAction:A,setRecordsTotalAction:E,setSortByAction:S,setSortOrderAction:p,setStatusAction:T,setModeAction:_,setAiPlaylistModeAction:m,getPlaylistsAction:I,setPlaylistsAction:g,setPlaylistIdAction:y,getPlaylistByIdAction:O,updatePlaylistAction:b,deletePlaylistAction:P,getPlaylistVideosAction:v,setPlaylistVideosAction:R,searchVideoAction:L,setPlaylistVideosAttributeAction:h,getAiPlaylistAction:D,setAiPlaylistAction:f,createAiPlaylistAction:N,updateAiPlaylistAction:C,deleteAiPlaylistAction:M,getAiFiltersAction:F,setAiFiltersAction:U,updateAiFiltersAction:B,getEmbedCodeAction:V,getEmbedCodeSuccessAction:Y,setEmbedCodeInfoAction:w}=i.actions;i.reducer,e.s(["createAiPlaylistAction",0,N,"deleteAiPlaylistAction",0,M,"deletePlaylistAction",0,P,"getAiFiltersAction",0,F,"getAiPlaylistAction",0,D,"getEmbedCodeAction",0,V,"getEmbedCodeSuccessAction",0,Y,"getPlayersAction",0,o,"getPlaylistByIdAction",0,O,"getPlaylistVideosAction",0,v,"getPlaylistsAction",0,I,"getPublishersAction",0,n,"searchPlaylistAction",0,u,"
623searchVideoAction",0,L,"setAiFiltersAction",0,U,"setAiPlaylistAction",0,f,"setAiPlaylistModeAction",0,m,"setEmbedCodeInfoAction",0,w,"setFallbackOnlyAction",0,d,"setIsLoadingAction",0,l,"setModeAction",0,_,"setPageAction",0,A,"setPlayersAction",0,r,"setPlaylistIdAction",0,y,"setPlaylistVideosAction",0,R,"setPlaylistVideosAttributeAction",0,h,"setPlaylistsAction",0,g,"setPublisherAction",0,c,"setPublishersAction",0,s,"setRecordsTotalAction",0,E,"setSortByAction",0,S,"setSortOrderAction",0,p,"setStatusAction",0,T,"slice",0,i,"updateAiFiltersAction",0,B,"updateAiPlaylistAction",0,C,"updatePlaylistAction",0,b])},837946,e=>{"use strict";var t=e.i(388302);let a={query:"",fromSuggester:!1,playlistType:"",searchSuggester:null,suggesterOptions:[]},i=(0,t.createSlice)({name:"@@editorialSearch/EDITORIAL_SEARCH",initialState:a,reducers:{queryAction:(e,t)=>{e.query=t.payload||a.query},playlistTypeAction:(e,t)=>{e.playlistType=t.payload||a.playlistType},searchSuggesterAction:(e,t)=>{e.searchSuggester=t.payload||a.searchSuggester},searchFromSuggesterAction:(e,t)=>{e.fromSuggester=t.payload||a.fromSuggester},suggesterOptionsAction:(e,t)=>{e.suggesterOptions=t.payload||a.suggesterOptions},clearAction:e=>{Object.keys(a.createForm).forEach(t=>{e.createForm[t]=a.createForm[t]})},showUploaderAction:e=>e,searchEventAction:e=>e}}),{queryAction:l,playlistTypeAction:o,searchSuggesterAction:r,searchFromSuggesterAction:n,suggesterOptionsAction:s,clearAction:c,showUploaderAction:d,searchEventAction:u}=i.actions;e.s(["playlistTypeAction",0,o,"queryAction",0,l,"searchEventAction",0,u,"searchFromSuggesterAction",0,n,"searchSuggesterAction",0,r,"showUploaderAction",0,d,"slice",0,i,"suggesterOptionsAction",0,s])},956944,917626,e=>{"use strict";var t=e.i(388302),a=e.i(728580),i=e.i(649789),l=e.i(399693);let o="1",r="7",n="30",s={days:o,week:r,month:n},c={[o]:{label:"Past 24 hours",value:"days"},[r]:{label:"Past Week",value:"week"},[n]:{label:"Past Month",value:"month"}},d={[a.FILTER_TIME]:{filters:[{label:"Any Time",value:"any"},{label:"Past 24 hours",value:"days"},{label:"Past Week",value:"week"},{label:"Past Month",value:"month"},{label:"Custom",value:{startDate:"",endDate:""},component:a.FILTER_COMPONENTS_NAMES.FilterTimePicker}],isMobile:!0},[a.FILTER_DURATION]:{filters:[{label:a.VIDEO_DURATION_LABELS[a.VIDEO_DURATION_ALL],value:a.VIDEO_DURATION_ALL},{label:a.VIDEO_DURATION_LABELS[a.VIDEO_DURATION_UNDER_4_MIN],value:a.VIDEO_DURATION_UNDER_4_MIN},{label:a.VIDEO_DURATION_LABELS[a.VIDEO_DURATION_4_TO_20_MIN],value:a.VIDEO_DURATION_4_TO_20_MIN},{label:a.VIDEO_DURATION_LABELS[a.VIDEO_DURATION_OVER_20_MIN],value:a.VIDEO_DURATION_OVER_20_MIN}],isMobile:!1},[a.FILTER_LANGUAGES]:{filters:[{label:"Languages",value:[],type:"LANGUAGES",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_OWNER]:{filters:[{label:"Owner",value:[],type:"OWNER",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_HUBS]:{filters:[{label:"Hubs",value:[],type:"HUBS",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_SOURCE]:{filters:[{label:"Sources",value:[],type:"SOURCE",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_PEOPLE]:{filters:[{label:"People",value:[],type:"PEOPLE",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_BRANDS]:{filters:[{label:"Brands",value:[],type:"BRANDS",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_CATEGORIES]:{filters:[{label:"Categories",value:[],type:"IAB",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_BRAND_SAFETY]:{filters:[{label:"Brand Safety",value:[],type:"BRAND_SAFETY",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_ORDER]:{filters:[{label:"Date",value:"creationDate",isSortable:!0},{label:"Upload Date",value:"created",isSortable:!0},{label:"Relevance",value:"relevance",isSortable:!1},{label:"Trending",value:"trending",isSortable:!1},{label:"Duration",value:"duration",isSortable:!0}],isReversed:!1,isSortable:!0,isMobile:!0},[a.FILTER_CUSTOM_TAGS]:{filters:[{label:"Custom Tags",value:[],type:"LABELS",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_UPLOAD_DATE]:{filters:[{label:"Upload Date",value:[{from:null,to:null}],component:a.FILTER_COMPONENTS_NAMES.FilterDatePicker}]},[a.FILTER_EVERGREEN]:{filters:[{label:"Evergreen",value:[{label:"All",value:a.DEFAULT_EVERGREEN_TYPE_VALUE}],type:"EVERGREEN",component:a.FILTER_COMPONENTS_NAMES.FilterSelector,options:a.evergreenOptions,defaultValue:a.DEFAULT_EVERGREEN_TYPE_VALUE,dataId:"evergreen"}]},[a.FILTER_SPONSORED]:{filters:[{label:"Sponsored",value:[{label:"All",value:a.SPONSORED_ALL}],type:"SPONSORED",component:a.FILTER_COMPONENTS_NAMES.FilterSelector,options:a.sponsoredOptions,defaultValue:a.SPONSORED_ALL,dataId:"sponsored-type"}]},[a.FILTER_PUBLISH_PLATFORM]:{filters:[{label:"Publish platform",value:[{label:"All",value:a.DEFAULT_PUBLISH_PLATFORM_TYPE_VALUE}],component:a.FILTER_COMPONENTS_NAMES.FilterSelector,options:a.filterPublishPlatformOptions,defaultValue:a.DEFAULT_PUBLISH_PLATFORM_TYPE_VALUE,dataId:"publish-platform",permission:i.PCN_GET_DESTINATIONS}]},[a.FILTER_PUBLISH_STATUS]:{filters:[{label:"Publish status",value:[{label:"All",value:a.DEFAULT_PUBLISH_STATUS_TYPE_VALUE}],component:a.FILTER_COMPONENTS_NAMES.FilterSelector,options:a.filterPublishStatusOptions,defaultValue:a.DEFAULT_PUBLISH_STATUS_TYPE_VALUE,dataId:"publish-status",permission:i.PCN_GET_DESTINATIONS}]},[a.FILTER_STATUS]:{filters:[{label:"Video Status",value:[{label:"Active",value:a.VIDEO_STATUS_ACTIVE}],type:"VIDEO_STATUS",component:a.FILTER_COMPONENTS_NAMES.FilterSelector,options:a.videoStatusOptions,defaultValue:a.VIDEO_STATUS_ACTIVE,dataId:"video-state"}]},[a.FILTER_VERIFICATION]:{filters:[{label:"Verification",value:[{label:"Any",value:a.DEFAULT_VERIFICATION_TYPE_VALUE}],type:"VERIFICATION",component:a.FILTER_COMPONENTS_NAMES.FilterSelector,options:a.verificationOptions,defaultValue:a.DEFAULT_VERIFICATION_TYPE_VALUE,dataId:"verification"}]},[a.FILTER_FEED_TYPE]:{filters:[{label:"Source Type",value:[{label:"Any",value:a.DEFAULT_FEED_TYPE_VALUE}],type:"FEED_TYPE",component:a.FILTER_COMPONENTS_NAMES.FilterSelector,options:a.feedTypeOptions,defaultValue:a.DEFAULT_PUBLISH_STATUS_TYPE_VALUE,dataId:"feed-type"}]},[a.FILTER_MEDIA_TYPE]:{filters:[{label:"Media Type",value:[{label:"Video+Audio",value:a.FEED_TYPE_VIDEO_AUDIO}],type:"FEED_TYPE",component:a.FILTER_COMPONENTS_NAMES.FilterSelector,options:a.mediaTypeOptions,defaultValue:a.FEED_TYPE_VIDEO_AUDIO,dataId:"feed-type"}]},[a.FILTER_TIME_FRAME]:{filters:[{label:"Last 7 days",value:"LAST_7_DAYS"},{label:"Today",value:"TODAY"},{label:"Yesterday",value:"YESTERDAY"},{label:"Last 30 days",value:"LAST_30_DAYS"}]},[a.FILTER_ORDER_FOR_INSIGHTS_GROUP]:{filters:[{label:"Views",value:"insightsViews",info:"Total number of views of this video"},{label:"Likes",value:"insightsLikes",info:"Total number of likes of this video"},{label:"Shares",value:"insightsShares",info:"Total number of shares of this video"}
623,{label:"Min Viewed",value:"minutesViewed",info:"Total number of minutes viewed of the video"},{label:"Avg Playback",value:"avgPlayback",info:"Average playback duration of this video"},{label:"Trending Score",value:"trending",info:"The trending score (based on views likes shares on the last 24-36 hours) of this video"},{label:"Interactions",value:"engagement",info:"Total number of interactions (positive player actions) of this video "}],isReversed:!1},[a.FILTER_KEYWORDS]:{filters:[{label:"Keywords",value:[],type:"KEYWORDS",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_VIDEO_TABS]:{filters:[{label:"All videos",value:a.VIDEO_TAB_ALL},{label:"My videos",value:a.VIDEO_TAB_OWN},{label:"Shared with me",value:a.VIDEO_TAB_SHARED}]},[a.FILTER_ACCOUNT]:{filters:[{label:"Account",value:[],type:"ACCOUNT",component:a.FILTER_COMPONENTS_NAMES.FilterSuggester}]},[a.FILTER_TARGETING_STATUS]:{filters:[{label:"Video Targeting",value:[a.VIDEO_TARGETING_OPTIONS[0]],component:a.FILTER_COMPONENTS_NAMES.FilterSelector,options:a.VIDEO_TARGETING_OPTIONS,defaultValue:a.VIDEO_TARGETING_ANY,dataId:"targeting-status",permission:i.VIDEO_ACCESS_TARGETING}]}},u=()=>{let e=(0,l.deepClone)(d),t=(t,i)=>t===a.FILTER_ORDER_FOR_INSIGHTS_GROUP?[]:t===a.FILTER_TIME_FRAME?[i[t].filters[3]]:[e[t].filters[0]];return Object.keys(e).reduce((a,i)=>({...a,...{[i]:{...e[i],filters:t(i,e)}}}),{})},A=()=>({[a.FILTER_ORDER]:{...(0,l.deepClone)(d)[a.FILTER_ORDER],filters:[{label:"Relevance",value:"relevance",isSortable:!1}]}}),E=()=>({[a.FILTER_ORDER]:{...(0,l.deepClone)(d)[a.FILTER_ORDER],filters:[{label:"Date",value:"creationDate",isSortable:!0}]}});e.s(["filterConfig",0,d,"getDefaultConfig",0,u,"getDefaultRelevanceOrderConfig",0,A,"getEmptySearchOrderConfig",0,E,"timeMap",0,s,"timeValueMap",0,c],917626);let S={config:u(),configCopy:null,isMoreFiltersOpened:!1,isFilterDirty:!1,isInsightsMode:!1,restoreConfig:null,defaultEmptyFilterOrder:!1,tabCounters:{all:null,own:null,shared:null}},p=(0,t.createSlice)({name:"@@editorialSearchFilter/EDITORIAL_SEARCH_FILTERS",initialState:S,reducers:{configAction:(e,t)=>{e.config=t.payload||S.config},configCopyAction:(e,t)=>{e.configCopy=t.payload||S.configCopy},isMoreFiltersOpenedAction:(e,t)=>{e.isMoreFiltersOpened=t.payload||S.isMoreFiltersOpened},isFilterDirtyAction:(e,t)=>{e.isFilterDirty=t.payload||S.isFilterDirty},isInsightsModeAction:(e,t)=>{e.isInsightsMode=t.payload||S.isInsightsMode},restoreConfigAction:(e,t)=>{e.restoreConfig=t.payload||S.restoreConfig},defaultEmptyFilterOrderAction:(e,t)=>{e.defaultEmptyFilterOrder=t.payload||S.defaultEmptyFilterOrder},tabCountersAction:(e,t)=>{e.tabCounters=t.payload||S.tabCounters},configChangedEventAction:e=>e}}),{configAction:T,configCopyAction:_,isMoreFiltersOpenedAction:m,isFilterDirtyAction:I,isInsightsModeAction:g,restoreConfigAction:y,defaultEmptyFilterOrderAction:O,tabCountersAction:b,configChangedEventAction:P}=p.actions;e.s(["configAction",0,T,"configChangedEventAction",0,P,"configCopyAction",0,_,"defaultEmptyFilterOrderAction",0,O,"isFilterDirtyAction",0,I,"isInsightsModeAction",0,g,"isMoreFiltersOpenedAction",0,m,"restoreConfigAction",0,y,"slice",0,p,"tabCountersAction",0,b],956944)},836287,e=>{"use strict";let t=e.i(956944).slice.name,a=e=>e[t].config,i=e=>e[t].configCopy,l=e=>e[t].isMoreFiltersOpened,o=e=>e[t].isFilterDirty,r=e=>e[t].isInsightsMode,n=e=>e[t].defaultEmptyFilterOrder,s=e=>e[t].tabCounters;e.s(["configCopySelector",0,i,"configSelector",0,a,"defaultEmptyFilterOrderSelector",0,n,"isFilterDirtySelector",0,o,"isInsightsModeSelector",0,r,"isMoreFiltersOpenedSelector",0,l,"tabCountersSelector",0,s])},821898,e=>{"use strict";let t=e.i(139325).slice.name,a=e=>e[t].isLoading,i=e=>e[t].players,l=e=>e[t].publishers,o=e=>e[t].publisher,r=e=>e[t].search,n=e=>e[t].page,s=e=>e[t].pageSize,c=e=>e[t].recordsTotal,d=e=>e[t].sortBy,u=e=>e[t].sortOrder,A=e=>e[t].status,E=e=>e[t].fallbackOnly,S=e=>e[t].mode,p=e=>e[t].aiPlaylistMode,T=e=>e[t].playlists,_=e=>e[t].playlistId,m=e=>e[t].embedCodePopup;e.s(["aiPlaylistModeSelector",0,p,"embedCodePopupSelector",0,m,"fallbackOnlySelector",0,E,"isLoadingSelector",0,a,"modeSelector",0,S,"pageSelector",0,n,"pageSizeSelector",0,s,"playersSelector",0,i,"playlistIdSelector",0,_,"playlistsSelector",0,T,"publisherSelector",0,o,"publishersSelector",0,l,"recordsTotalSelector",0,c,"searchSelector",0,r,"sortBySelector",0,d,"sortOrderSelector",0,u,"statusSelector",0,A])},424923,e=>{"use strict";let t="RECENT",a="TRENDING";e.s(["RECENT",0,t,"TRENDING",0,a])},645947,868018,e=>{"use strict";var t=e.i(388302),a=e.i(799460),i=e.i(424923);let l=[{label:"Name",value:"title"},{label:"Date",value:"updatedAt"},{label:"User",value:"updatedBy"}],o=(e,t)=>{let a=new URL(window.location.origin),i=a.hostname.split(".").slice(1).join("."),l=`mrss.${i}`;return`${a.protocol}//${l}/${e}/${t}.xml`};e.s(["SORTERS",0,l,"getMrssLink",0,o],868018);let r={page:1,pageSize:10,recordsTotal:0,watches:[],watchId:null,channelId:null,playlistsEntities:{},videosEntities:{},embedCode:"",publishers:[],publisher:null,search:"",copiedChannelId:null,copiedChannelDesign:null,status:null,mrssOnly:!1,verticalOnly:!1,sortBy:l[1].value,sortOrder:a.SORT_DESC,aiPlaylist:{[i.RECENT]:null,[i.TRENDING]:null},aiFilters:{[i.RECENT]:[],[i.TRENDING]:[]}},n=(0,t.createSlice)({name:"@@EDITORIAL/SIDEBAR/WATCHES",initialState:r,reducers:{getWatchesAction:e=>e,getNextWatchesAction:e=>e,deleteWatchAction:e=>e,deleteChannelAction:e=>e,getPlaylistByIdAction:e=>e,updatePlaylistAction:e=>e,getPlaylistVideosAction:e=>e,getEmbedCodeAction:e=>e,updateChannelAction:e=>e,getPublishersAction:e=>e,copyWatchChannelAction:e=>e,setWatchesAction:(e,t)=>{e.watches=t.payload},setNextWatchesAction:(e,t)=>{e.watches=[...e.watches,...t.payload]},setWatchesPaginationInfoAction:(e,t)=>
623{Object.keys(t.payload).forEach(a=>{e[a]=t.payload[a]})},openChannelAction:(e,t)=>{e.channelId=t.payload.channelId,e.watchId=t.payload.watchId},setPlaylistEntityAction:(e,t)=>{e.playlistsEntities={...e.playlists,...t.payload}},setPlaylistVideosEntitiesAction:(e,t)=>{e.videosEntities={...e.videosEntities,...t.payload}},setPlaylistVideosEntityAttributeAction:(e,t)=>{let{uid:a,attribute:i}=t.payload;e.videosEntities=Object.entries(e.videosEntities).reduce((e,[t,l])=>(e[t]=l.uid===a?{...l,...i}:l,e),{})},setEmbedCodeAction:(e,t)=>{e.embedCode=t.payload},setPublishersAction:(e,t)=>{e.publishers=t.payload},setPublisherAction:(e,t)=>{e.publisher=t.payload},setSearchAction:(e,t)=>{e.search=t.payload},setStatusAction:(e,t)=>{e.status=t.payload},setMrssOnlyAction:(e,t)=>{e.mrssOnly=t.payload},setVerticalOnlyAction:(e,t)=>{e.verticalOnly=t.payload},setSortByAction:(e,t)=>{e.sortBy=t.payload},setSortOrderAction:(e,t)=>{e.sortOrder=t.payload},copyChannelAction:(e,t)=>{e.copiedChannelId=t.payload?.id??null,e.copiedChannelDesign=t.payload?.design??null},getAiPlaylistAction:e=>e,setAiPlaylistAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.aiPlaylist[a]=t.payload[a]})},createAiPlaylistAction:e=>e,updateAiPlaylistAction:e=>e,deleteAiPlaylistAction:e=>e,clearAiPlaylistAction:(e,t)=>{Object.keys(t.payload).forEach(a=>{e.aiPlaylist[a]=t.payload[a]})},getAiFiltersAction:e=>e,setAiFiltersAction:(e,t)=>{e.aiFilters={...e.aiFilters,...t.payload}},updateAiFiltersAction:e=>e,clearAiFiltersAction:(e,t)=>{e.aiFilters={...e.aiFilters,...t.payload}}}}),{copyChannelAction:s,copyWatchChannelAction:c,deleteChannelAction:d,deleteWatchAction:u,getEmbedCodeAction:A,getNextWatchesAction:E,getPlaylistByIdAction:S,getPlaylistVideosAction:p,getPublishersAction:T,getWatchesAction:_,openChannelAction:m,setEmbedCodeAction:I,setNextWatchesAction:g,setPlaylistEntityAction:y,setPlaylistVideosEntitiesAction:O,setPublisherAction:b,setPublishersAction:P,setSearchAction:v,setStatusAction:R,setMrssOnlyAction:L,setVerticalOnlyAction:h,setSortByAction:D,setSortOrderAction:f,setWatchesAction:N,setWatchesPaginationInfoAction:C,updateChannelAction:M,updatePlaylistAction:F,getAiPlaylistAction:U,setAiPlaylistAction:B,createAiPlaylistAction:V,updateAiPlaylistAction:Y,deleteAiPlaylistAction:w,clearAiPlaylistAction:G,getAiFiltersAction:k,setAiFiltersAction:H,updateAiFiltersAction:x,clearAiFiltersAction:W,setPlaylistVideosEntityAttributeAction:$}=n.actions;n.reducer,e.s(["clearAiFiltersAction",0,W,"clearAiPlaylistAction",0,G,"copyChannelAction",0,s,"copyWatchChannelAction",0,c,"createAiPlaylistAction",0,V,"deleteAiPlaylistAction",0,w,"deleteChannelAction",0,d,"deleteWatchAction",0,u,"getAiFiltersAction",0,k,"getAiPlaylistAction",0,U,"getEmbedCodeAction",0,A,"getNextWatchesAction",0,E,"getPlaylistByIdAction",0,S,"getPlaylistVideosAction",0,p,"getPublishersAction",0,T,"getWatchesAction",0,_,"openChannelAction",0,m,"setAiFiltersAction",0,H,"setAiPlaylistAction",0,B,"setEmbedCodeAction",0,I,"setMrssOnlyAction",0,L,"setNextWatchesAction",0,g,"setPlaylistEntityAction",0,y,"setPlaylistVideosEntitiesAction",0,O,"setPlaylistVideosEntityAttributeAction",0,$,"setPublisherAction",0,b,"setPublishersAction",0,P,"setSearchAction",0,v,"setSortByAction",0,D,"setSortOrderAction",0,f,"setStatusAction",0,R,"setVerticalOnlyAction",0,h,"setWatchesAction",0,N,"setWatchesPaginationInfoAction",0,C,"slice",0,n,"updateAiFiltersAction",0,x,"updateAiPlaylistAction",0,Y,"updateChannelAction",0,M,"updatePlaylistAction",0,F],645947)},343141,e=>{"use strict";let t=e.i(645947).slice.name,a=e=>e[t].copiedChannelId,i=e=>e[t].copiedChannelDesign,l=e=>e[t].page,o=e=>e[t].pageSize,r=e=>e[t].recordsTotal,n=e=>e[t].watches,s=e=>e[t].watchId,c=e=>e[t].channelId,d=e=>e[t].playlistsEntities,u=e=>e[t].videosEntities,A=e=>e[t].embedCode,E=e=>e[t].publishers,S=e=>e[t].publisher,p=e=>e[t].search,T=e=>e[t].status,_=e=>e[t].mrssOnly,m=e=>e[t].verticalOnly,I=e=>e[t].sortBy,g=e=>e[t].sortOrder,y=e=>e[t].aiPlaylist,O=e=>e[t].aiFilters;e.s(["aiFiltersSelector",0,O,"aiPlaylistSelector",0,y,"channelIdSelector",0,c,"copiedChannelDesignSelector",0,i,"copiedChannelIdSelector",0,a,"embedCodeSelector",0,A,"mrssOnlySelector",0,_,"pageSelector",0,l,"pageSizeSelector",0,o,"playlistsEntitiesSelector",0,d,"publisherSelector",0,S,"publishersSelector",0,E,"recordsTotalSelector",0,r,"searchSelector",0,p,"sortBySelector",0,I,"sortOrderSelector",0,g,"statusSelector",0,T,"verticalOnlySelector",0,m,"videosEntitiesSelector",0,u,"wat
623chIdSelector",0,s,"watchesSelector",0,n])},936772,536555,e=>{"use strict";let t="DND_PLAYLIST_TYPE",a="DND_PLAYLIST_VIDEO_TYPE",i="DND_MAIN_LIST_OF_VIDEO_TYPE",l="dndDragOverlayId";e.s(["DND_DRAG_OVERLAY_ID",0,l,"DND_MAIN_LIST_OF_VIDEO_TYPE",0,i,"DND_PLAYLIST_TYPE",0,t,"DND_PLAYLIST_VIDEO_TYPE",0,a],936772);let o=e=>JSON.stringify(e),r=e=>JSON.parse(e);e.s(["createDndId",0,o,"parseDndId",0,r],536555)},414328,e=>{"use strict";var t=e.i(728580);let a=e=>Object.values(e).length?Object.entries(t.VIDEO_DURATION_VALUES).reduce((t,a)=>{let[i,l]=a;return l.from!==+e.from||l.to&&l.to!==+e.to?t:i},""):"",i=e=>{if("object"!=typeof e)return!1;let{distributionStatus:t,videoStatus:a,contentOwner:i}=e;return!("ACTIVE"!==t||"ACTIVE"!==a||!i)},l=(e,t,a)=>{let i=Array.from(e),[l]=i.splice(t,1);return i.splice(a,0,l),i};e.s(["getVideoDurationFilterEnumValue",0,a,"isVideoAvailable",0,i,"reorderVideos",0,l])},492937,e=>{"use strict";var t=e.i(388302);let a={location:null,addQueries:{key:null,value:null},removeQueries:""},i=(0,t.createSlice)({name:"@@COMMON/LOCATION",initialState:a,reducers:{locationLoadedEventAction:e=>e,locationChangedEventAction:e=>e,locationAction:(e,t)=>{e.location=t.payload||a.location},addQueriesAction:(e,t)=>{e.addQueries=t.payload||a.addQueries},removeQueriesAction:(e,t)=>{e.removeQueries=t.payload||a.removeQueries}}}),{addQueriesAction:l,locationAction:o,locationChangedEventAction:r,locationLoadedEventAction:n,removeQueriesAction:s}=i.actions;i.reducer,e.s(["addQueriesAction",0,l,"locationChangedEventAction",0,r,"locationLoadedEventAction",0,n,"removeQueriesAction",0,s,"slice",0,i])},790125,e=>{"use strict";let t="watch",a="playlist",i="tab",l="watchId",o="channel",r="playlist",n="playlistEdit";e.s(["QUERY_PARAM_CHANNEL",0,o,"QUERY_PARAM_PLAYLIST",0,r,"QUERY_PARAM_PLAYLIST_EDIT",0,n,"QUERY_PARAM_TAB",0,i,"QUERY_PARAM_WATCH_ID",0,l,"TAB_PLAYLIST",0,a,"TAB_WATCH",0,t])},388514,e=>{"use strict";var t=e.i(649789),a=e.i(400120);let i=e=>(0,a.hasPermission)(t.PCN_POST_MANAGE_WATCH,e),l=e=>(0,a.hasPermission)(t.PCN_PUT_MANAGE_WATCH,e),o=e=>(0,a.hasPermission)(t.PCN_DELETE_MANAGE_WATCH,e),r=e=>(0,a.hasPermission)(t.VIDEO_SPONSORED_CONTENT,e);e.s(["canCreate",0,i,"canDelete",0,o,"canEdit",0,l,"canShowPromotionsTab",0,r])},425521,e=>{"use strict";let t="basicDetails",a="lookAndFeel",i="searchLookAndFeel",l="chips",o="advanced",r="custom",n="configuration",s=Array(23).fill(null).map((e,t)=>{let a=`${10+t}px`;return{label:a,value:a}}),c=[{name:"Roboto",value:"Roboto"},{name:"Lato",value:"Lato"},{name:"Rubik",value:"Rubik"},{name:"Open Sans",value:"Open Sans"},{name:"Montserrat",value:"Montserrat"},{name:"Titillium Web",value:"Titillium Web"},{name:"Inter",value:"Inter"},{name:"Heebo",value:"Heebo"},{name:"Arvo",value:"Arvo"},{name:"IBM Plex Serif",value:"IBM Plex Serif"},{name:"Nunito Sans",value:"Nunito Sans"},{name:"Manrope",value:"Manrope"},{name:"Device Specific",value:""},{name:"Inherit Site Font Family",value:"inherit"}],d="LIGHT",u="DARK",A=[{label:"Light",value:d},{label:"Dark",value:u}],E="PLAYLIST",S=[{label:"Playlist Tab",value:E},{label:"Deep Search Tab",value:"DEEP_SEARCH"}],p="DEFAULT",T="IN_POPUP",_=[{label:"Standard",value:p},{label:"Pop Up",value:T}],m=[{label:"Double-click to play",value:!0},{label:"Click to play",value:!1}],I="INTERNAL",g="EXTERNAL",y="INTERNAL_EXTERNAL",O=[{label:"Internal",value:I},{label:"External",value:g},{label:"Internal and External",value:y}],b="VIEWS",P="LIKES",v="SHARES",R=[{label:"Views",value:b},{label:"Likes",value:P},{label:"Shares",value:v}],L=[{label:"English",value:"EN"},{label:"German",value:"DE"},{label:"French",value:"FR"},{label:"Spanish",value:"ES"},{label:"Hebrew",value:"HE"},{label:"Ukrainian",value:"UK"}],h="en",D="he",f=[D],N=[{label:"English",value:h},{label:"Hebrew",value:D}],C=5,M=3,F=20,U="commonForm";e.s(["APPEARANCE_MODE_LIST",0,A,"DEEP_SEARCH_REDIRECT_LIST",0,S,"DEEP_SEARCH_REDIRECT_PLAYLIST",0,E,"DEFAULT_LANGUAGES_LIST",0,L,"DEFAULT_WATCH_LANGUAGE_VALUE",0,h,"ENUM_DARK",0,u,"ENUM_LIGHT",0,d,"ENVIRONMENT_EXTERNAL",0,g,"ENVIRONMENT_INTERNAL",0,I,"ENVIRONMENT_INTERNAL_EXTERNAL",0,y,"ENVIRONMENT_LIST",0,O,"FONT_FAMILY_LIST",0,c,"FONT_SIZE_LIST",0,s,"FORM_REDUX_FIELD_NAME",0,U,"GEN_AI_DEFAULT_VIDEO_COUNT",0,C,"GEN_AI_MAX_VIDEO_COUNT",0,F,"GEN_AI_MIN_VIDEO_COUNT",0,M,"INLINE_CHANNEL_PLAYBACK_FLOW_LIST",0,m,"LIKES",0,P,"PAGE_MODE_LIST",0,_,"PAGE_MODE_POPUP",0,T,"PAGE_MODE_STANDARD",0,p,"RTL_LANGUAGE_LIST",0,f,"SHARES",0,v,"TAB_ADVANCED",0,o,"TAB_BASIC_DETAILS",0,t,"TAB_CHIPS",0,l,"TAB_CONFIGURATION",0,n,"TAB_CUSTOM",0,r,"TAB_LOOK_AND_FEEL",0,a,"TAB_SEARCH_LOOK_AND_FEEL",0,i,"VIDEO_ENGAGEMENT_CONTROLS",0,R,"VIEWS",0,b,"WATCH_LANGUAGES_LIST",0,N])},493107,615775,e=>{"use strict";let t="general",a="lookAndFeel",i="playerPage",l="promotions",o="STANDARD",r="BACKGROUND",n="INLINE",s="VERTICAL",c="INLINE_VERTICAL",d=[{name:"Standard",value:o},{name:"With background",value:r},{name:"Inline player",value:n},{name:"Vertical",value:s},{name:"Inline Vertical",value:c}],u="STANDARD",A="LARGE",E=[{name:"Medium",value:u},{name:"Large",value:A}],S="commonForm";e.s(["CAROUSEL_DESIGN_LIST",0,d,"CAROUSEL_SIZE_LIST",0,E,"DESIGN_BACKGROUND",0,r,"DESIGN_INLINE",0,n,"DESIGN_INLINE_VERTICAL",0,c,"DESIGN_STANDARD",0,o,"DESIGN_VERTICAL",0,s,"FORM_REDUX_FIELD_NAME",0,S,"SIZE_LARGE",0,A,"SIZE_MEDIUM",0,u,"TAB_GENERAL",0,t,"TAB_LOOK_AND_FEEL",0,a,"TAB_PLAYER_PAGE",0,i,"TAB_PROMOTIONS",0,l],493107);let p={[n]:"Only one Inline Player channel can be added to a Watch",[c]:"Only one Inline Vertical channel can be added to a Watch"};e.s(["uniqueChannelsMessages",0,p],615775)},533773,e=>{"use strict";var t=e.i(191788),a=e.i(422276),i=e.i(343141);let l=(e,t,a)=>{if(t&&e){let i=a.find(t=>
623t.id===e),l=i?.watchChannels?.find(e=>e?.id===t)??null;if(l)return{watchTitle:i.title,watchId:e,...l}}return null},o=e=>l(i.watchIdSelector(e),i.channelIdSelector(e),i.watchesSelector(e)),r=()=>{let e=(0,a.useSelector)(i.watchIdSelector),o=(0,a.useSelector)(i.channelIdSelector),r=(0,a.useSelector)(i.watchesSelector);return(0,t.useMemo)(()=>l(e,o,r),[e,o,r])};e.s(["getChannelFromStore",0,o,"useChannelFromStore",0,r])},648761,e=>{e.v(t=>Promise.all(["static/chunks/0wh3aut1ek_3j.js"].map(t=>e.l(t))).then(()=>t(493594)))},828805,e=>{e.v(e=>Promise.resolve().then(()=>e(879466)))},170585,e=>{e.v(t=>Promise.all(["static/chunks/13lt0teg9ujw-.js"].map(t=>e.l(t))).then(()=>t(350979)))},701714,e=>{e.v(t=>Promise.all(["static/chunks/13dmbw~~ndgpf.js"].map(t=>e.l(t))).then(()=>t(717946)))},886007,e=>{e.v(t=>Promise.all(["static/chunks/12rn7qh.g7kfi.js","static/chunks/0j._.8dj_o1ng.js"].map(t=>e.l(t))).then(()=>t(411168)))},996849,e=>{e.v(t=>Promise.all(["static/chunks/0l04u2aaqc6xs.js"].map(t=>e.l(t))).then(()=>t(28394)))},948894,e=>{e.v(t=>Promise.all(["static/chunks/112.z-nlrd5eu.js","static/chunks/0mc8n1grlznq_.js","static/chunks/0rug4m84t8e_p.css","static/chunks/0ana~6_n9heom.css"].map(t=>e.l(t))).then(()=>t(681927)))},563121,e=>{e.v(t=>Promise.all(["static/chunks/0mrghie696or7.js","static/chunks/02huesx7uzyjt.js","static/chunks/184e4_bq4.qo1.js","static/chunks/1532gvp1s.dhp.js"].map(t=>e.l(t))).then(()=>t(605144)))},719289,e=>{e.v(t=>Promise.all(["static/chunks/0uyve8pl1a41k.js","static/chunks/18c9oo2gsjily.js","static/chunks/0dq8ct8jjqsts.js","static/chunks/0-clhx_mcbr9t.js","static/chunks/16_hkzrb5xz89.js"].map(t=>e.l(t))).then(()=>t(993616)))},58995,e=>{e.v(t=>Promise.all(["static/chunks/0gotm~zm1m-5-.js","static/chunks/0cgjl09ia-~.i.js","static/chunks/0ew2ln-p960nc.js","static/chunks/0jneowpue4rw0.js","static/chunks/03hqd-9yu3-ff.js","static/chunks/0drpnctywetxk.js"].map(t=>e.l(t))).then(()=>t(981664)))},158586,e=>{e.v(t=>Promise.all(["static/chunks/0gotm~zm1m-5-.js","static/chunks/0cgjl09ia-~.i.js","static/chunks/14hbcrfu75sqb.js","static/chunks/0jneowpue4rw0.js","static/chunks/03hqd-9yu3-ff.js","static/chunks/0drpnctywetxk.js"].map(t=>e.l(t))).then(()=>t(989202)))},430670,e=>{e.v(t=>Promise.all(["static/chunks/0usagfahm83iy.js","static/chunks/1833p-41wqo~p.js","static/chunks/0jneowpue4rw0.js","static/chunks/09rau3tym.8_i.js","static/chunks/03hqd-9yu3-ff.js"].map(t=>e.l(t))).then(()=>t(793114)))},142656,e=>{e.v(t=>Promise.all(["static/chunks/0oa~mbi2l1hiz.js","static/chunks/0_6.1p6s9mo73.js","static/chunks/0mrghie696or7.js"].map(t=>e.l(t))).then(()=>t(245447)))},316038,e=>{e.v(t=>Promise.all(["static/chunks/0v7try85wedkq.js","static/chunks/0__aq~1v396cz.js","static/chunks/0dq8ct8jjqsts.js","static/chunks/0sa_se7h5at2t.js"].map(t=>e.l(t))).then(()=>t(610321)))},257952,e=>{e.v(t=>Promise.all(["static/chunks/0-.cjoc3h9cw3.js","static/chunks/0cgjl09ia-~.i.js","static/chunks/0-58lyvjh.c~n.js","static/chunks/0aft-9z_m5oem.js","static/chunks/03hqd-9yu3-ff.js"].map(t=>e.l(t))).then(()=>t(646531)))},789396,e=>{e.v(t=>Promise.all(["static/chunks/0gotm~zm1m-5-.js","static/chunks/0cgjl09ia-~.i.js","static/chunks/0jee3jh_2rqbu.js","static/chunks/0jneowpue4rw0.js","static/chunks/03hqd-9yu3-ff.js","static/chunks/0drpnctywetxk.js"].map(t=>e.l(t))).then(()=>t(929412)))},604771,e=>{e.v(t=>Promise.all(["static/chunks/0_rsg9pm5ac89.js","static/chunks/0a4_l81g.p03x.js","static/chunks/03hqd-9yu3-ff.js"].map(t=>e.l(t))).then(()=>t(587081)))},38090,e=>{e.v(t=>Promise.all(["static/chunks/0zr0x7u25la8w.js","static/chunks/1833p-41wqo~p.js","static/chunks/0jneowpue4rw0.js","static/chunks/09rau3tym.8_i.js","static/chunks/03hqd-9yu3-ff.js"].map(t=>e.l(t))).then(()=>t(485339)))},143081,e=>{e.v(t=>Promise.all(["static/chunks/11g8pb-5u937m.js","static/chunks/1833p-41wqo~p.js","static/chunks/0jneowpue4rw0.js","static/chunks/09rau3tym.8_i.js","static/chunks/03hqd-9yu3-ff.js"].map(t=>e.l(t))).then(()=>t(21572)))},925357,e=>{e.v(t=>Promise.all(["static/chunks/09p663pe31r__.js","static/chunks/1833p-41wqo~p.js","static/chunks/0jneowpue4rw0.js","static/chunks/09rau3tym.8_i.js","static/chunks/03hqd-9yu3-ff.js"].map(t=>e.l(t))).then(()=>t(479972)))},704061,e=>{e.v(t=>Promise.all(["static/chunks/0o3knj95o_jnv.js"].map(t=>e.l(t))).then(()=>t(212583)))},89307,e=>{e.v(t=>Promise.all(["static/chunks/0nze43nuxvk28.css","static/chunks/0rug4m84t8e_p.css","static/chunks/0v.etic0zbl-g.js"].map(t=>e.l(t))).then(()=>t(23916)))}]); 624 625//# sourceMappingURL=0obuf-uvm-yff.js.map
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.