Module 738419

2,247 characters · in no known chunk
Dependencies
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{AL:()=>_,CE:()=>c,Cq:()=>g,G8:()=>l,G_:()=>S,HU:()=>f,PT:()=>E,QJ:()=>A,VE:()=>d,Yl:()=>N,b0:()=>v,dR:()=>I,f1:()=>p,l6:()=>m,mx:()=>h,uk:()=>y,wb:()=>C,y4:()=>T});var r=n(64700),i=n(688810),s=n(954571),a=n(652215),o=n(788868),l=function(e){return e.APPEARANCE_SETTINGS="appearance_settings",e.PREVIEW_THEMES="preview_themes",e}({});let u="manual",c=()=>{u="manual",s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"hex_input"})},d=()=>{u="manual",s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"color_picker"})},_=()=>{s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"eye_dropper"})},f=()=>{u="manual",s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"add_color"})},p=()=>{u="manual",s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"remove_color"})},h=()=>{s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"color_selected"})},m=()=>{u="manual",s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"gradient_direction_input"})},E=()=>{u="manual",s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"gradient_direction"})},g=()=>{u="manual",s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"color_intensity_input"})},A=()=>{u="manual",s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"color_intensity"})},I=()=>{u="manual",s.default.track(a.HAw.CUSTOM_THEMES_EDITOR_CONTROLS_CHANGED,{control_name:"base_theme"})},T=()=>{u="surprise_me",s.default.track(a.HAw.CUSTOM_THEMES_SURPRISE_BUTTON_CLICKED,{})},S=()=>{u="manual",s.default.track(a.HAw.CUSTOM_THEME_RESET_BUTTON_CLICKED,{})},y=()=>{s.default.track(a.HAw.CUSTOM_THEMES_BACK_BUTTON_CLICKED,{})},v=e=>{s.default.track(a.HAw.CUSTOM_THEMES_BANNER_CLICKED,{banner_location:e})},N=(e,t,n,r,i)=>{s.default.track(a.HAw.CUSTOM_THEMES_UPDATED,{colors:e,color_intensity:t,gradient_angle:n,base_theme:r,location_stack:i,creation_method:u}),u="manual"},C=(e,t)=>{let{analyticsLocations:n}=(0,i.Ay)(t);r.useEffect(()=>{e||s.default.track(a.HAw.PREMIUM_UPSELL_VIEWED,{type:o.e.CUSTOM_THEMES_UPSELL,location_stack:n})},[e,n])}}