PageSourceSearch

https://troutmuseumart.org/wp-content/plugins/shopwp-pro/dist/Sett…idePagination-admin.e243e95ae46135c4b348.js

js troutmuseumart.org collected 2026-10-09 18:14:24 UTC 2,198 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["SettingLayoutHidePagination-admin"],{"./_tmp/admin/js/app/settings/_common/toggle.jsx"(e,t,a){a.d(t,{A:()=>m});var n=a("./node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),o=a("./node_modules/@emotion/react/dist/emotion-react.browser.esm.js"),i=a("./_tmp/admin/js/app/settings/_state/context.js");const s=wp.element.memo((function(e){var t=e.settingName,a=e.onChange,n=e.label,o=e.help,i=e.note,s=e.noticeCSS,l=wp.components,m=l.ToggleControl,p=l.Notice;return React.createElement(React.Fragment,null,React.createElement(m,{checked:t,onChange:a,label:n,help:o,className:i&&t&&"shopwp-toggle-has-note"}),i&&t&&React.createElement(p,{isDismissible:!1,css:s,status:"warning"},i))}));var l={name:"1cirfju-noticeCSS",styles:"&&{margin-left:0!important;margin-right:0!important;margin-bottom:3em!important;};label:noticeCSS;"};const m=wp.element.memo((function(e){var t=e.settingName,a=void 0!==t&&t,m=e.label,p=void 0!==m&&m,r=e.help,c=void 0!==r&&r,d=e.note,g=void 0!==d&&d,h=e.alsoChange,u=void 0!==h&&h,v=e.disable,b=void 0!==v&&v,f=e.showNote,C=void 0===f||f,_=e.alsoTurnOff,w=void 0!==_&&_,y=e.callback,S=void 0!==y&&y,j=wp.element.useContext,T=wp.components.Disabled,E=j(i.A),N=(0,n.A)(E,2),k=N[0],A=N[1],P=l;function R(){var e=!k[a];A({type:"UPDATE_SETTING",payload:{key:a,value:e}}),0==e&&w&&w.forEach((function(e){A({type:"UPDATE_SETTING",payload:{key:e,value:!1}})})),u&&A({type:"UPDATE_SETTING",payload:{key:u,value:!k[u]}}),S&&S(e)}return(0,o.Y)(React.Fragment,null,b?(0,o.Y)(T,null,(0,o.Y)(s,{settingName:k[a],onChange:R,label:p,help:c,note:!!C&&g,noticeCSS:P})):(0,o.Y)(s,{settingName:k[a],onChange:R,label:p,help:c,note:!!C&&g,noticeCSS:P}))}))},"./_tmp/admin/js/app/settings/layout/hide-pagination.jsx"(e,t,a){a.r(t),a.d(t,{default:()=>i});var n=a("./_tmp/admin/js/app/settings/_common/toggle.jsx"),o=a("./_tmp/admin/js/app/admin/_state/hooks.js");const i=function(){var e=(0,o.G)();return React.createElement(n.A,{label:e.t.a.hidePag,settingName:"hidePagination",help:"Whether to hide pagination by default for all products. Can be overridden via shortcodes with the hide_pagination attribute."})}}}]);

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.