KL.Modules.tools = new function()
{
var self = this;
var tools = {};
var counter = 1;
function load()
{
var toolsNodes = document.getElementsByClassName('tools');
if (toolsNodes)
{
for (var i = 0; i < toolsNodes.length; i++)
{
id = toolsNodes[i].id;
if (!id)
{
toolsNodes[i].id = id = "tools" + counter++;
}
// ONLY if not scanned yet
tools[id] = new KL.Modules.onetoolset(toolsNodes[i]);
}
}
}
function unload()
{
for (var i = 0; i < tools.length; i++)
tools[i].destroy();
tools = {};
}
KL.loader.addHookLoad('tools', load);
KL.loader.addHookPostLoad('tools', load);
KL.loader.addHookUnload('tools', unload);
}
KL.Modules.onetoolset = function(node)
{
var self = this;
var containernode = node;
var toolsshadow = null;
var toolsnode = null;
var type = '';
var key = '';
var buttons = [];
var opened = false;
function open()
{
toolsshadow.style.display = 'block';
pos = 0;
for (var i = 0, l = buttons.length; i < l; i++)
{
buttons[i].style.top = pos + 'px';
pos += 40;
}
opened = true;
}
function close()
{
toolsshadow.style.display = 'none';
for (var i = 0, l = buttons.length; i < l; i++)
{
buttons[i].style.top = '0px';
}
opened = false;
}
function clickclose(event)
{
close();
WA.browser.cancelEvent(event);
}
function clickfav(event)
{
if (!KL.Modules.client.clientlogged)
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
// console.log(document.location.pathname);
KL.loader.loadPage("/login?p="+document.location.pathname+"&o=/fav/"+type+"/"+key);
return;
}
if (!opened)
{
open();
WA.browser.cancelEvent(event);
return;
}
WA.Managers.ajax.createPromiseRequest({ url: KL.graphdomains + '/v6/collection', method: 'post', send: false})
.then(function(request) {
request.addParameter('language', KL.language);
request.addParameter('device', KL.device);
request.addParameter('service', 'favorite');
request.addParameter('type', type);
request.addParameter('key', key);
return request.send();
})
.then(function(response){
var code = JSON.parse(response);
if (code.status == 'ok')
{
KL.Modules.stat.registerEvent('tools', 'tools/addfav');
KL.Modules.stat.registerEventGA4('tools/addfav', {'send_to': 'G-X0MHE23QYB'});
KL.Modules.modal.notifica(KL.i18n.tools_favoritos_ok1+'
'+KL.i18n.tools_favoritos_ok2+'');
}
else
{
KL.Modules.stat.registerEvent('tools', 'tools/errorfav');
KL.Modules.stat.registerEventGA4('tools/errorfav', {'send_to': 'G-X0MHE23QYB'});
KL.Modules.modal.alerta(code.message);
}
})
.catch(function(code, err) {
if (code == 401) // not connected
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
KL.loader.loadPage("/login/fav/"+type+"/"+key);
return;
}
// print error modal, send to server error
KL.Modules.modal.alerta(code, err);
console.log("Error sending fav:", code, err);
});
return WA.browser.cancelEvent(event);
}
function clickcollections(event)
{
if (!KL.Modules.client.clientlogged)
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
KL.loader.loadPage("/login/col/"+type+"/"+key);
return;
}
WA.Managers.ajax.createPromiseRequest({ url: KL.graphdomains + '/v6/collection', method: 'post', send: false})
.then(function(request) {
request.addParameter('language', KL.language);
request.addParameter('device', KL.device);
request.addParameter('service', 'list');
return request.send();
})
.then(function(response){
var code = JSON.parse(response);
KL.Modules.stat.registerEvent('tools', 'tools/opencol');
KL.Modules.stat.registerEventGA4('tools/opencol', {'send_to': 'G-X0MHE23QYB'});
data = WA.templates.tools_collectionselect({items:code.payload});
KL.Modules.modal.buildpopup(data);
// link clicks
for (var i = 0, l = code.payload.length; i < l; i++)
{
var n = WA.toDOM("tools-collection-" + code.payload[i].clave);
if (!n)
continue;
n.dataset.id = code.payload[i].clave;
n.onclick = seleccionacoleccion;
}
var n = WA.toDOM("tools-collection-create");
if (n) {
n.onclick = creacoleccion;
}
KL.Modules.modal.showpopup({closeable:true});
})
.catch(function(code, err) {
if (code == 401) // not connected
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
KL.loader.loadPage("/login/createcol");
return;
}
// print error modal, send to server error
KL.Modules.modal.alerta(code, err);
console.log("Error sending fav:", code, err);
});
return WA.browser.cancelEvent(event);
}
function seleccionacoleccion(event)
{
if (!KL.Modules.client.clientlogged)
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
KL.loader.loadPage("/login/addcol/"+type+"/"+key);
return;
}
var cid = this.dataset.id;
WA.Managers.ajax.createPromiseRequest({ url: KL.graphdomains + '/v6/collection', method: 'post', send: false})
.then(function(request) {
request.addParameter('language', KL.language);
request.addParameter('device', KL.device);
request.addParameter('service', 'insert');
request.addParameter('collection', cid);
request.addParameter('type', type);
request.addParameter('key', key);
return request.send();
})
.then(function(response){
KL.Modules.modal.hidepopup();
var code = JSON.parse(response);
if (code.status == 'ok')
{
KL.Modules.stat.registerEvent('tools', 'tools/addcol');
KL.Modules.stat.registerEventGA4('tools/addcol', {'send_to': 'G-X0MHE23QYB'});
KL.Modules.modal.notifica(KL.i18n.tools_collections_ok1+'
'+KL.i18n.tools_collections_ok2+'');
}
else
{
KL.Modules.stat.registerEvent('tools', 'tools/errorcol');
KL.Modules.stat.registerEventGA4('tools/errorcol', {'send_to': 'G-X0MHE23QYB'});
KL.Modules.modal.alerta(code.message);
}
})
.catch(function(code, err) {
if (code == 401) // not connected
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
KL.loader.loadPage("/login/col/"+cid+"/"+type+"/"+key);
return;
}
// print error modal, send to server error
KL.Modules.modal.alerta(code, err);
console.log("Error sending col:", code, err);
});
return WA.browser.cancelEvent(event);
}
function creacoleccion(event)
{
var v = WA.toDOM("tools-collection-name").value;
if (!KL.Modules.client.clientlogged)
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
KL.loader.loadPage("/login/createcol/"+KL.fixedEncodeURIComponent(v)+"/"+type+"/"+key);
return;
}
WA.Managers.ajax.createPromiseRequest({ url: KL.graphdomains + '/v6/collection', method: 'post', send: false})
.then(function(request) {
request.addParameter('language', KL.language);
request.addParameter('device', KL.device);
request.addParameter('service', 'create');
request.addParameter('name', v);
request.addParameter('type', type);
request.addParameter('key', key);
return request.send();
})
.then(function(response) {
KL.Modules.modal.hidepopup();
var code = JSON.parse(response);
if (code.status == 'ok')
{
KL.Modules.stat.registerEvent('tools', 'tools/createaddcol');
KL.Modules.stat.registerEventGA4('tools/createaddcol', {'send_to': 'G-X0MHE23QYB'});
KL.Modules.modal.notifica(KL.i18n.tools_collections_ok1+'
'+KL.i18n.tools_collections_ok2+'');
}
else
{
KL.Modules.stat.registerEvent('tools', 'tools/errorcol');
KL.Modules.stat.registerEventGA4('tools/errorcol', {'send_to': 'G-X0MHE23QYB'});
KL.Modules.modal.alerta(code.message);
}
})
.catch(function(code, err) {
if (code == 401) // not connected
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
KL.loader.loadPage("/login/col/"+KL.fixedEncodeURIComponent(v)+"/"+type+"/"+key);
return;
}
// print error modal, send to server error
KL.Modules.modal.alerta(code, err);
console.log("Error sending col:", code, err);
});
return WA.browser.cancelEvent(event);
}
function clickshoppinglist(event)
{
if (!KL.Modules.client.clientlogged)
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
KL.loader.loadPage("/login/shoppinglist/"+key);
return;
}
if (type != 'r')
{
KL.Modules.modal.alerta("Error, el objeto no es una receta para agregar a la lista del súper.");
return;
}
WA.Managers.ajax.createPromiseRequest({ url: KL.graphdomains + '/v6/shoppinglist', method: 'post', send: false})
.then(function(request) {
request.addParameter('language', KL.language);
request.addParameter('device', KL.device);
request.addParameter('service', 'addrecipe');
request.addParameter('key', key);
return request.send();
})
.then(function(response){
var code = JSON.parse(response);
if (code.status == 'ok')
{
KL.Modules.stat.registerEvent('tools', 'tools/addshoppinglist');
KL.Modules.stat.registerEventGA4('tools/addshoppinglist', {'send_to': 'G-X0MHE23QYB'});
KL.Modules.modal.notifica(KL.i18n.tools_listasuper_ok1+'
'+KL.i18n.tools_listasuper_ok2+'');
}
else
{
KL.Modules.stat.registerEvent('tools', 'tools/errorshoppinglist');
KL.Modules.stat.registerEventGA4('tools/errorshoppinglist', {'send_to': 'G-X0MHE23QYB'});
KL.Modules.modal.alerta(code.message);
}
})
.catch(function(code, err) {
if (code == 401) // not connected
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
KL.loader.loadPage("/login/shoppinglist/"+type+"/"+key);
return;
}
// print error modal, send to server error
KL.Modules.modal.alerta(code, err);
console.log("Error sending shoppinglist:", code, err);
});
return WA.browser.cancelEvent(event);
}
function getlistasuper(request)
{
// close tools
// put heart filled
var code = JSON.parse(request.responseText);
if (code.estatus == 'OK')
{
KL.Modules.modal.hidepopup();
KL.Modules.stat.registerEvent('tools', 'tools/addsup');
KL.Modules.stat.registerEventGA4('tools/addsup', {'send_to': 'G-X0MHE23QYB'});
KL.Modules.modal.notifica(KL.i18n.tools_listasuper_ok1+'
'+KL.i18n.tools_listasuper_ok2+'');
}
else
{
if (code.code == 1)
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
KL.Modules.stat.registerEventGA4('tools/gologin', {'send_to': 'G-X0MHE23QYB'});
KL.loader.loadPage("/login/sup/"+type+"/"+key);
}
else
{
KL.Modules.stat.registerEvent('tools', 'tools/errorsup');
KL.Modules.stat.registerEventGA4('tools/errorsup', {'send_to': 'G-X0MHE23QYB'});
KL.Modules.modal.alerta(code.mensaje);
}
}
}
function clickmenuplanner(event)
{
if (!KL.Modules.client.clientpro)
{
KL.Modules.stat.registerEvent('tools', 'tools/gologin');
// KL.loader.loadPage("/pro/"+type+"/"+key);
KL.loader.loadPage("/pro");
return;
}
// call PRO MENU PLANNER
WA.browser.cancelEvent(event);
}
this.destroy = destroy;
function destroy()
{
containernode = null;
toolsshadow = null;
toolsnode = null;
buttons = null;
self = null;
}
// Note: only 1 gallery per page
if (containernode.scanned)
return;
containernode.scanned = true;
toolsshadow = WA.createDomNode('div', null, 'tools-shadow');
toolsshadow.style.display = 'none';
containernode.appendChild(toolsshadow);
toolsnode = WA.createDomNode('div', null, 'tools-container');
containernode.appendChild(toolsnode);
// fill with the buttons template
type = containernode.dataset.type;
key = containernode.dataset.key;
code = {t:type,k:key}
// create buttons
// close: always here
var closebutton = WA.createDomNode('div', null, 'anim tools-close icon-k7-tools-close');
closebutton.setAttribute('alt', WA.i18n.getMessage('txt-tools-cerrar'));
closebutton.setAttribute('title', WA.i18n.getMessage('txt-tools-cerrar'));
closebutton.onclick = clickclose;
toolsnode.appendChild(closebutton);
buttons.push(closebutton);
if (type == 'r') {
// menu planner: recipe only
/*
var mpbutton = WA.createDomNode('div', null, 'anim tools-menuplanner icon-k7-tools-menuplanner');
mpbutton.setAttribute('alt', WA.i18n.getMessage('txt-tools-planeadormenu'));
mpbutton.setAttribute('title', WA.i18n.getMessage('txt-tools-planeadormenu'));
mpbutton.onclick = clickmenuplanner;
toolsnode.appendChild(mpbutton);
buttons.push(mpbutton);
*/
// Shopping list / only recipe
var slbutton = WA.createDomNode('div', null, 'anim tools-shoppinglist icon-k7-tools-shoppinglist');
slbutton.setAttribute('alt', WA.i18n.getMessage('txt-tools-listasuper'));
slbutton.setAttribute('title', WA.i18n.getMessage('txt-tools-listasuper'));
slbutton.onclick = clickshoppinglist;
toolsnode.appendChild(slbutton);
buttons.push(slbutton);
}
var clbutton = WA.createDomNode('div', null, 'anim tools-collections icon-k7-tools-collections');
clbutton.setAttribute('alt', WA.i18n.getMessage('txt-tools-colecciones'));
clbutton.setAttribute('title', WA.i18n.getMessage('txt-tools-colecciones'));
clbutton.onclick = clickcollections;
toolsnode.appendChild(clbutton);
buttons.push(clbutton);
var fvbutton = WA.createDomNode('div', null, 'anim tools-favorites icon-k7-tools-favorites-empty');
fvbutton.setAttribute('alt', WA.i18n.getMessage('txt-tools-favorito'));
fvbutton.setAttribute('title', WA.i18n.getMessage('txt-tools-favorito'));
fvbutton.onclick = clickfav;
toolsnode.appendChild(fvbutton);
buttons.push(fvbutton);
}
// tools
var translation =
{
"txt-tools-favorito": "Add to my Favorites",
"txt-tools-colecciones": "Add to my Collections",
"txt-tools-listasuper": "Add to my Grocery List",
"txt-tools-planeadormenu": "Add to Menu Planner",
"txt-tools-cerrar": "Cerrar",
};
WA.i18n.loadMessages(translation);
/* Funciones para manejar el feed */
/*
Escrito por: Phil
Fecha: Julio 2016
Control de cambios:
26/02/2020: Wilmer, Ajuste a feed search/v6
10/07/2016: Phil, Creación
*/
KL.Modules.feed = new function()
{
var self = this;
function load()
{
}
this.unload = unload;
function unload()
{
}
KL.loader.addHookLoad('feed', load);
KL.loader.addHookPostLoad('feed', load);
KL.loader.addHookUnload('feed', unload);
}
KL.Modules.feed.container = function(id, template, datos, q)
{
var self = this;
}
KL.Modules.slider = new function()
{
var self = this;
var sliders = {};
var counter = 1;
function load()
{
var sliderNodes = document.getElementsByClassName('slider');
if (sliderNodes)
{
for (var i = 0; i < sliderNodes.length; i++)
{
id = sliderNodes[i].id;
if (!id)
{
sliderNodes[i].id = id = "slider" + counter++;
}
sliders[id] = new KL.Modules.oneslider(sliderNodes[i]);
}
}
}
function unload()
{
for (var i = 0; i < sliders.length; i++)
sliders[i].destroy();
sliders = {};
}
KL.loader.addHookLoad('slider', load);
//KL.loader.addHookPostLoad('slider', load);
KL.loader.addHookUnload('slider', unload);
}
KL.Modules.oneslider = function(node)
{
var self = this;
var slidernode = node;
var containernode = null;
var position = 0;
//var percentmove = 0.9;
var percentmove = 1;
function clickprevious(event)
{
var width = WA.browser.getNodeWidth(slidernode);
position += Math.round(width*percentmove);
if (position > 0)
position = 0;
containernode.style.left = position + 'px';
//KL.loader.callHooksPostLoad();
KL.Modules.stat.registerEvent('slider', 'slider/previous');
KL.Modules.stat.registerEventGA4('slider/previous', {'send_to': 'G-X0MHE23QYB'});
// TODO(phil)
// considerar enviar los IDs a analizar por la animacion
// Se envía a analizar las imágenes DAG 11/08/2022
//KL.Modules.images.analyze();
}
function clicknext(event)
{
var width = WA.browser.getNodeWidth(slidernode);
position -= Math.round(width*percentmove);
var size = getsize();
var min = -size+width;
if (min > 0)
min = 0;
if (position < min)
position = min;
containernode.style.left = position + 'px';
KL.Modules.stat.registerEvent('slider', 'slider/next');
KL.Modules.stat.registerEventGA4('slider/next', {'send_to': 'G-X0MHE23QYB'});
setTimeout(() => { KL.loader.callHooksPostLoad(); }, 700); //600
// TODO(phil)
// considerar enviar los IDs a analizar por la animacion
// Se envía a analizar las imágenes DAG 11/08/2022
//KL.Modules.images.analyze();
}
function getsize()
{
var width = 0;
for (var i=0, l=containernode.childNodes.length; i
width)
width = x;
}
return width;
}
function draglistener(type, metrics)
{
if (type == 'start')
{
// quitar el anim
containernode.style.transition = 'none';
}
if (type == 'drag')
{
// mover a la posicion
var p = position + metrics.dx;
var width = WA.browser.getNodeWidth(slidernode);
if (p > 0)
p = 0;
var size = getsize();
var min = -size+width;
if (min > 0)
min = 0;
if (p < min)
p = min;
//containernode.style.transform = "translate("+p+"px,0)";
//position = p;
containernode.style.left = p + 'px';
}
if (type == 'izquierda' || type == 'derecha')
{
// reponer el anim
containernode.style.transition = '';
// animar hasta la posicion correspondiente a la velocidad ?
var p = position + metrics.dx + metrics.velocity/4;
var width = WA.browser.getNodeWidth(slidernode);
if (p > 0)
p = 0;
var size = getsize();
var min = -size+width;
if (min > 0)
min = 0;
if (p < min)
p = min;
position = p;
containernode.style.left = position + 'px';
// TODO(phil)
// considerar enviar los IDs a analizar por la animacion
}
KL.Modules.images.analyze();
KL.loader.callHooksPostLoad();
}
this.destroy = destroy;
function destroy()
{
if (timer)
clearTimeout(timer)
timer = null;
actual = null;
gallerynode = null;
containernode = null;
previousnode = null;
nextnode = null;
playnode = null;
bulletsnode = null;
self = null;
}
// Note: only 1 gallery per page
if (slidernode.dataset.scanned)
return;
slidernode.dataset.scanned = true;
if (!slidernode.firstElementChild)
return;
containernode = WA.createDomNode('div', slidernode.id+'_container', 'slider-container');
while (slidernode.hasChildNodes())
{
// Solo queremos nodos div
if (slidernode.firstChild.nodeType == 1)
{
slidernode.firstChild.className += ' slider-element';
containernode.appendChild(slidernode.firstChild);
}
else
slidernode.removeChild(slidernode.firstChild);
}
slidernode.appendChild(containernode);
// 3. boton left
previousnode = WA.createDomNode('div', null, 'slider-button left');
slidernode.appendChild(previousnode);
previousnode.onclick = function() {
KL.Modules.stat.registerEvent('slider', 'slider/previous');
KL.Modules.stat.registerEventGA4('slider/previous', {'send_to': 'G-X0MHE23QYB'});
clickprevious();
};
n = WA.createDomNode('div', null, 'icon-k7-slider-previous');
previousnode.appendChild(n);
// 4. boton right
nextnode = WA.createDomNode('div', null, 'slider-button right');
slidernode.appendChild(nextnode);
nextnode.onclick = function() {
KL.Modules.stat.registerEvent('slider', 'slider/next');
KL.Modules.stat.registerEventGA4('slider/next', {'send_to': 'G-X0MHE23QYB'});
clicknext();
};
n = WA.createDomNode('div', null, 'icon-k7-slider-next');
nextnode.appendChild(n);
KL.Modules.movements.adddraglistener('slider_' + slidernode.id, {node: containernode, listener:draglistener});
}
KL.Modules.clientpublico = new function () {
this.load = load;
function load()
{
//debugger
//console.log('carga pag client');
var rutaclientpub = window.location.pathname;
var menuclientpub = WA.toDOM('client-menu-header-publico');
var rutapub = ""
// disparar unicamente en la paginas del client publico
if (!WA.toDOM('client-perfil-usuario'))
return;
// Para colocar el color de fondo opcion mis recetas en el menu
if (menuclientpub){
//console.log('ruta del client publico: ' + rutaclientpub);
for (var i = 0; i < menuclientpub.children.length; i++) {
rutapub = menuclientpub.children[i].href;
switch (KL.rootsite){
case 'crafto':
// para dev crafto es la posicion 28, para prod es 27
rutapub = rutapub.substring(28);
break;
case 'kiwirec':
// para dev kiwirec es la posicion 33, para prod es 32
rutapub = rutapub.substring(33);
break;
default:
// para kiwi dev es la posicion 26, para kiwi prod es 25
rutapub = rutapub.substring(25);
}
// se agrega la clase 'activo' sobre la pestaña de la url que se esté visualizando
if(rutaclientpub == rutapub){
//console.log('si machea');
menuclientpub.children[i].classList.add('activo');
break;
}
else{
//console.log('no machea');
menuclientpub.children[i].classList.remove('activo');
}
}
// para el caso cuando se esté visualizando el detalle de una colección
if ( WA.toDOM('client-coleccion-detalle-list') )
WA.toDOM('client-pestanas-opcion-colecciones').classList.add('activo');
}
// para esconder boton seguir si el chef conectado es igua al chef del perfil publico
var chefsesion = WA.toDOM('chef-sesion').value;
var chefperfil = WA.toDOM('chef-publico').value;
if( chefsesion == chefperfil){
WA.toDOM('btnSeguirChef_' + chefperfil).style.display="none";
}
}
KL.loader.addHookLoad('clientpublico', load);
}
KL.Modules.clientcontentlist = new function()
{
var self = this;
var node = null;
var nodemasnuevo = null;
var noderecomendado = null;
var nodemaspopular = null;
var nodenext = null;
var actual = 1;
var type = "";
var key = "";
var page = 1;
var quantity = 10;
var more = false;
var total = 0;
function cleandata()
{
node.innerHTML = "";
page = 1;
}
function calldata()
{
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feed', 'POST', null, getdata, false);
r.addParameter('v', 1 );
r.addParameter('type', type );
r.addParameter('key', key );
r.addParameter('device', KL.device );
r.addParameter('language', KL.language );
r.addParameter('quantity', quantity );
r.addParameter('order', actual );
r.addParameter('page', page );
r.addParameter('human', 1 );
r.send();
}
function getdata(request)
{
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
// inject into template
template = WA.templater`${['loop', 'payload','feed_payload']}`;
text = template(code);
ndiv = WA.createDomNode('div', null, null);
ndiv.style = "clear: both;";
ndiv.innerHTML = text;
node.appendChild(ndiv);
// set next, data into
more = code.more
nodenext.style.display = more?"block":"none";
// analyze img and ads and an
KL.loader.callHooksPostLoad();
}
function next()
{
if (!more)
return;
page++;
calldata();
}
function masnuevo()
{
if (actual == 1)
return;
actual = 1;
nodemasnuevo.className = "clientcontentlist-button on";
noderecomendado.className = "clientcontentlist-button";
nodemaspopular.className = "clientcontentlist-button";
// seek new list
cleandata();
calldata();
}
function recomendado()
{
if (actual == 2)
return;
actual = 2;
nodemasnuevo.className = "clientcontentlist-button";
noderecomendado.className = "clientcontentlist-button on";
nodemaspopular.className = "clientcontentlist-button";
// seek new list
cleandata();
calldata();
}
function maspopular()
{
if (actual == 3)
return;
actual = 3;
nodemasnuevo.className = "clientcontentlist-button";
noderecomendado.className = "clientcontentlist-button";
nodemaspopular.className = "clientcontentlist-button on";
// seek new list
cleandata();
calldata();
}
function load()
{
node = WA.toDOM('clientcontentlist');
if (!node)
return;
nodemasnuevo = WA.toDOM('clientcontentlist-masnuevo');
nodemasnuevo.onclick = masnuevo;
noderecomendado = WA.toDOM('clientcontentlist-recomendado')
noderecomendado.onclick = recomendado;
nodemaspopular = WA.toDOM('clientcontentlist-maspopular')
nodemaspopular.onclick = maspopular;
nodenext = WA.toDOM('clientcontentlist-next');
nodenext.onclick = next;
type = node.dataset.type;
key = node.dataset.key;
quantity = parseInt(node.dataset.quantity, 10);
page = parseInt(node.dataset.page, 10);
more = node.dataset.more=="true";
total = parseInt(node.dataset.total, 10);
// If more: adds the "get next page" button
nodenext.style.display = more?"block":"none";
}
function unload()
{
if (!node)
return;
nodemasnuevo.onclick = function() {};
noderecomendado.onclick = function() {};
nodemaspopular.onclick = function() {};
nodenext.onclick = function() {};
nodemasnuevo = null;
noderecomendado = null;
nodemaspopular = null;
nodenext = null;
node = null;
}
KL.loader.addHookLoad('clientcontentlist', load);
KL.loader.addHookUnload('clientcontentlist', unload);
}
KL.Modules.clientperfil = new function () {
var nodelistaactividad;
var nodelistafollowers;
var nodelistapersonas;
var noderesultadosbuscar;
var keychefperfil;
var flagsearch = false;
var nodelistafavoritos;
var nodelistacoleccion;
var nombrecoleccion;
var idcoleccion;
var tipoitem;
var idelemento;
var valornewq = "";
function cleandataactividad()
{
//debugger
nodelistaactividad = WA.toDOM('activitylist');
nodelistaactividad.innerHTML = "";
page = 1;
}
function cleandatafollowers()
{
//debugger
nodelistafollowers = WA.toDOM('followerslist');
nodelistafollowers.innerHTML = "";
page = 1;
}
function cleandatapersonas()
{
//debugger
nodelistapersonas = WA.toDOM('activitylist-personas');
nodelistapersonas.innerHTML = "";
page = 1;
}
function cleandatacolfav()
{
//debugger
nodelistafavoritos = WA.toDOM('client-favorites-list');
nodelistafavoritos.innerHTML = "";
page = 1;
}
function cleandatacoldetalle()
{
//debugger
nodelistafavoritos = WA.toDOM('client-coleccion-detalle-list');
nodelistafavoritos.innerHTML = "";
page = 1;
}
function cleandatabusqueda()
{
//debugger
nodelistabusqueda = WA.toDOM('searchlist');
nodelistabusqueda.innerHTML = "";
page = 1;
}
function calldataactividad()
{
//debugger
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdataactividad, false);
r.addParameter('v', 1 );
r.addParameter('type', 'myactivity' );
r.addParameter('order', 1 );
r.addParameter('quantity', 16 );
r.addParameter('page', 1 );
r.addParameter('preload', null );
r.addParameter('language', KL.language );
r.addParameter('device', KL.device );
r.addParameter('human', 1 );
r.send();
}
function getdataactividad(request)
{
//debugger
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
// inject into template
template = WA.templater`${['loop', 'payload','feed_payload']}`;
text = template(code);
ndiv = WA.createDomNode('div', null, null);
ndiv.style = "clear: both;";
ndiv.innerHTML = text;
nodelistaactividad.appendChild(ndiv);
// set next, data into
//more = code.more
//nodenext.style.display = more?"block":"none";
// analyze img and ads and an
KL.loader.callHooksPostLoad();
}
function calldataactividadsiguiendo()
{
//debugger
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdataactividadsiguiendo, false);
r.addParameter('v', 1 );
r.addParameter('type', 'followers' );
r.addParameter('order', 'sigo' );
//r.addParameter('quantity', 16 );
r.addParameter('quantity', 18 );
r.addParameter('page', 1 );
r.addParameter('language', KL.language );
r.addParameter('device', KL.device );
r.addParameter('human', 1 );
r.send();
}
function getdataactividadsiguiendo(request)
{
//debugger
var nodenext;
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
//if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') )
if ( KL.Modules.client.clientpro )
{
// console.log('chef pro');
code.sesionprochef = 'true';
}else{
if (KL.Modules.client.clientlogged)
{
// console.log('chef normal');
code.sesionprochef = 'false';
} else{
// console.log('no hay chef');
code.sesionprochef = null;
}
}
// inject into template
template = WA.templater`${['loop', 'payload','feed_payload']}`;
text = template(code);
ndiv = WA.createDomNode('div', null, null);
//ndiv.style = "clear: both;";
ndiv.innerHTML = text;
nodelistafollowers.appendChild(ndiv);
nodenext = WA.toDOM('followerslist-next');
// set next, data into
more = code.more
nodenext.style.display = more?"block":"none";
// analyze img and ads and an
KL.loader.callHooksPostLoad();
}
function calldataactividadseguidores()
{
//debugger
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdataactividadseguidores, false);
r.addParameter('v', 1 );
r.addParameter('type', 'followers' );
r.addParameter('order', 'siguiendome' );
r.addParameter('quantity', 18 );
r.addParameter('page', 1 );
r.addParameter('language', KL.language );
r.addParameter('device', KL.device );
r.addParameter('human', 1 );
r.send();
}
function getdataactividadseguidores(request)
{
//debugger
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
//if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') )
if ( KL.Modules.client.clientpro )
{
// console.log('chef pro');
code.sesionprochef = 'true';
}else{
if (KL.Modules.client.clientlogged)
{
// console.log('chef normal');
code.sesionprochef = 'false';
} else{
// console.log('no hay chef');
code.sesionprochef = null;
}
}
// inject into template
template = WA.templater`${['loop', 'payload','feed_payload']}`;
text = template(code);
ndiv = WA.createDomNode('div', null, null);
//ndiv.style = "clear: both;";
ndiv.innerHTML = text;
nodelistafollowers.appendChild(ndiv);
// set next, data into
//more = code.more
//nodenext.style.display = more?"block":"none";
// analyze img and ads and an
KL.loader.callHooksPostLoad();
}
function calldatapersonas(tipochef)
{
//debugger
var vartype;
var tipousuario = tipochef;
if(tipousuario == 'kiwi')
vartype = 'getfriendstoprecipe';
if(tipousuario == 'crafto')
vartype = 'getfriendstoptip';
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdatapersonas, false);
r.addParameter('v', 1 );
//r.addParameter('type', 'getfriendstoprecipe' );
r.addParameter('type', vartype );
//r.addParameter('order', 1 );
r.addParameter('quantity', 6 );
r.addParameter('page', 1 );
r.addParameter('language', KL.language );
r.addParameter('device', KL.device );
r.addParameter('human', 1 );
r.send();
}
function getdatapersonas(request)
{
//debugger
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
code.myaccount = 1;
//if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') )
if ( KL.Modules.client.clientpro )
{
// console.log('chef pro');
code.sesionprochef = 'true';
}else{
if (KL.Modules.client.clientlogged)
{
// console.log('chef normal');
code.sesionprochef = 'false';
} else{
// console.log('no hay chef');
code.sesionprochef = null;
}
}
/*
if (KL.Modules.client.clientlogged)
console.log('respuesta getdatapersonas - cliente conectado');
*/
// inject into template
template = WA.templater`${['loop', 'payload','feed_payload']}`;
text = template(code);
ndiv = WA.createDomNode('div', null, null);
ndiv.style = "clear: both;";
ndiv.innerHTML = text;
nodelistapersonas.appendChild(ndiv);
// set next, data into
//more = code.more
//nodenext.style.display = more?"block":"none";
// analyze img and ads and an
KL.loader.callHooksPostLoad();
}
this.seguirachef = seguirachef;
function seguirachef(idchef,orden)
{
// debugger
noderesultadosbuscar = WA.toDOM('perfil-amigos-chef-resultados');
keychefperfil = idchef;
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/follower', 'POST', null, getdataseguirachef, false);
r.addParameter('trx', 1 );
r.addParameter('chef', keychefperfil );
r.addParameter('order', orden );
r.addParameter('device', KL.device );
r.addParameter('language', KL.language );
r.addParameter('human', 1 );
r.send();
}
function getdataseguirachef(request)
{
//debugger
var cont = 0;
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
if (code.status == "OK") {
if(KL.rootsite == 'crafto')
KL.Modules.modal.notifica(WA.i18n.getMessage('txtahorasiguescreador') + ' ' + code.chefnombre);
else
KL.Modules.modal.notifica(WA.i18n.getMessage('txtahorasigueschef') + ' ' + code.chefnombre);
var nodopadrebusqueda = WA.toDOM("perfil-listado-amigos-chef-resultados");
var nodobusqueda = document.getElementsByClassName('chef-ficha-' + keychefperfil)[0];
switch (window.location.pathname) {
case '/mi-cuenta/perfil':
case '/my-account/profile':
cleandataactividad();
calldataactividad();
cleandatapersonas();
if ((KL.rootsite == 'kiwi') || (KL.rootsite == 'kiwirec'))
calldatapersonas('kiwi');
if (KL.rootsite == 'crafto')
calldatapersonas('crafto');
if(noderesultadosbuscar){
if( (noderesultadosbuscar.childNodes.length > 0) && flagsearch == true){
for (var i = 0; i < noderesultadosbuscar.childNodes[0].children.length; i++) {
if(noderesultadosbuscar.childNodes[0].children[cont].dataset.key == nodobusqueda.dataset.key){
noderesultadosbuscar.childNodes[0].removeChild(nodobusqueda);
noderesultadosbuscar.style.height = "auto";
break;
}
cont++;
}
if( noderesultadosbuscar.childNodes[0].children.length < 1){
WA.toDOM("perfil-buscaamigo").value='';
flagsearch == false;
}
}
}
break;
case '/mi-cuenta/seguidores':
case '/my-account/followers':
cleandatafollowers();
calldataactividadseguidores();
if (KL.device == 'pc'){
cleandatapersonas();
if ((KL.rootsite == 'kiwi') || (KL.rootsite == 'kiwirec'))
calldatapersonas('kiwi');
if (KL.rootsite == 'crafto')
calldatapersonas('crafto');
}
break;
case '/mi-cuenta/siguiendo':
case '/my-account/following':
cleandatafollowers();
calldataactividadsiguiendo();
if (KL.device == 'pc'){
cleandatapersonas();
if ((KL.rootsite == 'kiwi') || (KL.rootsite == 'kiwirec'))
calldatapersonas('kiwi');
if (KL.rootsite == 'crafto')
calldatapersonas('crafto');
}
break;
// cuando se da clic a seguir a un chef desde la busqueda
case '/buscar':
case '/search':
// console.log('para que tarde 4 segundos en ejecutarse lo siguiente');
setTimeout(
function()
{
//debugger
nodesearchnewq = WA.toDOM('searchlist-q');
busquedanewq = new URLSearchParams(location.search);
valornewq = busquedaq.get('q');
if(valornewq != null)
nodesearchnewq.innerHTML = valornewq;
//window.location.reload();
cleandatabusqueda();
callnuevabusqueda(valornewq);
}, 4000);
break;
default:
setTimeout(
function()
{
window.location.reload();
}, 4000);
// window.location.reload();
}
}
else{
KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemadejarseguir'));
}
}
this.dejarseguirachef = dejarseguirachef;
function dejarseguirachef(idchef,orden)
{
//debugger
keychefperfil = idchef;
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/follower', 'POST', null, getdatadejarseguidor, false);
r.addParameter('trx', 1 );
r.addParameter('chef', keychefperfil );
r.addParameter('order', orden );
r.addParameter('device', KL.device );
r.addParameter('language', KL.language );
r.addParameter('human', 1 );
r.send();
}
function getdatadejarseguidor(request)
{
//debugger
//console.log('respuesta dejar de seguir a chef');
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
//console.log('estatus: ' + code.status);
if (code.status == "OK") {
if(KL.rootsite == 'crafto')
KL.Modules.modal.notifica(WA.i18n.getMessage('txtdejasteseguiracreador') + ' ' + code.chefnombre);
else
KL.Modules.modal.notifica(WA.i18n.getMessage('txtdejasteseguirachef') + ' ' + code.chefnombre);
switch (window.location.pathname) {
case '/mi-cuenta/perfil':
case '/my-account/profile':
cleandataactividad();
calldataactividad();
break;
case '/mi-cuenta/seguidores':
case '/my-account/followers':
cleandatafollowers();
calldataactividadseguidores();
break;
case '/mi-cuenta/siguiendo':
case '/my-account/following':
cleandatafollowers();
calldataactividadsiguiendo();
break;
// cuando se da clic a seguir a un chef desde la busqueda
case '/buscar':
case '/search':
// console.log('para que tarde 4 segundos en ejecutarse lo siguiente');
setTimeout(
function()
{
//debugger
nodesearchnewq = WA.toDOM('searchlist-q');
busquedanewq = new URLSearchParams(location.search);
valornewq = busquedaq.get('q');
if(valornewq != null)
nodesearchnewq.innerHTML = valornewq;
//window.location.reload();
cleandatabusqueda();
callnuevabusqueda(valornewq);
}, 4000);
break;
default:
setTimeout(
function()
{
window.location.reload();
}, 4000);
// window.location.reload();
}
}
else{
KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemaseguir'));
}
}
function buscachefs(chefbuscar) {
//debugger
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdatabuscachefs, false);
r.addParameter('v', 1 );
r.addParameter('type', 'getfriends' );
r.addParameter('key', chefbuscar );
r.addParameter('quantity', 6 );
r.addParameter('page', 1 );
r.addParameter('device', KL.device );
r.addParameter('language', KL.language );
r.addParameter('human', 1 );
r.send();
}
function getdatabuscachefs(request)
{
//debugger
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
code.myaccount = 1;
//if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') )
if ( KL.Modules.client.clientpro )
{
// console.log('chef pro');
code.sesionprochef = 'true';
}else{
if (KL.Modules.client.clientlogged)
{
// console.log('chef normal');
code.sesionprochef = 'false';
} else{
// console.log('no hay chef');
code.sesionprochef = null;
}
}
// inject into template
template = WA.templater`${['loop', 'payload','feed_payload']}`;
text = template(code);
if (code.quantity >= 5)
noderesultadosbuscar.style.height = "365px";
else if((code.quantity == 0)){
noderesultadosbuscar.style.height = "auto";
noderesultadosbuscar.innerHTML = "" + WA.i18n.getMessage('txtnoresultadoschefs') + "
";
}
else
noderesultadosbuscar.style.height = "auto";
/*
if (KL.Modules.client.clientlogged)
console.log('respuesta getdatabuscachefs - cliente conectado');
*/
ndiv = WA.createDomNode('div', null, null);
ndiv.style = "clear: both;";
ndiv.innerHTML = text;
noderesultadosbuscar.appendChild(ndiv);
// set next, data into
more = code.more
//nodenext.style.display = more?"block":"none";
// analyze img and ads and an
KL.loader.callHooksPostLoad();
}
this.buscausuarios = buscausuarios;
function buscausuarios() {
//debugger
var txtbuscaamigo = WA.toDOM("perfil-buscaamigo").value;
flagsearch = true;
noderesultadosbuscar = WA.toDOM('perfil-amigos-chef-resultados');
noderesultadosbuscar.style.height = "0px";
noderesultadosbuscar.innerHTML = "";
buscachefs(txtbuscaamigo);
}
this.enterKeyPressed = enterKeyPressed;
function enterKeyPressed(event) {
if (event.keyCode == 13) {
buscausuarios();
} else {
return;
}
}
// borrar items de colecciones(favoritos)
function calldatafavoritos()
{
//debugger
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdatalistafavoritos, false);
r.addParameter('v', 1 );
r.addParameter('type', 'collectionfavorite' );
r.addParameter('quantity', 16 );
r.addParameter('page', 1 );
r.addParameter('language', KL.language );
r.addParameter('device', KL.device );
r.addParameter('human', 1 );
r.send();
}
function getdatalistafavoritos(request)
{
//debugger
var nodenext;
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
// inject into template
template = WA.templater`${['loop', 'payload','feed_payload']}`;
text = template(code);
ndiv = WA.createDomNode('div', null, null);
ndiv.style = "clear: both;";
ndiv.innerHTML = text;
nodelistafavoritos.appendChild(ndiv);
nodenext = WA.toDOM('client-favorites-list-next');
// set next, data into
more = code.more
nodenext.style.display = more?"block":"none";
// analyze img and ads and an
KL.loader.callHooksPostLoad();
}
// borrar items de colecciones(detalle colecciones)
function calldatacoldetalle()
{
//debugger
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feedcuenta', 'POST', null, getdatacoldetalle, false);
r.addParameter('v', 1 );
r.addParameter('type', 'collectiondetalle' );
r.addParameter('key', idcoleccion );
r.addParameter('quantity', 16 );
r.addParameter('page', 1 );
r.addParameter('language', KL.language );
r.addParameter('device', KL.device );
r.addParameter('human', 1 );
r.send();
}
function getdatacoldetalle(request)
{
//debugger
var nodenext;
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
// inject into template
template = WA.templater`${['loop', 'payload','feed_payload']}`;
text = template(code);
ndiv = WA.createDomNode('div', null, null);
ndiv.style = "clear: both;";
ndiv.innerHTML = text;
nodelistafavoritos.appendChild(ndiv);
nodenext = WA.toDOM('client-coleccion-detalle-list-next');
// set next, data into
more = code.more
nodenext.style.display = more?"block":"none";
// analyze img and ads and an
KL.loader.callHooksPostLoad();
}
this.borraItemcoleccion = borraItemcoleccion;
function borraItemcoleccion(tipoelemento,claveelemento)
{
//debugger
tipoitem = tipoelemento;
idelemento = claveelemento;
KL.Modules.modal.confirma(WA.i18n.getMessage("txtpreguntaeliminaitemcoleccion"), WA.i18n.getMessage("txtopcionsi"), WA.i18n.getMessage("txtopcionno"), confirmaBorraItemColeccion);
}
this.confirmaBorraItemColeccion = confirmaBorraItemColeccion;
//function confirmaBorraItemColeccion(tipoitem,idelemento)
function confirmaBorraItemColeccion(id)
{
if(id == 1){
if(WA.toDOM('iditemcoleccion'))
{
idcoleccion = parseInt(WA.toDOM('iditemcoleccion').value);
// var idcoleccion = WA.toDOM('iditemcoleccion').value;
// console.log('id coleccion favorito: ' + idcoleccion);
nombrecoleccion = WA.toDOM('nombre-coleccion').innerHTML;
}
else
return;
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/collection', 'POST', null, getdataborraitemcol, false);
r.addParameter('trx', 1 );
r.addParameter('service', 'deleteobject' );
r.addParameter('key', idelemento );
r.addParameter('type', tipoitem );
r.addParameter('collection', idcoleccion );
r.addParameter('device', KL.device );
r.addParameter('language', KL.language );
r.addParameter('human', 1 );
r.send();
}
if(id == 2)
return;
}
function getdataborraitemcol(request)
{
//debugger
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
if (code.status == "ok") {
KL.Modules.modal.alerta(WA.i18n.getMessage('txtborradofavorito') + nombrecoleccion);
if(WA.toDOM('client-favorites-list'))
{
cleandatacolfav();
calldatafavoritos();
}
if(WA.toDOM('client-coleccion-detalle-list'))
{
cleandatacoldetalle();
calldatacoldetalle();
}
}
else{
KL.Modules.modal.notifica(WA.i18n.getMessage('txtproblemaeliminaobjcol'));
}
}
this.callnuevabusqueda = callnuevabusqueda;
function callnuevabusqueda(valornewsearch)
{
// debugger
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/search', 'POST', null, getdatanuevabusqueda, false);
r.addParameter('v', 1 );
r.addParameter('q', valornewsearch);
r.addParameter('device', KL.device );
r.addParameter('language', KL.language );
r.addParameter('quantity', 18 );
r.addParameter('order', 1 );
r.addParameter('multimedia', 1 );
r.addParameter('page', 1 );
r.send();
}
function getdatanuevabusqueda(request)
{
// debugger
code = JSON.parse(request.responseText);
code.siteorigin = KL.rootsite;
//if ( (KL.Modules.client.clientpro) && (KL.rootsite == 'kiwi') )
if ( KL.Modules.client.clientpro )
{
// console.log('chef pro');
code.sesionprochef = 'true';
}else{
if (KL.Modules.client.clientlogged)
{
// console.log('chef normal');
code.sesionprochef = 'false';
} else{
// console.log('no hay chef');
code.sesionprochef = null;
}
}
node = WA.toDOM('searchlist');
nodenext = WA.toDOM('searchlist-next');
//nodenext.onclick = next;
// inject into template
template = WA.templater`${['loop', 'payload','feed_payload']}`;
text = template(code);
ndiv = WA.createDomNode('div', null, null);
ndiv.style = "display: none";
node.appendChild(ndiv);
ndiv.innerHTML = text;
while (n = ndiv.firstChild)
{
node.appendChild(n);
}
ndiv.parentNode.removeChild(ndiv)
// set next, data into
more = code.more
nodenext.style.display = more?"block":"none";
// analyze img and ads and an
// KL.loader.callHooksLoad();
KL.loader.callHooksPostLoad();
}
}
// client-perfil ingles
var translation =
{
"txtahorasigueschef": "Now you follow chef",
"txtahorasiguescreador": "Now you follow the creator",
"txtproblemaseguir": "There was a problem, try to follow another user",
"txtnoresultadoschefs": "No search results found",
"txtdejasteseguirachef": "You stopped following chef",
"txtdejasteseguiracreador": "You stopped following the creator",
"txtproblemadejarseguir": "There was a problem, please try to unfollow the chef later",
"txtborradofavorito": "The selected item has been removed from your list: ",
"txtproblemaeliminaobjcol": "There was a problem, please try to delete the selected item later",
"txtpreguntaeliminaitemcoleccion": "Are you sure you want to delete this item from your collection?",
"txtopcionsi": "Yes",
"txtopcionno": "No",
};
WA.i18n.loadMessages(translation);
KL.Modules.recipebookslist = new function()
{
var self = this;
var node = null;
var nodemasnuevo = null;
var noderecomendado = null;
var nodemaspopular = null;
var nodenext = null;
var actual = 1;
var type = "";
var key = "";
var page = 1;
var quantity = 10;
var more = false;
var total = 0;
function cleandata()
{
node.innerHTML = "";
page = 1;
}
function calldata()
{
var r = WA.Managers.ajax.createRequest(KL.graphdomains + '/v6/feed', 'POST', null, getdata, false);
r.addParameter('v', 1 );
r.addParameter('type', type );
r.addParameter('key', key );
r.addParameter('device', KL.device );
r.addParameter('language', KL.language );
r.addParameter('quantity', quantity );
r.addParameter('order', actual );
r.addParameter('page', page );
r.addParameter('human', 1 );
r.send();
}
function getdata(request)
{
code = JSON.parse(request.responseText);
// es necesario agregar el valor del parametro siteorigin en objeto JSON para que sepa que subtemplate va a despachar
code.siteorigin = KL.rootsite;
// inject into template
template = WA.templater`${['loop', 'payload','feed_payload']}`;
text = template(code);
ndiv = WA.createDomNode('div', null, null);
ndiv.style = "clear: both;";
ndiv.innerHTML = text;
node.appendChild(ndiv);
// set next, data into
more = code.more
nodenext.style.display = more?"block":"none";
// analyze img and ads and an
KL.loader.callHooksPostLoad();
}
function next()
{
if (!more)
return;
page++;
calldata();
}
function masnuevo()
{
if (actual == 1)
return;
actual = 1;
nodemasnuevo.className = "recipebookslist-button on";
noderecomendado.className = "recipebookslist-button";
nodemaspopular.className = "recipebookslist-button";
// seek new list
cleandata();
calldata();
}
function recomendado()
{
if (actual == 2)
return;
actual = 2;
nodemasnuevo.className = "recipebookslist-button";
noderecomendado.className = "recipebookslist-button on";
nodemaspopular.className = "recipebookslist-button";
// seek new list
cleandata();
calldata();
}
function maspopular()
{
if (actual == 3)
return;
actual = 3;
nodemasnuevo.className = "recipebookslist-button";
noderecomendado.className = "recipebookslist-button";
nodemaspopular.className = "recipebookslist-button on";
// seek new list
cleandata();
calldata();
}
function load()
{
node = WA.toDOM('recipebookslist');
if (!node)
return;
nodemasnuevo = WA.toDOM('recipebookslist-masnuevo');
nodemasnuevo.onclick = masnuevo;
noderecomendado = WA.toDOM('recipebookslist-recomendado')
noderecomendado.onclick = recomendado;
nodemaspopular = WA.toDOM('recipebookslist-maspopular')
nodemaspopular.onclick = maspopular;
nodenext = WA.toDOM('recipebookslist-next');
nodenext.onclick = next;
type = node.dataset.type;
key = node.dataset.key;
quantity = parseInt(node.dataset.quantity, 10);
page = parseInt(node.dataset.page, 10);
more = node.dataset.more=="true";
total = parseInt(node.dataset.total, 10);
// If more: adds the "get next page" button
nodenext.style.display = more?"block":"none";
}
function unload()
{
if (!node)
return;
nodemasnuevo.onclick = function() {};
noderecomendado.onclick = function() {};
nodemaspopular.onclick = function() {};
nodenext.onclick = function() {};
nodemasnuevo = null;
noderecomendado = null;
nodemaspopular = null;
nodenext = null;
node = null;
}
KL.loader.addHookLoad('recipebookslist', load);
KL.loader.addHookUnload('recipebookslist', unload);
}
KL.loader.createCSS(`.tools-shadow {
position: absolute;
top: 0px;
bottom: 0px;
width: 100%;
background-color: #222222;
opacity: 0.2;
z-index: 1;
}
.tools-container {
position: absolute;
right: 10px;
top: 10px;
width: 30px;
height: 30px;
z-index: 1;
}
.tools-container .icon-k7-tools-close:before {
content: "\\e946";
font-size: 16px;
left: 50%;
position: absolute;
top: 50%;
transform: translateX(-50%) translateY(-50%);
}
.tools-container .icon-k7-tools-menuplanner:before {
content: "\\e90c";
font-size: 16px;
left: 50%;
position: absolute;
top: 50%;
transform: translateX(-50%) translateY(-50%);
}
.tools-container .icon-k7-tools-shoppinglist:before {
content: "\\e90a";
font-size: 15px;
left: 50%;
position: absolute;
top: 50%;
transform: translateX(-50%) translateY(-50%);
}
.tools-container .icon-k7-tools-collections:before {
content: "\\e907";
font-size: 15px;
left: 50%;
position: absolute;
top: 50%;
transform: translateX(-50%) translateY(-50%);
}
.tools-container .icon-k7-tools-favorites-empty:before {
content: "\\e908";
font-size: 16px;
left: 50%;
position: absolute;
top: 50%;
transform: translateX(-50%) translateY(-50%);
}
.tools-container.icon-k7-tools-favorites-full:before {
content: "\\e924";
font-size: 16px;
left: 50%;
position: absolute;
top: 50%;
transform: translateX(-50%) translateY(-50%);
}
.tools-container>div {
border-radius: 100%;
position: absolute;
right: 0px;
top: 0px;
cursor: pointer;
text-align: left;
}
.tools-close, .tools-menuplanner, .tools-shoppinglist, .tools-collections, .tools-favorites{
background-color: #8cc63e;
color: #ffffff;
height: 30px;
width: 30px;
}
.tools-favorites{
background-color: #ff0000;
}
.tools-close{
background-color: #eeeeee;
color: #888;
}
.tools-coleccionentrada {
height: 15px;
cursor: pointer;
padding: 5px;
}
.tools-coleccionentrada:hover {
background-color: #ccc;
}
`);
KL.loader.createCSS(`/* generico */
.feed-articulolarge-thumb-titulo-seccion{
background-color: #8cc63e;
}
/* nutricion */
.feed-articulolarge-thumb-titulo-seccion.id_tema_11{
background-color: #9ec410;
}
/* bebidas */
.feed-articulolarge-thumb-titulo-seccion.id_tema_30{
background-color: #f05d7f;
}
/* comida vegana */
.feed-articulolarge-thumb-titulo-seccion.id_tema_1{
background-color: #28d9ff;
}
/* dieta */
.feed-articulolarge-thumb-titulo-seccion.id_tema_44{
background-color: #2e94ba;
}
/* reposteria */
.feed-articulolarge-thumb-titulo-seccion.id_tema_20{
background-color: #efc950;
}
/* tips cocina */
.feed-articulolarge-thumb-titulo-seccion.id_tema_54{
background-color: #f39041;
}
/* tips consejos */
.feed-articulolarge-thumb-titulo-seccion.id_tema_25{
background-color: #ca5dde;
}
.feed-divarticulolarge .tools-container, #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .tools-container{
left: 225px;
}
/* estilos slider top 10 */
/* estilos slider top 10 para tips kiwi / estilos slider top 10 para tips crafto */
div[id^="familiatips"] div[id^="p|kiwi|tipfamilia"], div[id^="clasificaciontips"] div[id^="p|kiwi|tipclasificacion"], div[id^="home_top10"] div[id^="p|kiwi|tiphome"], div[id^="home_top10"] div[id^="p|crafto|tiphome"], div[id^="familiatips"] div[id^="p|crafto|tipfamilia"], div[id^="clasificaciontips"] div[id^="p|crafto|tipclasificacion"], div[id^="familiatips"] div[id^="p|kiwi|tipclasificaciontop|"], div[id^="familiatips"] div[id^="p|crafto|tipclasificaciontop|"]{
width: 190px;
margin: 0px 15px 0px 0px;
height: 267px;
}
div[id^="familiatips"] div[id^="feed-tip-divimg"], div[id^="clasificaciontips"] div[id^="feed-tip-divimg"], div[id^="home_top10"] div[id^="feed-tip-divimg"]{
height: 190px;
width: 190px;
}
div[id^="familiatips"] .feed-tip-nombreficha, div[id^="clasificaciontips"] .feed-tip-nombreficha, div[id^="home_top10"] .feed-tip-nombreficha{
font-size: 14px;
max-height: 46px;
line-height: 15px;
text-transform: uppercase;
}
div[id^="familiatips"] hr, div[id^="clasificaciontips"] hr, div[id^="familiatips"] .feed-tip-nombrechef, div[id^="clasificaciontips"] .feed-tip-nombrechef, div[id^="home_top10"] div[id^="p|kiwi"] hr, div[id^="home_top10"] div[id^="p|crafto"] hr, div[id^="home_top10"] div[id^="p|kiwi"] .feed-tip-nombrechef, div[id^="home_top10"] div[id^="p|crafto"] .feed-tip-nombrechef{
display: none;
}
div[id^="familiatips"] div[id^="feed-tip-rating"], div[id^="clasificaciontips"] div[id^="feed-tip-rating"], div[id^="home_top10"] div[id^="p|kiwi|tiphometop"] div[id^="feed-tip-rating"], div[id^="home_top10"] div[id^="p|crafto|tiphometop"] div[id^="feed-tip-rating"]{
margin: 0px auto;
padding: 0px;
}
/* fin estilos slider top 10 para tips */
/* area nombre ficha */
#home_top10 .recetaslider-ficha, #familiarecetas_top10 .recetaslider-ficha, #clasificacionrecetas_top10 .recetaslider-ficha, #clasificacionrecetas_top10 .compilacionrecetaslider-ficha, #clasificaciontips_top10 .tipslider-ficha, #home_tecuidalist .feed-articulo-ficha, .pro-slider-fichaspro .feed-receta-ficha{
height: 267px;
}
#home_top10 .recetaslider-areanombreficha, #familiarecetas_top10 .recetaslider-areanombreficha, #clasificacionrecetas_top10 .recetaslider-areanombreficha, #home_top10 .tipslider-areanombreficha, #home_top10 .articuloslider-areanombreficha{
height: 52px;
}
#home_top10 .recetasliderpro-areanombreficha, #familiarecetas_top10 .recetasliderpro-areanombreficha, #clasificacionrecetas_top10 .recetasliderpro-areanombreficha{
height: 52px;
display: flex;
align-items: center;
}
#home_videos .compilacionrecetaslider-areanombreficha{
height: 75px;
}
/* nombre de ficha */
#home_top10 .recetaslider-nombreficha, #familiarecetas_top10 .recetaslider-nombreficha, #clasificacionrecetas_top10 .recetaslider-nombreficha, #home_top10 .tipslider-nombreficha, #home_videos .compilacionrecetaslider-nombreficha, #home_top10 .articuloslider-nombreficha, #home_videos div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-nombreficha, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-nombre-articulo{
font-weight: bold;
font-size: 14px;
color: #000000;
max-height: 46px;
}
#home_top10 .recetaslider-icon-pro, #familiarecetas_top10 .recetaslider-icon-pro, #clasificacionrecetas_top10 .recetaslider-icon-pro{
width: 30px;
height: 30px;
font-size: 20px;
margin: 0px 0px 0px 10px;
}
#home_top10 .recetasliderpro-nombreficha, #familiarecetas_top10 .recetasliderpro-nombreficha, #clasificacionrecetas_top10 .recetasliderpro-nombreficha{
font-size: 15px;
max-height: 31px;
width: calc(100% - 40px);
}
/* rating */
#home_top10 .recetaslider-rating, #familiarecetas_top10 .recetaslider-rating, #clasificacionrecetas_top10 .recetaslider-rating, #home_top10 .tipslider-rating{
display: table;
}
#home_top10 div[id^="p|kiwi|"] [class$="-rating"], #home_top10 div[id^="p|crafto|"] [class$="-rating"], #familiarecetas_top10 div[id^="p|kiwi|"] [class$="-rating"], #clasificacionrecetas_top10 div[id^="p|kiwi|"] [class$="-rating"]{
padding: 0px;
}
/* fin estilos slider top 10 */
/* Estilos feed fichas Normal */
/* Estilo solo para los tips, ya que slider top usa la misma ficha que en feed normal */
div[id^="p|kiwi|home"].feed-tip-ficha, div[id^="tiplist"] div[id^="p|kiwi|tipfamilia"], div[id^="tiplist"] div[id^="p|kiwi|tipclasificacion"], div[id^="tiplist"] div[id^="p|kiwi|tiphome"], div[id^="tiplist"] div[id^="p|crafto|tiphome"], div[id^="tiplist"] div[id^="p|crafto|tipfamilia"], div[id^="tiplist"] div[id^="p|crafto|tipclasificacion"]{
width: 300px;
margin: 0px 10px 16px;
height: 275px;
}
div[id^="tiplist"] div[id^="feed-tip-divimg"]{
height: 194px;
width: 300px;
}
div[id^="p|kiwi|home"].feed-tip-ficha .feed-tip-nombreficha, div[id^="tiplist"] .feed-tip-nombreficha{
font-size: 17px;
max-height: 38px;
line-height: 18px;
}
div[id^="tiplist"].feedtiplist-crafto .feed-tip-nombreficha{
font-family: poppins-semibold;
font-size: 15px;
font-weight: normal !important;
letter-spacing: 0.5px;
color: var(--color-texto-base) !important;
}
div[id^="p|kiwi|home"].feed-tip-ficha div[id^="feed-tip-rating"], div[id^="tiplist"] div[id^="feed-tip-rating"]{
margin: 0px 0px 0px 10px;
}
/* fin Estilo solo para los tips */
div[id^="p|kiwi|"][class$="-ficha"], div[id^="p|kiwirec|"][class$="-ficha"], div[id^="p|crafto|tipcompilaciones|"].feed-compilaciontip-ficha, div[id^="p|crafto|"][class$="-articulo-ficha"]{
height: 275px;
}
div[id^="p|kiwi|client"][class$="feed-compilaciontip-ficha"] .compilaciontip-img, div[id^="p|crafto|client"][class$="feed-compilaciontip-ficha"] .compilaciontip-img{
transform: translateY(-50%);
}
div[id^="p|kiwi|client"][class$="-ficha"], div[id^="p|crafto|client"][class$="-ficha"]{
width: 300px;
margin: 0px 10px 16px;
}
#prorecipeprolist .feed-producto-ficha{
width: 200px;
margin: 20px 15px;
display: inline-table;
float: none !important;
}
/* div[id^="p|kiwi|probooks|"][class$="-ficha"], div[id^="p|kiwi|prorecipes|"][class$="-ficha"], div[id^="p|kiwi|procollections|"].coleccion-venta-soloportada */
div[id^="p|kiwi|probooks|"][class$="-ficha"], div[id^="p|kiwi|procollections|"].coleccion-venta-soloportada{
height: 262px;
margin: 20px 15px;
width: 200px;
border-radius: 5px;
float: none !important;
display: inline-table;
}
div[id^="p|kiwi|procollections|"].coleccion-venta-ficha{
float: none !important;
display: inline-table;
}
div[id^="p|kiwi|procollections|"].coleccion-venta-ficha .coleccionventa-area{
position: absolute;
top: 50%;
transform: translateY(-50%);
vertical-align: top;
width: 100%;
}
div[id^="p|kiwi|probooks|"] .feed-producto-div-nombreprod, div[id^="p|kiwi|prorecipes|"] .feed-producto-div-nombreprod{
display: none;
}
/* estilos fichas recetas slider pro*/
.pro-slider-fichaspro div[id^="p|kiwi|probooks|"].feed-producto-ficha{
width: 200px;
height: 262px;
margin: 20px 15px;
border-radius: 5px;
}
.pro-slider-fichaspro .feed-receta-ficha{
width: 190px !important;
margin: 0px 30px 0px 0px !important;
position: relative;
}
.pro-slider-fichaspro .feed-divimagenficha{
width: 190px !important;
height: 190px !important;
}
.pro-slider-fichaspro .feed-receta-ficha img{
left: 50% !important;
top: 50% !important;
transform: translateX(-50%) translateY(-50%) !important;
height: 100%;
width: auto !important;
min-width: 300px;
}
.pro-slider-fichaspro .feed-receta-ficha hr, .pro-slider-fichaspro .feed-receta-nombrechef{
display: none;
}
.pro-slider-fichaspro .feed-recetapro-icon{
margin: 0px 0px 0px 10px !important;
}
.pro-slider-fichaspro .feed-receta-nombreficha-centrado{
max-height: 47px !important;
width: calc(100% - 40px) !important;
}
/* fin estilos fichas recetas slider pro*/
/* estilos fichas donde vienen cosas revueltas de kiwipro en el home */
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-producto-ficha{
width: 200px !important;
height: 272px;
/* border-radius: 5px; */
margin: 0px 20px !important;
background-color: #ffffff;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-producto-ficha{
float: left;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-divimagenficha, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha .feed-divimagenficha{
width: 100% !important;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-divimagenficha img, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha .feed-divimagenficha img{
height: 100%;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha:first-child, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha:first-child{
margin: 0px 20px 0px 0px !important;
}
#home-cont-kiwipro.home-cont-sliderpro div[id^="p|kiwi|pro|"] .feed-articulopro-divtextos-articulo, #home-cont-kiwipro.home-cont-sliderpro div[id^="p|kiwi|pro|"] [class$="recetapro-areanombreficha"]{
height: 62px;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha hr, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha .feed-receta-nombrechef{
display: none;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-receta-ficha .feed-receta-rating{
position: relative;
display: flex !important;
justify-content: center;
margin: -3px 0px 0px 0px !important;
padding: 0px;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-separador, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-nombre-autor{
display: none !important;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha{
float: left;
}
/*
.home-cont-sliderpro div[id^="p|kiwi|pro|"] .feed-articulo-divimg-articulo{
border-radius: 5px;
}
*/
.home-cont-sliderpro div[id^="p|kiwi|pro|"] .feed-recetapro-areanombreficha .feed-recetapro-icon, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-icon{
margin: 0px 0px 0px 10px !important;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"] .feed-recetapro-areanombreficha .feed-receta-nombreficha-centrado, .home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-nombre-articulo{
width: calc(100% - 40px) !important;
max-height: 46px;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"] .feed-recetapro-areanombreficha .feed-receta-nombreficha-centrado{
max-height: 46px !important;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-nombre-articulo{
/*max-height: 34px;*/
font-size: 16px;
line-height: 15px;
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulopro-area-rating{
display: none !important;
padding: 0px;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
}
.home-cont-sliderpro div[id^="p|kiwi|pro|"].feed-articulo-ficha .feed-articulo-clasificacion-articulo{
display: block !important;
position: absolute;
/*bottom: -10px;*/
bottom: -11px;
width: 100%;
text-align: center;
font-style: italic;
color: #aaaaaa;
box-sizing: border-box;
padding: 0px 10px;
}
/* fin estilos fichas donde vienen cosas revueltas de kiwipro en el home */
.pro-slider-fichaspro .feed-receta-rating{
margin: 0px auto !important;
padding: 0px !important;
}
div[id^="p|kiwi|home|"].feed-compilaciontip-ficha, div[id^="p|crafto|tipcompilaciones|"].feed-compilaciontip-ficha{
margin: 0px 10px 16px;
overflow: hidden;
width: 300px;
}
div[id^="p|crafto|tipcompilations|"].feed-compilaciontip-ficha{
margin: 0px 10px 16px;
width: 300px;
}
div[id^="p|kiwi|procollections|"].coleccion-venta-soloportada{
text-align: left;
}
div[id^="p|kiwi|"] [class$="-divimg-articulo"], div[id^="p|kiwirec|"] [class$="-divimg-articulo"], div[id^="p|crafto|"] [class$="-divimg-articulo"]{
position: relative;
}
div[id^="p|kiwi|"] [class$="-divimg"], div[id^="p|kiwi|home|"] [class$="-divimg"], div[id^="p|kiwirec|"] [class$="-divimg"], div[id^="p|kiwirec|home|"] [class$="-divimg"], div[id^="p|kiwi|"] [class$="-divimg-articulo"], div[id^="p|kiwirec|"] [class$="-divimg-articulo"], div[id^="p|crafto|"] [class$="-divimg"], div[id^="p|crafto|"] [class$="-divimg-articulo"]{
height: 194px;
overflow: hidden;
}
div[id^="p|kiwi|"] .feed-compilaciontip-divimg, div[id^="p|crafto|"] .feed-compilaciontip-divimg{
width: 300px;
}
div[id^="p|kiwi|"] .feed-compilacionreceta-divimg .compilacionreceta-img, div[id^="p|crafto|tipcompilaciones|"].feed-compilaciontip-ficha .compilaciontip-img{
height: auto;
}
div[id^="p|crafto|"] .feed-compilaciontip-divimg .compilaciontip-img{
transform: translateY(-50%);
}
#home_videos div[id^="p|crafto|"] .feed-compilaciontip-divimg .compilaciontip-img{
transform: initial;
}
div[id^="p|kiwi|home|"] [class$="-divimg"] .imgcompilacion{
transform: translateY(-50%);
}
/* estilos feed normal articulos */
div[id^="p|kiwi|"][class$="feed-articulo-ficha"], div[id^="p|kiwirec|"][class$="feed-articulo-ficha"], div[id^="p|crafto|"][class$="feed-articulo-ficha"]{
background-color: #ffffff;
float: left;
margin: 0px 10px 16px;
overflow: hidden;
position: relative;
width: 300px;
}
div[id^="p|kiwi|"] .feed-articulopro-divtextos-articulo, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"] .feed-articulopro-divtextos-articulo{
display: flex;
align-items: center;
height: 52px;
position: relative;
}
div[id^="p|kiwi|"] .feed-articulopro-area-titulo{
display: flex;
align-items: center;
position: relative;
width: 100%;
flex: auto;
}
#home_tecuidalist div[id^="p|kiwi|"] .feed-articulopro-icon{
margin: 0px 0px 0px 10px !important;
}
div[id^="p|kiwi|"] .feed-articulopro-nombre-articulo{
box-sizing: border-box;
color: #8eb4b1;
font-family: crimsonpro-semibold;
font-size: 19px;
text-transform: uppercase;
width: calc(100% - 50px);
line-height: 17px;
max-height: 38px;
overflow: hidden;
padding: 0px 10px;
position: absolute;
right: 0px;
}
#home_tecuidalist div[id^="p|kiwi|"] .feed-articulopro-nombre-articulo{
font-size: 17px;
line-height: 15px;
max-height: 46px;
width: calc(100% - 40px);
text-transform: initial;
}
#home_tecuidalist div[id^="p|kiwi|"] .feed-articulopro-separador{
display: none !important;
}
div[id^="p|kiwi|"] .feed-articulo-nombre-articulo, div[id^="p|kiwirec|"] .feed-articulo-nombre-articulo, div[id^="p|crafto|"] .feed-articulo-nombre-articulo{
box-sizing: border-box;
color: #000000;
font-size: 17px;
font-weight: bold;
line-height: 18px;
max-height: 38px;
overflow: hidden;
padding: 0px 10px;
position: absolute;
text-align: center;
top: 50%;
transform: translateY(-50%);
width: 100%;
}
div[id^="p|kiwi|"] .feed-articulopro-desc-articulo, div[id^="p|kiwi|"] .feed-articulo-desc-articulo, div[id^="p|kiwirec|"] .feed-articulo-desc-articulo, div[id^="p|crafto|"] .feed-articulo-desc-articulo{
display: none;
}
div[id^="p|kiwi|"] .feed-articulopro-separador, div[id^="p|kiwi|"] .feed-articulo-separador, div[id^="p|kiwirec|"] .feed-articulo-separador, div[id^="p|crafto|"] .feed-articulo-separador{
display: block !important;
bottom: -2px;
}
div[id^="p|kiwi|"] .feed-articulopro-nombre-autor, div[id^="p|kiwi|"] .feed-articulo-nombre-autor, div[id^="p|kiwirec|"] .feed-articulopro-nombre-autor, div[id^="p|kiwirec|"] .feed-articulo-nombre-autor, div[id^="p|crafto|"] .feed-articulo-nombre-autor{
display: block !important;
position: absolute;
bottom: -22px;
right: 10px;
font-style: italic;
color: #aaaaaa;
/*bottom: 7px;*/
}
div[id^="p|kiwi|"] .feed-articulopro-area-rating, div[id^="p|kiwi|"] .feed-articulo-area-rating, div[id^="p|crafto|"] .feed-articulo-area-rating{
display: block !important;
position: absolute;
bottom: -23px;
left: 10px;
/*bottom: 6px;*/
height: 13px !important;
}
.feedtiplist-crafto div[id^="p|crafto|"] .feed-articulo-area-rating, .feedtiplist-kiwi div[id^="p|kiwi|"] .feed-articulo-area-rating, .feedtiplist-kiwirec div[id^="p|kiwirec|"] .feed-articulo-area-rating{
left: 0px;
}
div[id^="p|kiwi|"] .feed-articulopro-area-rating .feed-articulo-rating, div[id^="p|kiwi|"] .feed-articulo-area-rating .feed-articulo-rating, div[id^="p|kiwirec|"] .feed-articulo-area-rating .feed-articulo-rating{
color: #8cc63e;
}
/* fin estilos feed normal articulos */
/* estilos para ficha tips en home principal kiwi */
#home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"]{
width: 600px;
height: auto;
margin: 0px 15px 0px 0px;
}
#home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-divimg{
float: left;
width: 265px;
height: 265px;
}
#home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-areanombreficha{
float: left;
width: calc(100% - 265px);
height: 265px;
}
#home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-nombreficha-div{
color: #333333;
/*font-size: 18px;*/
font-size: 20px;
font-weight: bold;
/*line-height: 20px;*/
line-height: 22px;
margin: 0px 0px 15px;
/*max-height: 62px;*/
max-height: 68px;
padding: 0px 10px;
overflow: hidden;
text-transform: uppercase;
text-align: left;
}
#home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-descripcionficha{
box-sizing: border-box;
color: #333333;
font-size: 15px;
font-weight: normal;
line-height: 19px;
max-height: 98px;
overflow: hidden;
padding: 0px 10px;
position: relative;
width: 100%;
text-align: left;
display: block !important;
}
#home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-ficha-linkvertip{
font-size: 16px;
color: #8cc63e;
text-align: left;
margin: 10px 0px 0px;
padding: 0px 10px;
line-height: 22px;
display: block !important;
}
.icon-k7-link-vertip:before{content: "\\e923";}
#home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] hr, #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-rating, #home_tips div[id^="p|kiwi|tiphome|"][class$="-ficha"] .feed-tip-nombrechef{
display: none !important;
}
/* estilos para ficha tips en home principal kiwi */
/* estilos home fichas notas blog */
#home_notasblog div[id^="p|kiwi|articlehome|"].feed-articulo-ficha, #home_notasblog div[id^="p|kiwirec|articlehome|"].feed-articulo-ficha{
background-color: #ffffff;
width: 190px;
height: 265px;
float: left;
position: relative;
margin: 0px 15px 0px 0px;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-divimg-articulo, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-divimg-articulo{
/*height: 190px;*/
height: 180px;
position: relative;
overflow: hidden;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-divtextos-articulo, #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-divtextos-articulo, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-divtextos-articulo{
/*height: 75px;*/
height: 85px;
position: relative;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-seccion, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-seccion{
display: none;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-nombre-articulo, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-nombre-articulo{
box-sizing: border-box;
line-height: 15px;
overflow: hidden;
/*padding: 0px 10px;*/
padding: 0px 7px;
position: absolute;
text-align: center;
/*text-transform: uppercase;*/
top: 38%;
/*transform: translateY(-50%);*/
transform: translateY(-46%);
width: 100%;
font-weight: bold;
font-size: 14px;
color: #000000;
max-height: 46px;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-area-titulo{
position: absolute;
top: 38%;
transform: translateY(-46%);
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-icon{
margin: 0px 0px 0px 10px !important;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-nombre-articulo{
font-size: 17px;
line-height: 15px;
max-height: 45px;
width: calc(100% - 40px) !important;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion{
background-color: #8cc63e;
box-sizing: border-box;
color: #ffffff;
font-size: 11px;
left: 0px;
letter-spacing: 1px;
max-width: 140px;
padding: 8px 13px;
position: absolute;
text-transform: uppercase;
top: 15px;
display: block !important;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_3, #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_11, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_3, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_11{
background-color: #9ec410;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_30, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_30{
background-color: #f05d7f;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_1, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_1{
background-color: #28d9ff;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_44, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_44{
background-color: #2e94ba;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_20, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_20{
background-color: #efc950;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_54, #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_54{
background-color: #f39041;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_25, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-titulo-nombreseccion.id_tema_25{
background-color: #ca5dde;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-nombre-autor, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-nombre-autor{
display: block !important;
box-sizing: border-box;
padding: 0px 10px;
text-align: center;
color: #aaaaaa;
font-family: 'source sans pro';
font-style: italic;
font-size: 12px;
height: 15px;
overflow: hidden;
position: absolute;
bottom: 5px;
right: 0px;
width: 100%;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-nombre-autor{
display: block !important;
left: 50%;
transform: translate(-50%);
bottom: 8px;
font-size: 12px;
width: -webkit-fit-content; width: -moz-fit-content; width: -o-fit-content; width: -ms-fit-content; width: fit-content;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-area-rating, #home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulopro-area-rating, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-area-rating, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulopro-area-rating{
display: none !important;
}
#home_notasblog div[id^="p|kiwi|articlehome|"] .feed-articulo-desc-articulo, #home_notasblog div[id^="p|kiwirec|articlehome|"] .feed-articulo-desc-articulo{
display: none;
}
/* fin home estilos fichas notas blog */
/* estilos home fichas te cuida */
#home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha{
background-color: #ffffff;
display: table;
float: left;
margin: 0px 15px 0px 0px;
position: relative;
width: 190px;
}
#home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-divcontenido{
height: inherit;
position: relative;
}
#home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-divimg-articulo{
width: 100%;
/*height: 190px;*/
height: 180px;
position: relative;
overflow: hidden;
}
#home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-divimg-articulo img{
vertical-align: top;
}
#home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-divtextos-articulo, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"] .feed-articulopro-divtextos-articulo{
height: 62px;
position: relative;
}
#home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-nombre-articulo{
box-sizing: border-box;
line-height: 15px;
overflow: hidden;
/*padding: 0px 10px;*/
padding: 0px 7px;
position: absolute;
text-align: center;
/*text-transform: uppercase;*/
top: 50%;
transform: translateY(-50%);
width: 100%;
}
#home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-separador{
display: none !important;
}
#home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-area-rating, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulopro-area-rating{
display: block !important;
color: #8cc63e;
position: absolute;
bottom: -16px;
left: 50%;
transform: translateX(-50%);
}
#home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulopro-area-rating{
left: 50%;
transform: translateX(-50%);
bottom: -16px;
}
#home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-desc-articulo, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulo-nombre-autor, #home_tecuidalist div[id^="p|kiwi|articuloclasificacion|"].feed-articulo-ficha .feed-articulopro-nombre-autor{
display: none !important;
}
/* fin estilos home fichas te cuida */
/* estilos fichas productos feed normal */
div[id^="p|kiwi|"] .feed-producto-divimg, div[id^="p|kiwirec|"] .feed-producto-divimg, div[id^="p|kiwi|home|"] .feed-producto-divimg{
height: 233px;
}
/* estilos fichas productos feed normal */
div[id^="p|kiwi|probooks|"] .feed-producto-divimg, div[id^="p|kiwi|prorecipes|"] .feed-producto-divimg{
height: 100%;
}
div[id^="p|kiwi|"] [class$="-areanombreficha"], div[id^="p|kiwirec|"] [class$="-areanombreficha"], div[id^="p|crafto|"] [class$="-areanombreficha"], div[id^="p|kiwi|"] .feed-articulo-divtextos-articulo, div[id^="p|kiwirec|"] .feed-articulo-divtextos-articulo, div[id^="p|crafto|"] .feed-articulo-divtextos-articulo{
height: 52px;
}
div[id^="p|kiwi|"] .feed-articulo-divtextos-articulo, div[id^="p|kiwirec|"] .feed-articulo-divtextos-articulo, div[id^="p|crafto|"] .feed-articulo-divtextos-articulo{
position: relative;
}
div[id^="p|kiwi|"] [class$="recetapro-areanombreficha"]{
height: 52px;
display: flex;
align-items: center;
}
div[id^="p|kiwi|"] .feed-compilacionreceta-areanombreficha, div[id^="p|kiwi|"] .feed-compilaciontip-areanombreficha, div[id^="p|crafto|"] .feed-compilaciontip-areanombreficha{
height: 42px;
}
div[id^="p|kiwi|"] .feed-compilaciontip-areanombreficha .feed-compilaciontip-nombreficha, div[id^="p|crafto|"] .feed-compilaciontip-areanombreficha .feed-compilaciontip-nombreficha{
color: #000000;
font-size: 17px;
font-weight: bold;
line-height: 18px;
max-height: 38px;
}
div[id^="p|kiwi|"] [class$="-titulo-seccion"], div[id^="p|kiwirec|"] [class$="-titulo-seccion"], div[id^="p|crafto|"] [class$="-titulo-seccion"]{
display: none;
}
div[id^="p|kiwi|"] [class$="-rating"], div[id^="p|kiwirec|"] [class$="-rating"], div[id^="p|crafto|"] [class$="-rating"]{
padding: 8px 0px 0px;
}
div[id^="p|crafto|client|"].feed-tip-ficha{
height: 275px;
}
div[id^="p|kiwi|client|"] [class$="-rating"], div[id^="p|crafto|client|"] [class$="-rating"]{
margin: 0px 0px 0px 10px;
height: 275px;
}
div[id^="p|kiwi|"] [class$="-nombrechef"], div[id^="p|kiwirec|"] [class$="-nombrechef"], div[id^="p|crafto|"] [class$="-nombrechef"]{
bottom: 5px;
}
.feedtiplist-crafto div[id^="p|crafto|"] [class$="-nombrechef"]{
font-family: poppins-light !important;
font-size: 11px !important;
letter-spacing: 0.5px;
color: var(--color-texto-base) !important;
}
/* Estilos feed fichas home videos compilacion craftologia / home tips kiwi */
#home_videos .feed-compilaciontip-ficha{
height: auto;
margin: 0px 10px 16px;
width: 300px;
color: var(--color-texto-base) !important;
}
div[id^="p|kiwi|tiphomecompilacion"] .feed-compilaciontip-divimg, div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-divimg{
height: 222px;
overflow: hidden;
}
div[id^="p|kiwi|tiphomecompilacion"] .feed-compilaciontip-divimg img, div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-divimg img {
top: initial !important;
}
div[id^="p|kiwi|tiphomecompilacion"] .feed-compilaciontip-divimg .imgcompilacion, div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-divimg .imgcompilacion, div[id^="p|crafto|crosslink"] .feed-compilaciontip-divimg .compilaciontip-img{
transform: translateX(-50%) translateY(-50%);
}
div[id^="p|kiwi|tiphomecompilacion"] .feed-linea-separador-compilacion, div[id^="p|kiwi|tiphomecompilacion"] .feed-compilaciontip-descripcion, div[id^="p|crafto|tiphomecompilacion"] .feed-linea-separador-compilacion, div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-descripcion{
display: none;
}
#home_videos div[id^="p|kiwi|tiphomecompilacion"] .feed-compilaciontip-areanombreficha, #home_videos div[id^="p|crafto|tiphomecompilacion"] .feed-compilaciontip-areanombreficha{
height: 75px;
}
div[id^="p|crafto|crosslink"] .feed-compilaciontip-divimg .compilaciontip-img{
height: inherit;
}
/* Fin Estilos feed fichas home videos compilacion craftologia */
/* Estilos caja recomendaciones de tips */
.tip-recomendaciones .feed-tip-ficha .feed-tippro-icon{
width: 20px !important;
height: 20px !important;
font-size: 13px !important;
}
.tip-recomendaciones .feed-tip-ficha .feed-tip-nombrefichapro-centrado{
width: calc(100% - 30px) !important;
}
/* Fin estilos caja recomendaciones de tips */
/* Fin Estilos feed fichas Normal */
/* Estilos feed fichas Busqueda */
div[id^="p|search|"].feed-tip-ficha{
width: 300px;
margin: 0px 10px 16px;
}
#searchlist div[id^="p|search|"][class$="-ficha"], .searchlist-muestra{
height: 250px;
}
#searchlist .coleccion-venta-soloportada{
height: 250px !important;
margin: 0px 10px 16px !important;
width: 300px !important;
}
#searchlist .coleccion-venta-soloportada img{
top: 0px !important;
transform: initial !important;
}
#te-cuida-divcont-consejos-tips #searchlist div[id^="p|search|"][class$="-ficha"]{
height: auto;
}
#te-cuida-divcont-consejos-tips .feed-articulo-ficha{
height: auto;
}
div[id^="p|search|"] .feed-tip-divimg, div[id^="p|search|"].feed-compilaciontip-ficha{
width: 300px;
}
div[id^="p|search|"].feed-compilaciontip-ficha{
margin: 0px 10px 16px;
}
div[id^="p|search|"] [class$="-divimg"]{
height: 185px;
}
div[id^="p|search|"] .feed-compilacionreceta-divimg, div[id^="p|search|"] .feed-compilaciontip-divimg{
height: 208px;
}
div[id^="p|search|"] .feed-compilaciontip-divimg .compilaciontip-img{
transform: translateY(-50%);
}
div[id^="p|search|"] [class$="-areanombreficha"]{
height: 42px;
}
div[id^="p|search|"] [class$="recetapro-areanombreficha"]{
height: 42px;
display: flex;
align-items: center;
}
div[id^="p|search|"] .feed-compilaciontip-areanombreficha .feed-compilaciontip-nombreficha{
color: #000000;
font-size: 17px;
font-weight: bold;
line-height: 18px;
max-height: 38px;
}
div[id^="p|search|"] .feed-tip-nombreficha{
font-size: 17px;
max-height: 38px;
line-height: 18px;
}
div[id^="p|search|"] .feed-linea-separador-compilacion, div[id^="p|search|"] .feed-compilacionreceta-descripcion, div[id^="p|search|"] .feed-compilaciontip-descripcion{
display: none;
}
div[id^="p|search|"] [class$="-titulo-seccion"]{
display: block;
}
div[id^="p|search|"] [class$="-rating"]{
padding: 4px 0px 0px;
}
div[id^="p|search"] div[id^="feed-tip-rating"]{
margin: 0px 0px 0px 10px;
}
div[id^="p|search|"] [class$="-nombrechef"]{
bottom: 3px;
}
/* fichas articulo */
div[id^="p|search|"].feed-articulo-ficha{
background-color: #ffffff;
float: left;
margin: 0px 10px 16px;
overflow: hidden;
position: relative;
width: 300px;
display: flex;
flex-direction: column;
}
div[id^="p|search|"] .feed-articulo-divcontenido{
width: 100%
}
div[id^="p|search|"] .feed-articulo-divimg-articulo{
width: 100%;
height: 208px;
overflow: hidden;
position: relative;
}
div[id^="p|search|"] .feed-articulo-divtextos-articulo, div[id^="p|search|"] .feed-articulopro-divtextos-articulo{
height: 42px;
position: relative;
}
div[id^="p|search|"] .feed-articulopro-divtextos-articulo{
display: flex;
align-items: center;
}
div[id^="p|search|"] .feed-articulo-nombre-articulo, div[id^="p|search|"] .feed-articulopro-nombre-articulo{
color: #333333;
text-decoration: none;
font-size: 17px;
font-weight: bold;
line-height: 18px;
max-height: 38px;
overflow: hidden;
position: absolute;
text-align: center;
top: 50%;
transform: translateY(-50%);
width: 100%;
padding: 0px 10px;
box-sizing: border-box;
}
div[id^="p|search|"] .feed-articulopro-nombre-articulo{
color: #8eb4b1;
font-family: crimsonpro-semibold;
font-size: 16px;
line-height: 15px;
right: 0px;
text-align: left;
text-transform: uppercase;
width: calc(100% - 50px);
max-height: 32px;
}
div[id^="p|search|"] .feed-articulo-desc-articulo, div[id^="p|search|"] .feed-articulopro-desc-articulo{
display: none;
}
/* fin fichas articulo */
/* estilos fichas productos feed busqueda */
div[id^="p|search|"] .feed-producto-divimg{
height: 208px;
}
/* estilos fichas productos feed busqueda */
/* Estilos feed fichas Busqueda */
/* Estilo publicidad en feed */
.buildad.feed{
margin: 0px 10px 16px;
float: left;
}
/* fin Estilo publicidad en feed */
/* Estilo para ficha newsletter - columna derecha */
.feed-newsletter-ficha{
margin: 20px auto 10px;
}
/* fin Estilo para ficha newsletter */
/* icono seguir chef */
.icon-k7-seguir-chef:before{content: "\\e918";}
/* */
/* estilos feed recetarios */
div[id^="p|kiwi|recipebooks|"].feed-producto-ficha, div[id^="p|kiwirec|recipebooks|"].feed-producto-ficha{
width: 300px;
margin: 0px 10px 16px;
}
/* fin estilos feed recetarios */
/* estilo sombra blanquecina sobre fichas de contenido interno */
/* .general-container .shadow-gris */
/*
.shadow-gris{
position: absolute;
top: 0px;
bottom: 0px;
width: 100%;
background-color: #ffffff;
opacity: 0.8;
z-index: 10;
}
*/
.feedficha-bloqueo {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
right: 9px;
top: 9px;
width: 30px;
height: 30px;
background-color: var(--azul-kiwipro);
border: 1px solid var(--azul-kiwipro);
border-radius: 100%;
z-index: 5;
}
/* estilo sombra blanquecina sobre fichas de contenido interno */`);
KL.loader.createCSS(`/* slider */
.slider
{
position: relative;
overflow: hidden;
height: auto;
}
.slider-container
{
width: 100000px;
height: auto;
position: relative;
left: 0;
transition: all 1s ease 0s;
}
.slider-container.noanim
{
transition: none;
}
.slider-container:after
{
content: "";
clear: both;
}
.icon-k7-slider-previous:before{content: "\\e948";}
.icon-k7-slider-next:before{content: "\\e947";}
.slider-button
{
position: absolute;
width: 17px;
height: 18px;
border-radius: 50%;
cursor: pointer;
background-color: rgba(255, 255, 255, 0.8);
z-index: 15;
padding: 7px;
padding-left: 8px;
top: 50%;
margin-top: -20px;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
transition: opacity 0.2s ease 0s;
opacity: 0.8;
font-size: 16px;
font-weight: 700;
color: #aaa;
}
.slider-button.left
{
left: 5px;
}
.slider-button.left:hover
{
color: #333;
}
.slider-button.right
{
right: 5px;
}
.slider-button.right:hover
{
color: #333;
}
`);
KL.loader.createCSS(`.social-share-contenedor.crafto .social-share-pc.icon-k7-facebook{
background-color: #cadee5;
}
.social-share-contenedor.crafto .social-share-pc.icon-k7-pinterest{
background-color: #f3c3d3;
}
.social-share-contenedor.crafto .social-share-pc.icon-k7-mail{
background-color: #fadca9;
}
.social-share-contenedor.crafto .social-share-pc.icon-k7-facebook:before, .social-share-contenedor.crafto .social-share-pc.icon-k7-pinterest:before, .social-share-contenedor.crafto .social-share-pc.icon-k7-twitter:before, .social-share-contenedor.crafto .social-share-pc.icon-k7-mail:before{
color: var(--color-texto-base);
}
.social-share-pc.icon-k7-facebook{
background-color: #3b5998;
}
.social-share-pc.icon-k7-pinterest{
background-color: #bc0c1f;
}
.social-share-pc.icon-k7-twitter{
/*background-color: #1da1f2;*/
background-color: #0f1419;
}
.social-share-pc.icon-k7-mail{
background-color: #aaaaaa;
}
.social-share-pc.icon-k7-facebook:before, .social-share-pc.icon-k7-pinterest:before, .social-share-pc.icon-k7-twitter:before, .social-share-pc.icon-k7-mail:before{
color: #ffffff;
font-size: 18px;
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
}
.social-share-pc.icon-k7-twitter:before, .social-share-pc.icon-k7-mail:before{
font-size: 15px;
}
.social-share-pc.icon-k7-mail:before{
font-size: 16px;
}
.social-share-pc:hover{
background-color: #ffffff;
}
.social-share-pc:hover.icon-k7-facebook:before{
color: #3b5998;
}
.social-share-pc:hover.icon-k7-pinterest:before{
color: #bc0c1f;
}
.social-share-pc:hover.icon-k7-twitter:before{
color: #1da1f2;
}
.social-share-pc:hover.icon-k7-mail:before{
color: #aaaaaa;
}`);
KL.loader.createCSS(`.icon-k7-client-checseguir:before{content: "\\e91d";}
.icon-k7-client-web:before{content: "\\e911";}
.icon-k7-client-facebook:before{content: "\\e94e";}
.icon-k7-client-instagram:before{content: "\\e94f";}
.icon-k7-client-linkedin:before{content: "\\e950";}
.icon-k7-client-youtube:before{content: "\\e951";}
.icon-k7-client-recetas:before{content: "\\e916";}
.icon-k7-client-iconrecetas:before{content: "\\e909";}
.icon-k7-client-tips:before{content: "\\e93d";}
.icon-k7-client-colecciones:before{content: "\\e907";}
.client-pestanas-off, .client-pestanas-activo{
background-color: #ffffff;
border-right: 2px solid #f2f2f2;
position: relative;
display: flex;
align-items: center;
height: 100%;
justify-content: center;
font-size: 18px;
text-transform: uppercase;
width: 100%;
}
.client-pestanas-off:after, .client-pestanas-activo:after{
border: none;
content: '';
display: block;
height: 20px;
left: 50%;
margin-left: -10px;
position: absolute;
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
width: 21px;
z-index: -1;
top: 39px;
}
.client-pestanas-off:after{
background-color: transparent;
}
.client-icon-menu, .client-icon-menu-activo{
margin: 0px 8px 0px 0px;
color: #a6a6a6;
}
#client-menu-header-publico .client-pestanas-opciones{
box-sizing: border-box;
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
gap: 7px;
background-color: #ffffff;
border-left: 2px solid #f2f2f2;
color: #777777;
font-size: 16px;
padding: 16px;
}
#client-menu-header-publico .client-pestanas-opciones:first-child {
border-left: 2px solid #ffffff;
}
#client-menu-header-publico .client-pestanas-opciones:last-child {
border-right: 2px solid #f2f2f2;
}
#client-menu-header-publico .client-pestanas-opciones.activo:after, #client-menu-header-publico .client-pestanas-opciones:hover:after {
border-left: 10px solid transparent;
border-right: 10px solid transparent;
bottom: -10px;
content: "";
height: 0;
left: 50%;
margin-left: -5px;
position: absolute;
width: 0;
color: #ffffff;
}
#client-menu-header-publico .client-pestanas-opciones.activo, #client-menu-header-publico .client-pestanas-opciones:hover {
background-color: var(--verde-kiwi);
border-left: 2px solid var(--verde-kiwi);
color: #ffffff;
}
#client-menu-header-publico .client-pestanas-opciones.activo:after, #client-menu-header-publico .client-pestanas-opciones:hover:after {
border-top: 10px solid var(--verde-kiwi);
}
/* .client-pestanas-activo, .client-pestanas-activo .client-icon-menu, .client-pestanas:hover, .client-pestanas:hover .client-icon-menu */
.client-pestanas-activo, .client-pestanas-activo .client-icon-menu-activo, .client-pestanas-off:hover, .client-pestanas-off:hover .client-icon-menu{
color: #ffffff;
}`);
KL.loader.createCSS(`.clientcontentlist-button {
background-color: #ffffff;
border-radius: 2px;
color: #222;
cursor: pointer;
float: left;
font-size: 1.1em;
font-weight: normal;
margin: 5px 10px;
padding: 14px;
text-align: center;
width: 29.45%;
}
.clientcontentlist-button.on {
/*background-color: #8cc63e;*/
color: white;
position: relative;
}
/*
.clientcontentlist-button.on:after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
margin-left: -15px;
width: 0;
height: 0;
border-top: solid 10px #8CC63E;
border-left: solid 10px transparent;
border-right: solid 10px transparent;
}
*/
.icon-k7-clientcontentlist-seemore:before{content: "\\e956";}
`);
KL.loader.createCSS(`.icon-k7-clientp-actividad:before{content: "\\e90d";}
.icon-k7-clientp-colecciones:before{content: "\\e907";}
.icon-k7-clientp-favoritos:before{content: "\\e908";}
.icon-k7-clientp-misrecetas:before{content: "\\e909";}
.icon-k7-clientp-listasuper:before{content: "\\e90a";}
.icon-k7-clientp-editaperfil:before{content: "\\e91c";}
.client-perfil-opcionmenu{
box-sizing: border-box;
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
gap: 7px;
background-color: #ffffff;
border-left: 2px solid #f2f2f2;
color: #777777;
font-size: 16px;
padding: 16px;
}
.client-perfil-opcionmenu:first-child{
border-left: 2px solid #ffffff;
}
/*
.client-perfil-opcionmenu.activo, .client-perfil-opcionmenu:hover{
background-color: var(--verde-kiwi);
border-left: 2px solid var(--verde-kiwi);
color: #ffffff;
}
*/
.client-perfil-opcionmenu.activo:after, .client-perfil-opcionmenu:hover:after {
border-left: 10px solid transparent;
border-right: 10px solid transparent;
/*border-top: 10px solid #8cc63e;*/
bottom: -10px;
content: "";
height: 0;
left: 50%;
margin-left: -5px;
position: absolute;
width: 0;
}
/*
.client-pestanas-off, .client-pestanas-activo{
background-color: #ffffff;
border-right: 2px solid #f2f2f2;
position: relative;
display: flex;
align-items: center;
height: 100%;
justify-content: center;
font-size: 18px;
text-transform: uppercase;
width: 100%;
}
.client-pestanas-off:after, .client-pestanas-activo:after{
border: none;
content: '';
display: block;
height: 20px;
left: 50%;
margin-left: -10px;
position: absolute;
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
width: 21px;
z-index: -1;
top: 39px;
}
.client-pestanas-off:after{
background-color: transparent;
}
.client-icon-menu, .client-icon-menu-activo{
margin: 0px 8px 0px 0px;
color: #a6a6a6;
}
*/
/* .client-pestanas-activo, .client-pestanas-activo .client-icon-menu, .client-pestanas:hover, .client-pestanas:hover .client-icon-menu */
/*
.client-pestanas-activo, .client-pestanas-activo .client-icon-menu-activo, .client-pestanas-off:hover, .client-pestanas-off:hover .client-icon-menu{
color: #ffffff;
}
*/`);
KL.loader.createCSS(`.recipebookslist-button {
background-color: #ffffff;
border-radius: 2px;
color: #222;
cursor: pointer;
float: left;
font-size: 1.1em;
font-weight: normal;
margin: 5px 10px;
padding: 14px;
text-align: center;
width: 29.45%;
}
.recipebookslist-button.on {
background-color: #8cc63e;
color: white;
position: relative;
}
.icon-k7-recipebookslist-seemore:before{content: "\\e956";}
`);
KL.loader.createCSS(`.client-bg-usuario{
background-image: url('https://cdn7.kiwilimon.com/kiwilimon/static/kl-profile-bg1.png');
}
.client-pestanas-activo{
background-color: var(--verde-kiwi);
}
.client-pestanas-activo:after, .client-pestanas-off:hover, .client-pestanas-off:hover:after{
background-color: var(--verde-kiwi);
}
/*
.icon-k7-btnseguir:before{content: "\\e91d";}
.icon-k7-sitioweb:before{content: "\\e911";}
.icon-k7-iconfacebook:before{content: "\\e94e";}
.icon-k7-iconinstagram:before{content: "\\e94f";}
.icon-k7-iconlinkedin:before{content: "\\e950";}
.icon-k7-iconyoutube:before{content: "\\e951";}
.icon-k7-iconrecetaschef:before{content: "\\e916";}
.icon-k7-icontipschef:before{content: "\\e93d";}
.icon-k7-iconcoleccioneschef:before{content: "\\e907";}
.menupestanaschef{
align-items: center;
background-color: #ffffff;
border-right: 2px solid #f2f2f2;
color: #777777;
display: flex;
font-size: 16px;
height: 50px;
justify-content: center;
position: relative;
text-transform: uppercase;
width: 100%;
}
.menupestanaschef.selected, .menupestanaschef:hover{
background-color: var(--verde-kiwi);
color: #ffffff;
}
.menupestanaschef.selected:after, .menupestanaschef:hover:after{
background: var(--verde-kiwi);
border: none;
content: '';
display: block;
height: 20px;
left: 50%;
margin-left: -10px;
position: absolute;
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
width: 21px;
z-index: -1;
top: 38px;
}
*/
.chef-principal .clientcontentlist-areabotones{
display: none !important;
}
.clientcontentlist-button.on {
background-color: var(--verde-kiwi);
}
.clientcontentlist-button.on:after {
border-top: solid 10px var(--verde-kiwi);
}
#clientcontentlist-next{
color: var(--verde-kiwi);
}
div[id^="p|kiwi|"] [class$="-titulo-seccion"], div[id^="p|crafto|"] [class$="-titulo-seccion"]{
display: block;
}
.coleccion-titulo-seccion{
box-sizing: border-box;
position: relative;
color: var(--verde-kiwi);
font-size: 24px;
margin: 30px 0px 0px;
display: flex;
align-items: center;
width: 100%;
}
`);
WA.templates['chef'] = WA.templater`
${['call', 'client','clientperfil']}
${['cond', 'clientlistarecetarios>quantity','cheflistarecetarios']}
Recipes from ${'clientperfil>firstname'} ${'clientperfil>lastname'}
${['call', 'clientcontentlist','coleccionchef']}
`;
WA.templates['slider'] = WA.templater`
${['loop', 'families','slider_families']}
${['loop', 'classifications','slider_classifications']}
${['loop', 'payload','feedslider']}
`;
WA.templates['slider_families'] = WA.templater`
`;
WA.templates['slider-icon-familia'] = WA.templater`
70x70/${'image'}.webp`;
WA.templates['slider_families.none'] = WA.templater`
`;
WA.templates['slider_classifications'] = WA.templater`
${['cond', 'numberarticles','numeroarticulos']}
`;
WA.templates['numeroarticulos'] = WA.templater`
`;
WA.templates['numeroarticulos.none'] = WA.templater`
`;
WA.templates['slider-icon-clasificacion'] = WA.templater`
70x70/${'icon'}.webp`;
WA.templates['slider-icon-clasificacion.none'] = WA.templater`
70x70/${'image'}.webp`;
WA.templates['slider_classifications.none'] = WA.templater`
`;
WA.templates['feedslider'] = WA.templater`
${['cond', 't','tipoficha']}
`;
WA.templates['tipoficha.productoslider'] = WA.templater`
`;
WA.templates['src-slider-producto'] = WA.templater`
/productoventa/${'k'}/250x250/${'i'}.webp`;
WA.templates['src-slider-producto.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['tipoficha.tip'] = WA.templater`
`;
WA.templates['src-tiptop10.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['amp-feed-videorec-top10'] = WA.templater`
`;
WA.templates['amp-feed-videorec-top10.none'] = WA.templater`
`;
WA.templates['src-tiptop10'] = WA.templater`
/ss_secreto/${'k'}/320x320/${'i'}.webp`;
WA.templates['tipoficha'] = WA.templater`
${'t'}
`;
WA.templates['tipoficha.none'] = WA.templater`
`;
WA.templates['tipoficha.recetaslider'] = WA.templater`
`;
WA.templates['src-recetatop10'] = WA.templater`
/recetaimagen/${'k'}/320x320/${'i'}.webp`;
WA.templates['src-recetatop10.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['amp-feed-videorec-top10'] = WA.templater`
`;
WA.templates['amp-feed-videorec-top10.none'] = WA.templater`
`;
WA.templates['feedslider.none'] = WA.templater`
`;
WA.templates['tools'] = WA.templater`
`;
WA.templates['tools_collectionselect'] = WA.templater`
`;
WA.templates['tools_collectionitem'] = WA.templater`
${'nombre'}
`;
WA.templates['tools_collectionitem.none'] = WA.templater`
There are no collections yet
`;
WA.templates['feed'] = WA.templater`
${['loop', 'payload','feedamp_payload']}
`;
WA.templates['feed_articuloresumen'] = WA.templater`
`;
WA.templates['src-articuloresumen'] = WA.templater`
/articuloimagen/${'k'}/${'i'}`;
WA.templates['src-articuloresumen.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-altarticuloresumen'] = WA.templater`
${'ip'}`;
WA.templates['src-altarticuloresumen.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['feed_chef'] = WA.templater`
${['cond', 'av','avatarchef']}
Profile
${['cond', 'qr','numrecetas']}
${['cond', 'qt','numtips']}
${['cond', 'qc','numcolecciones']}
Followers: ${'qs'}
Following: ${'qg'}
${['cond', 'sesionprochef','btnseguirchef']}
`;
WA.templates['numrecetas'] = WA.templater`
Recipes: ${'qr'}
`;
WA.templates['numcolecciones'] = WA.templater`
Collections: ${'qc'}
`;
WA.templates['bgpersonalizado'] = WA.templater`
background-image: url('${'bg'}');`;
WA.templates['numtips.none'] = WA.templater`
`;
WA.templates['numrecetas.none'] = WA.templater`
`;
WA.templates['paysigochefsesionprochef'] = WA.templater`
Following
`;
WA.templates['avatarchef.none'] = WA.templater`
`;
WA.templates['btnseguirchef'] = WA.templater`
Follow
`;
WA.templates['bgclassdefault'] = WA.templater`
`;
WA.templates['cheffondocolor'] = WA.templater`
${'co'}`;
WA.templates['bgpersonalizado.none'] = WA.templater`
`;
WA.templates['bgclassdefault.none'] = WA.templater`
imgfondochefdefault`;
WA.templates['paysigochefsesionprochef.none'] = WA.templater`
Follow
`;
WA.templates['cheffondocolor.none'] = WA.templater`
#ffffff`;
WA.templates['btnseguirchef.false'] = WA.templater`
${['cond', 'f','paysigochefsesionprochef']}
`;
WA.templates['numcolecciones.none'] = WA.templater`
`;
WA.templates['avatarchef'] = WA.templater`
`;
WA.templates['numtips'] = WA.templater`
Tips: ${'qt'}
`;
WA.templates['btnseguirchef.true'] = WA.templater`
${['cond', 'f','paysigochefsesionprochef']}
`;
WA.templates['feed_coleccion'] = WA.templater`
`;
WA.templates['src-coleccion'] = WA.templater`
/recetaimagen/${'k'}/${'i'}`;
WA.templates['src-coleccion.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['feed_tipslider'] = WA.templater`
`;
WA.templates['nivelfichatipslider.1'] = WA.templater`
`;
WA.templates['src-tipslider'] = WA.templater`
/ss_secreto/${'k'}/${'i'}`;
WA.templates['src-tipslider.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['nivelfichatipslider.2'] = WA.templater`
${['cond', 'datachefconectado>client>p','nivelfichatipnormalslider']}
`;
WA.templates['nivelfichatipnormalslider'] = WA.templater`
`;
WA.templates['nivelfichatipnormalslider.none'] = WA.templater`
${['cond', 'siteorigin','origenfeedinternotipslider']}
`;
WA.templates['origenfeedinternotipslider.kiwi'] = WA.templater`
`;
WA.templates['nivelfichatipslider.3'] = WA.templater`
${['cond', 'datachefconectado>client>p','nivelfichatipproslider']}
`;
WA.templates['nivelfichatipproslider'] = WA.templater`
`;
WA.templates['nivelfichatipproslider.none'] = WA.templater`
${['cond', 'siteorigin','origenfeedinternotipproslider']}
`;
WA.templates['origenfeedinternotipproslider.kiwi'] = WA.templater`
`;
WA.templates['nivelfichatipslider'] = WA.templater`
`;
WA.templates['nivelfichatipslider.none'] = WA.templater`
`;
WA.templates['estatustipslider.10'] = WA.templater`
`;
WA.templates['estatustipslider'] = WA.templater`
${'n'}
`;
WA.templates['feed_articulolarge'] = WA.templater`
`;
WA.templates['src-articulolarge.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-articulolarge'] = WA.templater`
${'ip'}`;
WA.templates['feed_ad'] = WA.templater`
`;
WA.templates['feed_coleccionventa'] = WA.templater`
${['cond', 'i','portadacoleccion']}
`;
WA.templates['portadacoleccion'] = WA.templater`
`;
WA.templates['imgcoleccion.none'] = WA.templater`
`;
WA.templates['imgcoleccion'] = WA.templater`
/coleccionventa/${'k'}/${'i'}`;
WA.templates['portadacoleccion.none'] = WA.templater`
`;
WA.templates['coleccion4.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['coleccion1'] = WA.templater`
/recetaimagen/${'ci1'}/${'i1'}`;
WA.templates['coleccion1.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['coleccion2'] = WA.templater`
/recetaimagen/${'ci2'}/${'i2'}`;
WA.templates['coleccion2.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['coleccion3'] = WA.templater`
/recetaimagen/${'ci3'}/${'i3'}`;
WA.templates['coleccion3.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['coleccion4'] = WA.templater`
/recetaimagen/${'ci4'}/${'i4'}`;
WA.templates['feed_coleccioncliente'] = WA.templater`
${['cond', 'myaccount','micuentabtnelimina']}
${['cond', 'myaccount','linkcoleccion']}
${['loop', 'el','coleccionelementos']}
${['cond', 'myaccount','micuentabtnupdate']}
`;
WA.templates['linkcoleccion'] = WA.templater`
${['cond', 'siteorigin','linkmicuentakiwi']}
`;
WA.templates['linkmicuentakiwi'] = WA.templater`
`;
WA.templates['linkmicuentakiwi.kiwirec'] = WA.templater`
`;
WA.templates['linkcoleccion.none'] = WA.templater`
${['cond', 'siteorigin','linkchefkiwi']}
`;
WA.templates['linkchefkiwi'] = WA.templater`
`;
WA.templates['linkchefkiwi.kiwirec'] = WA.templater`
`;
WA.templates['linkchefkiwi.crafto'] = WA.templater`
`;
WA.templates['coleccionelementos.none'] = WA.templater`
`;
WA.templates['tipocoleccion'] = WA.templater`
`;
WA.templates['micuentabtnupdate'] = WA.templater`
${['cond', 'tipo','tipocoleccion']}
`;
WA.templates['imgelemento'] = WA.templater`
`;
WA.templates['idelemento'] = WA.templater`
${['cond', 'i','imgelemento']}
`;
WA.templates['imgelemento.none'] = WA.templater`
`;
WA.templates['micuentabtnelimina'] = WA.templater`
${['cond', 'tipo','tipocoleccionemilina']}
`;
WA.templates['tipocoleccionemilina'] = WA.templater`
`;
WA.templates['tipocoleccionemilina.8'] = WA.templater`
`;
WA.templates['coleccionelementos'] = WA.templater`
${['cond', 'c','idelemento']}
`;
WA.templates['micuentabtnelimina.none'] = WA.templater`
`;
WA.templates['micuentabtnupdate.none'] = WA.templater`
`;
WA.templates['tipocoleccion.8'] = WA.templater`
`;
WA.templates['feed_compilacionrecetaslider'] = WA.templater`
`;
WA.templates['src-compilacionrecetaslider.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-compilacionrecetaslider'] = WA.templater`
/menu/${'k'}/${'i'}`;
WA.templates['feed_articulo'] = WA.templater`
`;
WA.templates['estatusarticulo.none'] = WA.templater`
`;
WA.templates['src-articuloi'] = WA.templater`
/articuloimagen/${'k'}/${'i'}`;
WA.templates['src-articulo.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['estatusarticulo.10'] = WA.templater`
${'cn'}
${'ms'}
${['cond', 'vr','ratingarticulo']}
Continue reading
`;
WA.templates['src-articulo'] = WA.templater`
${'ip'}`;
WA.templates['ratingarticulo.none'] = WA.templater`
5.0
`;
WA.templates['estatusarticulo'] = WA.templater`
${'cn'}
${'ms'}
${['cond', 'vr','ratingarticulo']}
Continue reading
`;
WA.templates['src-articuloi.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['ratingarticulo'] = WA.templater`
${'vr'}
`;
WA.templates['feed_familiareceta'] = WA.templater`
`;
WA.templates['src-familiareceta2'] = WA.templater`
/recetaimagen/${'ci2'}/${'i2'}`;
WA.templates['src-familiareceta2.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-familiareceta3'] = WA.templater`
/recetaimagen/${'ci3'}/${'i3'}`;
WA.templates['src-familiareceta3.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-familiareceta4'] = WA.templater`
/recetaimagen/${'ci4'}/${'i4'}`;
WA.templates['src-familiareceta4.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-familiareceta1'] = WA.templater`
/recetaimagen/${'ci1'}/${'i1'}`;
WA.templates['src-familiareceta1.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['feed_quiz'] = WA.templater`
`;
WA.templates['src-quizz'] = WA.templater`
/quizz/${'k'}/${'i'}`;
WA.templates['src-quizz.none'] = WA.templater`
/img/static/logo_o-400x300.png`;
WA.templates['feed_newsletter'] = WA.templater`
Sign up for the newsletter
and receive the best Kiwilimón recipes.
`;
WA.templates['feed_clientactivity'] = WA.templater`
${['cond', 'tipoevento','feedfichaeventoclientactivity']}
`;
WA.templates['imgusuario.none'] = WA.templater`
`;
WA.templates['numerocolecciones'] = WA.templater`
${'qc'} Collections
`;
WA.templates['imgusuariocrafto'] = WA.templater`
`;
WA.templates['imgusuariocrafto.none'] = WA.templater`
`;
WA.templates['numerorecetas.none'] = WA.templater`
`;
WA.templates['numerosiguiendo'] = WA.templater`
${'qg'} Following
`;
WA.templates['imgcolorfondo.none'] = WA.templater`
#ffffff
`;
WA.templates['numerorecetas'] = WA.templater`
${'qr'} Recipes
`;
WA.templates['imgcolorfondo'] = WA.templater`
${'co'}
`;
WA.templates['numerocolecciones.none'] = WA.templater`
`;
WA.templates['numeroseguidores'] = WA.templater`
${'qs'} Followers
`;
WA.templates['feedfichaeventoclientactivity'] = WA.templater`
${['cond', 'siteorigin','clientorigensigue']}
`;
WA.templates['clientorigensigue.crafto'] = WA.templater`
${['cond', 's','estatusperfilcreador']}
`;
WA.templates['estatusperfilcreador.1'] = WA.templater`
${'fn'} ${'ln'}
${['cond', 'qr','numerorecetas']}
${['cond', 'qt','numerotips']}
${['cond', 'qc','numerocolecciones']}
${['cond', 'qs','numeroseguidores']}
${['cond', 'qg','numerosiguiendo']}
`;
WA.templates['origenimgusuario'] = WA.templater`
${['cond', 'av','imgusuario']}
`;
WA.templates['origenimgusuario.crafto'] = WA.templater`
${['cond', 'av','imgusuariocrafto']}
`;
WA.templates['estatusperfilcreador.none'] = WA.templater`
`;
WA.templates['clientorigensigue'] = WA.templater`
${['cond', 's','estatusperfilchef']}
`;
WA.templates['estatusperfilchef.1'] = WA.templater`
${'fn'} ${'ln'}
${['cond', 'qr','numerorecetas']}
${['cond', 'qt','numerotips']}
${['cond', 'qc','numerocolecciones']}
${['cond', 'qs','numeroseguidores']}
${['cond', 'qg','numerosiguiendo']}
`;
WA.templates['origenimgusuario.crafto'] = WA.templater`
${['cond', 'av','imgusuariocrafto']}
`;
WA.templates['origenimgusuario'] = WA.templater`
${['cond', 'av','imgusuario']}
`;
WA.templates['estatusperfilchef.none'] = WA.templater`
`;
WA.templates['numerosiguiendo.none'] = WA.templater`
`;
WA.templates['imgusuario'] = WA.templater`
`;
WA.templates['numeroseguidores.none'] = WA.templater`
`;
WA.templates['numerotips'] = WA.templater`
${'qt'} Tips
`;
WA.templates['numerotips.none'] = WA.templater`
`;
WA.templates['feed_productoslider'] = WA.templater`
${['cond', 'k','claverecetario']}
`;
WA.templates['claverecetario'] = WA.templater`
`;
WA.templates['src-productoslider'] = WA.templater`
/productoventa/${'k'}/${'i'}`;
WA.templates['src-productoslider.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['claverecetario.106'] = WA.templater`
`;
WA.templates['feedamp_payload_none'] = WA.templater`
`;
WA.templates['feed_clasificacionreceta'] = WA.templater`
`;
WA.templates['src-clasificacionreceta4'] = WA.templater`
/recetaimagen/${'ci4'}/${'i4'}`;
WA.templates['src-clasificacionreceta4.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificacionreceta1'] = WA.templater`
/recetaimagen/${'ci1'}/${'i1'}`;
WA.templates['src-clasificacionreceta1.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificacionreceta2'] = WA.templater`
/recetaimagen/${'ci2'}/${'i2'}`;
WA.templates['src-clasificacionreceta2.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificacionreceta3'] = WA.templater`
/recetaimagen/${'ci3'}/${'i3'}`;
WA.templates['src-clasificacionreceta3.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['feed_clasificaciontip'] = WA.templater`
`;
WA.templates['src-clasificaciontip3.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificaciontip4'] = WA.templater`
/ss_secreto/${'ci4'}/${'i4'}`;
WA.templates['src-clasificaciontip4.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificaciontip1'] = WA.templater`
/ss_secreto/${'ci1'}/${'i1'}`;
WA.templates['src-clasificaciontip1.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificaciontip2'] = WA.templater`
/ss_secreto/${'ci2'}/${'i2'}`;
WA.templates['src-clasificaciontip2.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificaciontip3'] = WA.templater`
/ss_secreto/${'ci3'}/${'i3'}`;
WA.templates['feed_compilaciontip'] = WA.templater`
`;
WA.templates['src-compilaciontip'] = WA.templater`
/menutip/${'k'}/${'i'}`;
WA.templates['src-compilaciontip.none'] = WA.templater`
/img/static/logo_o-400x300.png`;
WA.templates['feed_recetaslider'] = WA.templater`
`;
WA.templates['estatusrecetaslider.10'] = WA.templater`
`;
WA.templates['src-recetaslider.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['nivelfichaslider.2'] = WA.templater`
${['cond', 'datachefconectado>client>p','nivelfichanormalslider']}
`;
WA.templates['nivelfichanormalslider'] = WA.templater`
`;
WA.templates['nivelfichanormalslider.none'] = WA.templater`
${['cond', 'siteorigin','origenfeedinternoslider']}
`;
WA.templates['origenfeedinternoslider.kiwi'] = WA.templater`
`;
WA.templates['src-recetaslider'] = WA.templater`
/recetaimagen/${'k'}/${'i'}`;
WA.templates['nivelfichaslider.1'] = WA.templater`
`;
WA.templates['estatusrecetaslider'] = WA.templater`
`;
WA.templates['estatusrecetaslider.none'] = WA.templater`
`;
WA.templates['nivelfichaslider.3'] = WA.templater`
${['cond', 'datachefconectado>client>p','nivelfichaproslider']}
`;
WA.templates['nivelfichaproslider.none'] = WA.templater`
${['cond', 'siteorigin','origenfeedproslider']}
`;
WA.templates['origenfeedproslider.kiwi'] = WA.templater`
`;
WA.templates['nivelfichaproslider'] = WA.templater`
`;
WA.templates['nivelfichareceta'] = WA.templater`
`;
WA.templates['feed_compilacionreceta'] = WA.templater`
`;
WA.templates['src-compilacionreceta'] = WA.templater`
/menu/${'k'}/${'i'}`;
WA.templates['src-compilacionreceta.none'] = WA.templater`
/img/static/logo_o-400x300.png`;
WA.templates['feed_familiatip'] = WA.templater`
`;
WA.templates['src-familiatip4'] = WA.templater`
/ss_secreto/${'ci4'}/${'i4'}`;
WA.templates['src-familiatip4.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-familiatip1'] = WA.templater`
/ss_secreto/${'ci1'}/${'i1'}`;
WA.templates['src-familiatip1.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-familiatip2'] = WA.templater`
/ss_secreto/${'ci2'}/${'i2'}`;
WA.templates['src-familiatip2.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-familiatip3'] = WA.templater`
/ss_secreto/${'ci3'}/${'i3'}`;
WA.templates['src-familiatip3.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['feed_producto'] = WA.templater`
${['cond', 'siteorigin','origensitio']}
`;
WA.templates['src-producto.none'] = WA.templater`
/img/static/logo-o-500x500.png`;
WA.templates['origensitio.kiwi'] = WA.templater`
${['cond', 'type','tipofeedrecetarios']}
`;
WA.templates['tipofeedrecetarios.probooks'] = WA.templater`
`;
WA.templates['familiaproducto'] = WA.templater`
`;
WA.templates['familiaproducto.4'] = WA.templater`
`;
WA.templates['tipofeedrecetarios.collectionfavorite'] = WA.templater`
`;
WA.templates['familiaproducto.4'] = WA.templater`
`;
WA.templates['familiaproducto'] = WA.templater`
`;
WA.templates['tipofeedrecetarios.recetaclasificacion'] = WA.templater`
`;
WA.templates['tipofeedrecetarios.recipebooks'] = WA.templater`
`;
WA.templates['familiaproducto.4'] = WA.templater`
`;
WA.templates['familiaproducto'] = WA.templater`
`;
WA.templates['idrecretos.7'] = WA.templater`
/menu/reto-vegano/reto-vegano-dia-1`;
WA.templates['idrecretos.8'] = WA.templater`
/menu/reto-kiwilimon/dia-1`;
WA.templates['idrecretos.9'] = WA.templater`
/menu/reto-paleo/reto-paleo-dia-1`;
WA.templates['idrecretos'] = WA.templater`
${'pa'}`;
WA.templates['tipofeedrecetarios.search'] = WA.templater`
`;
WA.templates['idsearchrecretos'] = WA.templater`
${'pa'}`;
WA.templates['searchgrupoproducto.4'] = WA.templater`
`;
WA.templates['searchgrupoproducto'] = WA.templater`
${['cond', 'k','imgproducto']}
`;
WA.templates['imgproducto.128'] = WA.templater`
`;
WA.templates['imgproducto'] = WA.templater`
`;
WA.templates['idsearchrecretos.7'] = WA.templater`
/menu/reto-vegano/reto-vegano-dia-1`;
WA.templates['idsearchrecretos.8'] = WA.templater`
/menu/reto-kiwilimon/dia-1`;
WA.templates['idsearchrecretos.9'] = WA.templater`
/menu/reto-paleo/reto-paleo-dia-1`;
WA.templates['tipofeedrecetarios.collectiondetalle'] = WA.templater`
`;
WA.templates['tipofeedrecetarios.pro'] = WA.templater`
${['cond', 'datachefconectado','productospro']}
`;
WA.templates['productospro'] = WA.templater`
`;
WA.templates['productospro.none'] = WA.templater`
`;
WA.templates['origensitio.crafto'] = WA.templater`
`;
WA.templates['origensitio.kiwirec'] = WA.templater`
`;
WA.templates['familiaproducto.4'] = WA.templater`
`;
WA.templates['familiaproducto'] = WA.templater`
`;
WA.templates['src-producto'] = WA.templater`
/productoventa/${'k'}/${'i'}`;
WA.templates['feed_tip'] = WA.templater`
`;
WA.templates['src-tip'] = WA.templater`
/ss_secreto/${'k'}/${'i'}`;
WA.templates['src-tip.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['estatustip.10'] = WA.templater`
`;
WA.templates['estatustip'] = WA.templater`
${'n'}
`;
WA.templates['feed_video'] = WA.templater`
`;
WA.templates['feed_video.none'] = WA.templater`
`;
WA.templates['feed_articuloclasificacion'] = WA.templater`
`;
WA.templates['src-clasificacionarticulo3.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificacionarticulo4'] = WA.templater`
/articuloimagen/${'ci4'}/${'i4'}`;
WA.templates['src-clasificacionarticulo4.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificacionarticulo1'] = WA.templater`
/articuloimagen/${'ci1'}/${'i1'}`;
WA.templates['src-clasificacionarticulo1.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificacionarticulo2'] = WA.templater`
/articuloimagen/${'ci2'}/${'i2'}`;
WA.templates['src-clasificacionarticulo2.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['src-clasificacionarticulo3'] = WA.templater`
/articuloimagen/${'ci3'}/${'i3'}`;
WA.templates['feed_clasificacionarticulo'] = WA.templater`
`;
WA.templates['src-clasificacionarticulo'] = WA.templater`
/articuloimagen/${'k'}/${'i'}`;
WA.templates['src-clasificacionarticulo.none'] = WA.templater`
/img/static/logo-o-150.png`;
WA.templates['feed_sinfoto'] = WA.templater`
${['cond', 'tipoevento','feedfichaeventosinfoto']}
`;
WA.templates['feedfichaeventosinfoto.101'] = WA.templater`
`;
WA.templates['feedfichaeventosinfoto'] = WA.templater`
`;
WA.templates['feedfichaeventosinfoto.103'] = WA.templater`
`;
WA.templates['feedamp_payload'] = WA.templater`
${['cond', 't','fichatip']}
`;
WA.templates['fichatip'] = WA.templater`
`;
WA.templates['amp-feed-videorec-top10'] = WA.templater`
`;
WA.templates['amp-feed-videorec-top10.none'] = WA.templater`
`;
WA.templates['src-tiptop10'] = WA.templater`
/ss_secreto/${'k'}/320x320/${'i'}.webp`;
WA.templates['src-tiptop10.none'] = WA.templater`
/img/static/logo-o-320x320.png`;
WA.templates['fichatip.none'] = WA.templater`
`;
WA.templates['feed_receta'] = WA.templater`
`;
WA.templates['src-receta'] = WA.templater`
/recetaimagen/${'k'}/${'i'}`;
WA.templates['recetalevelchef.2'] = WA.templater`
${['cond', 'siteorigin','origenfeedreccontinterno']}
`;
WA.templates['origenfeedreccontinterno.kiwi'] = WA.templater`
`;
WA.templates['tiposesion.true'] = WA.templater`
`;
WA.templates['estatusreceta.10'] = WA.templater`
`;
WA.templates['estatusreceta'] = WA.templater`
`;
WA.templates['recetalevelchef.3'] = WA.templater`
${['cond', 'siteorigin','origenfeedreccontpro']}
`;
WA.templates['origenfeedreccontpro.kiwi'] = WA.templater`
`;
WA.templates['recetalevelchef.1'] = WA.templater`
${['cond', 'siteorigin','origenfeedreccontmarca']}
`;
WA.templates['origenfeedreccontmarca.kiwi'] = WA.templater`
`;
WA.templates['estatusreceta.none'] = WA.templater`
`;
WA.templates['src-receta.none'] = WA.templater`
/img/static/logo_o-400x300.png`;
WA.templates['tiposesion.false'] = WA.templater`
${['cond', 'level','recetalevelchef']}
`;
WA.templates['tiposesion'] = WA.templater`
${['cond', 'level','recetalevelchef']}
`;
WA.templates['feed_confoto'] = WA.templater`
${['cond', 'tipoevento','feedfichaeventoconfoto']}
`;
WA.templates['src-imgperfilficha.none'] = WA.templater`
/img/static/logo_o-400x300.png`;
WA.templates['tipoconfoto.p'] = WA.templater`
Product
`;
WA.templates['tipoconfoto.r'] = WA.templater`
Recipe
`;
WA.templates['tipoconfoto.t'] = WA.templater`
Tip
`;
WA.templates['tipoconfoto.a'] = WA.templater`
Features
`;
WA.templates['feedfichaeventoconfoto'] = WA.templater`
${['cond', 's','estatusficha']}
`;
WA.templates['estatusficha'] = WA.templater`
${['cond', 's','estatusfichapro']}
${'d'}
`;
WA.templates['estatusfichapro.10'] = WA.templater`
`;
WA.templates['estatusfichapro'] = WA.templater`
`;
WA.templates['estatusficha.2'] = WA.templater`
`;
WA.templates['estatusficha.4'] = WA.templater`
`;
WA.templates['feedfichaeventoconfoto.none'] = WA.templater`
`;
WA.templates['src-imgperfilficha'] = WA.templater`
${'ipa'}`;
WA.templates['feed_fotoclasificaciones'] = WA.templater`
${['cond', 'tipoevento','feedfichaeventofotoclasificaciones']}
`;
WA.templates['clasiftipimg4.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['clasiftipimg1.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['clasifimg1'] = WA.templater`
/recetaimagen/${'ci1'}/${'i1'}
`;
WA.templates['clasifarticuloimg2.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['clasiftipimg3'] = WA.templater`
/ss_secreto/${'ci3'}/${'i3'}
`;
WA.templates['clasifarticuloimg1.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['clasiftipimg3.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['tipofotoclasificaciones.ft'] = WA.templater`
Family
`;
WA.templates['clasifimg1.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['clasifarticuloimg4.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['clasifarticuloimg3.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['clasifimg4'] = WA.templater`
/recetaimagen/${'ci4'}/${'i4'}
`;
WA.templates['clasiftipimg2'] = WA.templater`
/ss_secreto/${'ci2'}/${'i2'}
`;
WA.templates['clasifarticuloimg2'] = WA.templater`
/articuloimagen/${'ci2'}/${'i2'}
`;
WA.templates['tipofotoclasificaciones.cr'] = WA.templater`
Rating
`;
WA.templates['clasifimg2'] = WA.templater`
/recetaimagen/${'ci2'}/${'i2'}
`;
WA.templates['clasifarticuloimg4'] = WA.templater`
/articuloimagen/${'ci4'}/${'i4'}
`;
WA.templates['clasiftipimg4'] = WA.templater`
/ss_secreto/${'ci4'}/${'i4'}
`;
WA.templates['clasifarticuloimg1'] = WA.templater`
/articuloimagen/${'ci1'}/${'i1'}
`;
WA.templates['clasifimg3'] = WA.templater`
/recetaimagen/${'ci3'}/${'i3'}
`;
WA.templates['clasiftipimg1'] = WA.templater`
/ss_secreto/${'ci1'}/${'i1'}
`;
WA.templates['clasifimg2.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['tipofotoclasificaciones.fr'] = WA.templater`
Family
`;
WA.templates['clasiftipimg2.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['tipofotoclasificaciones.ct'] = WA.templater`
Rating
`;
WA.templates['tipofotoclasificaciones.ca'] = WA.templater`
Rating
`;
WA.templates['clasifimg3.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['clasifimg4.none'] = WA.templater`
/img/static/logo_o-400x300.png
`;
WA.templates['tipofotoclasificaciones.kr'] = WA.templater`
Compilation
`;
WA.templates['feedfichaeventofotoclasificaciones'] = WA.templater`
`;
WA.templates['tipofichaactividad.ct'] = WA.templater`
`;
WA.templates['tipofichaactividad'] = WA.templater`
`;
WA.templates['tipofichaactividad.ca'] = WA.templater`
`;
WA.templates['tipofichaactividad.ft'] = WA.templater`
`;
WA.templates['clasifarticuloimg3'] = WA.templater`
/articuloimagen/${'ci3'}/${'i3'}
`;
WA.templates['feed_articuloslider'] = WA.templater`
`;
WA.templates['src-articuloslider'] = WA.templater`
/articuloimagen/${'k'}/${'i'}`;
WA.templates['src-articuloslider.none'] = WA.templater`
${['cond', 'ip','src-altarticuloslider']}
`;
WA.templates['src-altarticuloslider.none'] = WA.templater`
/img/static/logo-o-150.png`;
WA.templates['src-altarticuloslider'] = WA.templater`
${'ip'}`;
WA.templates['estatusarticuloslider.10'] = WA.templater`
`;
WA.templates['estatusarticuloslider'] = WA.templater`
`;
WA.templates['estatusarticuloslider.none'] = WA.templater`
`;
WA.templates['client'] = WA.templater`
${['cond', 'datachefconectado>client','chefconectado']}
${['cond', 'quantityfollowers','numeroseguidores']}
${['cond', 'quantityfollowing','numerosiguiendo']}
${['cond', 'siteorigin','clientoriginavatar']}
${'firstname'} ${'lastname'}
${['cond', 'sitioweb','webchef']}
${['cond', 'facebook','facebookchef']}
${['cond', 'instagram','instagramchef']}
${['cond', 'linkedin','linkedinchef']}
${['cond', 'youtube','youtubechef']}
Share on social media:
${['call', 'social-share']}
`;
WA.templates['imgavatarcreadorcrafto'] = WA.templater`
`;
WA.templates['webchef.none'] = WA.templater`
`;
WA.templates['bgpersonalizado.none'] = WA.templater`
background-image: url('${'bgimage'}')`;
WA.templates['numcoleccionesclient'] = WA.templater`
${['cond', 'siteorigin','menuorigencoleccion']}
`;
WA.templates['menuorigencoleccion'] = WA.templater`
Collections
`;
WA.templates['menuorigencoleccion.kiwirec'] = WA.templater`
Collections
`;
WA.templates['menuorigencoleccion.crafto'] = WA.templater`
Collections
`;
WA.templates['chefconectado'] = WA.templater`
${['cond', 'f','sigochef']}
`;
WA.templates['sigochef.1'] = WA.templater`
Following
`;
WA.templates['sigochef.none'] = WA.templater`
Follow
`;
WA.templates['numtipsclient.none'] = WA.templater`
`;
WA.templates['social-share'] = WA.templater`
`;
WA.templates['clientoriginavatar.kiwirec'] = WA.templater`
${['cond', 'avatar','imgavatarchefkiwi']}
`;
WA.templates['youtubechef.none'] = WA.templater`
`;
WA.templates['imgavatarcreadorcrafto.none'] = WA.templater`
`;
WA.templates['numeroseguidores.none'] = WA.templater`
`;
WA.templates['numerosiguiendo'] = WA.templater`
${'quantityfollowing'} Following
`;
WA.templates['facebookchef.none'] = WA.templater`
`;
WA.templates['bgpersonalizado'] = WA.templater`
background-image: url('${'bgimage'}')`;
WA.templates['clientfondocolor.none'] = WA.templater`
#ffffff`;
WA.templates['instagramchef'] = WA.templater`
Follow them on Instagram
`;
WA.templates['webchef'] = WA.templater`
Visit their page
`;
WA.templates['numrecetasclient.none'] = WA.templater`
`;
WA.templates['numrecetasclient'] = WA.templater`
${['cond', 'siteorigin','menuorigenrec']}
`;
WA.templates['menuorigenrec'] = WA.templater`
${['cond', 'siteorigin','menuorigen']}
`;
WA.templates['menuorigen'] = WA.templater`
Recipes
`;
WA.templates['menuorigen.crafto'] = WA.templater`
`;
WA.templates['imgavatarchefkiwi.none'] = WA.templater`
`;
WA.templates['numcoleccionesclient.none'] = WA.templater`
`;
WA.templates['numeroseguidores'] = WA.templater`
${'quantityfollowers'} Followers
`;
WA.templates['numerosiguiendo.none'] = WA.templater`
`;
WA.templates['clientoriginavatar.crafto'] = WA.templater`
${['cond', 'avatar','imgavatarcreadorcrafto']}
`;
WA.templates['clientoriginavatar.kiwi'] = WA.templater`
${['cond', 'avatar','imgavatarchefkiwi']}
`;
WA.templates['linkedinchef.none'] = WA.templater`
`;
WA.templates['youtubechef'] = WA.templater`
Follow them on Youtube
`;
WA.templates['numtipsclient'] = WA.templater`
${['cond', 'siteorigin','menuorigentip']}
`;
WA.templates['menuorigentip'] = WA.templater`
Tips
`;
WA.templates['menuorigentip.crafto'] = WA.templater`
Tips
`;
WA.templates['chefconectado.none'] = WA.templater`
Follow
`;
WA.templates['linkedinchef'] = WA.templater`
Follow them on Linkedin
`;
WA.templates['facebookchef'] = WA.templater`
Follow them on Facebook
`;
WA.templates['instagramchef.none'] = WA.templater`
`;
WA.templates['clientfondocolor'] = WA.templater`
${'color'}`;
WA.templates['imgavatarchefkiwi'] = WA.templater`
`;
WA.templates['clientcontentlist'] = WA.templater`
Newest
Recommended
Most popular
${['loop', 'payload','feed_payload']}
See more
`;
WA.templates['client-perfil'] = WA.templater`
${['cond', 'client>seg','clientperfil-numseguidores']}
${['cond', 'client>sig','clientperfil-numsiguiendo']}
${['cond', 'siteorigin','clientorigenavatar']}
${'client>n'} ${'client>a'}
`;
WA.templates['clientperfil-numseguidores'] = WA.templater`
${'client>seg'} Followers
`;
WA.templates['clientorigenavatar.crafto'] = WA.templater`
${['cond', 'client>i','imgavatarcreador']}
`;
WA.templates['imgavatarcreador'] = WA.templater`
`;
WA.templates['clientorigenopmenu.kiwi'] = WA.templater`
`;
WA.templates['imgavatarchef'] = WA.templater`
`;
WA.templates['clientperfil-numsiguiendo.none'] = WA.templater`
`;
WA.templates['imgavatarchef.none'] = WA.templater`
`;
WA.templates['clientorigenavatar.kiwi'] = WA.templater`
${['cond', 'client>i','imgavatarchef']}
`;
WA.templates['avatarbordecolor'] = WA.templater`
${'client>color'}
`;
WA.templates['clientorigenopmenu.kiwirec'] = WA.templater`
`;
WA.templates['clientorigenopmenu.crafto'] = WA.templater`
`;
WA.templates['clientorigenperfil.crafto'] = WA.templater`
${['cond', 'client>ifondo','imgfondocrafto']}
`;
WA.templates['imgfondo'] = WA.templater`
background-image: url('${'client>ifondo'}')`;
WA.templates['imgfondo.none'] = WA.templater`
background-image: url('${['eval','KL.cdn7domains']}/img/static/kl-profile-bg1.png')`;
WA.templates['imgfondocrafto.none'] = WA.templater`
background-image: url('${['eval','KL.cdn7domains']}/craftologia/static/bg-perfil-v2.jpg')`;
WA.templates['clientorigenperfil.kiwirec'] = WA.templater`
${['cond', 'client>ifondo','imgfondo']}
`;
WA.templates['imgavatarcreador.none'] = WA.templater`
`;
WA.templates['avatarbordecolor.none'] = WA.templater`
#ffffff
`;
WA.templates['clientorigenperfil.kiwi'] = WA.templater`
${['cond', 'client>ifondo','imgfondo']}
`;
WA.templates['imgfondocrafto'] = WA.templater`
background-image: url('${'client>ifondo'}')`;
WA.templates['clientorigenavatar.kiwirec'] = WA.templater`
${['cond', 'client>i','imgavatarchef']}
`;
WA.templates['clientperfil-numsiguiendo'] = WA.templater`
${'client>sig'} Following
`;
WA.templates['clientperfil-numseguidores.none'] = WA.templater`
`;
WA.templates['recipebookslist'] = WA.templater`
Newest
Recommended
Most popular
${['loop', 'payload','feed_payload']}
See more
`;
WA.templates['cheflistarecetarios'] = WA.templater`
${'clientperfil>firstname'} ${'clientperfil>lastname'}
${['call', 'recipebookslist','clientlistarecetarios']}
`;
WA.templates['cheflistarecetarios.none'] = WA.templater`
`;
KL.currentcode={"clientlistarecetarios":{"key":"215303","more":false,"page":1,"payload":[],"quantity":0,"time":0,"total":0,"type":"recipebooks"},"clientperfil":{"avatar":"https://cdn7.kiwilimon.com/kiwilimon/static/icono-usuario.svg","bgimage":"https://cdn7.kiwilimon.com/kiwilimon/static/kl-profile-bg1.png","color":"#ffffff","especialidad":"","experiencia":"","f":0,"facebook":"https://www.facebook.com/carolansMX/","firstname":"Carolans","instagram":"","key":215303,"lastname":" ","linkedin":"","path":"/chef/7361386258","quantitycollections":0,"quantityfollowers":0,"quantityfollowing":0,"quantityrecipes":0,"quantitytips":0,"rid":"7361386258","sitioweb":"","twitter":"","youtube":""},"coleccionchef":{"key":"215303","more":false,"page":1,"payload":[{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":72,"i":"12989.png","k":22156,"level":1,"m":1,"mt":"normal","n":"Tiramisú Carolans ","pa":"/recipe/desserts/cold-dessert-recipes/tiramisu/tiramisu-carolans","pr":"80.0%","preptime":"60","pub":"19 Sep 14 12:37 +0000","s":1,"t":"receta","totaltime":"60","v":"","vh":"100.00%","vp":"","vr":"4.0","x":"p|kiwi|client|215303|1|0|1"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":82,"i":"31540.jpg","k":22155,"level":1,"m":1,"mt":"normal","n":"Carolans Cheesecake ","pa":"/recipe/desserts/pie-recipes/cheese-pie/carolans-cheesecake","pr":"100.0%","preptime":"60","pub":"19 Sep 14 12:37 +0000","s":1,"t":"receta","totaltime":"60","v":"","vh":"100.00%","vp":"","vr":"5.0","x":"p|kiwi|client|215303|1|0|2"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":19,"i":"12986.png","k":22153,"level":1,"m":1,"mt":"normal","n":"Carolans Martini with Espresso","pa":"/recipe/beverages/cocktail-recipes/carolans-martini-with-espresso","pr":"100.0%","preptime":"5","pub":"19 Sep 14 12:36 +0000","s":1,"t":"receta","totaltime":"5","v":"","vh":"100.00%","vp":"","vr":"5.0","x":"p|kiwi|client|215303|1|0|3"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":22,"i":"12985.png","k":22152,"level":1,"m":1,"mt":"normal","n":"Carolans Latte ","pa":"/recipe/beverages/hot-drinks/carolans-latte","pr":"100.0%","preptime":"2","pub":"19 Sep 14 12:35 +0000","s":1,"t":"receta","totaltime":"2","v":"","vh":"100.00%","vp":"","vr":"5.0","x":"p|kiwi|client|215303|1|0|4"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":12,"i":"12984.png","k":22151,"level":1,"m":1,"mt":"normal","n":"Carolans Ice Cream ","pa":"/recipe/desserts/cold-dessert-recipes/ice-cream/carolans-ice-cream","pr":"20.0%","preptime":"3","pub":"19 Sep 14 12:35 +0000","s":1,"t":"receta","totaltime":"3","v":"","vh":"100.00%","vp":"","vr":"1.0","x":"p|kiwi|client|215303|1|0|5"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":5,"i":"12983.png","k":22149,"level":1,"m":1,"mt":"normal","n":"Carolans Mint Fredo ","pa":"/recipe/beverages/other-drinks/carolans-mint-fredo","pr":"100.0%","preptime":"5","pub":"19 Sep 14 12:34 +0000","s":1,"t":"receta","totaltime":"5","v":"","vh":"100.00%","vp":"","vr":"5.0","x":"p|kiwi|client|215303|1|0|6"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":58,"i":"12982.png","k":22148,"level":1,"m":1,"mt":"normal","n":"Carolans Frappe ","pa":"/recipe/beverages/other-drinks/carolans-frappe","pr":"100.0%","preptime":"5","pub":"19 Sep 14 12:33 +0000","s":1,"t":"receta","totaltime":"5","v":"","vh":"100.00%","vp":"","vr":"5.0","x":"p|kiwi|client|215303|1|0|7"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":8,"i":"12981.png","k":22147,"level":1,"m":1,"mt":"normal","n":"Carolans on the Rocks ","pa":"/recipe/beverages/other-drinks/carolans-on-the-rocks","pr":"100.0%","preptime":"2","pub":"19 Sep 14 12:33 +0000","s":1,"t":"receta","totaltime":"2","v":"","vh":"100.00%","vp":"","vr":"5.0","x":"p|kiwi|client|215303|1|0|8"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":30,"i":"12980.png","k":22146,"level":1,"m":1,"mt":"normal","n":"Coffee Delight Carolans ","pa":"/recipe/beverages/other-drinks/coffee-delight-carolans","pr":"100.0%","preptime":"5","pub":"19 Sep 14 12:32 +0000","s":1,"t":"receta","totaltime":"5","v":"","vh":"100.00%","vp":"","vr":"5.0","x":"p|kiwi|client|215303|1|0|9"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":23,"i":"12978.png","k":22144,"level":1,"m":1,"mt":"normal","n":"Chocolatini Carolans ","pa":"/recipe/beverages/cocktail-recipes/chocolatini-carolans","pr":"100.0%","preptime":"5","pub":"19 Sep 14 12:31 +0000","s":1,"t":"receta","totaltime":"5","v":"","vh":"100.00%","vp":"","vr":"5.0","x":"p|kiwi|client|215303|1|0|10"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":28,"i":"12979.png","k":22145,"level":1,"m":1,"mt":"normal","n":"Carolans with Coffee ","pa":"/recipe/beverages/other-drinks/carolans-with-coffee","pr":"100.0%","preptime":"5","pub":"19 Sep 14 12:31 +0000","s":1,"t":"receta","totaltime":"5","v":"","vh":"100.00%","vp":"","vr":"5.0","x":"p|kiwi|client|215303|1|0|11"},{"cn":"Carolans ","cooktime":"0","difficulty":"1","fv":40,"i":"12977.png","k":22129,"level":1,"m":1,"mt":"normal","n":"Carolans Irish Coffee ","pa":"/recipe/beverages/hot-drinks/carolans-irish-coffee","pr":"100.0%","preptime":"5","pub":"19 Sep 14 12:30 +0000","s":1,"t":"receta","totaltime":"5","v":"","vh":"100.00%","vp":"","vr":"5.0","x":"p|kiwi|client|215303|1|0|12"}],"quantity":12,"time":0,"total":12,"type":"client"},"datachefconectado":{"client":null,"device":"mobile","geo":"OH","gep":"US","ip":"18.188.143.21","locallanguage":"en","origin":"kiwi","server":"api7","skin":"","t":1730366540},"myaccount":"","sesionprochef":"\u003cnil\u003e","siteorigin":"kiwi"};
KL.LoadedModules.push('chef');
KL.currenttemplate=WA.templates['chef'];
KL.LoadedModules.push('slider');
KL.LoadedModules.push('tools');
KL.LoadedModules.push('feed');
KL.LoadedModules.push('client');
KL.LoadedModules.push('social-share');
KL.LoadedModules.push('clientcontentlist');
KL.LoadedModules.push('client-perfil');
KL.LoadedModules.push('recipebookslist');