PATH:
home
/
lab2454c
/
credityork.com
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
admin
/
wp-admin-scripts
!function(){"use strict";var e={};(function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e);var t=window.wp.element,a=window.wp.i18n,o=window.wp.components,n=window.wp.data,c=window.wp.compose,r=window.wc.data,i=window.wc.tracks,s=window.wc.explat;const d=(0,c.compose)((0,n.withDispatch)((e=>{const{updateOptions:t}=e(r.OPTIONS_STORE_NAME);return{updateOptions:t}})))((e=>{let{updateOptions:n}=e;const[c,r]=(0,t.useState)(!1),[d,m]=(0,t.useState)(!1),l=(0,t.useRef)(document.querySelector("#woocommerce_navigation_enabled")),u=async e=>("function"==typeof window.wcTracks.enable&&(e?window.wcTracks.enable((()=>{(0,s.initializeExPlat)()})):window.wcTracks.isEnabled=!1),e&&(0,i.recordEvent)("settings_features_tracking_enabled"),n({woocommerce_allow_tracking:e?"yes":"no"}));return(0,t.useEffect)((()=>{if(!l.current)return;const e=e=>{e.target.checked&&(e.target.checked=!1,r(!0))},t=l.current;return t.addEventListener("change",e,!1),()=>t.removeEventListener("change",e)}),[]),l.current&&c?(0,t.createElement)(o.Modal,{title:(0,a.__)("Build a Better WooCommerce","woocommerce"),onRequestClose:()=>r(!1),className:"woocommerce-beta-features-tracking-modal"},(0,t.createElement)("p",null,(0,a.__)("Testing new features requires sharing non-sensitive data via ","woocommerce"),(0,t.createElement)("a",{href:"https://woocommerce.com/usage-tracking?utm_medium=product"},(0,a.__)("usage tracking","woocommerce")),(0,a.__)(". Gathering usage data allows us to make WooCommerce better — your store will be considered as we evaluate new features, judge the quality of an update, or determine if an improvement makes sense. No personal data is tracked or stored and you can opt-out at any time.","woocommerce")),(0,t.createElement)("div",{className:"woocommerce-beta-features-tracking-modal__checkbox"},(0,t.createElement)(o.CheckboxControl,{label:"Enable usage tracking",onChange:m,checked:d})),(0,t.createElement)("div",{className:"woocommerce-beta-features-tracking-modal__actions"},(0,t.createElement)(o.Button,{isPrimary:!0,onClick:async()=>{d?(await u(!0),l.current.checked=!0):await u(!1),r(!1)}},(0,a.__)("Save","woocommerce")))):null})),m=document.createElement("div");m.setAttribute("id","beta-features-tracking"),(0,t.render)((0,t.createElement)(d,null),document.body.appendChild(m)),(window.wc=window.wc||{}).betaFeaturesTrackingModal=e}();
[-] onboarding-tax-notice.js
[edit]
[-] product-tour.js
[edit]
[-] category-tracking.js
[edit]
[-] settings-tracking.js
[edit]
[-] tags-tracking.asset.php
[edit]
[-] marketing-coupons.js
[edit]
[-] settings-tracking.asset.php
[edit]
[-] add-term-tracking.asset.php
[edit]
[-] order-tracking.asset.php
[edit]
[-] print-shipping-label-banner.asset.php
[edit]
[+]
..
[-] print-shipping-label-banner.js
[edit]
[-] wc-addons-tour.asset.php
[edit]
[-] marketing-coupons.asset.php
[edit]
[-] product-tour.asset.php
[edit]
[-] category-tracking.asset.php
[edit]
[-] tags-tracking.js
[edit]
[-] onboarding-product-notice.asset.php
[edit]
[-] payment-method-promotions.js
[edit]
[-] product-import-tracking.js
[edit]
[-] wc-addons-tour.js
[edit]
[-] marketing-coupons.js.LICENSE.txt
[edit]
[-] onboarding-load-sample-products-notice.js
[edit]
[-] attributes-tracking.asset.php
[edit]
[-] variable-product-tour.js
[edit]
[-] beta-features-tracking-modal.js
[edit]
[-] navigation-opt-out.asset.php
[edit]
[-] attributes-tracking.js
[edit]
[-] variable-product-tour.asset.php
[edit]
[-] onboarding-product-notice.js
[edit]
[-] onboarding-product-import-notice.js
[edit]
[-] product-import-tracking.asset.php
[edit]
[-] add-term-tracking.js
[edit]
[-] onboarding-load-sample-products-notice.asset.php
[edit]
[-] product-tracking.asset.php
[edit]
[-] order-tracking.js
[edit]
[-] payment-method-promotions.asset.php
[edit]
[-] payment-method-promotions.js.LICENSE.txt
[edit]
[-] onboarding-product-import-notice.asset.php
[edit]
[-] onboarding-homepage-notice.asset.php
[edit]
[-] onboarding-homepage-notice.js
[edit]
[-] onboarding-tax-notice.asset.php
[edit]
[-] product-tracking.js
[edit]
[-] beta-features-tracking-modal.asset.php
[edit]
[-] navigation-opt-out.js
[edit]