Version Description
- Test with WordPress 6.1.1 and PHP 8.
Download this release
Release Info
Developer | socialmediafeather |
Plugin | Social Media Feather | social media sharing |
Version | 2.1.3 |
Comparing to | |
See all releases |
Code changes from version 2.1.2 to 2.1.3
- build/index.asset.php +1 -1
- build/index.js +1 -1
- readme.txt +6 -3
- social-media-feather.php +2 -2
build/index.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => 'e2ad51e4c988616e27cf7fe7bfebfea2');
|
build/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
/*! For license information please see index.js.LICENSE.txt */
|
2 |
-
(self.webpackChunksocial_media_feather=self.webpackChunksocial_media_feather||[]).push([[826],{595:function(e,t,a){"use strict";var l=window.wp.element,n=window.ReactDOM,o=a.n(n),r=window.wp.domReady,i=a.n(r),s=a(196),c=a.n(s),u=window.wp.apiFetch,d=a.n(u),m=window.wp.i18n,p=window.lodash,f=a.n(p),h=a(184),b=a.n(h),_=a(893);const g=s.createContext({prefixes:{}}),{Consumer:y,Provider:v}=g;function w(e,t){const{prefixes:a}=(0,s.useContext)(g);return e||a[t]||t}const x=s.forwardRef((({bsPrefix:e,fluid:t,as:a="div",className:l,...n},o)=>{const r=w(e,"container"),i="string"==typeof t?`-${t}`:"-fluid";return(0,_.jsx)(a,{ref:o,...n,className:b()(l,t?`${r}${i}`:r)})}));x.displayName="Container",x.defaultProps={fluid:!1};var E=x,k=a(697),S=a.n(k);const N={type:S().string,tooltip:S().bool,as:S().elementType},C=s.forwardRef((({as:e="div",className:t,type:a="valid",tooltip:l=!1,...n},o)=>(0,_.jsx)(e,{...n,ref:o,className:b()(t,`${a}-${l?"tooltip":"feedback"}`)})));C.displayName="Feedback",C.propTypes=N;var F=C,T=s.createContext({});const P=s.forwardRef((({id:e,bsPrefix:t,className:a,type:l="checkbox",isValid:n=!1,isInvalid:o=!1,as:r="input",...i},c)=>{const{controlId:u}=(0,s.useContext)(T);return t=w(t,"form-check-input"),(0,_.jsx)(r,{...i,ref:c,type:l,id:e||u,className:b()(a,t,n&&"is-valid",o&&"is-invalid")})}));P.displayName="FormCheckInput";var M=P;const O=s.forwardRef((({bsPrefix:e,className:t,htmlFor:a,...l},n)=>{const{controlId:o}=(0,s.useContext)(T);return e=w(e,"form-check-label"),(0,_.jsx)("label",{...l,ref:n,htmlFor:a||o,className:b()(t,e)})}));O.displayName="FormCheckLabel";var j=O;function L(e,t){let a=0;return s.Children.map(e,(e=>s.isValidElement(e)?t(e,a++):e))}const I=s.forwardRef((({id:e,bsPrefix:t,bsSwitchPrefix:a,inline:l=!1,disabled:n=!1,isValid:o=!1,isInvalid:r=!1,feedbackTooltip:i=!1,feedback:c,feedbackType:u,className:d,style:m,title:p="",type:f="checkbox",label:h,children:g,as:y="input",...v},x)=>{t=w(t,"form-check"),a=w(a,"form-switch");const{controlId:E}=(0,s.useContext)(T),k=(0,s.useMemo)((()=>({controlId:e||E})),[E,e]),S=!g&&null!=h&&!1!==h||function(e,t){return s.Children.toArray(e).some((e=>s.isValidElement(e)&&e.type===t))}(g,j),N=(0,_.jsx)(M,{...v,type:"switch"===f?"checkbox":f,ref:x,isValid:o,isInvalid:r,disabled:n,as:y});return(0,_.jsx)(T.Provider,{value:k,children:(0,_.jsx)("div",{style:m,className:b()(d,S&&t,l&&`${t}-inline`,"switch"===f&&a),children:g||(0,_.jsxs)(_.Fragment,{children:[N,S&&(0,_.jsx)(j,{title:p,children:h}),c&&(0,_.jsx)(F,{type:u,tooltip:i,children:c})]})})})}));I.displayName="FormCheck";var R=Object.assign(I,{Input:M,Label:j});a(473);const $=s.forwardRef((({bsPrefix:e,type:t,size:a,htmlSize:l,id:n,className:o,isValid:r=!1,isInvalid:i=!1,plaintext:c,readOnly:u,as:d="input",...m},p)=>{const{controlId:f}=(0,s.useContext)(T);let h;return e=w(e,"form-control"),h=c?{[`${e}-plaintext`]:!0}:{[e]:!0,[`${e}-${a}`]:a},(0,_.jsx)(d,{...m,type:t,size:l,ref:p,readOnly:u,id:n||f,className:b()(o,h,r&&"is-valid",i&&"is-invalid","color"===t&&`${e}-color`)})}));$.displayName="FormControl";var A=Object.assign($,{Feedback:F}),D=/-(.)/g;const G=e=>{return e[0].toUpperCase()+(t=e,t.replace(D,(function(e,t){return t.toUpperCase()}))).slice(1);var t};function K(e,{displayName:t=G(e),Component:a,defaultProps:l}={}){const n=s.forwardRef((({className:t,bsPrefix:l,as:n=a||"div",...o},r)=>{const i=w(l,e);return(0,_.jsx)(n,{ref:r,className:b()(t,i),...o})}));return n.defaultProps=l,n.displayName=t,n}var B=K("form-floating");const U=s.forwardRef((({controlId:e,as:t="div",...a},l)=>{const n=(0,s.useMemo)((()=>({controlId:e})),[e]);return(0,_.jsx)(T.Provider,{value:n,children:(0,_.jsx)(t,{...a,ref:l})})}));U.displayName="FormGroup";var q=U;const W=["xxl","xl","lg","md","sm","xs"],z=s.forwardRef(((e,t)=>{const[{className:a,...l},{as:n="div",bsPrefix:o,spans:r}]=function({as:e,bsPrefix:t,className:a,...l}){t=w(t,"col");const n=[],o=[];return W.forEach((e=>{const a=l[e];let r,i,s;delete l[e],"object"==typeof a&&null!=a?({span:r,offset:i,order:s}=a):r=a;const c="xs"!==e?`-${e}`:"";r&&n.push(!0===r?`${t}${c}`:`${t}${c}-${r}`),null!=s&&o.push(`order${c}-${s}`),null!=i&&o.push(`offset${c}-${i}`)})),[{...l,className:b()(a,...n,...o)},{as:e,bsPrefix:t,spans:n}]}(e);return(0,_.jsx)(n,{...l,ref:t,className:b()(a,!r.length&&o)})}));z.displayName="Col";var V=z;const H=s.forwardRef((({as:e="label",bsPrefix:t,column:a,visuallyHidden:l,className:n,htmlFor:o,...r},i)=>{const{controlId:c}=(0,s.useContext)(T);t=w(t,"form-label");let u="col-form-label";"string"==typeof a&&(u=`${u} ${u}-${a}`);const d=b()(n,t,l&&"visually-hidden",a&&u);return o=o||c,a?(0,_.jsx)(V,{ref:i,as:"label",className:d,htmlFor:o,...r}):(0,_.jsx)(e,{ref:i,className:d,htmlFor:o,...r})}));H.displayName="FormLabel",H.defaultProps={column:!1,visuallyHidden:!1};var Y=H;const X=s.forwardRef((({bsPrefix:e,className:t,id:a,...l},n)=>{const{controlId:o}=(0,s.useContext)(T);return e=w(e,"form-range"),(0,_.jsx)("input",{...l,type:"range",ref:n,className:b()(t,e),id:a||o})}));X.displayName="FormRange";var Z=X;const J=s.forwardRef((({bsPrefix:e,size:t,htmlSize:a,className:l,isValid:n=!1,isInvalid:o=!1,id:r,...i},c)=>{const{controlId:u}=(0,s.useContext)(T);return e=w(e,"form-select"),(0,_.jsx)("select",{...i,size:a,ref:c,className:b()(l,e,t&&`${e}-${t}`,n&&"is-valid",o&&"is-invalid"),id:r||u})}));J.displayName="FormSelect";var Q=J;const ee=s.forwardRef((({bsPrefix:e,className:t,as:a="small",muted:l,...n},o)=>(e=w(e,"form-text"),(0,_.jsx)(a,{...n,ref:o,className:b()(t,e,l&&"text-muted")}))));ee.displayName="FormText";var te=ee;const ae=s.forwardRef(((e,t)=>(0,_.jsx)(R,{...e,ref:t,type:"switch"})));ae.displayName="Switch";var le=Object.assign(ae,{Input:R.Input,Label:R.Label});const ne=s.forwardRef((({bsPrefix:e,className:t,children:a,controlId:l,label:n,...o},r)=>(e=w(e,"form-floating"),(0,_.jsxs)(q,{ref:r,className:b()(t,e),controlId:l,...o,children:[a,(0,_.jsx)("label",{htmlFor:l,children:n})]}))));ne.displayName="FloatingLabel";var oe=ne;const re={_ref:S().any,validated:S().bool,as:S().elementType},ie=s.forwardRef((({className:e,validated:t,as:a="form",...l},n)=>(0,_.jsx)(a,{...l,ref:n,className:b()(e,t&&"was-validated")})));ie.displayName="Form",ie.propTypes=re;var se=Object.assign(ie,{Group:q,Control:A,Floating:B,Check:R,Switch:le,Label:Y,Text:te,Range:Z,Select:Q,FloatingLabel:oe});const ce=["xxl","xl","lg","md","sm","xs"],ue=s.forwardRef((({bsPrefix:e,className:t,as:a="div",...l},n)=>{const o=w(e,"row"),r=`${o}-cols`,i=[];return ce.forEach((e=>{const t=l[e];let a;delete l[e],null!=t&&"object"==typeof t?({cols:a}=t):a=t;const n="xs"!==e?`-${e}`:"";null!=a&&i.push(`${r}${n}-${a}`)})),(0,_.jsx)(a,{ref:n,...l,className:b()(t,o,...i)})}));ue.displayName="Row";var de=ue;function me(){return me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},me.apply(this,arguments)}function pe(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}function fe(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function he(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var l=a.call(e,t);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function be(e,t,a){var l=(0,s.useRef)(void 0!==e),n=(0,s.useState)(t),o=n[0],r=n[1],i=void 0!==e,c=l.current;return l.current=i,!i&&c&&o!==t&&r(t),[i?e:o,(0,s.useCallback)((function(e){for(var t=arguments.length,l=new Array(t>1?t-1:0),n=1;n<t;n++)l[n-1]=arguments[n];a&&a.apply(void 0,[e].concat(l)),r(e)}),[a])]}function _e(e,t){return Object.keys(t).reduce((function(a,l){var n,o=a,r=o[fe(l)],i=o[l],s=pe(o,[fe(l),l].map(he)),c=t[l],u=be(i,r,e[c]),d=u[0],m=u[1];return me({},s,((n={})[l]=d,n[c]=m,n))}),e)}function ge(e,t,a,l){Object.defineProperty(e,t,{get:a,set:l,enumerable:!0,configurable:!0})}a(143);var ye={};ge(ye,"SSRProvider",(()=>xe)),ge(ye,"useSSRSafeId",(()=>ke)),ge(ye,"useIsSSR",(()=>Se));const ve={prefix:String(Math.round(1e10*Math.random())),current:0},we=c().createContext(ve);function xe(e){let t=(0,s.useContext)(we),a=(0,s.useMemo)((()=>({prefix:t===ve?"":`${t.prefix}-${++t.current}`,current:0})),[t]);return c().createElement(we.Provider,{value:a},e.children)}let Ee=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function ke(e){let t=(0,s.useContext)(we);return t!==ve||Ee||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),(0,s.useMemo)((()=>e||`react-aria${t.prefix}-${++t.current}`),[e])}function Se(){let e=(0,s.useContext)(we)!==ve,[t,a]=(0,s.useState)(e);return"undefined"!=typeof window&&e&&(0,s.useLayoutEffect)((()=>{a(!1)}),[]),t}var Ne=s.createContext(null);const Ce=(e,t=null)=>null!=e?String(e):t||null;var Fe=s.createContext(null),Te=function({children:e,in:t,mountOnEnter:a,unmountOnExit:l}){const n=(0,s.useRef)(t);return(0,s.useEffect)((()=>{t&&(n.current=!0)}),[t]),t?e:l||!n.current&&a?null:e};const Pe=["active","eventKey","mountOnEnter","transition","unmountOnExit","role"],Me=["activeKey","getControlledId","getControllerId"],Oe=["as"];function je(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}function Le(e){let{active:t,eventKey:a,mountOnEnter:l,transition:n,unmountOnExit:o,role:r="tabpanel"}=e,i=je(e,Pe);const c=(0,s.useContext)(Ne);if(!c)return[Object.assign({},i,{role:r}),{eventKey:a,isActive:t,mountOnEnter:l,transition:n,unmountOnExit:o}];const{activeKey:u,getControlledId:d,getControllerId:m}=c,p=je(c,Me),f=Ce(a);return[Object.assign({},i,{role:r,id:d(a),"aria-labelledby":m(a)}),{eventKey:a,isActive:null==t&&null!=f?Ce(u)===f:t,transition:n||p.transition,mountOnEnter:null!=l?l:p.mountOnEnter,unmountOnExit:null!=o?o:p.unmountOnExit}]}const Ie=s.forwardRef(((e,t)=>{let{as:a="div"}=e,l=je(e,Oe);const[n,{isActive:o,onEnter:r,onEntering:i,onEntered:s,onExit:c,onExiting:u,onExited:d,mountOnEnter:m,unmountOnExit:p,transition:f=Te}]=Le(l);return(0,_.jsx)(Ne.Provider,{value:null,children:(0,_.jsx)(Fe.Provider,{value:null,children:(0,_.jsx)(f,{in:o,onEnter:r,onEntering:i,onEntered:s,onExit:c,onExiting:u,onExited:d,mountOnEnter:m,unmountOnExit:p,children:(0,_.jsx)(a,Object.assign({},n,{ref:t,hidden:!o,"aria-hidden":!o}))})})})}));Ie.displayName="TabPanel";const Re=e=>{const{id:t,generateChildId:a,onSelect:l,activeKey:n,defaultActiveKey:o,transition:r,mountOnEnter:i,unmountOnExit:c,children:u}=e,[d,m]=be(n,o,l),p=ke(t),f=(0,s.useMemo)((()=>a||((e,t)=>p?`${p}-${t}-${e}`:null)),[p,a]),h=(0,s.useMemo)((()=>({onSelect:m,activeKey:d,transition:r,mountOnEnter:i||!1,unmountOnExit:c||!1,getControlledId:e=>f(e,"tabpane"),getControllerId:e=>f(e,"tab")})),[m,d,r,i,c,f]);return(0,_.jsx)(Ne.Provider,{value:h,children:(0,_.jsx)(Fe.Provider,{value:m||null,children:u})})};Re.Panel=Ie;var $e=Re,Ae=(a(391),Function.prototype.bind.call(Function.prototype.call,[].slice)),De=function(e){return e&&"function"!=typeof e?function(t){e.current=t}:e},Ge=function(e,t){return(0,s.useMemo)((function(){return function(e,t){var a=De(e),l=De(t);return function(e){a&&a(e),l&&l(e)}}(e,t)}),[e,t])};const Ke=s.createContext(null);Ke.displayName="NavContext";var Be=Ke;function Ue(e){return`data-rr-ui-${e}`}function qe(e){var t=function(e){var t=(0,s.useRef)(e);return(0,s.useEffect)((function(){t.current=e}),[e]),t}(e);return(0,s.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}const We=["as","disabled"];function ze({tagName:e,disabled:t,href:a,target:l,rel:n,onClick:o,tabIndex:r=0,type:i}){e||(e=null!=a||null!=l||null!=n?"a":"button");const s={tagName:e};if("button"===e)return[{type:i||"button",disabled:t},s];const c=l=>{(t||"a"===e&&function(e){return!e||"#"===e.trim()}(a))&&l.preventDefault(),t?l.stopPropagation():null==o||o(l)};return"a"===e&&(a||(a="#"),t&&(a=void 0)),[{role:"button",disabled:void 0,tabIndex:t?void 0:r,href:a,target:"a"===e?l:void 0,"aria-disabled":t||void 0,rel:"a"===e?n:void 0,onClick:c,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),c(e))}},s]}const Ve=s.forwardRef(((e,t)=>{let{as:a,disabled:l}=e,n=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,We);const[o,{tagName:r}]=ze(Object.assign({tagName:a,disabled:l},n));return(0,_.jsx)(r,Object.assign({},n,o,{ref:t}))}));Ve.displayName="Button";var He=Ve;const Ye=["as","active","eventKey"];function Xe({key:e,onClick:t,active:a,id:l,role:n,disabled:o}){const r=(0,s.useContext)(Fe),i=(0,s.useContext)(Be);let c=a;const u={role:n};if(i){n||"tablist"!==i.role||(u.role="tab");const t=i.getControllerId(null!=e?e:null),o=i.getControlledId(null!=e?e:null);u[Ue("event-key")]=e,u.id=t||l,u["aria-controls"]=o,c=null==a&&null!=e?i.activeKey===e:a}return"tab"===u.role&&(o&&(u.tabIndex=-1,u["aria-disabled"]=!0),c?u["aria-selected"]=c:u.tabIndex=-1),u.onClick=qe((a=>{o||(null==t||t(a),null!=e&&r&&!a.isPropagationStopped()&&r(e,a))})),[u,{isActive:c}]}const Ze=s.forwardRef(((e,t)=>{let{as:a=He,active:l,eventKey:n}=e,o=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,Ye);const[r,i]=Xe(Object.assign({key:Ce(n,o.href),active:l},o));return r[Ue("active")]=i.isActive,(0,_.jsx)(a,Object.assign({},o,r,{ref:t}))}));Ze.displayName="NavItem";var Je=Ze;const Qe=["as","onSelect","activeKey","role","onKeyDown"],et=()=>{},tt=Ue("event-key"),at=s.forwardRef(((e,t)=>{let{as:a="div",onSelect:l,activeKey:n,role:o,onKeyDown:r}=e,i=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,Qe);const c=(0,s.useReducer)((function(e){return!e}),!1)[1],u=(0,s.useRef)(!1),d=(0,s.useContext)(Fe),m=(0,s.useContext)(Ne);let p,f;m&&(o=o||"tablist",n=m.activeKey,p=m.getControlledId,f=m.getControllerId);const h=(0,s.useRef)(null),b=e=>{const t=h.current;if(!t)return null;const a=(l=`[${tt}]:not([aria-disabled=true])`,Ae(t.querySelectorAll(l)));var l;const n=t.querySelector("[aria-selected=true]");if(!n)return null;const o=a.indexOf(n);if(-1===o)return null;let r=o+e;return r>=a.length&&(r=0),r<0&&(r=a.length-1),a[r]},g=(e,t)=>{null!=e&&(null==l||l(e,t),null==d||d(e,t))};(0,s.useEffect)((()=>{if(h.current&&u.current){const e=h.current.querySelector(`[${tt}][aria-selected=true]`);null==e||e.focus()}u.current=!1}));const y=Ge(t,h);return(0,_.jsx)(Fe.Provider,{value:g,children:(0,_.jsx)(Be.Provider,{value:{role:o,activeKey:Ce(n),getControlledId:p||et,getControllerId:f||et},children:(0,_.jsx)(a,Object.assign({},i,{onKeyDown:e=>{if(null==r||r(e),!m)return;let t;switch(e.key){case"ArrowLeft":case"ArrowUp":t=b(-1);break;case"ArrowRight":case"ArrowDown":t=b(1);break;default:return}t&&(e.preventDefault(),g(t.dataset[("EventKey","rrUiEventKey")]||null,e),u.current=!0,c())},ref:y,role:o}))})})}));at.displayName="Nav";var lt=Object.assign(at,{Item:Je});const nt=s.createContext(null);nt.displayName="NavbarContext";var ot=nt;const rt=s.createContext(null);rt.displayName="CardHeaderContext";var it=rt,st=K("nav-item"),ct=void 0!==a.g&&a.g.navigator&&"ReactNative"===a.g.navigator.product;"undefined"!=typeof document||ct?s.useLayoutEffect:s.useEffect,new WeakMap;const ut=["onKeyDown"],dt=s.forwardRef(((e,t)=>{let{onKeyDown:a}=e,l=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,ut);const[n]=ze(Object.assign({tagName:"a"},l)),o=qe((e=>{n.onKeyDown(e),null==a||a(e)}));return((r=l.href)&&"#"!==r.trim()||l.role)&&"button"!==l.role?(0,_.jsx)("a",Object.assign({ref:t},l,{onKeyDown:a})):(0,_.jsx)("a",Object.assign({ref:t},l,n,{onKeyDown:o}));var r}));dt.displayName="Anchor";var mt=dt;const pt=s.forwardRef((({bsPrefix:e,className:t,as:a=mt,active:l,eventKey:n,...o},r)=>{e=w(e,"nav-link");const[i,s]=Xe({key:Ce(n,o.href),active:l,...o});return(0,_.jsx)(a,{...o,...i,ref:r,className:b()(t,e,o.disabled&&"disabled",s.isActive&&"active")})}));pt.displayName="NavLink",pt.defaultProps={disabled:!1};var ft=pt;const ht=s.forwardRef(((e,t)=>{const{as:a="div",bsPrefix:l,variant:n,fill:o,justify:r,navbar:i,navbarScroll:c,className:u,activeKey:d,...m}=_e(e,{activeKey:"onSelect"}),p=w(l,"nav");let f,h,g=!1;const y=(0,s.useContext)(ot),v=(0,s.useContext)(it);return y?(f=y.bsPrefix,g=null==i||i):v&&({cardHeaderBsPrefix:h}=v),(0,_.jsx)(lt,{as:a,ref:t,activeKey:d,className:b()(u,{[p]:!g,[`${f}-nav`]:g,[`${f}-nav-scroll`]:g&&c,[`${h}-${n}`]:!!h,[`${p}-${n}`]:!!n,[`${p}-fill`]:o,[`${p}-justified`]:r}),...m})}));ht.displayName="Nav",ht.defaultProps={justify:!1,fill:!1};var bt=Object.assign(ht,{Item:st,Link:ft}),_t=K("tab-content");function gt(e,t){return gt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},gt(e,t)}var yt=c().createContext(null),vt="unmounted",wt="exited",xt="entering",Et="entered",kt="exiting",St=function(e){var t,a;function l(t,a){var l;l=e.call(this,t,a)||this;var n,o=a&&!a.isMounting?t.enter:t.appear;return l.appearStatus=null,t.in?o?(n=wt,l.appearStatus=xt):n=Et:n=t.unmountOnExit||t.mountOnEnter?vt:wt,l.state={status:n},l.nextCallback=null,l}a=e,(t=l).prototype=Object.create(a.prototype),t.prototype.constructor=t,gt(t,a),l.getDerivedStateFromProps=function(e,t){return e.in&&t.status===vt?{status:wt}:null};var n=l.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var a=this.state.status;this.props.in?a!==xt&&a!==Et&&(t=xt):a!==xt&&a!==Et||(t=kt)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,a,l=this.props.timeout;return e=t=a=l,null!=l&&"number"!=typeof l&&(e=l.exit,t=l.enter,a=void 0!==l.appear?l.appear:t),{exit:e,enter:t,appear:a}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===xt?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===wt&&this.setState({status:vt})},n.performEnter=function(e){var t=this,a=this.props.enter,l=this.context?this.context.isMounting:e,n=this.props.nodeRef?[l]:[o().findDOMNode(this),l],r=n[0],i=n[1],s=this.getTimeouts(),c=l?s.appear:s.enter;e||a?(this.props.onEnter(r,i),this.safeSetState({status:xt},(function(){t.props.onEntering(r,i),t.onTransitionEnd(c,(function(){t.safeSetState({status:Et},(function(){t.props.onEntered(r,i)}))}))}))):this.safeSetState({status:Et},(function(){t.props.onEntered(r)}))},n.performExit=function(){var e=this,t=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:o().findDOMNode(this);t?(this.props.onExit(l),this.safeSetState({status:kt},(function(){e.props.onExiting(l),e.onTransitionEnd(a.exit,(function(){e.safeSetState({status:wt},(function(){e.props.onExited(l)}))}))}))):this.safeSetState({status:wt},(function(){e.props.onExited(l)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,a=!0;return this.nextCallback=function(l){a&&(a=!1,t.nextCallback=null,e(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var a=this.props.nodeRef?this.props.nodeRef.current:o().findDOMNode(this),l=null==e&&!this.props.addEndListener;if(a&&!l){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],r=n[0],i=n[1];this.props.addEndListener(r,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===vt)return null;var t=this.props,a=t.children,l=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,pe(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return c().createElement(yt.Provider,{value:null},"function"==typeof a?a(e,l):c().cloneElement(c().Children.only(a),l))},l}(c().Component);function Nt(){}St.contextType=yt,St.propTypes={},St.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Nt,onEntering:Nt,onEntered:Nt,onExit:Nt,onExiting:Nt,onExited:Nt},St.UNMOUNTED=vt,St.EXITED=wt,St.ENTERING=xt,St.ENTERED=Et,St.EXITING=kt;var Ct=St;var Ft=/([A-Z])/g,Tt=/^ms-/;function Pt(e){return function(e){return e.replace(Ft,"-$1").toLowerCase()}(e).replace(Tt,"-ms-")}var Mt=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,Ot=function(e,t){var a="",l="";if("string"==typeof t)return e.style.getPropertyValue(Pt(t))||function(e,t){return function(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}(e).getComputedStyle(e,void 0)}(e).getPropertyValue(Pt(t));Object.keys(t).forEach((function(n){var o=t[n];o||0===o?function(e){return!(!e||!Mt.test(e))}(n)?l+=n+"("+o+") ":a+=Pt(n)+": "+o+";":e.style.removeProperty(Pt(n))})),l&&(a+="transform: "+l+";"),e.style.cssText+=";"+a},jt=!("undefined"==typeof window||!window.document||!window.document.createElement),Lt=!1,It=!1;try{var Rt={get passive(){return Lt=!0},get once(){return It=Lt=!0}};jt&&(window.addEventListener("test",Rt,Rt),window.removeEventListener("test",Rt,!0))}catch(e){}var $t=function(e,t,a,l){return function(e,t,a,l){if(l&&"boolean"!=typeof l&&!It){var n=l.once,o=l.capture,r=a;!It&&n&&(r=a.__once||function e(l){this.removeEventListener(t,e,o),a.call(this,l)},a.__once=r),e.addEventListener(t,r,Lt?l:o)}e.addEventListener(t,a,l)}(e,t,a,l),function(){!function(e,t,a,l){var n=l&&"boolean"!=typeof l?l.capture:l;e.removeEventListener(t,a,n),a.__once&&e.removeEventListener(t,a.__once,n)}(e,t,a,l)}};function At(e,t,a,l){var n,o;null==a&&(o=-1===(n=Ot(e,"transitionDuration")||"").indexOf("ms")?1e3:1,a=parseFloat(n)*o||0);var r=function(e,t,a){void 0===a&&(a=5);var l=!1,n=setTimeout((function(){l||function(e,t,a,l){if(void 0===a&&(a=!1),void 0===l&&(l=!0),e){var n=document.createEvent("HTMLEvents");n.initEvent("transitionend",a,l),e.dispatchEvent(n)}}(e,0,!0)}),t+a),o=$t(e,"transitionend",(function(){l=!0}),{once:!0});return function(){clearTimeout(n),o()}}(e,a,l),i=$t(e,"transitionend",t);return function(){r(),i()}}function Dt(e,t){const a=Ot(e,t)||"",l=-1===a.indexOf("ms")?1e3:1;return parseFloat(a)*l}function Gt(e,t){const a=Dt(e,"transitionDuration"),l=Dt(e,"transitionDelay"),n=At(e,(a=>{a.target===e&&(n(),t(a))}),a+l)}var Kt=c().forwardRef((({onEnter:e,onEntering:t,onEntered:a,onExit:l,onExiting:n,onExited:r,addEndListener:i,children:u,childRef:d,...m},p)=>{const f=(0,s.useRef)(null),h=Ge(f,d),b=e=>{var t;h((t=e)&&"setState"in t?o().findDOMNode(t):null!=t?t:null)},g=e=>t=>{e&&f.current&&e(f.current,t)},y=(0,s.useCallback)(g(e),[e]),v=(0,s.useCallback)(g(t),[t]),w=(0,s.useCallback)(g(a),[a]),x=(0,s.useCallback)(g(l),[l]),E=(0,s.useCallback)(g(n),[n]),k=(0,s.useCallback)(g(r),[r]),S=(0,s.useCallback)(g(i),[i]);return(0,_.jsx)(Ct,{ref:p,...m,onEnter:y,onEntered:w,onEntering:v,onExit:x,onExited:k,onExiting:E,addEndListener:S,nodeRef:f,children:"function"==typeof u?(e,t)=>u(e,{...t,ref:b}):c().cloneElement(u,{ref:b})})}));const Bt={[xt]:"show",[Et]:"show"},Ut=s.forwardRef((({className:e,children:t,transitionClasses:a={},...l},n)=>{const o=(0,s.useCallback)(((e,t)=>{!function(e){e.offsetHeight}(e),null==l.onEnter||l.onEnter(e,t)}),[l]);return(0,_.jsx)(Kt,{ref:n,addEndListener:Gt,...l,onEnter:o,childRef:t.ref,children:(l,n)=>s.cloneElement(t,{...n,className:b()("fade",e,t.props.className,Bt[l],a[l])})})}));Ut.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},Ut.displayName="Fade";var qt=Ut;function Wt(e){return"boolean"==typeof e?e?qt:void 0:e}const zt=s.forwardRef((({bsPrefix:e,transition:t,...a},l)=>{const[{className:n,as:o="div",...r},{isActive:i,onEnter:s,onEntering:c,onEntered:u,onExit:d,onExiting:m,onExited:p,mountOnEnter:f,unmountOnExit:h,transition:g=Te}]=Le({...a,transition:Wt(t)}),y=w(e,"tab-pane");return(0,_.jsx)(Ne.Provider,{value:null,children:(0,_.jsx)(Fe.Provider,{value:null,children:(0,_.jsx)(g,{in:i,onEnter:s,onEntering:c,onEntered:u,onExit:d,onExiting:m,onExited:p,mountOnEnter:f,unmountOnExit:h,children:(0,_.jsx)(o,{...r,ref:l,className:b()(n,y,i&&"active")})})})})}));zt.displayName="TabPane";var Vt=zt;function Ht(e){let t;return function(e,a){s.Children.forEach(e,(e=>{s.isValidElement(e)&&(e=>{null==t&&(t=e.props.eventKey)})(e)}))}(e),t}function Yt(e){const{title:t,eventKey:a,disabled:l,tabClassName:n,id:o}=e.props;return null==t?null:(0,_.jsx)(st,{as:"li",role:"presentation",children:(0,_.jsx)(ft,{as:"button",type:"button",eventKey:a,disabled:l,id:o,className:n,children:t})})}const Xt=e=>{const{id:t,onSelect:a,transition:l,mountOnEnter:n,unmountOnExit:o,children:r,activeKey:i=Ht(r),...s}=_e(e,{activeKey:"onSelect"});return(0,_.jsxs)($e,{id:t,activeKey:i,onSelect:a,transition:Wt(l),mountOnEnter:n,unmountOnExit:o,children:[(0,_.jsx)(bt,{...s,role:"tablist",as:"ul",children:L(r,Yt)}),(0,_.jsx)(_t,{children:L(r,(e=>{const t={...e.props};return delete t.title,delete t.disabled,delete t.tabClassName,(0,_.jsx)(Vt,{...t})}))})]})};Xt.defaultProps={variant:"tabs",mountOnEnter:!1,unmountOnExit:!1},Xt.displayName="Tabs";var Zt=Xt;const Jt=({transition:e,...t})=>(0,_.jsx)($e,{...t,transition:Wt(e)});Jt.displayName="TabContainer";var Qt=Jt;const ea={eventKey:S().oneOfType([S().string,S().number]),title:S().node.isRequired,disabled:S().bool,tabClassName:S().string},ta=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};ta.propTypes=ea;var aa=Object.assign(ta,{Container:Qt,Content:_t,Pane:Vt});S().string,S().bool,S().bool,S().bool,S().bool;const la=s.forwardRef((({bsPrefix:e,className:t,fluid:a,rounded:l,roundedCircle:n,thumbnail:o,...r},i)=>(e=w(e,"img"),(0,_.jsx)("img",{ref:i,...r,className:b()(t,a&&`${e}-fluid`,l&&"rounded",n&&"rounded-circle",o&&`${e}-thumbnail`)}))));la.displayName="Image",la.defaultProps={fluid:!1,rounded:!1,roundedCircle:!1,thumbnail:!1};var na=la;const oa=s.forwardRef((({as:e,bsPrefix:t,variant:a,size:l,active:n,className:o,...r},i)=>{const s=w(t,"btn"),[c,{tagName:u}]=ze({tagName:e,...r}),d=u;return(0,_.jsx)(d,{...c,...r,ref:i,className:b()(o,s,n&&"active",a&&`${s}-${a}`,l&&`${s}-${l}`,r.href&&r.disabled&&"disabled")})}));oa.displayName="Button",oa.defaultProps={variant:"primary",active:!1,disabled:!1};var ra=oa;const ia={accepted_sharethis_terms:!0===f().get(SocialMediaFeather.data,"accepted_sharethis_terms",!1),automatic_append_postfix:f().get(SocialMediaFeather.data,"automatic_append_postfix",""),automatic_append_prefix:f().get(SocialMediaFeather.data,"automatic_append_prefix",""),automatic_append_separator:f().get(SocialMediaFeather.data,"automatic_append_separator","<br />"),automatic_follow:!0===f().get(SocialMediaFeather.data,"automatic_follow",!0),automatic_follow_before_share:!0===f().get(SocialMediaFeather.data,"automatic_follow_before_share",!1),automatic_follow_position:f().get(SocialMediaFeather.data,"automatic_follow_position","after_post"),automatic_follow_postfix:f().get(SocialMediaFeather.data,"automatic_follow_postfix",""),automatic_follow_post_types:f().get(SocialMediaFeather.data,"automatic_follow_post_types",["post"]),automatic_follow_prefix:f().get(SocialMediaFeather.data,"automatic_follow_prefix",""),automatic_follow_single:f().get(SocialMediaFeather.data,"automatic_follow_single",!1),automatic_share:!0===f().get(SocialMediaFeather.data,"automatic_share",!1),automatic_share_prefix:f().get(SocialMediaFeather.data,"automatic_share_prefix",""),automatic_share_position:f().get(SocialMediaFeather.data,"automatic_share_position","after_post"),automatic_share_postfix:f().get(SocialMediaFeather.data,"automatic_share_postfix",""),automatic_share_post_types:f().get(SocialMediaFeather.data,"automatic_share_post_types",["post"]),automatic_share_single:!0===f().get(SocialMediaFeather.data,"automatic_share_single",!1),buttons_alignment_share:f().get(SocialMediaFeather.data,"buttons_alignment_share","none"),buttons_alignment_follow:f().get(SocialMediaFeather.data,"buttons_alignment_follow","none"),buttons_container:f().get(SocialMediaFeather.data,"buttons_container","none"),buttons_container_type:f().get(SocialMediaFeather.data,"buttons_container_type","basic"),custom_style:f().get(SocialMediaFeather.data,"custom_style",""),facebook_display:f().get(SocialMediaFeather.data,"facebook_display","both"),facebook_share_link:f().get(SocialMediaFeather.data,"facebook_share_link",""),facebook_share_title:f().get(SocialMediaFeather.data,"facebook_share_title",""),facebook_follow_link:f().get(SocialMediaFeather.data,"facebook_follow_link",""),facebook_follow_title:f().get(SocialMediaFeather.data,"facebook_follow_title",""),fb_app_id:f().get(SocialMediaFeather.data,"fb_app_id",""),flickr_display:f().get(SocialMediaFeather.data,"flickr_display","follow"),flickr_follow_link:f().get(SocialMediaFeather.data,"flickr_follow_link",""),flickr_follow_title:f().get(SocialMediaFeather.data,"flickr_follow_title",""),foursquare_display:f().get(SocialMediaFeather.data,"foursquare_display","follow"),foursquare_follow_link:f().get(SocialMediaFeather.data,"foursquare_follow_link",""),foursquare_follow_title:f().get(SocialMediaFeather.data,"foursquare_follow_title",""),hide_review:!0===f().get(SocialMediaFeather,"review",!1),icon_resolution:f().get(SocialMediaFeather.data,"icon_resolution","single"),icon_size:f().get(SocialMediaFeather.data,"icon_size","48"),icon_skin:f().get(SocialMediaFeather.data,"icon_skin","regular"),icon_spacing:f().get(SocialMediaFeather.data,"icon_spacing","5"),instagram_display:f().get(SocialMediaFeather.data,"instagram_display","follow"),instagram_follow_link:f().get(SocialMediaFeather.data,"instagram_follow_link",""),instagram_follow_title:f().get(SocialMediaFeather.data,"instagram_follow_title",""),layout_rtl:!0===f().get(SocialMediaFeather.data,"layout_rtl",!1),linkedin_display:f().get(SocialMediaFeather.data,"linkedin_display","both"),linkedin_share_link:f().get(SocialMediaFeather.data,"linkedin_share_link",""),linkedin_share_title:f().get(SocialMediaFeather.data,"linkedin_share_title",""),linkedin_follow_link:f().get(SocialMediaFeather.data,"linkedin_follow_link",""),linkedin_follow_title:f().get(SocialMediaFeather.data,"linkedin_follow_title",""),mail_display:f().get(SocialMediaFeather.data,"mail_display")||"both",mail_share_link:f().get(SocialMediaFeather.data,"mail_share_link",""),mail_share_title:f().get(SocialMediaFeather.data,"mail_share_title",""),mail_follow_link:f().get(SocialMediaFeather.data,"mail_follow_link",""),mail_follow_title:f().get(SocialMediaFeather.data,"mail_follow_title",""),pinterest_display:f().get(SocialMediaFeather.data,"pinterest_display","share"),pinterest_share_link:f().get(SocialMediaFeather.data,"pinterest_share_link",""),pinterest_share_title:f().get(SocialMediaFeather.data,"pinterest_share_title",""),pinterest_follow_link:f().get(SocialMediaFeather.data,"pinterest_follow_link",""),pinterest_follow_title:f().get(SocialMediaFeather.data,"pinterest_follow_title",""),reddit_display:f().get(SocialMediaFeather.data,"reddit_display","share"),reddit_share_link:f().get(SocialMediaFeather.data,"reddit_share_link",""),reddit_share_title:f().get(SocialMediaFeather.data,"reddit_share_title",""),rss_display:f().get(SocialMediaFeather.data,"rss_display","none"),rss_follow_link:f().get(SocialMediaFeather.data,"rss_follow_link",""),rss_follow_title:f().get(SocialMediaFeather.data,"rss_follow_title",""),share_full_url:!0===f().get(SocialMediaFeather.data,"share_full_url",!1),share_message_default:f().get(SocialMediaFeather.data,"share_message_default",(0,m.__)("Hey check this out","social-media-feather")),shortcode_widgets:!0===f().get(SocialMediaFeather.data,"shortcode_widgets",!0),show_credit:!0===f().get(SocialMediaFeather.data,"show_credit",!1),tumblr_display:f().get(SocialMediaFeather.data,"tumblr_display","none"),tumblr_share_link:f().get(SocialMediaFeather.data,"tumblr_share_link",""),tumblr_share_title:f().get(SocialMediaFeather.data,"tumblr_share_title",""),tumblr_follow_link:f().get(SocialMediaFeather.data,"tumblr_follow_link",""),tumblr_follow_title:f().get(SocialMediaFeather.data,"tumblr_follow_title",""),twitter_display:f().get(SocialMediaFeather.data,"twitter_display","both"),twitter_share_link:f().get(SocialMediaFeather.data,"twitter_share_link",""),twitter_share_title:f().get(SocialMediaFeather.data,"twitter_share_title",""),twitter_follow_link:f().get(SocialMediaFeather.data,"twitter_follow_link",""),twitter_follow_title:f().get(SocialMediaFeather.data,"twitter_follow_title",""),use_shortlinks:!0===f().get(SocialMediaFeather.data,"use_shortlinks",!1),vimeo_display:f().get(SocialMediaFeather.data,"vimeo_display","none"),vimeo_follow_link:f().get(SocialMediaFeather.data,"vimeo_follow_link",""),vimeo_follow_title:f().get(SocialMediaFeather.data,"vimeo_follow_title",""),youtube_display:f().get(SocialMediaFeather.data,"youtube_display","none"),youtube_follow_link:f().get(SocialMediaFeather.data,"youtube_follow_link",""),youtube_follow_title:f().get(SocialMediaFeather.data,"youtube_follow_title","")},sa=(e,t)=>"all"===t.type?{...e,...t.payload}:{...e,[t.type]:t.payload},ca=[{label:"After Post",value:"after_post"},{label:"Before Post",value:"before_post"},{label:"Before and After Post",value:"after_before_post"}],ua=[{label:"Post",value:"post"},{label:"Page",value:"page"},{label:"Attachment",value:"attachment"}],da=f().chunk([{label:"Regular",value:"regular",imagePath:"/synved-social/image/social/regular/preview.png"},{label:"Clear Slate",value:"clearslate",imagePath:"/synved-social/addons/extra-icons/image/social/clearslate/preview.png"},{label:"Dark Slate",value:"darkslate",imagePath:"/synved-social/addons/extra-icons/image/social/darkslate/preview.png"},{label:"Circle",value:"circle",imagePath:"/synved-social/addons/extra-icons/image/social/circle/preview.png"},{label:"Wheel",value:"wheel",imagePath:"/synved-social/addons/extra-icons/image/social/wheel/preview.png"},{label:"Flag",value:"flag",imagePath:"/synved-social/addons/extra-icons/image/social/flag/preview.png"},{label:"Medal",value:"medal",imagePath:"/synved-social/addons/extra-icons/image/social/medal/preview.png"},{label:"Shed",value:"shed",imagePath:"/synved-social/addons/extra-icons/image/social/shed/preview.png"},{label:"Balloon",value:"balloon",imagePath:"/synved-social/addons/extra-icons/image/social/balloon/preview.png"}],3),ma=[{value:16,label:"16x16"},{value:24,label:"24x24"},{value:32,label:"32x32"},{value:48,label:"48x48"},{value:64,label:"64x64"},{value:96,label:"96x96"}],pa=[{value:"single",label:"Single"},{value:"double",label:"Double"}],fa=[{value:"basic",label:"Basic"},{value:"block",label:"Block"}],ha=[{value:"none",label:"Theme Default"},{value:"left",label:"Align Left"},{value:"right",label:"Align Right"},{value:"center",label:"Align Center"}],ba=[{value:"none",label:"None"},{value:"share",label:"Share"},{value:"follow",label:"Follow"},{value:"both",label:"Share and Follow"}],_a=[{value:"none",label:"None"},{value:"share",label:"Share"}],ga=[{value:"none",label:"None"},{value:"follow",label:"Follow"}],ya=f().sortBy([{label:"Facebook",slug:"facebook",shareLink:"https://www.facebook.com/sharer.php?u=%%url%%&t=%%title%%&s=100&p[url]=%%url%%&p[images][0]=%%image%%&p[title]=%%title%%",shareTitle:"Share on Facebook",followLink:"https://www.facebook.com/facebook",followTitle:"Follow us on Facebook"},{label:"Twitter",slug:"twitter",shareLink:"https://twitter.com/intent/tweet?url=%%url%%&text=%%message%%",shareTitle:"Share on Twitter",followLink:"https://twitter.com/twitter",followTitle:"Follow us on Twitter"},{label:"Reddit",slug:"reddit",shareLink:"https://www.reddit.com/submit?url=%%url%%&title=%%title%%",shareTitle:"Share on Reddit"},{label:"Pinterest",slug:"pinterest",shareLink:"https://pinterest.com/pin/create/button/?url=%%url%%&media=%%image%%&description=%%title%%",shareTitle:"Pin it with Pinterest",followLink:"https://pinterest.com/MyUserName/",followTitle:"Our board on Pinterest"},{label:"LinkedIn",slug:"linkedin",shareLink:"https://www.linkedin.com/shareArticle?mini=true&url=%%url%%&title=%%title%%",shareTitle:"Share on Linkedin",followLink:"https://www.linkedin.com/in/yourid",followTitle:"Find us on Linkedin"},{label:"Tumblr",slug:"tumblr",shareLink:"https://tumblr.com/share?s=&v=3&t=%%title%%&u=%%url%%",shareTitle:"Share on tumblr",followLink:"https://myname.tumblr.com",followTitle:"Find us on tumblr"},{label:"Email",slug:"mail",shareLink:"mailto:mail@example.com?subject=Contact%20Request",shareTitle:"Share by e-mail",followLink:"mailto:mail@example.com?subject=Contact%20Request",followTitle:"Contact Us"},{label:"RSS",slug:"rss",followLink:"https://feeds.feedburner.com/MyFeedName",followTitle:"Subscribe to our RSS Feed"},{label:"YouTube",slug:"youtube",followLink:"https://www.youtube.com/MyYouTubeName",followTitle:"Find us on YouTube"},{label:"Vimeo",slug:"vimeo",followLink:"https://vimeo.com/MyVimeoName",followTitle:"Find us on Vimeo"},{label:"Instagram",slug:"instagram",followLink:"https://instagram.com/myusername",followTitle:"Check out our instagram feed"},{label:"Flickr",slug:"flickr",followLink:"https://www.flickr.com/photos/myusername/",followTitle:"Check out our flickr feed"},{label:"Foursquare",slug:"foursquare",followLink:"https://foursquare.com/myusername",followTitle:"Check out our foursquare feed"}],["slug"]),va={service:"Decides for what types of services Facebook will be used by default.",shareLink:(0,l.createElement)(l.Fragment,null,"The link used by default for sharing content on Facebook. ",(0,l.createElement)("strong",null,"Note: this generally doesn't need to be changed, only change it if you know what you're doing.")),shareTitle:"The title used by default for the Facebook share button (a standard one will be used if left empty).",followLink:"The link used by default for following you on Facebook. Change this to point to your own social profile page on Facebook.",followTitle:"The title used by default for the Facebook follow button (a standard one will be used if left empty)."};var wa=()=>{const[e,t]=(0,l.useState)(!1),a=(0,l.useRef)(null),[n,o]=(0,l.useReducer)(sa,ia),r=f().debounce((e=>{t(!0),d()({path:"/social-media-feather/v2/settings",method:"POST",data:e}).then((e=>{o({type:"all",payload:e.data}),t(!1)})).catch((e=>{console.error({err:e}),t(!1)}))}),250);return(0,l.createElement)(E,{className:"social-media-feather mt-5 mx-0"},(0,l.createElement)(se,null,(0,l.createElement)(de,{className:"mb-3"},(0,l.createElement)("h1",{className:"px-0"},(0,m.__)("Social Media Feather Settings","social-media-feather"))),(0,l.createElement)(Zt,{defaultActiveKey:"general",className:"mb-3"},(0,l.createElement)(aa,{eventKey:"general",title:"General",className:"mb-3",disabled:!!e},(0,l.createElement)(se.Group,{as:de,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},(0,m.__)("General Settings","social-media-feather")),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},(0,m.__)("Settings affecting the general behaviour of the plugin.","social-media-feather"))),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formCheckUseShortlinks"},(0,l.createElement)(se.Check,{type:"switch",label:"Use Shortlinks",id:"use_shortlinks",onClick:()=>o({type:"use_shortlinks",payload:!n.use_shortlinks}),checked:n.use_shortlinks}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Allows for shortened URLs to be used when sharing content if a shortening plugin is installed.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formCheckShareFullURL"},(0,l.createElement)(se.Check,{type:"switch",label:"Share Full URL",id:"share_full_url",onChange:()=>o({type:"share_full_url",payload:!n.share_full_url}),checked:n.share_full_url}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},'Determines whether to always share the full URL or just the post permalink. You can override this for individual posts by setting the "synved_social_share_full_url" custom field to either "yes" or "no", case sensitive.')),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formCheckLayoutRTL"},(0,l.createElement)(se.Check,{type:"switch",label:"Right To Left Layout",id:"layout_rtl",onChange:()=>o({type:"layout_rtl",payload:!n.layout_rtl}),checked:n.layout_rtl}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Check this option if you have a right-to-left site layout and icons show spacing issues.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formCheckShortcodeWidgets"},(0,l.createElement)(se.Check,{type:"switch",label:"Shortcodes In Widgets",id:"shortcode_widgets",onChange:()=>o({type:"shortcode_widgets",payload:!n.shortcode_widgets}),checked:n.shortcode_widgets}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Allow shortcodes in Text widgets.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formCheckShowCredit"},(0,l.createElement)(se.Check,{type:"switch",label:"Show Credit",id:"show_credit",onChange:()=>o({type:"show_credit",payload:!n.show_credit}),checked:n.show_credit}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Display a small icon with a link to the Social Media Feather page.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextDefaultMessage"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Default Message"),(0,l.createElement)(se.Control,{placeholder:"Default message",onChange:e=>o({type:"share_message_default",payload:e.target.value}),value:n.share_message_default}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Specify the default message to use when sharing content, this is what gets replaced into the %%message%% variable.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextFacebookAppID"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Facebook App ID"),(0,l.createElement)(se.Control,{onChange:e=>o({type:"fb_app_id",payload:e.target.value}),value:n.fb_app_id}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"To use Facebook functionality, please enter your Facebook App ID here.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formCheckAcceptedShareThisTerms"},(0,l.createElement)(se.Check,{type:"switch",label:"Terms of Service",id:"accepted_sharethis_terms",onChange:()=>o({type:"accepted_sharethis_terms",payload:!n.accepted_sharethis_terms}),checked:n.accepted_sharethis_terms}),(0,l.createElement)(se.Text,{muted:!0},"Accept or decline ",(0,l.createElement)("a",{target:"_blank",href:"https://www.sharethis.com/terms/"},"ShareThis Terms of Service")," and ",(0,l.createElement)("a",{target:"_blank",href:"https://www.sharethis.com/privacy/"},"Privacy Notice"),"."))),(0,l.createElement)(aa,{eventKey:"automatic",title:"Automatic Display",disabled:!!e},(0,l.createElement)(se.Group,{as:de,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},"Automatic Display"),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Settings affecting automating appending of social buttons to post contents.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formCheckAutomaticShare"},(0,l.createElement)(se.Check,{type:"switch",label:"Display Sharing Buttons",id:"automatic_share",onChange:()=>o({type:"automatic_share",payload:!n.automatic_share}),checked:n.automatic_share}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},'Tries to automatically append sharing buttons to your posts (disable for specific posts by setting custom field synved_social_exclude or synved_social_exclude_share to "yes", case sensitive).')),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectAutomaticSharePosition"},(0,l.createElement)(se.Label,{className:"px-0"},"Share Buttons Position"),(0,l.createElement)(se.Select,{value:n.automatic_share_position,onChange:e=>o({type:"automatic_share_position",payload:e.target.value})},ca.map((e=>(0,l.createElement)("option",{value:e.value},e.label)))),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},'Tries to automatically append sharing buttons to your posts (disable for specific posts by setting custom field synved_social_exclude or synved_social_exclude_share to "yes", case sensitive).')),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formCheckAutomaticShareSingle"},(0,l.createElement)(se.Check,{type:"switch",label:"Sharing Single Posts",id:"automatic_share_single",onChange:()=>o({type:"automatic_share_single",payload:!n.automatic_share_single}),checked:n.automatic_share_single}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Sharing buttons are only displayed on single posts/pages and not on archive pages like blog/category/tag/author pages.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectAutomaticPostTypes"},(0,l.createElement)(se.Label,{className:"px-0"},"Share Post Types"),(0,l.createElement)(se.Select,{className:"automatic_share_post_types",multiple:!0,onChange:e=>o({type:"automatic_share_post_types",payload:Array.from(e.target.querySelectorAll("option:checked")).map((e=>e.value))}),value:n.automatic_share_post_types},ua.map((e=>(0,l.createElement)("option",{value:e.value},e.label)))),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Post types for which automatic appending for share buttons should be attempted (CTRL + click to select multiple ones).")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextSharePrefixMarkup"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Share Prefix Markup"),(0,l.createElement)(se.Control,{onChange:e=>o({type:"automatic_share_prefix",payload:e.target.value}),value:n.automatic_share_prefix}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup before the share buttons markup.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextSharePostfixMarkup"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Share Postfix Markup"),(0,l.createElement)(se.Control,{onChange:e=>o({type:"automatic_share_postfix",payload:e.target.value}),value:n.automatic_share_postfix}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the share buttons markup.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formCheckAutomaticFollow"},(0,l.createElement)(se.Check,{type:"switch",label:"Display Follow Buttons",id:"automatic_follow",onChange:()=>o({type:"automatic_follow",payload:!n.automatic_follow}),checked:n.automatic_follow}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},'Tries to automatically append follow buttons to your posts (disable for specific posts by setting custom field synved_social_exclude or synved_social_exclude_follow to "yes", case sensitive).')),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectAutomaticFollowPostTypes"},(0,l.createElement)(se.Label,{className:"px-0"},"Follow Post Types"),(0,l.createElement)(se.Select,{className:"automatic_follow_post_types",multiple:!0,onChange:e=>o({type:"automatic_follow_post_types",payload:Array.from(e.target.querySelectorAll("option:checked")).map((e=>e.value))}),value:n.automatic_follow_post_types},ua.map((e=>(0,l.createElement)("option",{value:e.value},e.label)))),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Post types for which automatic appending for follow buttons should be attempted (CTRL + click to select multiple ones).")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formCheckAutomaticBeforeShare"},(0,l.createElement)(se.Check,{type:"switch",label:"Follow Before Share",id:"automatic_follow_before_share",onChange:()=>o({type:"automatic_follow_before_share",payload:!n.automatic_follow_before_share}),checked:n.automatic_follow_before_share}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"When automatically appending, place follow buttons before share buttons. Only valid when share and follow buttons positions are the same.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextFollowPrefixMarkup"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Follow Prefix Markup"),(0,l.createElement)(se.Control,{onChange:e=>o({type:"automatic_follow_prefix",payload:e.target.value}),value:n.automatic_follow_prefix}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup before the follow buttons markup.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextFollowPostfixMarkup"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Follow Postfix Markup"),(0,l.createElement)(se.Control,{onChange:e=>o({type:"automatic_follow_postfix",payload:e.target.value}),value:n.automatic_follow_postfix}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the follow buttons markup.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextPrefixMarkup"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Prefix Markup"),(0,l.createElement)(se.Control,{onChange:e=>o({type:"automatic_append_prefix",payload:e.target.value}),value:n.automatic_append_prefix}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup before the buttons markup.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextSeparatorMarkup"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Separator Markup"),(0,l.createElement)(se.Control,{onChange:e=>o({type:"automatic_append_separator",payload:e.target.value}),value:n.automatic_append_separator}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"When automatically appending both, use this markup as separator between the set of share buttons and the set of follow buttons. Only valid when share and follow buttons positions are the same.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextPostfixMarkup"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Postfix Markup"),(0,l.createElement)(se.Control,{onChange:e=>o({type:"automatic_append_postfix",payload:e.target.value}),value:n.automatic_append_postfix}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the buttons markup."))),(0,l.createElement)(aa,{eventKey:"customize",title:"Customize Look",disabled:!!e},(0,l.createElement)(se.Group,{as:de,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},"Customize Look"),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Customize the look & feel of Social Media Feather.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectIconSkin"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Icon Skin"),(0,l.createElement)(E,null,(0,l.createElement)(de,null,da.map(((e,t)=>(0,l.createElement)(l.Fragment,null,(0,l.createElement)(V,{md:"auto",className:"mb-3"},(0,l.createElement)(de,null,(0,l.createElement)(se.Check,{type:"radio",id:`icon-skin-${e[0].value}`,className:"smf__form-check"},(0,l.createElement)(se.Check.Label,null,(0,l.createElement)(na,{src:`${SocialMediaFeather.pluginURL}${e[0].imagePath}`}),(0,l.createElement)(se.Check.Input,{name:"icon_skin",type:"radio",checked:e[0].value===n.icon_skin,value:e[0].value,className:"smf__form-check-input--radio",onChange:e=>o({type:"icon_skin",payload:e.target.value})}),e[0].label)))),(0,l.createElement)(V,{md:"auto",className:"mb-3"},(0,l.createElement)(se.Check,{type:"radio",id:`icon-skin-${e[1].value}`,className:"smf__form-check"},(0,l.createElement)(se.Check.Label,null,(0,l.createElement)(na,{src:`${SocialMediaFeather.pluginURL}${e[1].imagePath}`}),(0,l.createElement)(se.Check.Input,{name:"icon_skin",type:"radio",checked:e[1].value===n.icon_skin,value:e[1].value,className:"smf__form-check-input--radio",onChange:e=>o({type:"icon_skin",payload:e.target.value})}),e[1].label))),(0,l.createElement)(V,{md:"auto",className:"mb-3"},(0,l.createElement)(se.Check,{type:"radio",id:`icon-skin-${e[2].value}`,className:"smf__form-check"},(0,l.createElement)(se.Check.Label,null,(0,l.createElement)(na,{src:`${SocialMediaFeather.pluginURL}${e[2].imagePath}`}),(0,l.createElement)(se.Check.Input,{name:"icon_skin",type:"radio",checked:e[2].value===n.icon_skin,value:e[2].value,className:"smf__form-check-input--radio",onChange:e=>o({type:"icon_skin",payload:e.target.value})}),e[2].label))))))))),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectIconSize"},(0,l.createElement)(se.Label,{className:"px-0"},"Icon Size"),(0,l.createElement)(se.Select,{value:n.icon_size,onChange:e=>o({type:"icon_size",payload:e.target.value})},ma.map((e=>(0,l.createElement)("option",{value:e.value},e.label)))),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Select the size in pixels for the icons. Note: for high resolution displays like Retina the maximum size is 64x64.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectIconResolution"},(0,l.createElement)(se.Label,{className:"px-0"},"Icon Resolution"),(0,l.createElement)(se.Select,{value:n.icon_resolution,onChange:e=>o({type:"icon_resolution",payload:e.target.value})},pa.map((e=>(0,l.createElement)("option",{value:e.value},e.label)))),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Select what icon resolutions will be used. Single might make the icons slightly blurry on low resolution displays. Double will always look the best but will consume more bandwidth.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextIconSpacing"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Icon Spacing"),(0,l.createElement)(se.Control,{placeholder:"Default message",type:"number",onChange:e=>o({type:"icon_spacing",payload:e.target.value}),value:n.icon_spacing}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Select the spacing in pixels between the icons.")),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectButtonsInContainer"},(0,l.createElement)(se.Label,{className:"px-0"},"Buttons in Container"),(0,l.createElement)(se.Select,{value:n.buttons_container,onChange:e=>o({type:"buttons_container",payload:e.target.value})},ba.map((e=>(0,l.createElement)("option",{value:e.value},e.label)))),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},'Determines whether or not to wrap the buttons in a container, which will affect how the buttons are rendered, based on the "Buttons Container Type" setting.')),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectButtonsContainerType"},(0,l.createElement)(se.Label,{className:"px-0"},"Buttons Container Type"),(0,l.createElement)(se.Select,{value:n.buttons_container_type,onChange:e=>o({type:"buttons_container_type",payload:e.target.value})},fa.map((e=>(0,l.createElement)("option",{value:e.value},e.label)))),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},'"Basic" should not affect rendering, while "Block" should display the buttons in their own row. Note: selecting "Block" might not look the way you want if you\'re using Prefix or Postfix markup.')),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectShareButtonsAlignment"},(0,l.createElement)(se.Label,{className:"px-0"},"Share Buttons Alignment"),(0,l.createElement)(se.Select,{value:n.buttons_alignment_share,onChange:e=>o({type:"buttons_alignment_share",payload:e.target.value})},ha.map((e=>(0,l.createElement)("option",{value:e.value},e.label)))),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},'Will attempt at aligning the share buttons accordingly. Note: this will enforce "Buttons Container Type" of "Block" and might not work reliably on all themes.')),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(se.Label,{className:"px-0"},"Follow Buttons Alignment"),(0,l.createElement)(se.Select,{value:n.buttons_alignment_follow,onChange:e=>o({type:"buttons_alignment_follow",payload:e.target.value})},ha.map((e=>(0,l.createElement)("option",{value:e.value},e.label)))),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},'Will attempt at aligning the follow buttons accordingly. Note: this will enforce "Buttons Container Type" of "Block" and might not work reliably on all themes.')),(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextExtraStyles"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},"Extra Styles"),(0,l.createElement)(se.Control,{as:"textarea",onChange:e=>o({type:"custom_style",payload:e.target.value}),value:n.custom_style}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the share buttons markup."))),(0,l.createElement)(aa,{eventKey:"service",title:"Service Providers",disabled:!!e},(0,l.createElement)(se.Group,{as:de,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},"Service Providers"),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},"Customize social sharing and following providers.")),ya.map((e=>{let t="none";e.shareLink&&e.followLink?t="both":e.shareLink?t="share":e.followLink&&(t="follow");let a=[];return"both"===t?a=[...ba]:"share"===t?a=[..._a]:"follow"===t&&(a=[...ga]),(0,l.createElement)(l.Fragment,null,(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formPlaintextExtraStyles"},(0,l.createElement)(se.Label,{column:!0,sm:"2",className:"px-0"},e.label," Service"),(0,l.createElement)(se.Select,{value:n[`${e.slug}_display`],onChange:t=>o({type:`${e.slug}_display`,payload:t.target.value})},a.map((e=>(0,l.createElement)("option",{value:e.value},e.label)))),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},va.service)),e.shareLink&&(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(se.Label,{className:"px-0"},e.label," Share Link"),(0,l.createElement)(se.Control,{placeholder:e.shareLink,type:"text",onChange:t=>o({type:`${e.slug}_share_link`,payload:t.target.value}),value:n[`${e.slug}_share_link`]}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},va.shareLink)),e.shareTitle&&(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(se.Label,{className:"px-0"},e.label," Share Title"),(0,l.createElement)(se.Control,{placeholder:e.shareTitle,type:"text",onChange:t=>o({type:`${e.slug}_share_title`,payload:t.target.value}),value:n[`${e.slug}_share_title`]}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},va.shareTitle)),e.followLink&&(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(se.Label,{className:"px-0"},e.label," Follow Link"),(0,l.createElement)(se.Control,{placeholder:e.followLink,type:"text",onChange:t=>o({type:`${e.slug}_follow_link`,payload:t.target.value}),value:n[`${e.slug}_follow_link`]}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},va.followLink)),e.followTitle&&(0,l.createElement)(se.Group,{as:de,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(se.Label,{className:"px-0"},e.label," Follow Title"),(0,l.createElement)(se.Control,{placeholder:e.followTitle,type:"text",onChange:t=>o({type:`${e.slug}_follow_title`,payload:t.target.value}),value:n[`${e.slug}_follow_title`]}),(0,l.createElement)(se.Text,{muted:!0,className:"p-0"},va.followTitle)))})))),(0,l.createElement)(ra,{ref:a,variant:"primary",className:"mx-0",disabled:!!e,onClick:()=>r(n)},!0===e?"...":"Save Settings")))};i()((()=>{o().render((0,l.createElement)(wa,null),document.getElementById("social-media-feather-app"))}))},184:function(e,t){var a;!function(){"use strict";var l={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var o=typeof a;if("string"===o||"number"===o)e.push(a);else if(Array.isArray(a)){if(a.length){var r=n.apply(null,a);r&&e.push(r)}}else if("object"===o)if(a.toString===Object.prototype.toString)for(var i in a)l.call(a,i)&&a[i]&&e.push(i);else e.push(a.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(a=function(){return n}.apply(t,[]))||(e.exports=a)}()},143:function(e){"use strict";e.exports=function(e,t,a,l,n,o,r,i){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[a,l,n,o,r,i],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},418:function(e){"use strict";var t=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach((function(e){l[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},l)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var r,i,s=n(e),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]))a.call(r,u)&&(s[u]=r[u]);if(t){i=t(r);for(var d=0;d<i.length;d++)l.call(r,i[d])&&(s[i[d]]=r[i[d]])}}return s}},391:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];function l(){for(var e=arguments.length,a=Array(e),l=0;l<e;l++)a[l]=arguments[l];var n=null;return t.forEach((function(e){if(null==n){var t=e.apply(void 0,a);null!=t&&(n=t)}})),n}return(0,n.default)(l)};var l,n=(l=a(613))&&l.__esModule?l:{default:l};e.exports=t.default},613:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,a,l,n,o,r){var i=n||"<<anonymous>>",s=r||l;if(null==a[l])return t?new Error("Required "+o+" `"+s+"` was not specified in `"+i+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[a,l,i,o,s].concat(u))}var a=t.bind(null,!1);return a.isRequired=t.bind(null,!0),a},e.exports=t.default},703:function(e,t,a){"use strict";var l=a(414);function n(){}function o(){}o.resetWarningCache=n,e.exports=function(){function e(e,t,a,n,o,r){if(r!==l){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:n};return a.PropTypes=a,a}},697:function(e,t,a){e.exports=a(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},251:function(e,t,a){"use strict";a(418);var l=a(196),n=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;n=o("react.element"),t.Fragment=o("react.fragment")}var r=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,a){var l,o={},c=null,u=null;for(l in void 0!==a&&(c=""+a),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,l)&&!s.hasOwnProperty(l)&&(o[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===o[l]&&(o[l]=t[l]);return{$$typeof:n,type:e,key:c,ref:u,props:o,_owner:r.current}}t.jsx=c,t.jsxs=c},893:function(e,t,a){"use strict";e.exports=a(251)},473:function(e){"use strict";e.exports=function(){}},196:function(e){"use strict";e.exports=window.React}},function(e){e(e.s=595)}]);
|
1 |
/*! For license information please see index.js.LICENSE.txt */
|
2 |
+
(self.webpackChunksocial_media_feather=self.webpackChunksocial_media_feather||[]).push([[826],{595:function(e,t,a){"use strict";var l=window.wp.element,n=window.wp.domReady,o=a.n(n),r=window.wp.apiFetch,i=a.n(r),s=window.wp.i18n,c=window.lodash,u=a.n(c),d=a(184),m=a.n(d),p=a(196),f=a.n(p),h=a(893);const b=p.createContext({prefixes:{}}),{Consumer:_,Provider:g}=b;function y(e,t){const{prefixes:a}=(0,p.useContext)(b);return e||a[t]||t}const v=p.forwardRef((({bsPrefix:e,fluid:t,as:a="div",className:l,...n},o)=>{const r=y(e,"container"),i="string"==typeof t?`-${t}`:"-fluid";return(0,h.jsx)(a,{ref:o,...n,className:m()(l,t?`${r}${i}`:r)})}));v.displayName="Container",v.defaultProps={fluid:!1};var w=v,x=a(697),E=a.n(x);const k={type:E().string,tooltip:E().bool,as:E().elementType},S=p.forwardRef((({as:e="div",className:t,type:a="valid",tooltip:l=!1,...n},o)=>(0,h.jsx)(e,{...n,ref:o,className:m()(t,`${a}-${l?"tooltip":"feedback"}`)})));S.displayName="Feedback",S.propTypes=k;var N=S,C=p.createContext({});const F=p.forwardRef((({id:e,bsPrefix:t,className:a,type:l="checkbox",isValid:n=!1,isInvalid:o=!1,as:r="input",...i},s)=>{const{controlId:c}=(0,p.useContext)(C);return t=y(t,"form-check-input"),(0,h.jsx)(r,{...i,ref:s,type:l,id:e||c,className:m()(a,t,n&&"is-valid",o&&"is-invalid")})}));F.displayName="FormCheckInput";var T=F;const P=p.forwardRef((({bsPrefix:e,className:t,htmlFor:a,...l},n)=>{const{controlId:o}=(0,p.useContext)(C);return e=y(e,"form-check-label"),(0,h.jsx)("label",{...l,ref:n,htmlFor:a||o,className:m()(t,e)})}));P.displayName="FormCheckLabel";var M=P;function O(e,t){let a=0;return p.Children.map(e,(e=>p.isValidElement(e)?t(e,a++):e))}const j=p.forwardRef((({id:e,bsPrefix:t,bsSwitchPrefix:a,inline:l=!1,disabled:n=!1,isValid:o=!1,isInvalid:r=!1,feedbackTooltip:i=!1,feedback:s,feedbackType:c,className:u,style:d,title:f="",type:b="checkbox",label:_,children:g,as:v="input",...w},x)=>{t=y(t,"form-check"),a=y(a,"form-switch");const{controlId:E}=(0,p.useContext)(C),k=(0,p.useMemo)((()=>({controlId:e||E})),[E,e]),S=!g&&null!=_&&!1!==_||function(e,t){return p.Children.toArray(e).some((e=>p.isValidElement(e)&&e.type===t))}(g,M),F=(0,h.jsx)(T,{...w,type:"switch"===b?"checkbox":b,ref:x,isValid:o,isInvalid:r,disabled:n,as:v});return(0,h.jsx)(C.Provider,{value:k,children:(0,h.jsx)("div",{style:d,className:m()(u,S&&t,l&&`${t}-inline`,"switch"===b&&a),children:g||(0,h.jsxs)(h.Fragment,{children:[F,S&&(0,h.jsx)(M,{title:f,children:_}),s&&(0,h.jsx)(N,{type:c,tooltip:i,children:s})]})})})}));j.displayName="FormCheck";var L=Object.assign(j,{Input:T,Label:M});a(473);const I=p.forwardRef((({bsPrefix:e,type:t,size:a,htmlSize:l,id:n,className:o,isValid:r=!1,isInvalid:i=!1,plaintext:s,readOnly:c,as:u="input",...d},f)=>{const{controlId:b}=(0,p.useContext)(C);let _;return e=y(e,"form-control"),_=s?{[`${e}-plaintext`]:!0}:{[e]:!0,[`${e}-${a}`]:a},(0,h.jsx)(u,{...d,type:t,size:l,ref:f,readOnly:c,id:n||b,className:m()(o,_,r&&"is-valid",i&&"is-invalid","color"===t&&`${e}-color`)})}));I.displayName="FormControl";var R=Object.assign(I,{Feedback:N}),$=/-(.)/g;const A=e=>{return e[0].toUpperCase()+(t=e,t.replace($,(function(e,t){return t.toUpperCase()}))).slice(1);var t};function D(e,{displayName:t=A(e),Component:a,defaultProps:l}={}){const n=p.forwardRef((({className:t,bsPrefix:l,as:n=a||"div",...o},r)=>{const i=y(l,e);return(0,h.jsx)(n,{ref:r,className:m()(t,i),...o})}));return n.defaultProps=l,n.displayName=t,n}var G=D("form-floating");const K=p.forwardRef((({controlId:e,as:t="div",...a},l)=>{const n=(0,p.useMemo)((()=>({controlId:e})),[e]);return(0,h.jsx)(C.Provider,{value:n,children:(0,h.jsx)(t,{...a,ref:l})})}));K.displayName="FormGroup";var B=K;const U=["xxl","xl","lg","md","sm","xs"],q=p.forwardRef(((e,t)=>{const[{className:a,...l},{as:n="div",bsPrefix:o,spans:r}]=function({as:e,bsPrefix:t,className:a,...l}){t=y(t,"col");const n=[],o=[];return U.forEach((e=>{const a=l[e];let r,i,s;delete l[e],"object"==typeof a&&null!=a?({span:r,offset:i,order:s}=a):r=a;const c="xs"!==e?`-${e}`:"";r&&n.push(!0===r?`${t}${c}`:`${t}${c}-${r}`),null!=s&&o.push(`order${c}-${s}`),null!=i&&o.push(`offset${c}-${i}`)})),[{...l,className:m()(a,...n,...o)},{as:e,bsPrefix:t,spans:n}]}(e);return(0,h.jsx)(n,{...l,ref:t,className:m()(a,!r.length&&o)})}));q.displayName="Col";var z=q;const W=p.forwardRef((({as:e="label",bsPrefix:t,column:a,visuallyHidden:l,className:n,htmlFor:o,...r},i)=>{const{controlId:s}=(0,p.useContext)(C);t=y(t,"form-label");let c="col-form-label";"string"==typeof a&&(c=`${c} ${c}-${a}`);const u=m()(n,t,l&&"visually-hidden",a&&c);return o=o||s,a?(0,h.jsx)(z,{ref:i,as:"label",className:u,htmlFor:o,...r}):(0,h.jsx)(e,{ref:i,className:u,htmlFor:o,...r})}));W.displayName="FormLabel",W.defaultProps={column:!1,visuallyHidden:!1};var V=W;const H=p.forwardRef((({bsPrefix:e,className:t,id:a,...l},n)=>{const{controlId:o}=(0,p.useContext)(C);return e=y(e,"form-range"),(0,h.jsx)("input",{...l,type:"range",ref:n,className:m()(t,e),id:a||o})}));H.displayName="FormRange";var Y=H;const X=p.forwardRef((({bsPrefix:e,size:t,htmlSize:a,className:l,isValid:n=!1,isInvalid:o=!1,id:r,...i},s)=>{const{controlId:c}=(0,p.useContext)(C);return e=y(e,"form-select"),(0,h.jsx)("select",{...i,size:a,ref:s,className:m()(l,e,t&&`${e}-${t}`,n&&"is-valid",o&&"is-invalid"),id:r||c})}));X.displayName="FormSelect";var Z=X;const J=p.forwardRef((({bsPrefix:e,className:t,as:a="small",muted:l,...n},o)=>(e=y(e,"form-text"),(0,h.jsx)(a,{...n,ref:o,className:m()(t,e,l&&"text-muted")}))));J.displayName="FormText";var Q=J;const ee=p.forwardRef(((e,t)=>(0,h.jsx)(L,{...e,ref:t,type:"switch"})));ee.displayName="Switch";var te=Object.assign(ee,{Input:L.Input,Label:L.Label});const ae=p.forwardRef((({bsPrefix:e,className:t,children:a,controlId:l,label:n,...o},r)=>(e=y(e,"form-floating"),(0,h.jsxs)(B,{ref:r,className:m()(t,e),controlId:l,...o,children:[a,(0,h.jsx)("label",{htmlFor:l,children:n})]}))));ae.displayName="FloatingLabel";var le=ae;const ne={_ref:E().any,validated:E().bool,as:E().elementType},oe=p.forwardRef((({className:e,validated:t,as:a="form",...l},n)=>(0,h.jsx)(a,{...l,ref:n,className:m()(e,t&&"was-validated")})));oe.displayName="Form",oe.propTypes=ne;var re=Object.assign(oe,{Group:B,Control:R,Floating:G,Check:L,Switch:te,Label:V,Text:Q,Range:Y,Select:Z,FloatingLabel:le});const ie=["xxl","xl","lg","md","sm","xs"],se=p.forwardRef((({bsPrefix:e,className:t,as:a="div",...l},n)=>{const o=y(e,"row"),r=`${o}-cols`,i=[];return ie.forEach((e=>{const t=l[e];let a;delete l[e],null!=t&&"object"==typeof t?({cols:a}=t):a=t;const n="xs"!==e?`-${e}`:"";null!=a&&i.push(`${r}${n}-${a}`)})),(0,h.jsx)(a,{ref:n,...l,className:m()(t,o,...i)})}));se.displayName="Row";var ce=se;function ue(){return ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},ue.apply(this,arguments)}function de(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}function me(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function pe(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var l=a.call(e,t);if("object"!=typeof l)return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function fe(e,t,a){var l=(0,p.useRef)(void 0!==e),n=(0,p.useState)(t),o=n[0],r=n[1],i=void 0!==e,s=l.current;return l.current=i,!i&&s&&o!==t&&r(t),[i?e:o,(0,p.useCallback)((function(e){for(var t=arguments.length,l=new Array(t>1?t-1:0),n=1;n<t;n++)l[n-1]=arguments[n];a&&a.apply(void 0,[e].concat(l)),r(e)}),[a])]}function he(e,t){return Object.keys(t).reduce((function(a,l){var n,o=a,r=o[me(l)],i=o[l],s=de(o,[me(l),l].map(pe)),c=t[l],u=fe(i,r,e[c]),d=u[0],m=u[1];return ue({},s,((n={})[l]=d,n[c]=m,n))}),e)}function be(e,t,a,l){Object.defineProperty(e,t,{get:a,set:l,enumerable:!0,configurable:!0})}a(143);var _e={};be(_e,"SSRProvider",(()=>ve)),be(_e,"useSSRSafeId",(()=>xe)),be(_e,"useIsSSR",(()=>Ee));const ge={prefix:String(Math.round(1e10*Math.random())),current:0},ye=f().createContext(ge);function ve(e){let t=(0,p.useContext)(ye),a=(0,p.useMemo)((()=>({prefix:t===ge?"":`${t.prefix}-${++t.current}`,current:0})),[t]);return f().createElement(ye.Provider,{value:a},e.children)}let we=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function xe(e){let t=(0,p.useContext)(ye);return t!==ge||we||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),(0,p.useMemo)((()=>e||`react-aria${t.prefix}-${++t.current}`),[e])}function Ee(){let e=(0,p.useContext)(ye)!==ge,[t,a]=(0,p.useState)(e);return"undefined"!=typeof window&&e&&(0,p.useLayoutEffect)((()=>{a(!1)}),[]),t}var ke=p.createContext(null);const Se=(e,t=null)=>null!=e?String(e):t||null;var Ne=p.createContext(null),Ce=function({children:e,in:t,mountOnEnter:a,unmountOnExit:l}){const n=(0,p.useRef)(t);return(0,p.useEffect)((()=>{t&&(n.current=!0)}),[t]),t?e:l||!n.current&&a?null:e};const Fe=["active","eventKey","mountOnEnter","transition","unmountOnExit","role"],Te=["activeKey","getControlledId","getControllerId"],Pe=["as"];function Me(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}function Oe(e){let{active:t,eventKey:a,mountOnEnter:l,transition:n,unmountOnExit:o,role:r="tabpanel"}=e,i=Me(e,Fe);const s=(0,p.useContext)(ke);if(!s)return[Object.assign({},i,{role:r}),{eventKey:a,isActive:t,mountOnEnter:l,transition:n,unmountOnExit:o}];const{activeKey:c,getControlledId:u,getControllerId:d}=s,m=Me(s,Te),f=Se(a);return[Object.assign({},i,{role:r,id:u(a),"aria-labelledby":d(a)}),{eventKey:a,isActive:null==t&&null!=f?Se(c)===f:t,transition:n||m.transition,mountOnEnter:null!=l?l:m.mountOnEnter,unmountOnExit:null!=o?o:m.unmountOnExit}]}const je=p.forwardRef(((e,t)=>{let{as:a="div"}=e,l=Me(e,Pe);const[n,{isActive:o,onEnter:r,onEntering:i,onEntered:s,onExit:c,onExiting:u,onExited:d,mountOnEnter:m,unmountOnExit:p,transition:f=Ce}]=Oe(l);return(0,h.jsx)(ke.Provider,{value:null,children:(0,h.jsx)(Ne.Provider,{value:null,children:(0,h.jsx)(f,{in:o,onEnter:r,onEntering:i,onEntered:s,onExit:c,onExiting:u,onExited:d,mountOnEnter:m,unmountOnExit:p,children:(0,h.jsx)(a,Object.assign({},n,{ref:t,hidden:!o,"aria-hidden":!o}))})})})}));je.displayName="TabPanel";const Le=e=>{const{id:t,generateChildId:a,onSelect:l,activeKey:n,defaultActiveKey:o,transition:r,mountOnEnter:i,unmountOnExit:s,children:c}=e,[u,d]=fe(n,o,l),m=xe(t),f=(0,p.useMemo)((()=>a||((e,t)=>m?`${m}-${t}-${e}`:null)),[m,a]),b=(0,p.useMemo)((()=>({onSelect:d,activeKey:u,transition:r,mountOnEnter:i||!1,unmountOnExit:s||!1,getControlledId:e=>f(e,"tabpane"),getControllerId:e=>f(e,"tab")})),[d,u,r,i,s,f]);return(0,h.jsx)(ke.Provider,{value:b,children:(0,h.jsx)(Ne.Provider,{value:d||null,children:c})})};Le.Panel=je;var Ie=Le,Re=(a(391),Function.prototype.bind.call(Function.prototype.call,[].slice)),$e=function(e){return e&&"function"!=typeof e?function(t){e.current=t}:e},Ae=function(e,t){return(0,p.useMemo)((function(){return function(e,t){var a=$e(e),l=$e(t);return function(e){a&&a(e),l&&l(e)}}(e,t)}),[e,t])};const De=p.createContext(null);De.displayName="NavContext";var Ge=De;function Ke(e){return`data-rr-ui-${e}`}function Be(e){var t=function(e){var t=(0,p.useRef)(e);return(0,p.useEffect)((function(){t.current=e}),[e]),t}(e);return(0,p.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])}const Ue=["as","disabled"];function qe({tagName:e,disabled:t,href:a,target:l,rel:n,onClick:o,tabIndex:r=0,type:i}){e||(e=null!=a||null!=l||null!=n?"a":"button");const s={tagName:e};if("button"===e)return[{type:i||"button",disabled:t},s];const c=l=>{(t||"a"===e&&function(e){return!e||"#"===e.trim()}(a))&&l.preventDefault(),t?l.stopPropagation():null==o||o(l)};return"a"===e&&(a||(a="#"),t&&(a=void 0)),[{role:"button",disabled:void 0,tabIndex:t?void 0:r,href:a,target:"a"===e?l:void 0,"aria-disabled":t||void 0,rel:"a"===e?n:void 0,onClick:c,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),c(e))}},s]}const ze=p.forwardRef(((e,t)=>{let{as:a,disabled:l}=e,n=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,Ue);const[o,{tagName:r}]=qe(Object.assign({tagName:a,disabled:l},n));return(0,h.jsx)(r,Object.assign({},n,o,{ref:t}))}));ze.displayName="Button";var We=ze;const Ve=["as","active","eventKey"];function He({key:e,onClick:t,active:a,id:l,role:n,disabled:o}){const r=(0,p.useContext)(Ne),i=(0,p.useContext)(Ge);let s=a;const c={role:n};if(i){n||"tablist"!==i.role||(c.role="tab");const t=i.getControllerId(null!=e?e:null),o=i.getControlledId(null!=e?e:null);c[Ke("event-key")]=e,c.id=t||l,c["aria-controls"]=o,s=null==a&&null!=e?i.activeKey===e:a}return"tab"===c.role&&(o&&(c.tabIndex=-1,c["aria-disabled"]=!0),s?c["aria-selected"]=s:c.tabIndex=-1),c.onClick=Be((a=>{o||(null==t||t(a),null!=e&&r&&!a.isPropagationStopped()&&r(e,a))})),[c,{isActive:s}]}const Ye=p.forwardRef(((e,t)=>{let{as:a=We,active:l,eventKey:n}=e,o=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,Ve);const[r,i]=He(Object.assign({key:Se(n,o.href),active:l},o));return r[Ke("active")]=i.isActive,(0,h.jsx)(a,Object.assign({},o,r,{ref:t}))}));Ye.displayName="NavItem";var Xe=Ye;const Ze=["as","onSelect","activeKey","role","onKeyDown"],Je=()=>{},Qe=Ke("event-key"),et=p.forwardRef(((e,t)=>{let{as:a="div",onSelect:l,activeKey:n,role:o,onKeyDown:r}=e,i=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,Ze);const s=(0,p.useReducer)((function(e){return!e}),!1)[1],c=(0,p.useRef)(!1),u=(0,p.useContext)(Ne),d=(0,p.useContext)(ke);let m,f;d&&(o=o||"tablist",n=d.activeKey,m=d.getControlledId,f=d.getControllerId);const b=(0,p.useRef)(null),_=e=>{const t=b.current;if(!t)return null;const a=(l=`[${Qe}]:not([aria-disabled=true])`,Re(t.querySelectorAll(l)));var l;const n=t.querySelector("[aria-selected=true]");if(!n)return null;const o=a.indexOf(n);if(-1===o)return null;let r=o+e;return r>=a.length&&(r=0),r<0&&(r=a.length-1),a[r]},g=(e,t)=>{null!=e&&(null==l||l(e,t),null==u||u(e,t))};(0,p.useEffect)((()=>{if(b.current&&c.current){const e=b.current.querySelector(`[${Qe}][aria-selected=true]`);null==e||e.focus()}c.current=!1}));const y=Ae(t,b);return(0,h.jsx)(Ne.Provider,{value:g,children:(0,h.jsx)(Ge.Provider,{value:{role:o,activeKey:Se(n),getControlledId:m||Je,getControllerId:f||Je},children:(0,h.jsx)(a,Object.assign({},i,{onKeyDown:e=>{if(null==r||r(e),!d)return;let t;switch(e.key){case"ArrowLeft":case"ArrowUp":t=_(-1);break;case"ArrowRight":case"ArrowDown":t=_(1);break;default:return}t&&(e.preventDefault(),g(t.dataset[("EventKey","rrUiEventKey")]||null,e),c.current=!0,s())},ref:y,role:o}))})})}));et.displayName="Nav";var tt=Object.assign(et,{Item:Xe});const at=p.createContext(null);at.displayName="NavbarContext";var lt=at;const nt=p.createContext(null);nt.displayName="CardHeaderContext";var ot=nt,rt=D("nav-item"),it=void 0!==a.g&&a.g.navigator&&"ReactNative"===a.g.navigator.product;"undefined"!=typeof document||it?p.useLayoutEffect:p.useEffect,new WeakMap;const st=["onKeyDown"],ct=p.forwardRef(((e,t)=>{let{onKeyDown:a}=e,l=function(e,t){if(null==e)return{};var a,l,n={},o=Object.keys(e);for(l=0;l<o.length;l++)a=o[l],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,st);const[n]=qe(Object.assign({tagName:"a"},l)),o=Be((e=>{n.onKeyDown(e),null==a||a(e)}));return((r=l.href)&&"#"!==r.trim()||l.role)&&"button"!==l.role?(0,h.jsx)("a",Object.assign({ref:t},l,{onKeyDown:a})):(0,h.jsx)("a",Object.assign({ref:t},l,n,{onKeyDown:o}));var r}));ct.displayName="Anchor";var ut=ct;const dt=p.forwardRef((({bsPrefix:e,className:t,as:a=ut,active:l,eventKey:n,...o},r)=>{e=y(e,"nav-link");const[i,s]=He({key:Se(n,o.href),active:l,...o});return(0,h.jsx)(a,{...o,...i,ref:r,className:m()(t,e,o.disabled&&"disabled",s.isActive&&"active")})}));dt.displayName="NavLink",dt.defaultProps={disabled:!1};var mt=dt;const pt=p.forwardRef(((e,t)=>{const{as:a="div",bsPrefix:l,variant:n,fill:o,justify:r,navbar:i,navbarScroll:s,className:c,activeKey:u,...d}=he(e,{activeKey:"onSelect"}),f=y(l,"nav");let b,_,g=!1;const v=(0,p.useContext)(lt),w=(0,p.useContext)(ot);return v?(b=v.bsPrefix,g=null==i||i):w&&({cardHeaderBsPrefix:_}=w),(0,h.jsx)(tt,{as:a,ref:t,activeKey:u,className:m()(c,{[f]:!g,[`${b}-nav`]:g,[`${b}-nav-scroll`]:g&&s,[`${_}-${n}`]:!!_,[`${f}-${n}`]:!!n,[`${f}-fill`]:o,[`${f}-justified`]:r}),...d})}));pt.displayName="Nav",pt.defaultProps={justify:!1,fill:!1};var ft=Object.assign(pt,{Item:rt,Link:mt}),ht=D("tab-content");function bt(e,t){return bt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},bt(e,t)}var _t=window.ReactDOM,gt=a.n(_t),yt=f().createContext(null),vt="unmounted",wt="exited",xt="entering",Et="entered",kt="exiting",St=function(e){var t,a;function l(t,a){var l;l=e.call(this,t,a)||this;var n,o=a&&!a.isMounting?t.enter:t.appear;return l.appearStatus=null,t.in?o?(n=wt,l.appearStatus=xt):n=Et:n=t.unmountOnExit||t.mountOnEnter?vt:wt,l.state={status:n},l.nextCallback=null,l}a=e,(t=l).prototype=Object.create(a.prototype),t.prototype.constructor=t,bt(t,a),l.getDerivedStateFromProps=function(e,t){return e.in&&t.status===vt?{status:wt}:null};var n=l.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var a=this.state.status;this.props.in?a!==xt&&a!==Et&&(t=xt):a!==xt&&a!==Et||(t=kt)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,a,l=this.props.timeout;return e=t=a=l,null!=l&&"number"!=typeof l&&(e=l.exit,t=l.enter,a=void 0!==l.appear?l.appear:t),{exit:e,enter:t,appear:a}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===xt?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===wt&&this.setState({status:vt})},n.performEnter=function(e){var t=this,a=this.props.enter,l=this.context?this.context.isMounting:e,n=this.props.nodeRef?[l]:[gt().findDOMNode(this),l],o=n[0],r=n[1],i=this.getTimeouts(),s=l?i.appear:i.enter;e||a?(this.props.onEnter(o,r),this.safeSetState({status:xt},(function(){t.props.onEntering(o,r),t.onTransitionEnd(s,(function(){t.safeSetState({status:Et},(function(){t.props.onEntered(o,r)}))}))}))):this.safeSetState({status:Et},(function(){t.props.onEntered(o)}))},n.performExit=function(){var e=this,t=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:gt().findDOMNode(this);t?(this.props.onExit(l),this.safeSetState({status:kt},(function(){e.props.onExiting(l),e.onTransitionEnd(a.exit,(function(){e.safeSetState({status:wt},(function(){e.props.onExited(l)}))}))}))):this.safeSetState({status:wt},(function(){e.props.onExited(l)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,a=!0;return this.nextCallback=function(l){a&&(a=!1,t.nextCallback=null,e(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var a=this.props.nodeRef?this.props.nodeRef.current:gt().findDOMNode(this),l=null==e&&!this.props.addEndListener;if(a&&!l){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],o=n[0],r=n[1];this.props.addEndListener(o,r)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===vt)return null;var t=this.props,a=t.children,l=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,de(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return f().createElement(yt.Provider,{value:null},"function"==typeof a?a(e,l):f().cloneElement(f().Children.only(a),l))},l}(f().Component);function Nt(){}St.contextType=yt,St.propTypes={},St.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Nt,onEntering:Nt,onEntered:Nt,onExit:Nt,onExiting:Nt,onExited:Nt},St.UNMOUNTED=vt,St.EXITED=wt,St.ENTERING=xt,St.ENTERED=Et,St.EXITING=kt;var Ct=St;var Ft=/([A-Z])/g,Tt=/^ms-/;function Pt(e){return function(e){return e.replace(Ft,"-$1").toLowerCase()}(e).replace(Tt,"-ms-")}var Mt=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,Ot=function(e,t){var a="",l="";if("string"==typeof t)return e.style.getPropertyValue(Pt(t))||function(e,t){return function(e){var t=function(e){return e&&e.ownerDocument||document}(e);return t&&t.defaultView||window}(e).getComputedStyle(e,void 0)}(e).getPropertyValue(Pt(t));Object.keys(t).forEach((function(n){var o=t[n];o||0===o?function(e){return!(!e||!Mt.test(e))}(n)?l+=n+"("+o+") ":a+=Pt(n)+": "+o+";":e.style.removeProperty(Pt(n))})),l&&(a+="transform: "+l+";"),e.style.cssText+=";"+a},jt=!("undefined"==typeof window||!window.document||!window.document.createElement),Lt=!1,It=!1;try{var Rt={get passive(){return Lt=!0},get once(){return It=Lt=!0}};jt&&(window.addEventListener("test",Rt,Rt),window.removeEventListener("test",Rt,!0))}catch(e){}var $t=function(e,t,a,l){return function(e,t,a,l){if(l&&"boolean"!=typeof l&&!It){var n=l.once,o=l.capture,r=a;!It&&n&&(r=a.__once||function e(l){this.removeEventListener(t,e,o),a.call(this,l)},a.__once=r),e.addEventListener(t,r,Lt?l:o)}e.addEventListener(t,a,l)}(e,t,a,l),function(){!function(e,t,a,l){var n=l&&"boolean"!=typeof l?l.capture:l;e.removeEventListener(t,a,n),a.__once&&e.removeEventListener(t,a.__once,n)}(e,t,a,l)}};function At(e,t,a,l){var n,o;null==a&&(o=-1===(n=Ot(e,"transitionDuration")||"").indexOf("ms")?1e3:1,a=parseFloat(n)*o||0);var r=function(e,t,a){void 0===a&&(a=5);var l=!1,n=setTimeout((function(){l||function(e,t,a,l){if(void 0===a&&(a=!1),void 0===l&&(l=!0),e){var n=document.createEvent("HTMLEvents");n.initEvent("transitionend",a,l),e.dispatchEvent(n)}}(e,0,!0)}),t+a),o=$t(e,"transitionend",(function(){l=!0}),{once:!0});return function(){clearTimeout(n),o()}}(e,a,l),i=$t(e,"transitionend",t);return function(){r(),i()}}function Dt(e,t){const a=Ot(e,t)||"",l=-1===a.indexOf("ms")?1e3:1;return parseFloat(a)*l}function Gt(e,t){const a=Dt(e,"transitionDuration"),l=Dt(e,"transitionDelay"),n=At(e,(a=>{a.target===e&&(n(),t(a))}),a+l)}var Kt=f().forwardRef((({onEnter:e,onEntering:t,onEntered:a,onExit:l,onExiting:n,onExited:o,addEndListener:r,children:i,childRef:s,...c},u)=>{const d=(0,p.useRef)(null),m=Ae(d,s),b=e=>{var t;m((t=e)&&"setState"in t?gt().findDOMNode(t):null!=t?t:null)},_=e=>t=>{e&&d.current&&e(d.current,t)},g=(0,p.useCallback)(_(e),[e]),y=(0,p.useCallback)(_(t),[t]),v=(0,p.useCallback)(_(a),[a]),w=(0,p.useCallback)(_(l),[l]),x=(0,p.useCallback)(_(n),[n]),E=(0,p.useCallback)(_(o),[o]),k=(0,p.useCallback)(_(r),[r]);return(0,h.jsx)(Ct,{ref:u,...c,onEnter:g,onEntered:v,onEntering:y,onExit:w,onExited:E,onExiting:x,addEndListener:k,nodeRef:d,children:"function"==typeof i?(e,t)=>i(e,{...t,ref:b}):f().cloneElement(i,{ref:b})})}));const Bt={[xt]:"show",[Et]:"show"},Ut=p.forwardRef((({className:e,children:t,transitionClasses:a={},...l},n)=>{const o=(0,p.useCallback)(((e,t)=>{!function(e){e.offsetHeight}(e),null==l.onEnter||l.onEnter(e,t)}),[l]);return(0,h.jsx)(Kt,{ref:n,addEndListener:Gt,...l,onEnter:o,childRef:t.ref,children:(l,n)=>p.cloneElement(t,{...n,className:m()("fade",e,t.props.className,Bt[l],a[l])})})}));Ut.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},Ut.displayName="Fade";var qt=Ut;function zt(e){return"boolean"==typeof e?e?qt:void 0:e}const Wt=p.forwardRef((({bsPrefix:e,transition:t,...a},l)=>{const[{className:n,as:o="div",...r},{isActive:i,onEnter:s,onEntering:c,onEntered:u,onExit:d,onExiting:p,onExited:f,mountOnEnter:b,unmountOnExit:_,transition:g=Ce}]=Oe({...a,transition:zt(t)}),v=y(e,"tab-pane");return(0,h.jsx)(ke.Provider,{value:null,children:(0,h.jsx)(Ne.Provider,{value:null,children:(0,h.jsx)(g,{in:i,onEnter:s,onEntering:c,onEntered:u,onExit:d,onExiting:p,onExited:f,mountOnEnter:b,unmountOnExit:_,children:(0,h.jsx)(o,{...r,ref:l,className:m()(n,v,i&&"active")})})})})}));Wt.displayName="TabPane";var Vt=Wt;function Ht(e){let t;return function(e,a){p.Children.forEach(e,(e=>{p.isValidElement(e)&&(e=>{null==t&&(t=e.props.eventKey)})(e)}))}(e),t}function Yt(e){const{title:t,eventKey:a,disabled:l,tabClassName:n,id:o}=e.props;return null==t?null:(0,h.jsx)(rt,{as:"li",role:"presentation",children:(0,h.jsx)(mt,{as:"button",type:"button",eventKey:a,disabled:l,id:o,className:n,children:t})})}const Xt=e=>{const{id:t,onSelect:a,transition:l,mountOnEnter:n,unmountOnExit:o,children:r,activeKey:i=Ht(r),...s}=he(e,{activeKey:"onSelect"});return(0,h.jsxs)(Ie,{id:t,activeKey:i,onSelect:a,transition:zt(l),mountOnEnter:n,unmountOnExit:o,children:[(0,h.jsx)(ft,{...s,role:"tablist",as:"ul",children:O(r,Yt)}),(0,h.jsx)(ht,{children:O(r,(e=>{const t={...e.props};return delete t.title,delete t.disabled,delete t.tabClassName,(0,h.jsx)(Vt,{...t})}))})]})};Xt.defaultProps={variant:"tabs",mountOnEnter:!1,unmountOnExit:!1},Xt.displayName="Tabs";var Zt=Xt;const Jt=({transition:e,...t})=>(0,h.jsx)(Ie,{...t,transition:zt(e)});Jt.displayName="TabContainer";var Qt=Jt;const ea={eventKey:E().oneOfType([E().string,E().number]),title:E().node.isRequired,disabled:E().bool,tabClassName:E().string},ta=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};ta.propTypes=ea;var aa=Object.assign(ta,{Container:Qt,Content:ht,Pane:Vt});E().string,E().bool,E().bool,E().bool,E().bool;const la=p.forwardRef((({bsPrefix:e,className:t,fluid:a,rounded:l,roundedCircle:n,thumbnail:o,...r},i)=>(e=y(e,"img"),(0,h.jsx)("img",{ref:i,...r,className:m()(t,a&&`${e}-fluid`,l&&"rounded",n&&"rounded-circle",o&&`${e}-thumbnail`)}))));la.displayName="Image",la.defaultProps={fluid:!1,rounded:!1,roundedCircle:!1,thumbnail:!1};var na=la;const oa=p.forwardRef((({as:e,bsPrefix:t,variant:a,size:l,active:n,className:o,...r},i)=>{const s=y(t,"btn"),[c,{tagName:u}]=qe({tagName:e,...r}),d=u;return(0,h.jsx)(d,{...c,...r,ref:i,className:m()(o,s,n&&"active",a&&`${s}-${a}`,l&&`${s}-${l}`,r.href&&r.disabled&&"disabled")})}));oa.displayName="Button",oa.defaultProps={variant:"primary",active:!1,disabled:!1};var ra=oa;const ia={accepted_sharethis_terms:!0===u().get(SocialMediaFeather.data,"accepted_sharethis_terms",!1),automatic_append_postfix:u().get(SocialMediaFeather.data,"automatic_append_postfix",""),automatic_append_prefix:u().get(SocialMediaFeather.data,"automatic_append_prefix",""),automatic_append_separator:u().get(SocialMediaFeather.data,"automatic_append_separator","<br />"),automatic_follow:!0===u().get(SocialMediaFeather.data,"automatic_follow",!0),automatic_follow_before_share:!0===u().get(SocialMediaFeather.data,"automatic_follow_before_share",!1),automatic_follow_position:u().get(SocialMediaFeather.data,"automatic_follow_position","after_post"),automatic_follow_postfix:u().get(SocialMediaFeather.data,"automatic_follow_postfix",""),automatic_follow_post_types:u().get(SocialMediaFeather.data,"automatic_follow_post_types",["post"]),automatic_follow_prefix:u().get(SocialMediaFeather.data,"automatic_follow_prefix",""),automatic_follow_single:u().get(SocialMediaFeather.data,"automatic_follow_single",!1),automatic_share:!0===u().get(SocialMediaFeather.data,"automatic_share",!1),automatic_share_prefix:u().get(SocialMediaFeather.data,"automatic_share_prefix",""),automatic_share_position:u().get(SocialMediaFeather.data,"automatic_share_position","after_post"),automatic_share_postfix:u().get(SocialMediaFeather.data,"automatic_share_postfix",""),automatic_share_post_types:u().get(SocialMediaFeather.data,"automatic_share_post_types",["post"]),automatic_share_single:!0===u().get(SocialMediaFeather.data,"automatic_share_single",!1),buttons_alignment_share:u().get(SocialMediaFeather.data,"buttons_alignment_share","none"),buttons_alignment_follow:u().get(SocialMediaFeather.data,"buttons_alignment_follow","none"),buttons_container:u().get(SocialMediaFeather.data,"buttons_container","none"),buttons_container_type:u().get(SocialMediaFeather.data,"buttons_container_type","basic"),custom_style:u().get(SocialMediaFeather.data,"custom_style",""),facebook_display:u().get(SocialMediaFeather.data,"facebook_display","both"),facebook_share_link:u().get(SocialMediaFeather.data,"facebook_share_link",""),facebook_share_title:u().get(SocialMediaFeather.data,"facebook_share_title",""),facebook_follow_link:u().get(SocialMediaFeather.data,"facebook_follow_link",""),facebook_follow_title:u().get(SocialMediaFeather.data,"facebook_follow_title",""),fb_app_id:u().get(SocialMediaFeather.data,"fb_app_id",""),flickr_display:u().get(SocialMediaFeather.data,"flickr_display","follow"),flickr_follow_link:u().get(SocialMediaFeather.data,"flickr_follow_link",""),flickr_follow_title:u().get(SocialMediaFeather.data,"flickr_follow_title",""),foursquare_display:u().get(SocialMediaFeather.data,"foursquare_display","follow"),foursquare_follow_link:u().get(SocialMediaFeather.data,"foursquare_follow_link",""),foursquare_follow_title:u().get(SocialMediaFeather.data,"foursquare_follow_title",""),hide_review:!0===u().get(SocialMediaFeather,"review",!1),icon_resolution:u().get(SocialMediaFeather.data,"icon_resolution","single"),icon_size:u().get(SocialMediaFeather.data,"icon_size","48"),icon_skin:u().get(SocialMediaFeather.data,"icon_skin","regular"),icon_spacing:u().get(SocialMediaFeather.data,"icon_spacing","5"),instagram_display:u().get(SocialMediaFeather.data,"instagram_display","follow"),instagram_follow_link:u().get(SocialMediaFeather.data,"instagram_follow_link",""),instagram_follow_title:u().get(SocialMediaFeather.data,"instagram_follow_title",""),layout_rtl:!0===u().get(SocialMediaFeather.data,"layout_rtl",!1),linkedin_display:u().get(SocialMediaFeather.data,"linkedin_display","both"),linkedin_share_link:u().get(SocialMediaFeather.data,"linkedin_share_link",""),linkedin_share_title:u().get(SocialMediaFeather.data,"linkedin_share_title",""),linkedin_follow_link:u().get(SocialMediaFeather.data,"linkedin_follow_link",""),linkedin_follow_title:u().get(SocialMediaFeather.data,"linkedin_follow_title",""),mail_display:u().get(SocialMediaFeather.data,"mail_display")||"both",mail_share_link:u().get(SocialMediaFeather.data,"mail_share_link",""),mail_share_title:u().get(SocialMediaFeather.data,"mail_share_title",""),mail_follow_link:u().get(SocialMediaFeather.data,"mail_follow_link",""),mail_follow_title:u().get(SocialMediaFeather.data,"mail_follow_title",""),pinterest_display:u().get(SocialMediaFeather.data,"pinterest_display","share"),pinterest_share_link:u().get(SocialMediaFeather.data,"pinterest_share_link",""),pinterest_share_title:u().get(SocialMediaFeather.data,"pinterest_share_title",""),pinterest_follow_link:u().get(SocialMediaFeather.data,"pinterest_follow_link",""),pinterest_follow_title:u().get(SocialMediaFeather.data,"pinterest_follow_title",""),reddit_display:u().get(SocialMediaFeather.data,"reddit_display","share"),reddit_share_link:u().get(SocialMediaFeather.data,"reddit_share_link",""),reddit_share_title:u().get(SocialMediaFeather.data,"reddit_share_title",""),rss_display:u().get(SocialMediaFeather.data,"rss_display","none"),rss_follow_link:u().get(SocialMediaFeather.data,"rss_follow_link",""),rss_follow_title:u().get(SocialMediaFeather.data,"rss_follow_title",""),share_full_url:!0===u().get(SocialMediaFeather.data,"share_full_url",!1),share_message_default:u().get(SocialMediaFeather.data,"share_message_default",(0,s.__)("Hey check this out","social-media-feather")),shortcode_widgets:!0===u().get(SocialMediaFeather.data,"shortcode_widgets",!0),show_credit:!0===u().get(SocialMediaFeather.data,"show_credit",!1),tumblr_display:u().get(SocialMediaFeather.data,"tumblr_display","none"),tumblr_share_link:u().get(SocialMediaFeather.data,"tumblr_share_link",""),tumblr_share_title:u().get(SocialMediaFeather.data,"tumblr_share_title",""),tumblr_follow_link:u().get(SocialMediaFeather.data,"tumblr_follow_link",""),tumblr_follow_title:u().get(SocialMediaFeather.data,"tumblr_follow_title",""),twitter_display:u().get(SocialMediaFeather.data,"twitter_display","both"),twitter_share_link:u().get(SocialMediaFeather.data,"twitter_share_link",""),twitter_share_title:u().get(SocialMediaFeather.data,"twitter_share_title",""),twitter_follow_link:u().get(SocialMediaFeather.data,"twitter_follow_link",""),twitter_follow_title:u().get(SocialMediaFeather.data,"twitter_follow_title",""),use_shortlinks:!0===u().get(SocialMediaFeather.data,"use_shortlinks",!1),vimeo_display:u().get(SocialMediaFeather.data,"vimeo_display","none"),vimeo_follow_link:u().get(SocialMediaFeather.data,"vimeo_follow_link",""),vimeo_follow_title:u().get(SocialMediaFeather.data,"vimeo_follow_title",""),youtube_display:u().get(SocialMediaFeather.data,"youtube_display","none"),youtube_follow_link:u().get(SocialMediaFeather.data,"youtube_follow_link",""),youtube_follow_title:u().get(SocialMediaFeather.data,"youtube_follow_title","")},sa=(e,t)=>"all"===t.type?{...e,...t.payload}:{...e,[t.type]:t.payload},ca=[{label:"After Post",value:"after_post"},{label:"Before Post",value:"before_post"},{label:"Before and After Post",value:"after_before_post"}],ua=[{label:"Post",value:"post"},{label:"Page",value:"page"},{label:"Attachment",value:"attachment"}],da=u().chunk([{label:"Regular",value:"regular",imagePath:"/synved-social/image/social/regular/preview.png"},{label:"Clear Slate",value:"clearslate",imagePath:"/synved-social/addons/extra-icons/image/social/clearslate/preview.png"},{label:"Dark Slate",value:"darkslate",imagePath:"/synved-social/addons/extra-icons/image/social/darkslate/preview.png"},{label:"Circle",value:"circle",imagePath:"/synved-social/addons/extra-icons/image/social/circle/preview.png"},{label:"Wheel",value:"wheel",imagePath:"/synved-social/addons/extra-icons/image/social/wheel/preview.png"},{label:"Flag",value:"flag",imagePath:"/synved-social/addons/extra-icons/image/social/flag/preview.png"},{label:"Medal",value:"medal",imagePath:"/synved-social/addons/extra-icons/image/social/medal/preview.png"},{label:"Shed",value:"shed",imagePath:"/synved-social/addons/extra-icons/image/social/shed/preview.png"},{label:"Balloon",value:"balloon",imagePath:"/synved-social/addons/extra-icons/image/social/balloon/preview.png"}],3),ma=[{value:16,label:"16x16"},{value:24,label:"24x24"},{value:32,label:"32x32"},{value:48,label:"48x48"},{value:64,label:"64x64"},{value:96,label:"96x96"}],pa=[{value:"single",label:"Single"},{value:"double",label:"Double"}],fa=[{value:"basic",label:"Basic"},{value:"block",label:"Block"}],ha=[{value:"none",label:"Theme Default"},{value:"left",label:"Align Left"},{value:"right",label:"Align Right"},{value:"center",label:"Align Center"}],ba=[{value:"none",label:"None"},{value:"share",label:"Share"},{value:"follow",label:"Follow"},{value:"both",label:"Share and Follow"}],_a=[{value:"none",label:"None"},{value:"share",label:"Share"}],ga=[{value:"none",label:"None"},{value:"follow",label:"Follow"}],ya=u().sortBy([{label:"Facebook",slug:"facebook",shareLink:"https://www.facebook.com/sharer.php?u=%%url%%&t=%%title%%&s=100&p[url]=%%url%%&p[images][0]=%%image%%&p[title]=%%title%%",shareTitle:"Share on Facebook",followLink:"https://www.facebook.com/facebook",followTitle:"Follow us on Facebook"},{label:"Twitter",slug:"twitter",shareLink:"https://twitter.com/intent/tweet?url=%%url%%&text=%%message%%",shareTitle:"Share on Twitter",followLink:"https://twitter.com/twitter",followTitle:"Follow us on Twitter"},{label:"Reddit",slug:"reddit",shareLink:"https://www.reddit.com/submit?url=%%url%%&title=%%title%%",shareTitle:"Share on Reddit"},{label:"Pinterest",slug:"pinterest",shareLink:"https://pinterest.com/pin/create/button/?url=%%url%%&media=%%image%%&description=%%title%%",shareTitle:"Pin it with Pinterest",followLink:"https://pinterest.com/MyUserName/",followTitle:"Our board on Pinterest"},{label:"LinkedIn",slug:"linkedin",shareLink:"https://www.linkedin.com/shareArticle?mini=true&url=%%url%%&title=%%title%%",shareTitle:"Share on Linkedin",followLink:"https://www.linkedin.com/in/yourid",followTitle:"Find us on Linkedin"},{label:"Tumblr",slug:"tumblr",shareLink:"https://tumblr.com/share?s=&v=3&t=%%title%%&u=%%url%%",shareTitle:"Share on tumblr",followLink:"https://myname.tumblr.com",followTitle:"Find us on tumblr"},{label:"Email",slug:"mail",shareLink:"mailto:mail@example.com?subject=Contact%20Request",shareTitle:"Share by e-mail",followLink:"mailto:mail@example.com?subject=Contact%20Request",followTitle:"Contact Us"},{label:"RSS",slug:"rss",followLink:"https://feeds.feedburner.com/MyFeedName",followTitle:"Subscribe to our RSS Feed"},{label:"YouTube",slug:"youtube",followLink:"https://www.youtube.com/MyYouTubeName",followTitle:"Find us on YouTube"},{label:"Vimeo",slug:"vimeo",followLink:"https://vimeo.com/MyVimeoName",followTitle:"Find us on Vimeo"},{label:"Instagram",slug:"instagram",followLink:"https://instagram.com/myusername",followTitle:"Check out our instagram feed"},{label:"Flickr",slug:"flickr",followLink:"https://www.flickr.com/photos/myusername/",followTitle:"Check out our flickr feed"},{label:"Foursquare",slug:"foursquare",followLink:"https://foursquare.com/myusername",followTitle:"Check out our foursquare feed"}],["slug"]),va={service:"Decides for what types of services Facebook will be used by default.",shareLink:(0,l.createElement)(l.Fragment,null,"The link used by default for sharing content on Facebook. ",(0,l.createElement)("strong",null,"Note: this generally doesn't need to be changed, only change it if you know what you're doing.")),shareTitle:"The title used by default for the Facebook share button (a standard one will be used if left empty).",followLink:"The link used by default for following you on Facebook. Change this to point to your own social profile page on Facebook.",followTitle:"The title used by default for the Facebook follow button (a standard one will be used if left empty)."};var wa=()=>{const[e,t]=(0,l.useState)(!1),a=(0,l.useRef)(null),[n,o]=(0,l.useReducer)(sa,ia),r=u().debounce((e=>{t(!0),i()({path:"/social-media-feather/v2/settings",method:"POST",data:e}).then((e=>{o({type:"all",payload:e.data}),t(!1)})).catch((e=>{console.error({err:e}),t(!1)}))}),250);return(0,l.createElement)(w,{className:"social-media-feather mt-5 mx-0"},(0,l.createElement)(re,null,(0,l.createElement)(ce,{className:"mb-3"},(0,l.createElement)("h1",{className:"px-0"},(0,s.__)("Social Media Feather Settings","social-media-feather"))),(0,l.createElement)(Zt,{defaultActiveKey:"general",className:"mb-3"},(0,l.createElement)(aa,{eventKey:"general",title:"General",className:"mb-3",disabled:!!e},(0,l.createElement)(re.Group,{as:ce,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},(0,s.__)("General Settings","social-media-feather")),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},(0,s.__)("Settings affecting the general behaviour of the plugin.","social-media-feather"))),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formCheckUseShortlinks"},(0,l.createElement)(re.Check,{type:"switch",label:"Use Shortlinks",id:"use_shortlinks",onChange:()=>o({type:"use_shortlinks",payload:!n.use_shortlinks}),checked:n.use_shortlinks}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Allows for shortened URLs to be used when sharing content if a shortening plugin is installed.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formCheckShareFullURL"},(0,l.createElement)(re.Check,{type:"switch",label:"Share Full URL",id:"share_full_url",onChange:()=>o({type:"share_full_url",payload:!n.share_full_url}),checked:n.share_full_url}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},'Determines whether to always share the full URL or just the post permalink. You can override this for individual posts by setting the "synved_social_share_full_url" custom field to either "yes" or "no", case sensitive.')),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formCheckLayoutRTL"},(0,l.createElement)(re.Check,{type:"switch",label:"Right To Left Layout",id:"layout_rtl",onChange:()=>o({type:"layout_rtl",payload:!n.layout_rtl}),checked:n.layout_rtl}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Check this option if you have a right-to-left site layout and icons show spacing issues.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formCheckShortcodeWidgets"},(0,l.createElement)(re.Check,{type:"switch",label:"Shortcodes In Widgets",id:"shortcode_widgets",onChange:()=>o({type:"shortcode_widgets",payload:!n.shortcode_widgets}),checked:n.shortcode_widgets}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Allow shortcodes in Text widgets.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formCheckShowCredit"},(0,l.createElement)(re.Check,{type:"switch",label:"Show Credit",id:"show_credit",onChange:()=>o({type:"show_credit",payload:!n.show_credit}),checked:n.show_credit}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Display a small icon with a link to the Social Media Feather page.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextDefaultMessage"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Default Message"),(0,l.createElement)(re.Control,{placeholder:"Default message",onChange:e=>o({type:"share_message_default",payload:e.target.value}),value:n.share_message_default}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Specify the default message to use when sharing content, this is what gets replaced into the %%message%% variable.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextFacebookAppID"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Facebook App ID"),(0,l.createElement)(re.Control,{onChange:e=>o({type:"fb_app_id",payload:e.target.value}),value:n.fb_app_id}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"To use Facebook functionality, please enter your Facebook App ID here.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formCheckAcceptedShareThisTerms"},(0,l.createElement)(re.Check,{type:"switch",label:"Terms of Service",id:"accepted_sharethis_terms",onChange:()=>o({type:"accepted_sharethis_terms",payload:!n.accepted_sharethis_terms}),checked:n.accepted_sharethis_terms}),(0,l.createElement)(re.Text,{muted:!0},"Accept or decline ",(0,l.createElement)("a",{target:"_blank",href:"https://www.sharethis.com/terms/"},"ShareThis Terms of Service")," and ",(0,l.createElement)("a",{target:"_blank",href:"https://www.sharethis.com/privacy/"},"Privacy Notice"),"."))),(0,l.createElement)(aa,{eventKey:"automatic",title:"Automatic Display",disabled:!!e},(0,l.createElement)(re.Group,{as:ce,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},"Automatic Display"),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Settings affecting automating appending of social buttons to post contents.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formCheckAutomaticShare"},(0,l.createElement)(re.Check,{type:"switch",label:"Display Sharing Buttons",id:"automatic_share",onChange:()=>o({type:"automatic_share",payload:!n.automatic_share}),checked:n.automatic_share}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},'Tries to automatically append sharing buttons to your posts (disable for specific posts by setting custom field synved_social_exclude or synved_social_exclude_share to "yes", case sensitive).')),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectAutomaticSharePosition"},(0,l.createElement)(re.Label,{className:"px-0"},"Share Buttons Position"),(0,l.createElement)(re.Select,{value:n.automatic_share_position,onChange:e=>o({type:"automatic_share_position",payload:e.target.value})},ca.map((e=>(0,l.createElement)("option",{key:`automatic-share-position-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},'Tries to automatically append sharing buttons to your posts (disable for specific posts by setting custom field synved_social_exclude or synved_social_exclude_share to "yes", case sensitive).')),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formCheckAutomaticShareSingle"},(0,l.createElement)(re.Check,{type:"switch",label:"Sharing Single Posts",id:"automatic_share_single",onChange:()=>o({type:"automatic_share_single",payload:!n.automatic_share_single}),checked:n.automatic_share_single}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Sharing buttons are only displayed on single posts/pages and not on archive pages like blog/category/tag/author pages.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectAutomaticPostTypes"},(0,l.createElement)(re.Label,{className:"px-0"},"Share Post Types"),(0,l.createElement)(re.Select,{className:"automatic_share_post_types",multiple:!0,onChange:e=>o({type:"automatic_share_post_types",payload:Array.from(e.target.querySelectorAll("option:checked")).map((e=>e.value))}),value:n.automatic_share_post_types},ua.map((e=>(0,l.createElement)("option",{key:`automatic-share-post-type-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Post types for which automatic appending for share buttons should be attempted (CTRL + click to select multiple ones).")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextSharePrefixMarkup"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Share Prefix Markup"),(0,l.createElement)(re.Control,{onChange:e=>o({type:"automatic_share_prefix",payload:e.target.value}),value:n.automatic_share_prefix}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup before the share buttons markup.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextSharePostfixMarkup"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Share Postfix Markup"),(0,l.createElement)(re.Control,{onChange:e=>o({type:"automatic_share_postfix",payload:e.target.value}),value:n.automatic_share_postfix}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the share buttons markup.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formCheckAutomaticFollow"},(0,l.createElement)(re.Check,{type:"switch",label:"Display Follow Buttons",id:"automatic_follow",onChange:()=>o({type:"automatic_follow",payload:!n.automatic_follow}),checked:n.automatic_follow}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},'Tries to automatically append follow buttons to your posts (disable for specific posts by setting custom field synved_social_exclude or synved_social_exclude_follow to "yes", case sensitive).')),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectAutomaticFollowPostTypes"},(0,l.createElement)(re.Label,{className:"px-0"},"Follow Post Types"),(0,l.createElement)(re.Select,{className:"automatic_follow_post_types",multiple:!0,onChange:e=>o({type:"automatic_follow_post_types",payload:Array.from(e.target.querySelectorAll("option:checked")).map((e=>e.value))}),value:n.automatic_follow_post_types},ua.map((e=>(0,l.createElement)("option",{key:`automatic-share-post-type-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Post types for which automatic appending for follow buttons should be attempted (CTRL + click to select multiple ones).")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formCheckAutomaticBeforeShare"},(0,l.createElement)(re.Check,{type:"switch",label:"Follow Before Share",id:"automatic_follow_before_share",onChange:()=>o({type:"automatic_follow_before_share",payload:!n.automatic_follow_before_share}),checked:n.automatic_follow_before_share}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"When automatically appending, place follow buttons before share buttons. Only valid when share and follow buttons positions are the same.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextFollowPrefixMarkup"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Follow Prefix Markup"),(0,l.createElement)(re.Control,{onChange:e=>o({type:"automatic_follow_prefix",payload:e.target.value}),value:n.automatic_follow_prefix}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup before the follow buttons markup.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextFollowPostfixMarkup"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Follow Postfix Markup"),(0,l.createElement)(re.Control,{onChange:e=>o({type:"automatic_follow_postfix",payload:e.target.value}),value:n.automatic_follow_postfix}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the follow buttons markup.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextPrefixMarkup"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Prefix Markup"),(0,l.createElement)(re.Control,{onChange:e=>o({type:"automatic_append_prefix",payload:e.target.value}),value:n.automatic_append_prefix}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup before the buttons markup.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextSeparatorMarkup"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Separator Markup"),(0,l.createElement)(re.Control,{onChange:e=>o({type:"automatic_append_separator",payload:e.target.value}),value:n.automatic_append_separator}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"When automatically appending both, use this markup as separator between the set of share buttons and the set of follow buttons. Only valid when share and follow buttons positions are the same.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextPostfixMarkup"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Postfix Markup"),(0,l.createElement)(re.Control,{onChange:e=>o({type:"automatic_append_postfix",payload:e.target.value}),value:n.automatic_append_postfix}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the buttons markup."))),(0,l.createElement)(aa,{eventKey:"customize",title:"Customize Look",disabled:!!e},(0,l.createElement)(re.Group,{as:ce,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},"Customize Look"),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Customize the look & feel of Social Media Feather.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectIconSkin"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Icon Skin"),(0,l.createElement)(w,null,(0,l.createElement)(ce,null,da.map(((e,t)=>(0,l.createElement)(l.Fragment,{key:`form-select-icon-skin-item-${e[0].value}`},(0,l.createElement)(z,{md:"auto",className:"mb-3"},(0,l.createElement)(ce,null,(0,l.createElement)(re.Check,{type:"radio",id:`icon-skin-${e[0].value}`,className:"smf__form-check"},(0,l.createElement)(re.Check.Label,null,(0,l.createElement)(na,{src:`${SocialMediaFeather.pluginURL}${e[0].imagePath}`}),(0,l.createElement)(re.Check.Input,{name:"icon_skin",type:"radio",checked:e[0].value===n.icon_skin,value:e[0].value,className:"smf__form-check-input--radio",onChange:e=>o({type:"icon_skin",payload:e.target.value})}),e[0].label)))),(0,l.createElement)(z,{md:"auto",className:"mb-3"},(0,l.createElement)(re.Check,{type:"radio",id:`icon-skin-${e[1].value}`,className:"smf__form-check"},(0,l.createElement)(re.Check.Label,null,(0,l.createElement)(na,{src:`${SocialMediaFeather.pluginURL}${e[1].imagePath}`}),(0,l.createElement)(re.Check.Input,{name:"icon_skin",type:"radio",checked:e[1].value===n.icon_skin,value:e[1].value,className:"smf__form-check-input--radio",onChange:e=>o({type:"icon_skin",payload:e.target.value})}),e[1].label))),(0,l.createElement)(z,{md:"auto",className:"mb-3"},(0,l.createElement)(re.Check,{type:"radio",id:`icon-skin-${e[2].value}`,className:"smf__form-check"},(0,l.createElement)(re.Check.Label,null,(0,l.createElement)(na,{src:`${SocialMediaFeather.pluginURL}${e[2].imagePath}`}),(0,l.createElement)(re.Check.Input,{name:"icon_skin",type:"radio",checked:e[2].value===n.icon_skin,value:e[2].value,className:"smf__form-check-input--radio",onChange:e=>o({type:"icon_skin",payload:e.target.value})}),e[2].label))))))))),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectIconSize"},(0,l.createElement)(re.Label,{className:"px-0"},"Icon Size"),(0,l.createElement)(re.Select,{value:n.icon_size,onChange:e=>o({type:"icon_size",payload:e.target.value})},ma.map((e=>(0,l.createElement)("option",{key:`form-select-icon-size-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Select the size in pixels for the icons. Note: for high resolution displays like Retina the maximum size is 64x64.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectIconResolution"},(0,l.createElement)(re.Label,{className:"px-0"},"Icon Resolution"),(0,l.createElement)(re.Select,{value:n.icon_resolution,onChange:e=>o({type:"icon_resolution",payload:e.target.value})},pa.map((e=>(0,l.createElement)("option",{key:`option-icon-resolution-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Select what icon resolutions will be used. Single might make the icons slightly blurry on low resolution displays. Double will always look the best but will consume more bandwidth.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextIconSpacing"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Icon Spacing"),(0,l.createElement)(re.Control,{placeholder:"Default message",type:"number",onChange:e=>o({type:"icon_spacing",payload:e.target.value}),value:n.icon_spacing}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Select the spacing in pixels between the icons.")),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectButtonsInContainer"},(0,l.createElement)(re.Label,{className:"px-0"},"Buttons in Container"),(0,l.createElement)(re.Select,{value:n.buttons_container,onChange:e=>o({type:"buttons_container",payload:e.target.value})},ba.map((e=>(0,l.createElement)("option",{key:`share-or-follow-display-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},'Determines whether or not to wrap the buttons in a container, which will affect how the buttons are rendered, based on the "Buttons Container Type" setting.')),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectButtonsContainerType"},(0,l.createElement)(re.Label,{className:"px-0"},"Buttons Container Type"),(0,l.createElement)(re.Select,{value:n.buttons_container_type,onChange:e=>o({type:"buttons_container_type",payload:e.target.value})},fa.map((e=>(0,l.createElement)("option",{key:`buttons-container-type-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},'"Basic" should not affect rendering, while "Block" should display the buttons in their own row. Note: selecting "Block" might not look the way you want if you\'re using Prefix or Postfix markup.')),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectShareButtonsAlignment"},(0,l.createElement)(re.Label,{className:"px-0"},"Share Buttons Alignment"),(0,l.createElement)(re.Select,{value:n.buttons_alignment_share,onChange:e=>o({type:"buttons_alignment_share",payload:e.target.value})},ha.map((e=>(0,l.createElement)("option",{key:`share-buttons-alignment-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},'Will attempt at aligning the share buttons accordingly. Note: this will enforce "Buttons Container Type" of "Block" and might not work reliably on all themes.')),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(re.Label,{className:"px-0"},"Follow Buttons Alignment"),(0,l.createElement)(re.Select,{value:n.buttons_alignment_follow,onChange:e=>o({type:"buttons_alignment_follow",payload:e.target.value})},ha.map((e=>(0,l.createElement)("option",{key:`follow-buttons-alignment-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},'Will attempt at aligning the follow buttons accordingly. Note: this will enforce "Buttons Container Type" of "Block" and might not work reliably on all themes.')),(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextExtraStyles"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},"Extra Styles"),(0,l.createElement)(re.Control,{as:"textarea",onChange:e=>o({type:"custom_style",payload:e.target.value}),value:n.custom_style}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"When automatically appending, place this markup after all of the share buttons markup."))),(0,l.createElement)(aa,{eventKey:"service",title:"Service Providers",disabled:!!e},(0,l.createElement)(re.Group,{as:ce,className:"mb-3"},(0,l.createElement)("h3",{className:"px-0"},"Service Providers"),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},"Customize social sharing and following providers.")),ya.map((e=>{let t="none";e.shareLink&&e.followLink?t="both":e.shareLink?t="share":e.followLink&&(t="follow");let a=[];return"both"===t?a=[...ba]:"share"===t?a=[..._a]:"follow"===t&&(a=[...ga]),(0,l.createElement)(l.Fragment,{key:`service-provider-group-${e.slug}`},(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formPlaintextExtraStyles"},(0,l.createElement)(re.Label,{column:!0,sm:"2",className:"px-0"},e.label," Service"),(0,l.createElement)(re.Select,{value:n[`${e.slug}_display`],onChange:t=>o({type:`${e.slug}_display`,payload:t.target.value})},a.map((e=>(0,l.createElement)("option",{key:`service-provider-item-${e.value}`,value:e.value},e.label)))),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},va.service)),e.shareLink&&(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(re.Label,{className:"px-0"},e.label," Share Link"),(0,l.createElement)(re.Control,{placeholder:e.shareLink,type:"text",onChange:t=>o({type:`${e.slug}_share_link`,payload:t.target.value}),value:n[`${e.slug}_share_link`]}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},va.shareLink)),e.shareTitle&&(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(re.Label,{className:"px-0"},e.label," Share Title"),(0,l.createElement)(re.Control,{placeholder:e.shareTitle,type:"text",onChange:t=>o({type:`${e.slug}_share_title`,payload:t.target.value}),value:n[`${e.slug}_share_title`]}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},va.shareTitle)),e.followLink&&(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(re.Label,{className:"px-0"},e.label," Follow Link"),(0,l.createElement)(re.Control,{placeholder:e.followLink,type:"text",onChange:t=>o({type:`${e.slug}_follow_link`,payload:t.target.value}),value:n[`${e.slug}_follow_link`]}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},va.followLink)),e.followTitle&&(0,l.createElement)(re.Group,{as:ce,className:"mb-3",controlId:"formSelectFollowButtonsAlignment"},(0,l.createElement)(re.Label,{className:"px-0"},e.label," Follow Title"),(0,l.createElement)(re.Control,{placeholder:e.followTitle,type:"text",onChange:t=>o({type:`${e.slug}_follow_title`,payload:t.target.value}),value:n[`${e.slug}_follow_title`]}),(0,l.createElement)(re.Text,{muted:!0,className:"p-0"},va.followTitle)))})))),(0,l.createElement)(ra,{ref:a,variant:"primary",className:"mx-0",disabled:!!e,onClick:()=>r(n)},!0===e?"...":"Save Settings")))};o()((()=>{(0,l.render)((0,l.createElement)(wa,null),document.getElementById("social-media-feather-app"))}))},184:function(e,t){var a;!function(){"use strict";var l={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var o=typeof a;if("string"===o||"number"===o)e.push(a);else if(Array.isArray(a)){if(a.length){var r=n.apply(null,a);r&&e.push(r)}}else if("object"===o)if(a.toString===Object.prototype.toString)for(var i in a)l.call(a,i)&&a[i]&&e.push(i);else e.push(a.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(a=function(){return n}.apply(t,[]))||(e.exports=a)}()},143:function(e){"use strict";e.exports=function(e,t,a,l,n,o,r,i){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[a,l,n,o,r,i],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},418:function(e){"use strict";var t=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach((function(e){l[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},l)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var r,i,s=n(e),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]))a.call(r,u)&&(s[u]=r[u]);if(t){i=t(r);for(var d=0;d<i.length;d++)l.call(r,i[d])&&(s[i[d]]=r[i[d]])}}return s}},391:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];function l(){for(var e=arguments.length,a=Array(e),l=0;l<e;l++)a[l]=arguments[l];var n=null;return t.forEach((function(e){if(null==n){var t=e.apply(void 0,a);null!=t&&(n=t)}})),n}return(0,n.default)(l)};var l,n=(l=a(613))&&l.__esModule?l:{default:l};e.exports=t.default},613:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,a,l,n,o,r){var i=n||"<<anonymous>>",s=r||l;if(null==a[l])return t?new Error("Required "+o+" `"+s+"` was not specified in `"+i+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[a,l,i,o,s].concat(u))}var a=t.bind(null,!1);return a.isRequired=t.bind(null,!0),a},e.exports=t.default},703:function(e,t,a){"use strict";var l=a(414);function n(){}function o(){}o.resetWarningCache=n,e.exports=function(){function e(e,t,a,n,o,r){if(r!==l){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:n};return a.PropTypes=a,a}},697:function(e,t,a){e.exports=a(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},251:function(e,t,a){"use strict";a(418);var l=a(196),n=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;n=o("react.element"),t.Fragment=o("react.fragment")}var r=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,a){var l,o={},c=null,u=null;for(l in void 0!==a&&(c=""+a),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,l)&&!s.hasOwnProperty(l)&&(o[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===o[l]&&(o[l]=t[l]);return{$$typeof:n,type:e,key:c,ref:u,props:o,_owner:r.current}}t.jsx=c,t.jsxs=c},893:function(e,t,a){"use strict";e.exports=a(251)},473:function(e){"use strict";e.exports=function(){}},196:function(e){"use strict";e.exports=window.React}},function(e){e(e.s=595)}]);
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: socialmediafeather, scottstorebloom, scottmweaver
|
3 |
Tags: social media, social sharing, social buttons, Facebook, Share, Like, twitter, google, Reddit, youtube, instagram, pinterest, social media buttons, button, shortcode, sidebar, sharing buttons, follow buttons
|
4 |
Requires at least: 5.9
|
5 |
-
Tested up to: 6.
|
6 |
-
Stable tag: 2.1.
|
7 |
-
Version: 2.1.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -190,6 +190,9 @@ margin-left: 10px;
|
|
190 |
|
191 |
== Changelog ==
|
192 |
|
|
|
|
|
|
|
193 |
= 2.1.2 =
|
194 |
* Test with WordPress 6.0.2
|
195 |
* Fix warning.
|
2 |
Contributors: socialmediafeather, scottstorebloom, scottmweaver
|
3 |
Tags: social media, social sharing, social buttons, Facebook, Share, Like, twitter, google, Reddit, youtube, instagram, pinterest, social media buttons, button, shortcode, sidebar, sharing buttons, follow buttons
|
4 |
Requires at least: 5.9
|
5 |
+
Tested up to: 6.1.1
|
6 |
+
Stable tag: 2.1.3
|
7 |
+
Version: 2.1.3
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
190 |
|
191 |
== Changelog ==
|
192 |
|
193 |
+
= 2.1.3 =
|
194 |
+
* Test with WordPress 6.1.1 and PHP 8.
|
195 |
+
|
196 |
= 2.1.2 =
|
197 |
* Test with WordPress 6.0.2
|
198 |
* Fix warning.
|
social-media-feather.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin URI: https://sharethis.com/platform/wordpress-social-media-feather/
|
6 |
* Description: Super lightweight social media plugin to add nice and effective social media sharing and following buttons and icons anywhere on your site quickly and easily.
|
7 |
* Author: socialmediafeather
|
8 |
-
* Version: 2.1.
|
9 |
* Author URI: https://sharethis.com/platform/wordpress-social-media-feather/
|
10 |
*
|
11 |
* @package SocialMediaFeather
|
@@ -16,7 +16,7 @@ define( 'SOCIAL_MEDIA_FEATHER_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
|
16 |
|
17 |
const SOCIAL_MEDIA_FEATHER_PLUGIN_MAIN_FILE = __FILE__;
|
18 |
|
19 |
-
const SYNVED_VERSION = '2.1.
|
20 |
|
21 |
if ( false === function_exists( 'synved_wp_social_load' ) ) {
|
22 |
/**
|
5 |
* Plugin URI: https://sharethis.com/platform/wordpress-social-media-feather/
|
6 |
* Description: Super lightweight social media plugin to add nice and effective social media sharing and following buttons and icons anywhere on your site quickly and easily.
|
7 |
* Author: socialmediafeather
|
8 |
+
* Version: 2.1.3
|
9 |
* Author URI: https://sharethis.com/platform/wordpress-social-media-feather/
|
10 |
*
|
11 |
* @package SocialMediaFeather
|
16 |
|
17 |
const SOCIAL_MEDIA_FEATHER_PLUGIN_MAIN_FILE = __FILE__;
|
18 |
|
19 |
+
const SYNVED_VERSION = '2.1.3';
|
20 |
|
21 |
if ( false === function_exists( 'synved_wp_social_load' ) ) {
|
22 |
/**
|