PageSourceSearch

https://clutterbug.me/wp-content/plugins/shopwp-pro/dist/SettingCh…tButtonTarget-admin.ae23a80971128da620d6.js

js clutterbug.me collected 2026-09-24 18:48:22 UTC 3,090 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["SettingCheckoutButtonTarget-admin"],{"./_tmp/admin/js/app/settings/_common/defaults.jsx"(e,t,n){function o(e){return[{label:e.t.a.none,value:"none"},{label:e.t.a.top,value:"top"},{label:e.t.a.center,value:"center"},{label:e.t.a.bottom,value:"bottom"},{label:e.t.a.left,value:"left"},{label:e.t.a.right,value:"right"}]}function l(e){return[{label:e.t.a.none,value:!1},{label:e.t.a[2],value:2},{label:e.t.a[3],value:3}]}function a(e){return[{label:e.t.a.currentTab,value:"_self"},{label:e.t.a.newTab,value:"_blank"}]}function s(e){return[{label:e.t.a.dropdown,value:"dropdown"},{label:e.t.a.buttons,value:"buttons"}]}function u(e){return[{label:e.t.a.none,value:"none"},{label:"Shopify",value:"shopify"},{label:"WordPress",value:"wordpress"},{label:e.t.a.modal,value:"modal"},{label:"External",value:"external"}]}n.d(t,{FE:()=>l,Fd:()=>u,GS:()=>s,HH:()=>o,P1:()=>a})},"./_tmp/admin/js/app/settings/_common/select.jsx"(e,t,n){n.d(t,{l:()=>s});var o=n("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),l=n("./node_modules/@emotion/react/dist/emotion-react.browser.esm.js"),a=n("./_tmp/admin/js/app/settings/_state/context.js");function s(e){var t=e.settingsKey,n=e.help,s=e.label,u=e.options,i=void 0!==u&&u,p=e.disableWhen,r=void 0===p?[]:p,c=e.customCSS,m=void 0!==c&&c,b=e.multiple,d=void 0!==b&&b,h=e.alsoChange,v=void 0!==h&&h,f=e.customOnChange,_=void 0!==f&&f,g=e.customValue,j=void 0!==g&&g,y=wp.components.SelectControl,k=wp.element,w=k.useContext,x=k.useState,C=k.useEffect,S=w(a.A),T=(0,o.A)(S,2),A=T[0],E=T[1],W=x((function(){return"syncByWebhooks"===t&&"string"==typeof A.syncByWebhooks?A.syncByWebhooks.split(","):d&&!A[t]?[]:A[t]})),B=(0,o.A)(W,2),P=B[0],G=B[1];function H(e){if(!e||!e.length)return!1;var t=!1;return e.forEach((function(e){e&&(t=e)})),t}var F=x(H),I=(0,o.A)(F,2),K=I[0],Y=I[1];C((function(){Y(H(r))}),r);var D=(0,l.AH)(".components-select-control{flex-direction:column;justify-content:flex-start;align-items:flex-start;.components-input-control__container,.components-select-control__input{min-height:",d?"200px":"auto","!important;}}.components-input-control__label{font-weight:bold;}.components-select-control__input[multiple]{min-height:200px!important;overflow:scroll!important;};label:selectStyles;");return(0,l.Y)("div",{css:[D,m,";label:Select;"],id:"shopwp-select-control"},(0,l.Y)(y,{disabled:K,value:j||P,options:i,onChange:_||function(e){G(e),E({type:"UPDATE_SETTING",payload:{key:t,value:e}}),v&&v(e)},help:n,label:s,multiple:d}))}},"./_tmp/admin/js/app/settings/checkout/checkout-button-target.jsx"(e,t,n){n.r(t),n.d(t,{default:()=>s});var o=n("./_tmp/admin/js/app/settings/_common/defaults.jsx"),l=n("./_tmp/admin/js/app/settings/_common/select.jsx"),a=n("./_tmp/admin/js/app/admin/_state/hooks.js");const s=function(){var e=(0,a.G)(),t=(0,o.P1)(e);return t.push({label:e.t.a.popout,value:"popout"}),React.createElement(l.l,{settingsKey:"checkoutButtonTarget",options:t,label:e.t.a.openCheckoutIn,help:"Whether to open the checkout in a new tab or not"})}}}]);

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.