{"version":3,"sources":["webpack:///./routes/partners/style.scss","webpack:///./routes/partners/index.js"],"names":["partners","name","skills","logo","web","contacts","mail","phone","icons","technology","implementation","sales","design","marketing","Partners","Component","constructor","super","filter","this","sort","a","b","localeCompare","render","props","state","list","map","p","indexOf","class","style","descr","logoWrp","src","STATIC_BASE_URL","alt","c","href","target","s","icon","partnersWrp","BASE_URL","filters","Object","keys","val","sel","onClick","e","setState","cols"],"mappings":"2JACe,GAAC,YAAc,qBAAqB,QAAU,iBAAiB,KAAO,cAAc,OAAS,gBAAgB,SAAW,kBAAkB,IAAM,aAAa,QAAU,iBAAiB,OAAS,gBAAgB,KAAO,e,YCGvO,MAAMA,EAAW,CAChB,CACCC,KAAM,MACNC,OAAQ,CAAC,aAAc,SACvBC,KAAM,iBACNC,IAAK,sBACLC,SAAU,CAAC,CACVJ,KAAM,GACNK,KAAM,GACNC,MAAO,QAEP,CACDN,KAAM,SACNC,OAAQ,CAAC,cACTC,KAAM,oBACNC,IAAK,yBACLC,SAAU,CAAC,CACVJ,KAAM,GACNK,KAAM,GACNC,MAAO,QAGT,CACCN,KAAM,kBACNC,OAAQ,CAAC,YAAa,SACtBC,KAAM,4BACNC,IAAK,0CACLC,SAAU,CAAC,CACVJ,KAAM,eACNK,KAAM,qBACNC,MAAO,QAGT,CACCN,KAAM,YACNC,OAAQ,CAAC,aAAc,SACvBC,KAAM,uBACNC,IAAK,8BACLC,SAAU,CAAC,CACVJ,KAAM,GACNK,KAAM,GACNC,MAAO,QAGT,CACCN,KAAM,kBACNC,OAAQ,CAAC,YAAa,QAAS,cAC/BC,KAAM,8BACNC,IAAK,4BACLC,SAAU,CAAC,CACVJ,KAAM,eACNK,KAAM,wBACNC,MAAO,QAGT,CACCN,KAAM,iBACNC,OAAQ,CAAC,YAAa,SAAU,SAChCC,KAAM,8BACNC,IAAK,gCACLC,SAAU,CAAC,CACVJ,KAAM,kBACNK,KAAM,0BACNC,MAAO,MACN,CACDN,KAAM,cACNK,KAAM,yBACNC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AAO,UAAYD,EAAEhC,MAASgC,EAAEhC,OAAiB,IAC7I,KACT,uBACC,qBAAG,iBAAGyB,MAAM,eAAiB,IAAC,iBAAGQ,KAAOV,EAAEzB,IAAMoC,OAAO,UAAWX,EAAEzB,QAItE,kBAAI2B,MAAOC,EAAM9B,QACd2B,EAAE3B,OAAO0B,KAAKa,GAAK,sBACpB,mBAAKV,MAAOC,EAAMU,MAAM,uBAAK,iBAAGX,MAAO,SAAWvB,EAAMiC,OAAoB,IAAGA,QAI3E,KAER,OAAO,mBAAKV,MAAOC,EAAMW,aACxB,mBAAKZ,MAAM,WACV,uBAASA,MAAOC,EAAMW,aACrB,sBAAI,gBACJ,uBACA,iBAAGZ,MAAM,UAAS,iBAAGQ,KAAOK,IAAW,gBAAkBb,MAAM,aAAY,sCAE3E,uBACA,kBAAIA,MAAOC,EAAMa,SACdC,OAAOC,KAAKvC,GAAOoB,KAAKoB,GAAQ,sBACjC,mBAAKjB,MAAQC,EAAMU,MAAQM,IAAQtB,EAAMR,OAAS,IAAMc,EAAMiB,IAAM,IAAMC,QAAUC,IAAKhC,KAAKiC,SAAS,CAAClC,OAAQQ,EAAMR,SAAW8B,EAAM,MAAQA,KAAQ,uBAAK,iBAAGjB,MAAO,SAAWvB,EAAMwC,WAGtK,QAAjBtB,EAAMR,OAAmB,KAAO,sBAAKQ,EAAMR,QAC7C,kBAAIa,MAAOC,EAAMqB,MACd1B","file":"route-partners.chunk.20dc4.esm.js","sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"partnersWrp\":\"partnersWrp__A6dsm\",\"filters\":\"filters__MBmtc\",\"icon\":\"icon__Sy626\",\"skills\":\"skills__hIgLU\",\"contacts\":\"contacts__oxnQr\",\"sel\":\"sel__SPwGN\",\"logoWrp\":\"logoWrp__4pCmJ\",\"forbes\":\"forbes__8Inmc\",\"cols\":\"cols__OFJVA\"};","import { h, Component } from 'preact';\nimport style from './style.scss';\nimport {BASE_URL, STATIC_BASE_URL} from \"../../config\";\n\nconst partners = [\n\t{\n\t\tname: 'IBM',\n\t\tskills: ['technology', 'sales'],\n\t\tlogo: 'brands/IBM.png',\n\t\tweb: 'https://www.ibm.com',\n\t\tcontacts: [{\n\t\t\tname: '',\n\t\t\tmail: '',\n\t\t\tphone: null\n\t\t}]\n\t},{\n\t\tname: 'OpenAI',\n\t\tskills: ['technology'],\n\t\tlogo: 'brands/OpenAI.png',\n\t\tweb: 'https://www.openai.com',\n\t\tcontacts: [{\n\t\t\tname: '',\n\t\t\tmail: '',\n\t\t\tphone: null\n\t\t}]\n\t},\n\t{\n\t\tname: 'Forbes Insights',\n\t\tskills: ['marketing', 'sales'],\n\t\tlogo: 'brands/ForbesInsights.png',\n\t\tweb: 'https://www.forbes.com/forbes-insights/',\n\t\tcontacts: [{\n\t\t\tname: 'Brian McLeod',\n\t\t\tmail: 'BMcLeod@forbes.com',\n\t\t\tphone: null\n\t\t}]\n\t},\n\t{\n\t\tname: 'Microsoft',\n\t\tskills: ['technology', 'sales'],\n\t\tlogo: 'brands/Microsoft.png',\n\t\tweb: 'https://azure.microsoft.com',\n\t\tcontacts: [{\n\t\t\tname: '',\n\t\t\tmail: '',\n\t\t\tphone: null\n\t\t}]\n\t},\n\t{\n\t\tname: 'Adiacent S.r.l.',\n\t\tskills: ['marketing', 'sales', 'technology'],\n\t\tlogo: 'partners/AdactoAdiacent.png',\n\t\tweb: 'https://www.adiacent.com/',\n\t\tcontacts: [{\n\t\t\tname: 'Paolo Failli',\n\t\t\tmail: 'p.failli@adiacent.com',\n\t\t\tphone: null\n\t\t}]\n\t},\n\t{\n\t\tname: 'Growth Drivers',\n\t\tskills: ['marketing', 'design', 'sales'],\n\t\tlogo: 'partners/growth-drivers.png',\n\t\tweb: 'https://www.gr0wthdr1vers.com',\n\t\tcontacts: [{\n\t\t\tname: 'Steve McDermott',\n\t\t\tmail: 'steve@gr0wthdr1vers.com',\n\t\t\tphone: null\n\t\t},{\n\t\t\tname: 'Eric Berman',\n\t\t\tmail: 'eric@gr0wthdr1vers.com',\n\t\t\tphone: null\n\t\t}]\n\t}/*,\n\t{\n\t\tname: 'Humaxa',\n\t\tskills: ['technology', 'sales'],\n\t\tlogo: 'partners/humaxa.png',\n\t\tweb: 'https://www.humaxa.com',\n\t\tcontacts: [{\n\t\t\tname: 'Carolyn Peer',\n\t\t\tmail: 'carolyn.peer@humaxa.com',\n\t\t\tphone: '+1-530-558-9037'\n\t\t}]\n\t},\n\t{\n\t\tname: '7HYPE',\n\t\tskills: ['marketing', 'sales'],\n\t\tlogo: 'partners/7hype.png',\n\t\tweb: 'https://www.7hype.com',\n\t\tcontacts: [{\n\t\t\tname: 'Giulia Bosi',\n\t\t\tmail: 'giulia.bosi@7hype.com',\n\t\t\tphone: '800-002548'\n\t\t}]\n\t},{\n\t\tname: 'Versy Technologies',\n\t\tskills: ['technology'],\n\t\tlogo: 'partners/versy.png',\n\t\tweb: 'https://www.versytechnologies.com',\n\t\tcontacts: [{\n\t\t\tname: 'Piero Fioretti',\n\t\t\tmail: 'piero@versytechnologies.com',\n\t\t\tphone: null\n\t\t}]\n\t}*/,\n\t{\n\t\tname: 'WePlan',\n\t\tskills: ['technology'],\n\t\tlogo: 'partners/weplan.png',\n\t\tweb: 'https://weplan.srl/',\n\t\tcontacts: [{\n\t\t\tname: 'Benito Boriello',\n\t\t\tmail: 'ben@weplan.srl',\n\t\t\tphone: null\n\t\t}]\n\t},\n\t{\n\t\tname: 'GeckoSoft',\n\t\tskills: ['technology'],\n\t\tlogo: 'partners/geckosoft.jpg',\n\t\tweb: 'https://www.geckosoft.it/',\n\t\tcontacts: [{\n\t\t\tname: 'Fabio Severino',\n\t\t\tmail: 'severino@geckosoft.it',\n\t\t\tphone: null\n\t\t}]\n\t},\n\t{\n\t\tname: 'Agape Games',\n\t\tskills: ['design', 'technology'],\n\t\tlogo: 'partners/agape-games.png',\n\t\tweb: 'https://agape.games',\n\t\tcontacts: [{\n\t\t\tname: 'Kam',\n\t\t\tmail: 'kam@agape.games',\n\t\t\tphone: null\n\t\t}]\n\t},{\n\t\tname: 'Ready Player Me',\n\t\tskills: ['technology'],\n\t\tlogo: 'partners/readyplayerme.png',\n\t\tweb: 'https://www.readyplayer.me',\n\t\tcontacts: [{\n\t\t\tname: '',\n\t\t\tmail: '',\n\t\t\tphone: null\n\t\t}]\n\t},/*{\n\t\tname: 'MedTera Solutions',\n\t\tskills: ['marketing', 'sales'],\n\t\tlogo: 'partners/Medtera.png',\n\t\tweb: 'https://www.MedTeraSolutions.com',\n\t\tcontacts: [{\n\t\t\tname: 'Dave Duplay',\n\t\t\tmail: 'DaveD@MedTeraSolutions.com',\n\t\t\tphone: null\n\t\t}]\n\t},\n\t{\n\t\tname: 'Sunrise Evolution',\n\t\tskills: ['implementation', 'sales'],\n\t\tlogo: 'partners/Sunrise-Evolution-Technologies.png',\n\t\tweb: 'https://www.sun-evo.com',\n\t\tcontacts: [{\n\t\t\tname: 'Magda Jamal',\n\t\t\tmail: 'mjamal@sun-evo.com',\n\t\t\tphone: null\n\t\t}]\n\t},\n\t{\n\t\tname: '10xDS',\n\t\tskills: ['implementation', 'sales'],\n\t\tlogo: 'partners/10ds.png',\n\t\tweb: 'https://www.10xds.com/',\n\t\tcontacts: [{\n\t\t\tname: 'Binu Koshy',\n\t\t\tmail: 'Binu.Koshy@10xds.com',\n\t\t\tphone: null\n\t\t}]\n\t},\n\t{\n\t\tname: 'S.T.I.',\n\t\tskills: ['implementation', 'sales'],\n\t\tlogo: 'partners/sti.jpg',\n\t\tweb: 'https://wwww.stideponte.com',\n\t\tcontacts: [{\n\t\t\tname: 'Gabriella de Ponte',\n\t\t\tmail: 'gabriella@deponte-sti.com',\n\t\t\tphone: null\n\t\t}]\n\t},*/\n\t/*{\n\t\tname: 'Tegsoft',\n\t\tskills: ['technology', 'sales'],\n\t\tlogo: 'partners/tegsoft.png',\n\t\tweb: 'https://www.tegsoft.com',\n\t\tcontacts: [{\n\t\t\tname: 'Eray Gürsoy',\n\t\t\tmail: 'eray.gursoy@tegsoft.com',\n\t\t\tphone: null\n\t\t}]\n\t},*/\n\t/*{\n\t\tname: 'Renew HR',\n\t\tskills: ['implementation', 'sales'],\n\t\tlogo: 'partners/renew-hr.png',\n\t\tweb: 'https://www.renewhr.com',\n\t\tcontacts: [{\n\t\t\tname: 'Sabya Mitra',\n\t\t\tmail: 'sabya.mitra@renewhr.com',\n\t\t\tphone: null\n\t\t}]\n\t},{\n\t\tname: 'O2k',\n\t\tskills: ['marketing', 'sales', 'technology', 'implementation'],\n\t\tlogo: 'partners/O2K.jpg',\n\t\tweb: 'https://www.o2kltd.com',\n\t\tcontacts: [{\n\t\t\tname: 'Kim Schofield',\n\t\t\tmail: 'info@o2kltd.com',\n\t\t\tphone: null\n\t\t}]\n\t},\n\t{\n\t\tname: 'Speakap',\n\t\tskills: ['technology', 'sales'],\n\t\tlogo: 'partners/speakap.svg',\n\t\tweb: 'https://www.speakap.com',\n\t\tcontacts: [{\n\t\t\tname: 'Erwin van der Vlist',\n\t\t\tmail: 'erwin.vlist@speakap.com',\n\t\t\tphone: null\n\t\t}]\n\t}*/\n];\n\nconst icons = {\n\ttechnology: 'microchip',\n\timplementation: 'code-branch',\n\tsales: 'store',\n\tdesign: 'swatchbook',\n\tmarketing: 'chart-line'\n};\n\nexport default class Partners extends Component {\n\tstate = {filter: 'all'};\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis.partners = partners.sort((a, b) => a.name.localeCompare(b.name));\n\t}\n\n\trender (props, state) {\n\n\t\tconst list = this.partners.map( p => p.skills.indexOf(state.filter) != -1 || state.filter === 'all' ? <li>\n\t\t\t<div class={style.descr}>\n\t\t\t\t<div class={style.logoWrp}>\n\t\t\t\t\t<img src={ STATIC_BASE_URL + 'public/' + p.logo } alt={p.name} />\n\t\t\t\t</div>\n\t\t\t\t<div class=\"contacts\">\n\t\t\t\t\t{ p.contacts.map( c => c.name ? <div>\n\t\t\t\t\t\t<p><i class=\"fa fa-user\"></i> <b>{ c.name }</b></p> { c.mail ? <p><i class=\"fa fa-envelope\"></i> <a href={ 'mailto:' + c.mail }>{ c.mail }</a></p> : '' }\n\t\t\t\t\t</div> : '')}\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<p><i class=\"fa fa-home\"></i> <a href={ p.web } target=\"_blank\">{ p.web }</a></p>\n\t\t\t\t\t</div>\n\n\t\t\t\t</div>\n\t\t\t\t<ul class={style.skills}>\n\t\t\t\t\t{ p.skills.map( s => <li>\n\t\t\t\t\t\t<div class={style.icon}><div><i class={'fa fa-' + icons[s]}></i></div></div> { s }\n\t\t\t\t\t</li>)}\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t</li> : '');\n\n\t\treturn <div class={style.partnersWrp}>\n\t\t\t<div class=\"mainWrp\">\n\t\t\t\t<section class={style.partnersWrp}>\n\t\t\t\t\t<h2>Our Partners</h2>\n\t\t\t\t\t<br />\n\t\t\t\t\t<p class=\"center\"><a href={ BASE_URL + 'partners/join' } class=\"butt huge\">Interested in becoming a partner?</a>\n\t\t\t\t\t</p>\n\t\t\t\t\t<br />\n\t\t\t\t\t<ul class={style.filters}>\n\t\t\t\t\t\t{ Object.keys(icons).map((val) => <li>\n\t\t\t\t\t\t\t<div class={ style.icon + (val === state.filter ? ' ' + style.sel : '') } onClick={ e => this.setState({filter: state.filter === val ? 'all' : val}) }><div><i class={'fa fa-' + icons[val] }></i></div></div>\n\t\t\t\t\t\t</li>) }\n\t\t\t\t\t</ul>\n\t\t\t\t\t{ state.filter === 'all' ? null : <h2>{state.filter}</h2>}\n\t\t\t\t\t<ul class={style.cols}>\n\t\t\t\t\t\t{ list }\n\t\t\t\t\t</ul>\n\t\t\t\t</section>\n\t\t\t</div>\n\n\t\t</div>\n\t}\n}\n"],"sourceRoot":""}