%PDF- %PDF-
Direktori : /var/www/knwn/wp-content/plugins/wordpress-seo/js/dist/ |
Current File : /var/www/knwn/wp-content/plugins/wordpress-seo/js/dist/help-scout-beacon.js |
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=191)}({0:function(t,e){t.exports=window.wp.element},13:function(t,e){t.exports=window.yoast.styledComponents},15:function(t,e){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}},191:function(t,e,n){"use strict";n.r(e);var o,r,i,a,c=n(29),l=n.n(c),s=n(15),u=n.n(s),d=n(0),p=n(13),f=n.n(p),b=n(2),m=Object(p.createGlobalStyle)(o||(o=u()(["\n\t@media only screen and (min-width: 1024px) {\n\t\t.BeaconFabButtonFrame.BeaconFabButtonFrame {\n\t\t\t",": 340px !important;\n\t\t}\n\t}\n"])),(function(t){return"1"===t.isRtl?"left":"right"}));function w(t){var e=document.createElement("div");e.setAttribute("id","yoast-helpscout-beacon"),Object(d.render)(t,e),document.body.appendChild(e)}function y(){return!!document.getElementById("sidebar")}function h(t){""!==t&&(void 0!==(t=JSON.parse(t)).name&&void 0!==t.email&&(window.Beacon("prefill",{name:t.name,email:t.email}),delete t.name,delete t.email),window.Beacon("session-data",t))}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";!function(t,e){var n=t.Beacon;function o(){var t=e.getElementsByTagName("script")[0],n=e.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://beacon-v2.helpscout.net",t.parentNode.insertBefore(n,t)}if(t.Beacon=n=function(e,n,o){t.Beacon.readyQueue.push({method:e,options:n,data:o})},n.readyQueue=[],"complete"===e.readyState)return o();t.attachEvent?t.attachEvent("onload",o):t.addEventListener("load",o,!1)}(window,document,window.Beacon),window.Beacon("init",t),h(e),"1"===window.wpseoAdminGlobalL10n.isRtl&&window.Beacon("config",{display:{position:"left"}}),y()&&w(Object(d.createElement)(m,{isRtl:window.wpseoAdminGlobalL10n.isRtl}))}window.wpseoHelpScoutBeacon=g,window.wpseoHelpScoutBeaconConsent=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=f.a.div(r||(r=u()(["\n\t\tborder-radius: 60px;\n\t\theight: 60px;\n\t\tposition: fixed;\n\t\ttransform: scale(1);\n\t\twidth: 60px;\n\t\tz-index: 1049;\n\t\tbottom: 40px;\n\t\tbox-shadow: rgba(0, 0, 0, 0.1) 0 4px 7px;\n\t\t",": 40px;\n\t\ttop: auto;\n\t\tborder-width: initial;\n\t\tborder-style: none;\n\t\tborder-color: initial;\n\t\tborder-image: initial;\n\t\ttransition: box-shadow 250ms ease 0s, opacity 0.4s ease 0s, scale 1000ms ease-in-out 0s, transform 0.2s ease-in-out 0s;\n\t"])),(function(t){return"1"===t.isRtl?"left":"right"})),o=f.a.span(i||(i=u()(["\n\t\t-webkit-box-align: center;\n\t\talign-items: center;\n\t\tcolor: white;\n\t\tcursor: pointer;\n\t\tdisplay: flex;\n\t\theight: 100%;\n\t\t-webkit-box-pack: center;\n\t\tjustify-content: center;\n\t\tleft: 0;\n\t\tpointer-events: none;\n\t\tposition: absolute;\n\t\ttext-indent: -99999px;\n\t\ttop: 0;\n\t\twidth: 60px;\n\t\twill-change: opacity, transform;\n\t\topacity: 1 !important;\n\t\ttransform: rotate(0deg) scale(1) !important;\n\t\ttransition: opacity 80ms linear 0s, transform 160ms linear 0s;\n\t"]))),c=function(){return Object(d.createElement)(o,null,Object(d.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"52"},Object(d.createElement)("path",{d:"M27.031 32h-2.488v-2.046c0-.635.077-1.21.232-1.72.154-.513.366-.972.639-1.381.272-.41.58-.779.923-1.109.345-.328.694-.652 1.049-.97l.995-.854a6.432 6.432 0 0 0 1.475-1.568c.39-.59.585-1.329.585-2.216 0-.635-.117-1.203-.355-1.703a3.7 3.7 0 0 0-.96-1.263 4.305 4.305 0 0 0-1.401-.783A5.324 5.324 0 0 0 26 16.114c-1.28 0-2.316.375-3.11 1.124-.795.75-1.286 1.705-1.475 2.865L19 19.693c.356-1.772 1.166-3.165 2.434-4.176C22.701 14.507 24.26 14 26.107 14c.947 0 1.842.131 2.682.392.84.262 1.57.648 2.185 1.16a5.652 5.652 0 0 1 1.475 1.892c.368.75.551 1.602.551 2.556 0 .728-.083 1.364-.248 1.909a5.315 5.315 0 0 1-.693 1.467 6.276 6.276 0 0 1-1.048 1.176c-.403.351-.83.71-1.28 1.073-.498.387-.918.738-1.26 1.057a4.698 4.698 0 0 0-.836 1.006 3.847 3.847 0 0 0-.462 1.176c-.095.432-.142.955-.142 1.568V32zM26 37a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z",fill:"#FFF"})))},s=f.a.button(a||(a=u()(["\n\t\t-webkit-appearance: none;\n\t\t-webkit-box-align: center;\n\t\talign-items: center;\n\t\tbottom: 0;\n\t\tdisplay: block;\n\t\theight: 60px;\n\t\t-webkit-box-pack: center;\n\t\tjustify-content: center;\n\t\tline-height: 60px;\n\t\tposition: relative;\n\t\tuser-select: none;\n\t\tz-index: 899;\n\t\tbackground-color: rgb(164, 40, 106);\n\t\tcolor: white;\n\t\tcursor: pointer;\n\t\tmin-width: 60px;\n\t\t-webkit-tap-highlight-color: transparent;\n\t\tborder-radius: 200px;\n\t\tmargin: 0;\n\t\toutline: none;\n\t\tpadding: 0;\n\t\tborder-width: initial;\n\t\tborder-style: none;\n\t\tborder-color: initial;\n\t\tborder-image: initial;\n\t\ttransition: background-color 200ms linear 0s, transform 200ms linear 0s;\n\t"]))),p=function(){var o=Object(d.useState)(!0),r=l()(o,2),i=r[0],a=r[1],u=y();return Object(d.createElement)(d.Fragment,null,u&&Object(d.createElement)(m,{isRtl:window.wpseoAdminGlobalL10n.isRtl}),i&&Object(d.createElement)(n,{className:u?"BeaconFabButtonFrame":"",isRtl:window.wpseoAdminGlobalL10n.isRtl},Object(d.createElement)(s,{onClick:function(){var n=Object(b.__)("When you click OK we will open our HelpScout beacon where you can find answers to your questions. This beacon will load our support data and also potentially set cookies.","wordpress-seo");window.confirm(n)&&(g(t,e),window.Beacon("open"),window.setTimeout((function(){a(!1)}),1e3))}},Object(d.createElement)(c,null))))};w(Object(d.createElement)(p,null))}},2:function(t,e){t.exports=window.wp.i18n},29:function(t,e,n){var o=n(64),r=n(65),i=n(66);t.exports=function(t,e){return o(t)||r(t,e)||i()}},64:function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},65:function(t,e){t.exports=function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],_n=!0,o=!1,r=void 0;try{for(var i,a=t[Symbol.iterator]();!(_n=(i=a.next()).done)&&(n.push(i.value),!e||n.length!==e);_n=!0);}catch(t){o=!0,r=t}finally{try{_n||null==a.return||a.return()}finally{if(o)throw r}}return n}}},66:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}}});