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,EAAUC,EAC3C,C,4DCde,SAASO,EAA2BC,EAAMC,GACvD,GAAIA,IAA2B,YAAlB,OAAQA,IAAsC,mBAATA,GAChD,OAAOA,EACF,QAAa,IAATA,EACT,MAAM,IAAIR,UAAU,4DAEtB,OCRa,SAAgCO,GAC7C,QAAa,IAATA,EACF,MAAM,IAAIE,eAAe,6DAE3B,OAAOF,CACT,CDGS,CAAsBA,EAC/B,C","sources":["webpack://heliomare_10_frontend/./node_modules/@humandigital-agency/base-controller/index.js","webpack://heliomare_10_frontend/./node_modules/@humandigital-agency/base-controller/baseController.js","webpack://heliomare_10_frontend/./node_modules/@humandigital-agency/share/share.js","webpack://heliomare_10_frontend/./scripts/controllers/share/share.js","webpack://heliomare_10_frontend/./scripts/controllers/share/controller.js","webpack://heliomare_10_frontend/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://heliomare_10_frontend/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://heliomare_10_frontend/./node_modules/@babel/runtime/helpers/esm/inherits.js","webpack://heliomare_10_frontend/./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","webpack://heliomare_10_frontend/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"],"sourcesContent":["import BaseController from './baseController';\r\n\r\nexport default BaseController;\r\nexport {\r\n BaseController,\r\n};","export default class BaseController {\r\n /**\r\n * \r\n * @param {String} selector CSS selector to select the container to give to an Instance\r\n * @param {Class} instance Class/object that will be created when selector matches\r\n * @param {Document|Element} scope Scope of where to search for the selector\r\n */\r\n constructor(selector = null, instance = null, scope = document) {\r\n this.instances = [];\r\n\r\n this.selector = selector;\r\n this.Instance = instance;\r\n this.scope = scope;\r\n\r\n if (this.Instance && this.selector) {\r\n this.init();\r\n }\r\n }\r\n\r\n init() {\r\n if (this.scope.querySelectorAll(this.selector).length) {\r\n this.scope.querySelectorAll(this.selector).forEach(container => {\r\n const instance = new this.Instance(container);\r\n this.instances.push(instance);\r\n\r\n instance.init();\r\n });\r\n }\r\n }\r\n}","export default class Share {\r\n constructor(container) {\r\n this.container = container;\r\n\r\n this.url = null;\r\n this.description = null;\r\n this.title = null;\r\n this.tagTitle = 'Delen via MEDIA';\r\n this.mobile = false;\r\n\r\n this.nativeShare = false;\r\n\r\n this.order = [\r\n 'twitter',\r\n 'linkedin',\r\n 'facebook',\r\n 'email',\r\n 'whatsapp',\r\n 'native',\r\n ];\r\n\r\n this.medias = {\r\n twitter: {\r\n name: 'Twitter',\r\n enabled: true,\r\n icon: '',\r\n mobileOnly: false,\r\n },\r\n linkedin: {\r\n name: 'LinkedIn',\r\n enabled: true,\r\n icon: '',\r\n mobileOnly: false,\r\n },\r\n facebook: {\r\n name: 'Facebook',\r\n enabled: true,\r\n icon: '',\r\n mobileOnly: false,\r\n },\r\n email: {\r\n name: 'e-mail',\r\n enabled: true,\r\n icon: '',\r\n mobileOnly: false,\r\n },\r\n whatsapp: {\r\n name: 'WhatsApp',\r\n enabled: true,\r\n icon: '',\r\n mobileOnly: true,\r\n },\r\n native: {\r\n name: 'Share',\r\n enabled: true,\r\n tagTitle: 'Delen',\r\n icon: '',\r\n mobileOnly: false,\r\n },\r\n };\r\n }\r\n\r\n init() {\r\n this.mobile = this.detectMobile();\r\n this.url = this.obtainUrl();\r\n this.description = this.obtainDescription();\r\n this.title = this.obtainTitle();\r\n\r\n this.createShareButtons();\r\n }\r\n\r\n createShareButtons() {\r\n let list = Object.keys(this.medias);\r\n\r\n if (this.order) {\r\n list = this.order;\r\n }\r\n list.forEach(media => {\r\n if (this.medias[media].enabled) {\r\n let render = true;\r\n if (this.medias[media].mobileOnly && !this.mobile) {\r\n render = false;\r\n }\r\n\r\n if (media == 'native' && !navigator.share) {\r\n render = false;\r\n }\r\n\r\n console.log(`${media}: ${render}`);\r\n\r\n if (render) {\r\n const tag = document.createElement('a');\r\n tag.setAttribute('target', '_blank');\r\n tag.setAttribute('rel', 'noopener');\r\n tag.href = this[media]();\r\n if (this.medias[media].tagTitle) {\r\n tag.title = this.medias[media].tagTitle;\r\n } else {\r\n tag.title = this.tagTitle.replace(/MEDIA/g, this.medias[media].name);\r\n }\r\n tag.innerHTML = this.medias[media].icon;\r\n\r\n this.bindEvents(tag, media);\r\n this.container.appendChild(tag);\r\n }\r\n }\r\n });\r\n }\r\n\r\n detectMobile() {\r\n return /iPhone|Android|Blackberry/i.test(navigator.userAgent);\r\n }\r\n\r\n obtainUrl() {\r\n if (this.container.dataset.url) {\r\n return this.container.dataset.url;\r\n }\r\n\r\n return window.location.href;\r\n }\r\n\r\n obtainDescription() {\r\n if (this.container.dataset.description) {\r\n return this.container.dataset.description;\r\n }\r\n \r\n let metaDescription = null;\r\n let ogDescription = null;\r\n let metaTags = document.head.getElementsByTagName('meta');\r\n\r\n for (let metaIndex = 0; metaIndex < metaTags.length; metaIndex++) {\r\n if (metaTags[metaIndex].getAttribute('property') === 'description') {\r\n metaDescription = metaTags[metaIndex].getAttribute('content');\r\n }\r\n if (metaTags[metaIndex].getAttribute('property') === 'og:description') {\r\n ogDescription = metaTags[metaIndex].getAttribute('content');\r\n }\r\n }\r\n\r\n if (metaDescription === null && ogDescription === null) {\r\n return '';\r\n } \r\n \r\n if (ogDescription !== null) {\r\n return ogDescription;\r\n }\r\n\r\n return metaDescription;\r\n }\r\n\r\n obtainTitle() {\r\n if (this.container.dataset.title) {\r\n return this.container.dataset.title;\r\n }\r\n\r\n return document.title;\r\n }\r\n\r\n obtainTagTitle(media) {\r\n if (this.container.dataset.tagTitle) {\r\n return this.container.dataset.tagTitle.replace(`MEDIA`, this.medias[media].name);\r\n }\r\n\r\n return `Deel via ${this.medias[media].name}`;\r\n }\r\n\r\n // Social media specific methods\r\n twitter() {\r\n return `https://twitter.com/intent/tweet?url=${encodeURIComponent(this.url)}&text=${encodeURIComponent(this.description)}`;\r\n }\r\n\r\n linkedin() {\r\n return `https://www.linkedin.com/shareArticle?url=${encodeURIComponent(this.url)}&mini=true&summary=${encodeURIComponent(this.description)}`\r\n }\r\n \r\n facebook() {\r\n return `https://www.facebook.com/sharer.php?u=${encodeURIComponent(this.url)}`;\r\n }\r\n \r\n email() {\r\n return `mailto:?body=${encodeURIComponent(this.url) + ' ' + this.description}&subject=Ik heb een interessante pagina gevonden: ${this.title}`;\r\n }\r\n\r\n whatsapp() {\r\n return `https://wa.me?text=${encodeURIComponent(this.url)}`;\r\n }\r\n\r\n native() {\r\n return 'javascript:void(0);';\r\n }\r\n\r\n bindEvents(tag, media) {\r\n tag.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n if (media == 'native') {\r\n const data = {\r\n title: this.title,\r\n description: this.description,\r\n url: this.url\r\n };\r\n\r\n try {\r\n navigator.share(data);\r\n } catch (e) {\r\n if (console && console.error) {\r\n console.error(e);\r\n }\r\n }\r\n } else {\r\n window.open(link.href, 'NewWindow', `menubar=no,toolbar=no,status=no,width=570,height=570,top=${(screen.height - 570) / 2},left=${(screen.width - 570) / 2}`);\r\n }\r\n });\r\n }\r\n}","import { Share as DefaultShare } from '@humandigital-agency/share';\r\n\r\nexport class HeliomareShare extends DefaultShare {\r\n constructor(container) {\r\n super(container);\r\n\r\n this.order = [\r\n 'facebook',\r\n 'linkedin',\r\n 'twitter',\r\n 'email'\r\n ];\r\n\r\n this.medias.whatsapp.enabled = false;\r\n this.medias.native.enabled = false;\r\n\r\n this.medias.facebook.icon = '';\r\n this.medias.linkedin.icon = '';\r\n this.medias.twitter.icon = '';\r\n this.medias.email.icon = '';\r\n }\r\n\r\n bindEvents(tag, media) {\r\n tag.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n if (media == 'native') {\r\n const data = {\r\n title: this.title,\r\n description: this.description,\r\n url: this.url\r\n };\r\n\r\n try {\r\n navigator.share(data);\r\n } catch (e) {\r\n if (console && console.error) {\r\n console.error(e);\r\n }\r\n }\r\n } else {\r\n window.open(tag.href, 'NewWindow', `menubar=no,toolbar=no,status=no,width=570,height=570,top=${(screen.height - 570) / 2},left=${(screen.width - 570) / 2}`);\r\n }\r\n });\r\n }\r\n}","import BaseController from '@humandigital-agency/base-controller';\r\nimport * as HeliomareShare from './share';\r\n\r\nexport default class ShareController extends BaseController {\r\n constructor() {\r\n super('.shareContainer', HeliomareShare.HeliomareShare);\r\n }\r\n \r\n bindEvents(tag, media) {\r\n tag.addEventListener('click', e => {\r\n e.preventDefault();\r\n\r\n if (media == 'native') {\r\n const data = {\r\n title: this.title,\r\n description: this.description,\r\n url: this.url\r\n };\r\n\r\n try {\r\n navigator.share(data);\r\n } catch (e) {\r\n if (console && console.error) {\r\n console.error(e);\r\n }\r\n }\r\n } else {\r\n window.open(tag.href, 'NewWindow', `menubar=no,toolbar=no,status=no,width=570,height=570,top=${(screen.height - 570) / 2},left=${(screen.width - 570) / 2}`);\r\n }\r\n });\r\n }\r\n}","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}","import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n return assertThisInitialized(self);\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}"],"names":["constructor","selector","instance","scope","document","this","instances","Instance","init","querySelectorAll","length","forEach","container","push","Share","url","description","title","tagTitle","mobile","nativeShare","order","medias","twitter","name","enabled","icon","mobileOnly","linkedin","facebook","email","whatsapp","native","detectMobile","obtainUrl","obtainDescription","obtainTitle","createShareButtons","list","Object","keys","media","render","navigator","share","console","log","tag","createElement","setAttribute","href","replace","innerHTML","bindEvents","appendChild","test","userAgent","dataset","window","location","metaDescription","ogDescription","metaTags","head","getElementsByTagName","metaIndex","getAttribute","obtainTagTitle","encodeURIComponent","addEventListener","e","preventDefault","data","error","open","link","screen","height","width","HeliomareShare","_DefaultShare","_this","_classCallCheck","_callSuper","_inherits","_createClass","key","value","_this2","concat","DefaultShare","ShareController","_BaseController","BaseController","_getPrototypeOf","o","setPrototypeOf","getPrototypeOf","bind","__proto__","_setPrototypeOf","p","subClass","superClass","TypeError","prototype","create","writable","configurable","defineProperty","_possibleConstructorReturn","self","call","ReferenceError"],"sourceRoot":""}