hexsha
stringlengths 40
40
| size
int64 5
1.05M
| ext
stringclasses 98
values | lang
stringclasses 21
values | max_stars_repo_path
stringlengths 3
945
| max_stars_repo_name
stringlengths 4
118
| max_stars_repo_head_hexsha
stringlengths 40
78
| max_stars_repo_licenses
listlengths 1
10
| max_stars_count
int64 1
368k
⌀ | max_stars_repo_stars_event_min_datetime
stringlengths 24
24
⌀ | max_stars_repo_stars_event_max_datetime
stringlengths 24
24
⌀ | max_issues_repo_path
stringlengths 3
945
| max_issues_repo_name
stringlengths 4
118
| max_issues_repo_head_hexsha
stringlengths 40
78
| max_issues_repo_licenses
listlengths 1
10
| max_issues_count
int64 1
134k
⌀ | max_issues_repo_issues_event_min_datetime
stringlengths 24
24
⌀ | max_issues_repo_issues_event_max_datetime
stringlengths 24
24
⌀ | max_forks_repo_path
stringlengths 3
945
| max_forks_repo_name
stringlengths 4
135
| max_forks_repo_head_hexsha
stringlengths 40
78
| max_forks_repo_licenses
listlengths 1
10
| max_forks_count
int64 1
105k
⌀ | max_forks_repo_forks_event_min_datetime
stringlengths 24
24
⌀ | max_forks_repo_forks_event_max_datetime
stringlengths 24
24
⌀ | content
stringlengths 5
1.05M
| avg_line_length
float64 1
1.03M
| max_line_length
int64 2
1.03M
| alphanum_fraction
float64 0
1
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3f15456f12e42e52a85c1ea17348ab231e447c6a
| 2,861
|
php
|
PHP
|
apps/prestashop/htdocs/src/Core/Grid/Position/GridPositionUpdater.php
|
Gacheri/prestashop
|
145e8163d32f3d616bbf710a4a3fef607f707aff
|
[
"Apache-2.0"
] | 1
|
2021-11-05T12:06:33.000Z
|
2021-11-05T12:06:33.000Z
|
apps/prestashop/htdocs/src/Core/Grid/Position/GridPositionUpdater.php
|
Gacheri/prestashop
|
145e8163d32f3d616bbf710a4a3fef607f707aff
|
[
"Apache-2.0"
] | 4
|
2021-11-12T13:20:54.000Z
|
2021-11-15T17:41:10.000Z
|
apps/prestashop/htdocs/src/Core/Grid/Position/GridPositionUpdater.php
|
Gacheri/prestashop
|
145e8163d32f3d616bbf710a4a3fef607f707aff
|
[
"Apache-2.0"
] | 1
|
2021-11-05T12:06:35.000Z
|
2021-11-05T12:06:35.000Z
|
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
namespace PrestaShop\PrestaShop\Core\Grid\Position;
use PrestaShop\PrestaShop\Core\Grid\Position\UpdateHandler\PositionUpdateHandlerInterface;
/**
* Class GridPositionUpdater, this class is responsible for updating the position of items
* of a grid using the information from a PositionUpdateInterface object.
*/
final class GridPositionUpdater implements GridPositionUpdaterInterface
{
/**
* @var PositionUpdateHandlerInterface
*/
private $updateHandler;
/**
* @param PositionUpdateHandlerInterface $updateHandler
*/
public function __construct(PositionUpdateHandlerInterface $updateHandler)
{
$this->updateHandler = $updateHandler;
}
/**
* {@inheritdoc}
*/
public function update(PositionUpdateInterface $positionUpdate)
{
$newPositions = $this->getNewPositions($positionUpdate);
$this->sortByPositionValue($newPositions);
$this->updateHandler->updatePositions($positionUpdate->getPositionDefinition(), $newPositions);
}
/**
* @param PositionUpdateInterface $positionUpdate
*
* @return array
*/
private function getNewPositions(PositionUpdateInterface $positionUpdate)
{
$positions = $this->updateHandler->getCurrentPositions($positionUpdate->getPositionDefinition(), $positionUpdate->getParentId());
/** @var PositionModificationInterface $rowModification */
foreach ($positionUpdate->getPositionModificationCollection() as $rowModification) {
$positions[$rowModification->getId()] = $rowModification->getNewPosition();
}
return $positions;
}
/**
* @param $positions
*/
private function sortByPositionValue(&$positions)
{
asort($positions);
}
}
| 33.658824
| 137
| 0.714086
|
571b2c08516ea1300203e3159b79db819f729195
| 103
|
js
|
JavaScript
|
src/hoc/Utility/Utility.js
|
rubenribeiro/BurgerBuilderApp
|
c70786504cdde18bfc1468891b056bf61634a70e
|
[
"MIT"
] | null | null | null |
src/hoc/Utility/Utility.js
|
rubenribeiro/BurgerBuilderApp
|
c70786504cdde18bfc1468891b056bf61634a70e
|
[
"MIT"
] | null | null | null |
src/hoc/Utility/Utility.js
|
rubenribeiro/BurgerBuilderApp
|
c70786504cdde18bfc1468891b056bf61634a70e
|
[
"MIT"
] | null | null | null |
// Utility created to wrap elements
const utility = (props) => props.children;
export default utility;
| 25.75
| 42
| 0.757282
|
e82fc40602c0f5ce3b19070504130325c53a46c3
| 2,219
|
cs
|
C#
|
Enterprise/Domain/SvaSorcery.Patterns.Enterprise.Domain.TransactionScript/RecognitionService.cs
|
svasorcery/architectural-patterns
|
25d23353238ff255c9ffa48a37929b3f170962ae
|
[
"Apache-2.0"
] | 3
|
2017-11-17T14:26:09.000Z
|
2018-07-18T19:10:48.000Z
|
Enterprise/Domain/SvaSorcery.Patterns.Enterprise.Domain.TransactionScript/RecognitionService.cs
|
svasorcery/architectural-patterns
|
25d23353238ff255c9ffa48a37929b3f170962ae
|
[
"Apache-2.0"
] | 71
|
2017-11-17T09:04:56.000Z
|
2021-12-25T12:26:08.000Z
|
Enterprise/Domain/SvaSorcery.Patterns.Enterprise.Domain.TransactionScript/RecognitionService.cs
|
svasorcery/architectural-patterns
|
25d23353238ff255c9ffa48a37929b3f170962ae
|
[
"Apache-2.0"
] | 2
|
2017-11-17T14:22:33.000Z
|
2018-07-16T16:40:53.000Z
|
using System;
using System.Linq;
using System.Threading.Tasks;
namespace SvaSorcery.Patterns.Enterprise.Domain.TransactionScript
{
public class RecognitionService
{
private readonly Gateway _gateway;
public RecognitionService(Gateway gateway)
{
_gateway = gateway;
}
public async Task<Money> GetRecognizedRevenueAsync(long contractId, DateTime recognizedAt)
{
var result = Money.Dollars(0);
var recognitions = await _gateway.FindRecognitionsForAsync(contractId, recognizedAt);
foreach (var recognition in recognitions)
{
result = result.Add(Money.Dollars(Convert.ToDecimal(recognition["@amount"])));
}
return result;
}
public async Task CalculateRevenueRecognitionsAsync(long contractId)
{
var contract = (await _gateway.FindContractAsync(contractId)).First();
var totalRevenue = Money.Dollars(Convert.ToDecimal(contract["@amount"]));
var recognizedAt = Convert.ToDateTime(contract["@recognizedAt"]);
var type = Convert.ToString(contract["@type"]);
if (type == "W")
{
await _gateway.InsertRecognitionAsync(contractId, totalRevenue, recognizedAt);
}
else if (type == "D")
{
var allocation = totalRevenue.Allocate(3);
await _gateway.InsertRecognitionAsync(contractId, allocation[0], recognizedAt);
await _gateway.InsertRecognitionAsync(contractId, allocation[1], recognizedAt.AddDays(30));
await _gateway.InsertRecognitionAsync(contractId, allocation[2], recognizedAt.AddDays(60));
}
else if (type == "S")
{
var allocation = totalRevenue.Allocate(3);
await _gateway.InsertRecognitionAsync(contractId, allocation[0], recognizedAt);
await _gateway.InsertRecognitionAsync(contractId, allocation[1], recognizedAt.AddDays(60));
await _gateway.InsertRecognitionAsync(contractId, allocation[2], recognizedAt.AddDays(90));
}
}
}
}
| 40.345455
| 107
| 0.620099
|
b01d510932f81abca9379d788d5d2d0b45400866
| 12,608
|
py
|
Python
|
subway/extensions/sqlalchemy/schemas.py
|
15696/async-web-framework
|
a8e11039e03d85673a132d97f11b10ce7724dcaa
|
[
"MIT"
] | 4
|
2022-02-06T13:56:14.000Z
|
2022-02-08T03:44:48.000Z
|
subway/extensions/sqlalchemy/schemas.py
|
blanketsucks/async-web-framework
|
567ef22f37fd405e54818349649d6e3da24168d4
|
[
"MIT"
] | 1
|
2022-02-19T16:57:19.000Z
|
2022-02-19T16:57:19.000Z
|
subway/extensions/sqlalchemy/schemas.py
|
15696/async-web-framework
|
a8e11039e03d85673a132d97f11b10ce7724dcaa
|
[
"MIT"
] | 2
|
2022-02-06T14:12:21.000Z
|
2022-02-19T16:50:31.000Z
|
from __future__ import annotations
from typing import TYPE_CHECKING, AsyncIterator, Callable, Generic, ItemsView, Optional, Union, Type, Tuple, List, Dict, Any, Mapping, Sequence
import importlib
import inspect
import sqlalchemy
from sqlalchemy import sql
from subway.models import Model
from subway.app import Application
from subway.response import JSONResponse
from .results import CursorResult, Row, TypedCursorResult
from .engine import Connection
from .sqltypes import Column
from .types import SchemaT, Bind, Entity
from .filters import SelectFilter, ColumnFilter
__all__ = (
'MetaData',
'SchemaMeta',
'Schema',
'create_schema'
)
class ConnectionContext(Generic[SchemaT]):
connection: Connection
def __init__(self, bind: Bind, schema: Type[SchemaT]) -> None:
self.bind = bind
self.schema = schema
self.should_close = False
async def execute(self, query: Any, *args: Any, **kwargs: Any):
result = await self.raw_execute(query, *args, **kwargs)
return TypedCursorResult.from_cursor_result(result, type=self.schema)
async def raw_execute(self, *args: Any, **kwargs: Any) -> CursorResult:
return await self.connection.execute(*args, **kwargs)
async def run(self, fn: Callable[..., Any], *args: Any, **kwargs: Any) -> None:
await self.connection.run(fn, *args, **kwargs)
async def __aenter__(self) -> ConnectionContext[SchemaT]:
if isinstance(self.bind, Connection):
self.connection = self.bind
else:
self.connection = await self.bind.acquire()
self.should_close = True
return self
async def __aexit__(self, *args: Any) -> Any:
await self.connection.commit()
if self.should_close:
await self.connection.close()
class MetaData:
def __init__(self, bind: Optional[Bind]=None) -> None:
self.wrapped = sqlalchemy.MetaData()
self._schemas: List[Type[Schema]] = []
self.bind = bind
@classmethod
def from_file(cls, *files: str, bind: Optional[Bind] = None):
schemas = []
for file in files:
module = importlib.import_module(file)
for _, obj in inspect.getmembers(module):
if inspect.isclass(obj) and issubclass(obj, Schema):
schemas.append(obj)
metadata = cls(bind=bind)
for schema in schemas:
metadata.add_schema(schema)
return metadata
@property
def schemas(self) -> Tuple[Type[Schema], ...]:
return tuple(self._schemas)
def add_schema(self, schema: Type[Schema]) -> None:
if self.bind:
schema.query.bind = self.bind
self._schemas.append(schema)
def clear(self) -> None:
self._schemas.clear()
def update_schema_connections(self, bind: Bind) -> None:
for schema in self._schemas:
schema.query.bind = bind
def set_bind(self, bind: Bind) -> None:
self._connection = bind
self.update_schema_connections(bind)
async def create_all(self, *, bind: Optional[Bind]=None) -> None:
if bind is not None:
self.set_bind(bind)
for schema in self.schemas:
await schema.query.create_schema()
async def drop_all(self) -> None:
for schema in self.schemas:
await schema.query.drop_schema()
class SchemaQuery(Generic[SchemaT]):
def __init__(self, schema: Type[SchemaT], *, bind: Optional[Bind]=None) -> None:
self.schema = schema
self.bind = bind
def context(self) -> ConnectionContext[SchemaT]:
if self.bind is None:
raise ValueError('A bind must be set')
return ConnectionContext(self.bind, self.schema)
def select(self, *args: Any) -> sql.Select:
return self.schema.table.select(*args)
async def execute(self, *args: Any, **kwargs: Any) -> TypedCursorResult[SchemaT]:
async with self.context() as context:
return await context.execute(*args, **kwargs)
async def create_schema(self) -> None:
async with self.context() as context:
await context.run(self.schema.table.create, checkfirst=True)
async def drop_schema(self) -> None:
async with self.context() as context:
await context.run(self.schema.table.drop, checkfirst=True)
async def all(self) -> List[SchemaT]:
select = self.schema.table.select()
cursor = await self.execute(select)
return await cursor.fetchall()
async def first(self) -> Optional[SchemaT]:
select = self.schema.table.select().limit(1)
cursor = await self.execute(select)
return await cursor.first()
async def get(self, *conditions: Any) -> Optional[SchemaT]:
select = self.schema.table.select().where(*conditions)
cursor = await self.execute(select)
return await cursor.fetchone()
async def getall(self, *conditions: Any) -> List[SchemaT]:
select = self.schema.table.select()
select.where(*conditions)
async with self.context() as context:
cursor = await context.execute(select)
return await cursor.fetchall()
async def put(self, entity: Entity[SchemaT]) -> Optional[Dict[str, Any]]:
insert = self.schema.table.insert()
values: Union[Mapping[str, Any], Sequence[Any]]
if isinstance(entity, Model):
values = entity.to_dict()
elif isinstance(entity, (Mapping, Sequence)):
values = entity
else:
values = entity.get_column_values()
insert = insert.values(values)
await self.execute(insert)
primary_key = self.schema.get_primary_key()
if primary_key is not None:
select = self.schema.table.select().order_by(primary_key.desc()).limit(1)
async with self.context() as context:
cursor = await context.raw_execute(select)
row = await cursor.fetchone()
assert row is not None
return row.as_dict()
return None
async def putall(self, *entities: Entity[SchemaT]) -> List[SchemaT]:
objects = []
for entity in entities:
obj = await self.put(entity)
objects.append(obj)
if any(objects):
return objects
return []
async def insert(self, *entities: Entity[SchemaT]) -> List[SchemaT]:
return await self.putall(*entities)
async def update(self, *where: Any, **attrs: Any) -> None:
update = self.schema.table.update().where(*where).values(**attrs)
async with self.context() as context:
await context.execute(update)
async def delete(self, *where: Any) -> None:
delete = self.schema.table.delete().where(*where)
async with self.context() as context:
await context.execute(delete)
async def exists(self, *where: Any) -> bool:
select = self.schema.table.select().where(*where)
async with self.context() as context:
cursor = await context.execute(select)
return await cursor.fetchone() is not None
def filter(self) -> SelectFilter[SchemaT]:
return SelectFilter(self)
def with_columns(self, *columns: Column[Any]) -> ColumnFilter[SchemaT]:
return ColumnFilter(self, columns)
def __aiter__(self) -> AsyncIterator[SchemaT]:
return self.filter().__aiter__() # type: ignore
class SchemaMeta(type):
if TYPE_CHECKING:
def __getattr__(self, name: str) -> Column[Any]: ...
__all_schemas__: Dict[str, Type[Schema]] = {}
__columns__: List[sqlalchemy.Column]
__metadata__: sqlalchemy.MetaData
__table__: sqlalchemy.Table
__query__: SchemaQuery[Any]
def __new__(cls, cls_name: str, bases: Tuple[Any, ...], attrs: Dict[str, Any], **kwargs: Any) -> Any:
name = kwargs.get('name', attrs.get('__tablename__', cls_name))
metadata = kwargs.get('metadata', MetaData())
columns: List[sqlalchemy.Column] = []
pk_found = False
for attr, value in attrs.items():
if isinstance(value, sqlalchemy.Column):
value.name = attr
if value.primary_key:
if pk_found:
raise ValueError('Only one primary key is allowed')
pk_found = True
columns.append(value)
attrs['__columns__'] = columns
attrs['__metadata__'] = metadata
attrs['__table__'] = sqlalchemy.Table(name, metadata.wrapped, *columns)
schema = super().__new__(cls, cls_name, bases, attrs)
schema.__query__ = SchemaQuery(schema) # type: ignore
metadata.add_schema(schema)
cls.__all_schemas__[name] = schema # type: ignore
return schema
def get_schema(self, name: str) -> Optional[Type[Schema]]:
return self.__all_schemas__.get(name)
@property
def columns(self) -> Tuple[sqlalchemy.Column[Any], ...]:
return tuple(self.__columns__)
@property
def table(self) -> sqlalchemy.Table:
return self.__table__
@property
def query(self: Type[SchemaT]) -> SchemaQuery[SchemaT]: # type: ignore
return self.__query__
@property
def metadata(self) -> sqlalchemy.MetaData:
return self.__metadata__
def get_primary_key(self) -> Optional[Column[Any]]:
primary_key = None
if self.table.primary_key.columns:
primary_key = self.table.primary_key.columns.values()[0]
return primary_key
def get_primary_keys(self) -> List[Column[Any]]:
return self.table.primary_key.columns.values()
class Schema(metaclass=SchemaMeta):
if TYPE_CHECKING:
__columns__: List[sqlalchemy.Column[Any]]
def __init__(self, **kwargs: Any):
self.update_attributes(**kwargs)
@classmethod
def from_row(cls: Type[SchemaT], row: Row) -> SchemaT:
return cls(**row.as_dict())
@classmethod
async def create(cls: Type[SchemaT], **attrs: Any) -> SchemaT:
instance = cls(**attrs)
await instance.save()
return instance
def to_dict(self) -> Dict[str, Any]:
data = {}
for column in self.__columns__:
value = getattr(self, column.name)
data[column.name] = value
return data
def items(self) -> ItemsView[str, Any]:
return ItemsView(self.to_dict())
def update_attributes(self, **values: Any) -> None:
for key, value in values.items():
if not hasattr(self, key):
raise AttributeError(f'{key} is not a valid attribute')
if getattr(self, key) != value:
setattr(self, key, value)
def get_primary_key_conditions(self) -> Tuple[Any, ...]:
cls = type(self)
columns = cls.get_primary_keys()
return tuple(column == getattr(self, column.name) for column in columns)
def get_execute_conditions(self) -> Tuple[Any, ...]:
cls = type(self)
if cls.get_primary_keys():
return self.get_primary_key_conditions()
return tuple(column == getattr(self, column.name) for column in cls.columns)
def get_column_values(self) -> Dict[str, Any]:
cls = type(self)
values = {}
for column in cls.columns:
if column.primary_key:
continue
value = getattr(self, column.name)
values[column.name] = value
return values
async def update(
self,
**attrs: Any
) -> None:
cls = type(self)
where = self.get_execute_conditions()
values = self.get_column_values()
values.update(attrs)
await cls.query.update(*where, **attrs)
self.update_attributes(**attrs)
async def save(self) -> None:
cls = type(self)
attrs = await cls.query.put(self)
if attrs is not None:
self.update_attributes(**attrs)
async def delete(self) -> None:
where = self.get_execute_conditions()
cls = type(self)
await cls.query.delete(*where)
def create_schema(name: str, *columns: Column, metadata: Optional[MetaData]=None) -> Type[Schema]:
namespace = {
column.name: column for column in columns
}
kwargs = {}
if metadata:
kwargs['metadata'] = metadata
bases = (Schema,)
return SchemaMeta(name, bases, namespace, **kwargs) # type: ignore
| 31.363184
| 143
| 0.616672
|
2c4cea7c2bf8cc21f586806528ed5ec04b4f3845
| 307
|
py
|
Python
|
attachments/__init__.py
|
leckronz/django-dynamic-attachments
|
e77fa6a59375bb19c71d1bcc58dbacfde191c45c
|
[
"BSD-2-Clause"
] | 1
|
2021-10-15T14:02:14.000Z
|
2021-10-15T14:02:14.000Z
|
attachments/__init__.py
|
leckronz/django-dynamic-attachments
|
e77fa6a59375bb19c71d1bcc58dbacfde191c45c
|
[
"BSD-2-Clause"
] | 6
|
2018-07-02T20:16:05.000Z
|
2021-04-14T14:02:22.000Z
|
attachments/__init__.py
|
leckronz/django-dynamic-attachments
|
e77fa6a59375bb19c71d1bcc58dbacfde191c45c
|
[
"BSD-2-Clause"
] | 14
|
2018-06-29T12:46:46.000Z
|
2022-01-03T19:08:10.000Z
|
__version_info__ = (3, 0, 0, 'dev')
__version__ = '.'.join(str(i) for i in __version_info__)
def session(*args, **kwargs):
# Expose utils.session without importing utils from __init__ at module level.
from .utils import session as attachment_session
return attachment_session(*args, **kwargs)
| 34.111111
| 81
| 0.726384
|
af95232e337f1b996c3e35f30d084dbc57fc4521
| 21,904
|
py
|
Python
|
Lib/pkgutil.py
|
sireliah/polish-python
|
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
|
[
"PSF-2.0"
] | 1
|
2018-06-21T18:21:24.000Z
|
2018-06-21T18:21:24.000Z
|
Lib/pkgutil.py
|
sireliah/polish-python
|
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
|
[
"PSF-2.0"
] | null | null | null |
Lib/pkgutil.py
|
sireliah/polish-python
|
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
|
[
"PSF-2.0"
] | null | null | null |
"""Utilities to support packages."""
z functools zaimportuj singledispatch jako simplegeneric
zaimportuj importlib
zaimportuj importlib.util
zaimportuj importlib.machinery
zaimportuj os
zaimportuj os.path
zaimportuj sys
z types zaimportuj ModuleType
zaimportuj warnings
__all__ = [
'get_importer', 'iter_importers', 'get_loader', 'find_loader',
'walk_packages', 'iter_modules', 'get_data',
'ImpImporter', 'ImpLoader', 'read_code', 'extend_path',
]
def _get_spec(finder, name):
"""Return the finder-specific module spec."""
# Works przy legacy finders.
spróbuj:
find_spec = finder.find_spec
wyjąwszy AttributeError:
loader = finder.find_module(name)
jeżeli loader jest Nic:
zwróć Nic
zwróć importlib.util.spec_from_loader(name, loader)
inaczej:
zwróć find_spec(name)
def read_code(stream):
# This helper jest needed w order dla the PEP 302 emulation to
# correctly handle compiled files
zaimportuj marshal
magic = stream.read(4)
jeżeli magic != importlib.util.MAGIC_NUMBER:
zwróć Nic
stream.read(8) # Skip timestamp oraz size
zwróć marshal.load(stream)
def walk_packages(path=Nic, prefix='', onerror=Nic):
"""Yields (module_loader, name, ispkg) dla all modules recursively
on path, or, jeżeli path jest Nic, all accessible modules.
'path' should be either Nic albo a list of paths to look for
modules in.
'prefix' jest a string to output on the front of every module name
on output.
Note that this function must zaimportuj all *packages* (NOT all
modules!) on the given path, w order to access the __path__
attribute to find submodules.
'onerror' jest a function which gets called przy one argument (the
name of the package which was being imported) jeżeli any exception
occurs dopóki trying to zaimportuj a package. If no onerror function jest
supplied, ImportErrors are caught oraz ignored, dopóki all other
exceptions are propagated, terminating the search.
Examples:
# list all modules python can access
walk_packages()
# list all submodules of ctypes
walk_packages(ctypes.__path__, ctypes.__name__+'.')
"""
def seen(p, m={}):
jeżeli p w m:
zwróć Prawda
m[p] = Prawda
dla importer, name, ispkg w iter_modules(path, prefix):
uzyskaj importer, name, ispkg
jeżeli ispkg:
spróbuj:
__import__(name)
wyjąwszy ImportError:
jeżeli onerror jest nie Nic:
onerror(name)
wyjąwszy Exception:
jeżeli onerror jest nie Nic:
onerror(name)
inaczej:
podnieś
inaczej:
path = getattr(sys.modules[name], '__path__', Nic) albo []
# don't traverse path items we've seen before
path = [p dla p w path jeżeli nie seen(p)]
uzyskaj z walk_packages(path, name+'.', onerror)
def iter_modules(path=Nic, prefix=''):
"""Yields (module_loader, name, ispkg) dla all submodules on path,
or, jeżeli path jest Nic, all top-level modules on sys.path.
'path' should be either Nic albo a list of paths to look for
modules in.
'prefix' jest a string to output on the front of every module name
on output.
"""
jeżeli path jest Nic:
importers = iter_importers()
inaczej:
importers = map(get_importer, path)
uzyskajed = {}
dla i w importers:
dla name, ispkg w iter_importer_modules(i, prefix):
jeżeli name nie w uzyskajed:
uzyskajed[name] = 1
uzyskaj i, name, ispkg
@simplegeneric
def iter_importer_modules(importer, prefix=''):
jeżeli nie hasattr(importer, 'iter_modules'):
zwróć []
zwróć importer.iter_modules(prefix)
# Implement a file walker dla the normal importlib path hook
def _iter_file_finder_modules(importer, prefix=''):
jeżeli importer.path jest Nic albo nie os.path.isdir(importer.path):
zwróć
uzyskajed = {}
zaimportuj inspect
spróbuj:
filenames = os.listdir(importer.path)
wyjąwszy OSError:
# ignore unreadable directories like zaimportuj does
filenames = []
filenames.sort() # handle packages before same-named modules
dla fn w filenames:
modname = inspect.getmodulename(fn)
jeżeli modname=='__init__' albo modname w uzyskajed:
kontynuuj
path = os.path.join(importer.path, fn)
ispkg = Nieprawda
jeżeli nie modname oraz os.path.isdir(path) oraz '.' nie w fn:
modname = fn
spróbuj:
dircontents = os.listdir(path)
wyjąwszy OSError:
# ignore unreadable directories like zaimportuj does
dircontents = []
dla fn w dircontents:
subname = inspect.getmodulename(fn)
jeżeli subname=='__init__':
ispkg = Prawda
przerwij
inaczej:
continue # nie a package
jeżeli modname oraz '.' nie w modname:
uzyskajed[modname] = 1
uzyskaj prefix + modname, ispkg
iter_importer_modules.register(
importlib.machinery.FileFinder, _iter_file_finder_modules)
def _import_imp():
global imp
przy warnings.catch_warnings():
warnings.simplefilter('ignore', PendingDeprecationWarning)
imp = importlib.import_module('imp')
klasa ImpImporter:
"""PEP 302 Importer that wraps Python's "classic" zaimportuj algorithm
ImpImporter(dirname) produces a PEP 302 importer that searches that
directory. ImpImporter(Nic) produces a PEP 302 importer that searches
the current sys.path, plus any modules that are frozen albo built-in.
Note that ImpImporter does nie currently support being used by placement
on sys.meta_path.
"""
def __init__(self, path=Nic):
global imp
warnings.warn("This emulation jest deprecated, use 'importlib' instead",
DeprecationWarning)
_import_imp()
self.path = path
def find_module(self, fullname, path=Nic):
# Note: we ignore 'path' argument since it jest only used via meta_path
subname = fullname.split(".")[-1]
jeżeli subname != fullname oraz self.path jest Nic:
zwróć Nic
jeżeli self.path jest Nic:
path = Nic
inaczej:
path = [os.path.realpath(self.path)]
spróbuj:
file, filename, etc = imp.find_module(subname, path)
wyjąwszy ImportError:
zwróć Nic
zwróć ImpLoader(fullname, file, filename, etc)
def iter_modules(self, prefix=''):
jeżeli self.path jest Nic albo nie os.path.isdir(self.path):
zwróć
uzyskajed = {}
zaimportuj inspect
spróbuj:
filenames = os.listdir(self.path)
wyjąwszy OSError:
# ignore unreadable directories like zaimportuj does
filenames = []
filenames.sort() # handle packages before same-named modules
dla fn w filenames:
modname = inspect.getmodulename(fn)
jeżeli modname=='__init__' albo modname w uzyskajed:
kontynuuj
path = os.path.join(self.path, fn)
ispkg = Nieprawda
jeżeli nie modname oraz os.path.isdir(path) oraz '.' nie w fn:
modname = fn
spróbuj:
dircontents = os.listdir(path)
wyjąwszy OSError:
# ignore unreadable directories like zaimportuj does
dircontents = []
dla fn w dircontents:
subname = inspect.getmodulename(fn)
jeżeli subname=='__init__':
ispkg = Prawda
przerwij
inaczej:
continue # nie a package
jeżeli modname oraz '.' nie w modname:
uzyskajed[modname] = 1
uzyskaj prefix + modname, ispkg
klasa ImpLoader:
"""PEP 302 Loader that wraps Python's "classic" zaimportuj algorithm
"""
code = source = Nic
def __init__(self, fullname, file, filename, etc):
warnings.warn("This emulation jest deprecated, use 'importlib' instead",
DeprecationWarning)
_import_imp()
self.file = file
self.filename = filename
self.fullname = fullname
self.etc = etc
def load_module(self, fullname):
self._reopen()
spróbuj:
mod = imp.load_module(fullname, self.file, self.filename, self.etc)
w_końcu:
jeżeli self.file:
self.file.close()
# Note: we don't set __loader__ because we want the module to look
# normal; i.e. this jest just a wrapper dla standard zaimportuj machinery
zwróć mod
def get_data(self, pathname):
przy open(pathname, "rb") jako file:
zwróć file.read()
def _reopen(self):
jeżeli self.file oraz self.file.closed:
mod_type = self.etc[2]
jeżeli mod_type==imp.PY_SOURCE:
self.file = open(self.filename, 'r')
albo_inaczej mod_type w (imp.PY_COMPILED, imp.C_EXTENSION):
self.file = open(self.filename, 'rb')
def _fix_name(self, fullname):
jeżeli fullname jest Nic:
fullname = self.fullname
albo_inaczej fullname != self.fullname:
podnieś ImportError("Loader dla module %s cannot handle "
"module %s" % (self.fullname, fullname))
zwróć fullname
def is_package(self, fullname):
fullname = self._fix_name(fullname)
zwróć self.etc[2]==imp.PKG_DIRECTORY
def get_code(self, fullname=Nic):
fullname = self._fix_name(fullname)
jeżeli self.code jest Nic:
mod_type = self.etc[2]
jeżeli mod_type==imp.PY_SOURCE:
source = self.get_source(fullname)
self.code = compile(source, self.filename, 'exec')
albo_inaczej mod_type==imp.PY_COMPILED:
self._reopen()
spróbuj:
self.code = read_code(self.file)
w_końcu:
self.file.close()
albo_inaczej mod_type==imp.PKG_DIRECTORY:
self.code = self._get_delegate().get_code()
zwróć self.code
def get_source(self, fullname=Nic):
fullname = self._fix_name(fullname)
jeżeli self.source jest Nic:
mod_type = self.etc[2]
jeżeli mod_type==imp.PY_SOURCE:
self._reopen()
spróbuj:
self.source = self.file.read()
w_końcu:
self.file.close()
albo_inaczej mod_type==imp.PY_COMPILED:
jeżeli os.path.exists(self.filename[:-1]):
przy open(self.filename[:-1], 'r') jako f:
self.source = f.read()
albo_inaczej mod_type==imp.PKG_DIRECTORY:
self.source = self._get_delegate().get_source()
zwróć self.source
def _get_delegate(self):
finder = ImpImporter(self.filename)
spec = _get_spec(finder, '__init__')
zwróć spec.loader
def get_filename(self, fullname=Nic):
fullname = self._fix_name(fullname)
mod_type = self.etc[2]
jeżeli mod_type==imp.PKG_DIRECTORY:
zwróć self._get_delegate().get_filename()
albo_inaczej mod_type w (imp.PY_SOURCE, imp.PY_COMPILED, imp.C_EXTENSION):
zwróć self.filename
zwróć Nic
spróbuj:
zaimportuj zipimport
z zipzaimportuj zaimportuj zipimporter
def iter_zipimport_modules(importer, prefix=''):
dirlist = sorted(zipimport._zip_directory_cache[importer.archive])
_prefix = importer.prefix
plen = len(_prefix)
uzyskajed = {}
zaimportuj inspect
dla fn w dirlist:
jeżeli nie fn.startswith(_prefix):
kontynuuj
fn = fn[plen:].split(os.sep)
jeżeli len(fn)==2 oraz fn[1].startswith('__init__.py'):
jeżeli fn[0] nie w uzyskajed:
uzyskajed[fn[0]] = 1
uzyskaj fn[0], Prawda
jeżeli len(fn)!=1:
kontynuuj
modname = inspect.getmodulename(fn[0])
jeżeli modname=='__init__':
kontynuuj
jeżeli modname oraz '.' nie w modname oraz modname nie w uzyskajed:
uzyskajed[modname] = 1
uzyskaj prefix + modname, Nieprawda
iter_importer_modules.register(zipimporter, iter_zipimport_modules)
wyjąwszy ImportError:
dalej
def get_importer(path_item):
"""Retrieve a PEP 302 importer dla the given path item
The returned importer jest cached w sys.path_importer_cache
jeżeli it was newly created by a path hook.
The cache (or part of it) can be cleared manually jeżeli a
rescan of sys.path_hooks jest necessary.
"""
spróbuj:
importer = sys.path_importer_cache[path_item]
wyjąwszy KeyError:
dla path_hook w sys.path_hooks:
spróbuj:
importer = path_hook(path_item)
sys.path_importer_cache.setdefault(path_item, importer)
przerwij
wyjąwszy ImportError:
dalej
inaczej:
importer = Nic
zwróć importer
def iter_importers(fullname=""):
"""Yield PEP 302 importers dla the given module name
If fullname contains a '.', the importers will be dla the package
containing fullname, otherwise they will be all registered top level
importers (i.e. those on both sys.meta_path oraz sys.path_hooks).
If the named module jest w a package, that package jest imported jako a side
effect of invoking this function.
If no module name jest specified, all top level importers are produced.
"""
jeżeli fullname.startswith('.'):
msg = "Relative module name {!r} nie supported".format(fullname)
podnieś ImportError(msg)
jeżeli '.' w fullname:
# Get the containing package's __path__
pkg_name = fullname.rpartition(".")[0]
pkg = importlib.import_module(pkg_name)
path = getattr(pkg, '__path__', Nic)
jeżeli path jest Nic:
zwróć
inaczej:
uzyskaj z sys.meta_path
path = sys.path
dla item w path:
uzyskaj get_importer(item)
def get_loader(module_or_name):
"""Get a PEP 302 "loader" object dla module_or_name
Returns Nic jeżeli the module cannot be found albo imported.
If the named module jest nie already imported, its containing package
(jeżeli any) jest imported, w order to establish the package __path__.
"""
jeżeli module_or_name w sys.modules:
module_or_name = sys.modules[module_or_name]
jeżeli module_or_name jest Nic:
zwróć Nic
jeżeli isinstance(module_or_name, ModuleType):
module = module_or_name
loader = getattr(module, '__loader__', Nic)
jeżeli loader jest nie Nic:
zwróć loader
jeżeli getattr(module, '__spec__', Nic) jest Nic:
zwróć Nic
fullname = module.__name__
inaczej:
fullname = module_or_name
zwróć find_loader(fullname)
def find_loader(fullname):
"""Find a PEP 302 "loader" object dla fullname
This jest a backwards compatibility wrapper around
importlib.util.find_spec that converts most failures to ImportError
oraz only returns the loader rather than the full spec
"""
jeżeli fullname.startswith('.'):
msg = "Relative module name {!r} nie supported".format(fullname)
podnieś ImportError(msg)
spróbuj:
spec = importlib.util.find_spec(fullname)
wyjąwszy (ImportError, AttributeError, TypeError, ValueError) jako ex:
# This hack fixes an impedance mismatch between pkgutil oraz
# importlib, where the latter podnieśs other errors dla cases where
# pkgutil previously podnieśd ImportError
msg = "Error dopóki finding loader dla {!r} ({}: {})"
podnieś ImportError(msg.format(fullname, type(ex), ex)) z ex
zwróć spec.loader jeżeli spec jest nie Nic inaczej Nic
def extend_path(path, name):
"""Extend a package's path.
Intended use jest to place the following code w a package's __init__.py:
z pkgutil zaimportuj extend_path
__path__ = extend_path(__path__, __name__)
This will add to the package's __path__ all subdirectories of
directories on sys.path named after the package. This jest useful
jeżeli one wants to distribute different parts of a single logical
package jako multiple directories.
It also looks dla *.pkg files beginning where * matches the name
argument. This feature jest similar to *.pth files (see site.py),
wyjąwszy that it doesn't special-case lines starting przy 'import'.
A *.pkg file jest trusted at face value: apart z checking for
duplicates, all entries found w a *.pkg file are added to the
path, regardless of whether they are exist the filesystem. (This
jest a feature.)
If the input path jest nie a list (as jest the case dla frozen
packages) it jest returned unchanged. The input path jest nie
modified; an extended copy jest returned. Items are only appended
to the copy at the end.
It jest assumed that sys.path jest a sequence. Items of sys.path that
are nie (unicode albo 8-bit) strings referring to existing
directories are ignored. Unicode items of sys.path that cause
errors when used jako filenames may cause this function to podnieś an
exception (in line przy os.path.isdir() behavior).
"""
jeżeli nie isinstance(path, list):
# This could happen e.g. when this jest called z inside a
# frozen package. Return the path unchanged w that case.
zwróć path
sname_pkg = name + ".pkg"
path = path[:] # Start przy a copy of the existing path
parent_package, _, final_name = name.rpartition('.')
jeżeli parent_package:
spróbuj:
search_path = sys.modules[parent_package].__path__
wyjąwszy (KeyError, AttributeError):
# We can't do anything: find_loader() returns Nic when
# dalejed a dotted name.
zwróć path
inaczej:
search_path = sys.path
dla dir w search_path:
jeżeli nie isinstance(dir, str):
kontynuuj
finder = get_importer(dir)
jeżeli finder jest nie Nic:
portions = []
jeżeli hasattr(finder, 'find_spec'):
spec = finder.find_spec(final_name)
jeżeli spec jest nie Nic:
portions = spec.submodule_search_locations albo []
# Is this finder PEP 420 compliant?
albo_inaczej hasattr(finder, 'find_loader'):
_, portions = finder.find_loader(final_name)
dla portion w portions:
# XXX This may still add duplicate entries to path on
# case-insensitive filesystems
jeżeli portion nie w path:
path.append(portion)
# XXX Is this the right thing dla subpackages like zope.app?
# It looks dla a file named "zope.app.pkg"
pkgfile = os.path.join(dir, sname_pkg)
jeżeli os.path.isfile(pkgfile):
spróbuj:
f = open(pkgfile)
wyjąwszy OSError jako msg:
sys.stderr.write("Can't open %s: %s\n" %
(pkgfile, msg))
inaczej:
przy f:
dla line w f:
line = line.rstrip('\n')
jeżeli nie line albo line.startswith('#'):
kontynuuj
path.append(line) # Don't check dla existence!
zwróć path
def get_data(package, resource):
"""Get a resource z a package.
This jest a wrapper round the PEP 302 loader get_data API. The package
argument should be the name of a package, w standard module format
(foo.bar). The resource argument should be w the form of a relative
filename, using '/' jako the path separator. The parent directory name '..'
jest nie allowed, oraz nor jest a rooted name (starting przy a '/').
The function returns a binary string, which jest the contents of the
specified resource.
For packages located w the filesystem, which have already been imported,
this jest the rough equivalent of
d = os.path.dirname(sys.modules[package].__file__)
data = open(os.path.join(d, resource), 'rb').read()
If the package cannot be located albo loaded, albo it uses a PEP 302 loader
which does nie support get_data(), then Nic jest returned.
"""
spec = importlib.util.find_spec(package)
jeżeli spec jest Nic:
zwróć Nic
loader = spec.loader
jeżeli loader jest Nic albo nie hasattr(loader, 'get_data'):
zwróć Nic
# XXX needs test
mod = (sys.modules.get(package) albo
importlib._bootstrap._load(spec))
jeżeli mod jest Nic albo nie hasattr(mod, '__file__'):
zwróć Nic
# Modify the resource name to be compatible przy the loader.get_data
# signature - an os.path format "filename" starting przy the dirname of
# the package's __file__
parts = resource.split('/')
parts.insert(0, os.path.dirname(mod.__file__))
resource_name = os.path.join(*parts)
zwróć loader.get_data(resource_name)
| 34.768254
| 82
| 0.620709
|
8e645ae91439633780115626be55a7d84f534ed5
| 325
|
js
|
JavaScript
|
src/components/organisms/HeroImage.stories.js
|
ratovia/MyPortfolioSite
|
bec59a32dde811d58abbd2c875f4095958d92c35
|
[
"RSA-MD"
] | null | null | null |
src/components/organisms/HeroImage.stories.js
|
ratovia/MyPortfolioSite
|
bec59a32dde811d58abbd2c875f4095958d92c35
|
[
"RSA-MD"
] | null | null | null |
src/components/organisms/HeroImage.stories.js
|
ratovia/MyPortfolioSite
|
bec59a32dde811d58abbd2c875f4095958d92c35
|
[
"RSA-MD"
] | null | null | null |
import React from "react"
import { HeroImage } from "./HeroImage"
import bgImage from "../../stories/assets/bg.jpg"
export default {
title: "MyPortFolioSite/HeroImage",
component: HeroImage,
}
const Template = args => <HeroImage {...args} />
export const hero = Template.bind({})
hero.args = {
imageUrl: bgImage,
}
| 19.117647
| 49
| 0.686154
|
af034f3b20c7151456f2e6c524f6e3a98d178581
| 1,456
|
py
|
Python
|
HNC_github/data/cifar10.py
|
JM-IP/HNC
|
d3a2e77d1e922d2c712dd0ae82cebc0dea525f6a
|
[
"Apache-2.0"
] | 3
|
2022-01-10T10:05:35.000Z
|
2022-02-14T08:06:27.000Z
|
HNC_github/data/cifar10.py
|
JM-IP/HNC
|
d3a2e77d1e922d2c712dd0ae82cebc0dea525f6a
|
[
"Apache-2.0"
] | null | null | null |
HNC_github/data/cifar10.py
|
JM-IP/HNC
|
d3a2e77d1e922d2c712dd0ae82cebc0dea525f6a
|
[
"Apache-2.0"
] | null | null | null |
from importlib import import_module
import torchvision.datasets as datasets
from torch.utils.data import DataLoader
from torchvision import transforms
def get_loader(args, kwargs):
norm_mean=[x/255.0 for x in [125.3, 123.0, 113.9]]
norm_std=[x/255.0 for x in [63.0, 62.1, 66.7]]
#norm_mean = [0.49139968, 0.48215827, 0.44653124]
#norm_std = [0.24703233, 0.24348505, 0.26158768]
loader_train = None
if not args.test_only:
transform_list = [
transforms.RandomCrop(32, padding=4),
transforms.ToTensor(),
transforms.Normalize(norm_mean, norm_std)]
if not args.no_flip:
transform_list.insert(1, transforms.RandomHorizontalFlip())
transform_train = transforms.Compose(transform_list)
loader_train = DataLoader(
datasets.CIFAR10(
root=args.dir_data,
train=True,
download=True,
transform=transform_train),
batch_size=args.batch_size, shuffle=True, **kwargs
)
transform_test = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize(norm_mean, norm_std)])
loader_test = DataLoader(
datasets.CIFAR10(
root=args.dir_data,
train=False,
download=True,
transform=transform_test),
batch_size=500, shuffle=False, **kwargs
)
return loader_train, loader_test
| 29.714286
| 71
| 0.626374
|
3949b41dcfc9f0da595edf0a4338d53f2f937b49
| 283
|
py
|
Python
|
test.py
|
leo9344/A-non-local-algorithm-for-image-denoising-
|
2b791ba2f9870d4433cdc6269a19cd5e7e2b4f13
|
[
"MIT"
] | 1
|
2021-06-15T05:58:34.000Z
|
2021-06-15T05:58:34.000Z
|
test.py
|
leo9344/A-non-local-algorithm-for-image-denoising-
|
2b791ba2f9870d4433cdc6269a19cd5e7e2b4f13
|
[
"MIT"
] | null | null | null |
test.py
|
leo9344/A-non-local-algorithm-for-image-denoising-
|
2b791ba2f9870d4433cdc6269a19cd5e7e2b4f13
|
[
"MIT"
] | null | null | null |
# -*- coding:utf-8 -*-
# @Time : 2021/6/3 20:06
# @Author : Leo Li
# @Email : 846016122@qq.com
import numpy as np
x = np.matrix([-1,-1,0,2,0,-2,0,0,1,1],dtype="float")
x = x.reshape(2,5)
print(x*x.transpose())
s,v,d = np.linalg.svd(0.2*x*x.transpose())
print(s)
print(v)
print(d)
| 23.583333
| 53
| 0.600707
|
8b3e4c110c527ad00cb5527ef7395c8f6fd9875f
| 2,455
|
kt
|
Kotlin
|
app/src/main/java/fr/corenting/edcompanion/activities/AbstractViewPagerActivity.kt
|
corenting/EDCompanion
|
a3ee7555e824cf8e8057f6e546ae9774937dd12d
|
[
"MIT"
] | 18
|
2017-06-01T10:43:11.000Z
|
2022-02-20T12:36:50.000Z
|
app/src/main/java/fr/corenting/edcompanion/activities/AbstractViewPagerActivity.kt
|
corenting/EDCompanion
|
a3ee7555e824cf8e8057f6e546ae9774937dd12d
|
[
"MIT"
] | 91
|
2019-06-06T12:56:04.000Z
|
2022-03-25T04:01:25.000Z
|
app/src/main/java/fr/corenting/edcompanion/activities/AbstractViewPagerActivity.kt
|
corenting/EDCompanion
|
a3ee7555e824cf8e8057f6e546ae9774937dd12d
|
[
"MIT"
] | 5
|
2019-06-06T12:53:06.000Z
|
2021-07-23T22:46:56.000Z
|
package fr.corenting.edcompanion.activities
import android.os.Bundle
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.app.AppCompatDelegate
import androidx.core.content.ContextCompat
import androidx.fragment.app.FragmentPagerAdapter
import fr.corenting.edcompanion.R
import fr.corenting.edcompanion.databinding.ActivityFragmentsWithTabsBinding
import fr.corenting.edcompanion.utils.ThemeUtils
abstract class AbstractViewPagerActivity : AppCompatActivity() {
private lateinit var binding: ActivityFragmentsWithTabsBinding
protected lateinit var dataName: String
override fun onCreate(savedInstanceState: Bundle?) {
AppCompatDelegate.setDefaultNightMode(ThemeUtils.getThemeToUse(this))
super.onCreate(savedInstanceState)
binding = ActivityFragmentsWithTabsBinding.inflate(layoutInflater)
val view = binding.root
setContentView(view)
// Get data name from intent
dataName = getDefaultData()
dataName = intent.extras?.getString("data", getDefaultData()).toString()
// Set toolbar
setSupportActionBar(binding.toolbar)
if (supportActionBar != null) {
supportActionBar?.setDisplayShowHomeEnabled(true)
supportActionBar?.setDisplayHomeAsUpEnabled(true)
}
// Viewpager
binding.viewPager.offscreenPageLimit = 4
binding.viewPager.adapter = getPagerAdapter()
// TabLayout
binding.tabLayout.setupWithViewPager(binding.viewPager)
if (ThemeUtils.isDarkThemeEnabled(this)) {
binding.tabLayout.setBackgroundColor(
ContextCompat.getColor(
this,
R.color.primaryColorDark
)
)
} else {
binding.tabLayout.setBackgroundColor(ContextCompat.getColor(this, R.color.primaryColor))
}
binding.tabLayout.setTabTextColors(
ContextCompat.getColor(this, R.color.tabTextSelected),
ContextCompat.getColor(this, R.color.tabText)
)
getData()
}
override fun onOptionsItemSelected(item: MenuItem): Boolean {
if (item.itemId == android.R.id.home) {
finish()
}
return super.onOptionsItemSelected(item)
}
abstract fun getDefaultData(): String
abstract fun getPagerAdapter(): FragmentPagerAdapter
abstract fun getData()
}
| 35.071429
| 100
| 0.693686
|
b8c44f2788d70359a0337a0c0997a8e698b4969d
| 763
|
h
|
C
|
WriteAVI.h
|
chentiangemalc/DumpScreenToVideo
|
065812fe5073012597978df9aba4bfa04a9a5c64
|
[
"MIT"
] | null | null | null |
WriteAVI.h
|
chentiangemalc/DumpScreenToVideo
|
065812fe5073012597978df9aba4bfa04a9a5c64
|
[
"MIT"
] | null | null | null |
WriteAVI.h
|
chentiangemalc/DumpScreenToVideo
|
065812fe5073012597978df9aba4bfa04a9a5c64
|
[
"MIT"
] | null | null | null |
#include <vfw.h>
#include <String>
#define TEXT_HEIGHT 20
#define AVIIF_KEYFRAME 0x00000010L // this frame is a key frame.
#define BUFSIZE 260
#pragma comment(lib,"Vfw32.lib")
class CAVIFile
{
public:
CAVIFile(LPWSTR lpFileName, int xdim = -1, int ydim = -1);
virtual ~CAVIFile();
virtual bool AddFrame(HBITMAP& bmp);
std::wstring GetFName() const {return FName;};
virtual bool IsOK() const {return bOK;};
private:
std::wstring FName;
int xDim;
int yDim;
AVISTREAMINFO strhdr;
PAVIFILE pfile;
PAVISTREAM ps;
PAVISTREAM psCompressed;
PAVISTREAM psText;
AVICOMPRESSOPTIONS opts;
AVICOMPRESSOPTIONS FAR * aopts[1];
DWORD dwTextFormat;
char szText[BUFSIZE];
int nFrames;
bool bOK;
};
| 21.194444
| 65
| 0.678899
|
b2bdbd1fe2f2ad3c87e15d6124c6ed572b7d7005
| 5,857
|
css
|
CSS
|
app/assets/stylesheets/modules/stats.css
|
portocodes/rubygems.org
|
c5116ed53966b3d79fca35922a3c2c9e70c0b0de
|
[
"MIT"
] | 20
|
2015-07-06T17:37:07.000Z
|
2021-12-23T05:37:05.000Z
|
app/assets/stylesheets/modules/stats.css
|
portocodes/rubygems.org
|
c5116ed53966b3d79fca35922a3c2c9e70c0b0de
|
[
"MIT"
] | 35
|
2015-07-13T16:22:51.000Z
|
2016-05-29T01:05:10.000Z
|
app/assets/stylesheets/modules/stats.css
|
portocodes/rubygems.org
|
c5116ed53966b3d79fca35922a3c2c9e70c0b0de
|
[
"MIT"
] | 10
|
2015-10-07T14:57:35.000Z
|
2021-06-04T11:26:39.000Z
|
.stats {
margin-top: -15px;
overflow: auto;
border-bottom: 1px solid #c1c4ca; }
@media (max-width: 709px) {
.stats {
margin-bottom: 24px;
padding-bottom: 12px; } }
@media (min-width: 710px) {
.stats {
margin-bottom: 60px;
padding-bottom: 10px; } }
.stat {
width: 33.33%;
float: left;
font-weight: 500;
text-transform: uppercase; }
@media (max-width: 709px) {
.stat {
font-size: 9px; } }
@media (min-width: 710px) {
.stat {
font-size: 12px; } }
@media (max-width: 399px) {
.stat:before {
display: none; } }
@media (min-width: 400px) {
.stat:before {
float: left; } }
@media (min-width: 400px) and (max-width: 719px) {
.stat:before {
margin-right: 6px;
font-size: 20px; } }
@media (min-width: 710px) {
.stat:before {
margin-right: 18px;
font-size: 34px; } }
.stat__count {
display: block;
font-weight: 600; }
@media (max-width: 719px) {
.stat__count {
font-size: 12px; } }
@media (min-width: 710px) {
.stat__count {
font-size: 24px; } }
.stats__graph__heading {
margin-bottom: 42px;
font-weight: 600;
font-size: 18px;
text-transform: uppercase; }
.stats__graph__gem {
margin-bottom: 15px;
display: table;
height: 30px;
width: 100%;
position: relative; }
.stats__graph__gem__name {
display: table-cell;
font-weight: 400;
text-align: right;
vertical-align: middle; }
@media (max-width: 709px) {
.stats__graph__gem__name {
width: 15%;
width: calc(86px);
font-size: 13px; } }
@media (min-width: 710px) {
.stats__graph__gem__name {
width: 15%;
width: calc(140px);
font-size: 15px; } }
.stats__graph__gem__name a { color: black; }
.stats__graph__gem__meter-wrap {
height: 30px;
box-shadow: inset 0 1px 1px -1px #c1c4ca;
background-image: none;
background-color: #f8f8f9; }
@media (max-width: 420px) {
.stats__graph__gem__meter-wrap {
margin-left: 3%;
margin-left: calc(10px);
width: 97%;
width: calc(100% - 10px); } }
@media (min-width: 421px) and (max-width: 709px) {
.stats__graph__gem__meter-wrap {
margin-left: 3%;
margin-left: calc(16px);
width: 97%;
width: calc(100% - 16px); } }
@media (min-width: 710px) {
.stats__graph__gem__meter-wrap {
margin-left: 3%;
margin-left: calc(30px);
width: 97%;
width: calc(100% - 30px); } }
.stats__graph__gem__meter {
position: relative;
height: 100%; }
.stats__graph__gem:nth-of-type(2) .stats__graph__gem__meter {
border-right: 1px solid #eba000;
background-color: #ffae00;
background: linear-gradient(to left, #ffae00 0%, #ffd67f 100%); }
.stats__graph__gem:nth-of-type(3) .stats__graph__gem__meter {
border-right: 1px solid #92cb16;
background-color: #9fdd18;
background: linear-gradient(to left, #9fdd18 0%, #cbed83 100%); }
.stats__graph__gem:nth-of-type(4) .stats__graph__gem__meter {
border-right: 1px solid #bd49ff;
background-color: #c45dff;
background: linear-gradient(to left, #c45dff 0%, #dda1ff 100%); }
.stats__graph__gem:nth-of-type(5) .stats__graph__gem__meter {
border-right: 1px solid #4892d7;
background-color: #599cdb;
background: linear-gradient(to left, #599cdb 0%, #8abae8 100%); }
.stats__graph__gem:nth-of-type(6) .stats__graph__gem__meter {
border-right: 1px solid #a7f2ff;
background-color: #bbf5ff;
background: linear-gradient(to left, #bbf5ff 0%, #cff8ff 100%); }
.stats__graph__gem:nth-of-type(7) .stats__graph__gem__meter {
border-right: 1px solid #a7a7ff;
background-color: #bbbbff;
background: linear-gradient(to left, #bbbbff 0%, #cfcfff 100%); }
.stats__graph__gem:nth-of-type(8) .stats__graph__gem__meter {
border-right: 1px solid #ff7cd8;
background-color: #ff90de;
background: linear-gradient(to left, #ff90de 0%, #ffb1e8 100%); }
.stats__graph__gem:nth-of-type(9) .stats__graph__gem__meter {
border-right: 1px solid #fc6551;
background-color: #fc7765;
background: linear-gradient(to left, #fc7765 0%, #fda093 100%); }
.stats__graph__gem:nth-of-type(10) .stats__graph__gem__meter {
border-right: 1px solid #92f3a0;
background-color: #a4f5b0;
background: linear-gradient(to left, #a4f5b0 0%, #bff8c8 100%); }
.stats__graph__gem:nth-of-type(11) .stats__graph__gem__meter {
border-right: 1px solid #fce551;
background-color: #fce865;
background: linear-gradient(to left, #fce865 0%, #fdef92 100%); }
.stats__graph__gem:nth-of-type(2) .stats__graph__gem__count {
color: #b8820a; }
.stats__graph__gem:nth-of-type(3) .stats__graph__gem__count {
color: #75a31b; }
.stats__graph__gem:nth-of-type(4) .stats__graph__gem__count {
color: #8f49bc; }
.stats__graph__gem:nth-of-type(5) .stats__graph__gem__count {
color: #4475a3; }
.stats__graph__gem:nth-of-type(6) .stats__graph__gem__count {
color: #82aab2; }
.stats__graph__gem:nth-of-type(7) .stats__graph__gem__count {
color: #7779a3; }
.stats__graph__gem:nth-of-type(8) .stats__graph__gem__count {
color: #b86da5; }
.stats__graph__gem:nth-of-type(9) .stats__graph__gem__count {
color: #b65c51; }
.stats__graph__gem:nth-of-type(10) .stats__graph__gem__count {
color: #689972; }
.stats__graph__gem:nth-of-type(11) .stats__graph__gem__count {
color: #b6aa51; }
.stats__graph__gem__count {
position: absolute;
right: 12px; }
@media (max-width: 419px) {
.stats__graph__gem__count {
font-size: 12px; } }
@media (min-width: 420px) and (max-width: 709px) {
.stats__graph__gem__count {
font-size: 13px; } }
@media (max-width: 709px) {
.stats__graph__gem__count {
top: 7px; } }
@media (min-width: 710px) {
.stats__graph__gem__count {
top: 5px;
font-size: 15px; } }
@-moz-document url-prefix() {
.stats__graph__gem__count {
top: 8px; } }
| 28.158654
| 67
| 0.664504
|
146ec6ee24a47e63ed2a7a2c4ee356df9a4e3dd3
| 1,774
|
ts
|
TypeScript
|
modules/plugins/describe-ui/src/app/common/lobby/lobby.component.spec.ts
|
nodulusteam/-methodus-server
|
ca2bf049009e136e02cb0d299ebe1d04ed4c6d64
|
[
"MIT"
] | 21
|
2019-06-16T05:12:53.000Z
|
2021-05-25T10:13:57.000Z
|
modules/plugins/describe-ui/src/app/common/lobby/lobby.component.spec.ts
|
nodulusteam/methodulus
|
ca2bf049009e136e02cb0d299ebe1d04ed4c6d64
|
[
"MIT"
] | 13
|
2019-06-15T15:55:35.000Z
|
2021-06-05T21:08:39.000Z
|
modules/plugins/describe-ui/src/app/common/lobby/lobby.component.spec.ts
|
nodulusteam/methodulus
|
ca2bf049009e136e02cb0d299ebe1d04ed4c6d64
|
[
"MIT"
] | 1
|
2019-06-15T15:50:06.000Z
|
2019-06-15T15:50:06.000Z
|
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { SharedModule } from '../../../modules/shared.module';
import { LobbyComponent } from './lobby.component';
import { LoaderComponent } from '../loader/loader.component';
import { KeysPipe } from '../../pipes/keys-pipe';
import { LobbyItemComponent } from '../lobby.item/lobby.item.component';
import { LoaderService } from '../../services/loader.service';
describe('LobbyComponent', () => {
let component: LobbyComponent;
let fixture: ComponentFixture<LobbyComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [SharedModule],
declarations: [
LobbyComponent,
LoaderComponent,
KeysPipe,
LobbyItemComponent],
providers: [LoaderService]
})
.compileComponents().then(() => {
fixture = TestBed.createComponent(LobbyComponent);
component = fixture.componentInstance;
});
}));
it('should create', () => {
component = fixture.componentInstance;
component.items = [];
fixture.detectChanges();
expect(component).toBeTruthy();
});
it('deleteItemHandler', () => {
component.deleteItemHandler({});
expect(component).toBeTruthy();
});
it('editItemHandler', () => {
component.items = [];
component.editItemHandler({});
expect(component).toBeTruthy();
});
it('newItemHandler', () => {
component.newItemHandler({});
expect(component).toBeTruthy();
});
it('selectItemHandler', () => {
component.items = [];
component.selectItemHandler({});
expect(component).toBeTruthy();
});
it('getHeading', () => {
const result = component.getHeading('key', 1);
expect(result).toBe('key (1)');
});
});
| 24.985915
| 73
| 0.630214
|
da39e6e58f5447b577a6fd4305bad719a7b7d771
| 2,840
|
php
|
PHP
|
routes/web.php
|
dekbanbanproject/sasukBackend
|
e3bf50d3f0dd243117ea7cbbf102047b55146c45
|
[
"MIT"
] | null | null | null |
routes/web.php
|
dekbanbanproject/sasukBackend
|
e3bf50d3f0dd243117ea7cbbf102047b55146c45
|
[
"MIT"
] | null | null | null |
routes/web.php
|
dekbanbanproject/sasukBackend
|
e3bf50d3f0dd243117ea7cbbf102047b55146c45
|
[
"MIT"
] | null | null | null |
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\FontController;
use App\Http\Controllers\UserAuthController;
use App\Http\Controllers\UserController;
use App\Http\Controllers\ConfigController;
use App\Http\Controllers\DashController;
use Illuminate\Support\Facades\DB;
Route::get('/', function () {
return view('fontend/mainfont');
// $per = DB::table('persons')
// ->leftjoin('hospcode','hospcode.hospcode','=','persons.HOSPCODE')
// ->count();
// $maxch = 50000;
// $percen = $per * 100 / $maxch;
// return view('backend/dashboard');
});
// Route::get('/',[UserAuthController::class,'backend_dashboard']);
Route::get('fontend/contact','FontController@contact');
Route::get('fontend/blog/index','FontController@index');
Route::match(['get','post'],'fontend/about','FontController@about')->name('about');
//===============================================================================================================//
Route::get('backend/profile/editprofile',[UserController::class,'editprofile'])->name('user.editprofile');
Route::get('login',[UserAuthController::class,'login']);
Route::get('register',[UserAuthController::class,'register']);
Route::get('logout',[UserAuthController::class,'logout']);
//===============================================================================================================//
Route::post('create',[UserAuthController::class,'create'])->name('auth.create');
Route::post('check',[UserAuthController::class,'check'])->name('auth.check');
Route::get('backend_dashboard',[UserAuthController::class,'backend_dashboard'])->name('backend_dashboard');
Route::get('backend/personcount',[UserAuthController::class,'personcount'])->name('auth.personcount');
// Route::get('backend/dashboard/indexdh',[DashController::class,'indexdh'])->name('dash.indexdh');
Route::get('backend/layout/dashboardperson',[DashController::class,'dashboardperson'])->name('dash.dashboardperson');
Route::get('backend/layout/dashboardperson_only/{provincecode}',[DashController::class,'personprovinceonly'])->name('dash.personprovinceonly');
Route::get('backend/config/category',[ConfigController::class,'config_category'])->name('config.category');
Route::get('backend/config/addcategory',[ConfigController::class,'config_addcategory'])->name('config.addcategory');
// Facebook login
Route::get('login/facebook', [App\Http\Controllers\LoginController::class, 'redirectToFacebook'])->name('login.facebook');
Route::get('login/facebook/callback', [App\Http\Controllers\LoginController::class, 'handleFacebookCallback']);
// Google login
Route::get('login/google', [App\Http\Controllers\LoginController::class, 'redirectToGoogle'])->name('login.google');
Route::get('login/google/callback', [App\Http\Controllers\LoginController::class, 'handleGoogleCallback']);
| 47.333333
| 143
| 0.678169
|
5724b58bc55f58893c0d680f3f0f9de6a5ab0b7c
| 4,954
|
js
|
JavaScript
|
test/unit/message.js
|
dcsan/superscript
|
879bf128aab9eb907b8a43fe998bb9da5bd9ff2d
|
[
"MIT"
] | null | null | null |
test/unit/message.js
|
dcsan/superscript
|
879bf128aab9eb907b8a43fe998bb9da5bd9ff2d
|
[
"MIT"
] | null | null | null |
test/unit/message.js
|
dcsan/superscript
|
879bf128aab9eb907b8a43fe998bb9da5bd9ff2d
|
[
"MIT"
] | 1
|
2020-09-01T13:29:07.000Z
|
2020-09-01T13:29:07.000Z
|
var mocha = require("mocha");
var should = require("should");
var norm = require("node-normalizer");
var qtypes = require("qtypes");
var cnet = require("conceptnet")({host:'127.0.0.1', user:'root', pass:''});
var Concepts = require("../../lib/concepts");
var data = ['./data/names.top',
'./data/affect.top',
'./data/adverbhierarchy.top',
'./data/verbhierarchy.top',
'./data/concepts.top'];
var Message = require("../../lib/message");
describe('Message Interface', function(){
var normalize, questions, concept;
before(function(done){
norm.loadData(function(){
// Why didn't I pass this back in the CB?!?
normalize = norm;
new qtypes(function(question) {
questions = question;
Concepts.readFiles(data, function(facts) {
concept = facts;
done();
});
});
});
});
it("should parse names and nouns from message 1", function(done){
new Message("Rob Ellis and Heather know Ashley, Brooklyn and Sydney.", questions, normalize, cnet, concept, function(mo){
mo.names.should.be.instanceof(Array).and.have.lengthOf(5);
mo.nouns.should.be.instanceof(Array).and.have.lengthOf(6);
done();
});
});
it("should parse names and nouns from message 2 - this pulls names from scripted concepts since they are not NNP's", function(done){
new Message("heather knows Ashley, brooklyn and sydney.", questions, normalize, cnet, concept, function(mo){
mo.names.should.be.instanceof(Array).and.have.lengthOf(4);
done();
});
});
it("should parse names and nouns from message 3 - some NN NN should burst", function(done){
new Message("My friend steve likes to play tennis", questions, normalize, cnet, concept, function(mo){
mo.nouns.should.be.instanceof(Array).and.have.lengthOf(3);
mo.names.should.be.instanceof(Array).and.have.lengthOf(1);
done();
});
});
it("should have nouns with names filters out (cNouns)", function(done){
new Message("My friend Bob likes to play tennis", questions, normalize, cnet, concept, function(mo){
mo.nouns.should.be.instanceof(Array).and.have.lengthOf(3);
mo.names.should.be.instanceof(Array).and.have.lengthOf(1);
mo.cNouns.should.be.instanceof(Array).and.have.lengthOf(2);
done();
});
});
it("should find compare", function(done){
new Message("So do you like dogs or cats.", questions, normalize, cnet, concept, function(mo){
mo.qSubType.should.eql("CH");
done();
});
});
it("should find compare words 2", function(done){
new Message("What is bigger a dog or cat?", questions, normalize, cnet, concept, function(mo){
mo.qSubType.should.eql("CH");
done();
});
});
it("should find context", function(done){
new Message("They are going on holidays", questions, normalize, cnet, concept, function(mo){
mo.pnouns.should.have.includeEql("they");
done();
});
});
it("should convert to numeric form 1", function(done){
new Message("what is one plus twenty-one", questions, normalize, cnet, concept, function(mo){
mo.numbers.should.eql(["1", "21"]);
mo.numericExp.should.be.true;
done();
});
});
it("should convert to numeric form 2", function(done){
new Message("what is one plus three hundred and forty-five", questions, normalize, cnet, concept, function(mo){
mo.numbers.should.eql(["1", "345"]);
mo.numericExp.should.be.true;
done();
});
});
it("should convert to numeric form 3", function(done){
new Message("five hundred thousand and three hundred and forty-five", questions, normalize, cnet, concept, function(mo){
mo.numbers.should.eql(["500345"]);
done();
});
});
it("should convert to numeric form 4", function(done){
// This this actually done lower down in the stack. (normalizer)
var mo = new Message("how much is 1,000,000", questions, normalize, cnet, concept, function(mo){
mo.numericExp.should.be.false;
mo.numbers.should.eql(["1000000"]);
done();
});
});
it("should find expression", function(done){
new Message("one plus one = two", questions, normalize, cnet, concept, function(mo){
mo.numericExp.should.be.true;
done();
});
});
it("should find Date Obj", function(done){
new Message("If I was born on February 23 1980 how old am I", questions, normalize, cnet, concept, function(mo){
mo.date.should.not.be.empty
done();
});
});
it("should find Concepts", function(done){
new Message("tell that bitch to fuck off", questions, normalize, cnet, concept, function(mo){
mo.sentiment.should.eql(-7);
done();
});
});
it.skip("should find concepts 2", function(done){
new Message("I watched a movie last week with my brother.", questions, normalize, cnet, concept, function(mo){
done();
});
});
});
| 32.807947
| 134
| 0.633629
|
7e971da726801d5272cc7ab2ddaca8363f3d23d3
| 3,982
|
rs
|
Rust
|
verovio/src/bindings.rs
|
alec-deason/music_editor
|
931722c4fdcf3ad5f39266a38623229eb2477f6d
|
[
"MIT"
] | null | null | null |
verovio/src/bindings.rs
|
alec-deason/music_editor
|
931722c4fdcf3ad5f39266a38623229eb2477f6d
|
[
"MIT"
] | null | null | null |
verovio/src/bindings.rs
|
alec-deason/music_editor
|
931722c4fdcf3ad5f39266a38623229eb2477f6d
|
[
"MIT"
] | null | null | null |
/* automatically generated by rust-bindgen 0.58.1 */
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const __bool_true_false_are_defined: u32 = 1;
pub type Toolkit = u8;
extern "C" {
#[doc = " Methods exported a functions to use the Toolkit class"]
pub fn vrvToolkit_constructor() -> *mut ::std::os::raw::c_void;
}
extern "C" {
pub fn vrvToolkit_constructorResourcePath(
resourcePath: *const ::std::os::raw::c_char,
) -> *mut Toolkit;
}
extern "C" {
pub fn vrvToolkit_destructor(tk: *mut Toolkit);
}
extern "C" {
pub fn vrvToolkit_edit(tk: *mut Toolkit, editorAction: *const ::std::os::raw::c_char) -> bool;
}
extern "C" {
pub fn vrvToolkit_getAvailableOptions(tk: *mut Toolkit) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_getElementAttr(
tk: *mut Toolkit,
xmlId: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_getElementsAtTime(
tk: *mut Toolkit,
millisec: ::std::os::raw::c_int,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_getExpansionIdsForElement(
tk: *mut Toolkit,
xmlId: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_getHumdrum(tk: *mut Toolkit) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_getLog(tk: *mut Toolkit) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_getMEI(
tk: *mut Toolkit,
options: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_getMIDIValuesForElement(
tk: *mut Toolkit,
xmlId: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_getNotatedIdForElement(
tk: *mut Toolkit,
xmlId: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_getOptions(
tk: *mut Toolkit,
default_values: bool,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_getPageCount(tk: *mut Toolkit) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vrvToolkit_getPageWithElement(
tk: *mut Toolkit,
xmlId: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
pub fn vrvToolkit_getTimeForElement(
tk: *mut Toolkit,
xmlId: *const ::std::os::raw::c_char,
) -> f64;
}
extern "C" {
pub fn vrvToolkit_getVersion(tk: *mut Toolkit) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_loadData(tk: *mut Toolkit, data: *const ::std::os::raw::c_char) -> bool;
}
extern "C" {
pub fn vrvToolkit_loadZipDataBase64(
tk: *mut Toolkit,
data: *const ::std::os::raw::c_char,
) -> bool;
}
extern "C" {
pub fn vrvToolkit_loadZipDataBuffer(
tk: *mut Toolkit,
data: *const ::std::os::raw::c_uchar,
length: ::std::os::raw::c_int,
) -> bool;
}
extern "C" {
pub fn vrvToolkit_renderToMIDI(
tk: *mut Toolkit,
c_options: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_renderToSVG(
tk: *mut Toolkit,
page_no: ::std::os::raw::c_int,
c_options: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_renderToTimemap(tk: *mut Toolkit) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_redoLayout(tk: *mut Toolkit);
}
extern "C" {
pub fn vrvToolkit_redoPagePitchPosLayout(tk: *mut Toolkit);
}
extern "C" {
pub fn vrvToolkit_renderData(
tk: *mut Toolkit,
data: *const ::std::os::raw::c_char,
options: *const ::std::os::raw::c_char,
) -> *const ::std::os::raw::c_char;
}
extern "C" {
pub fn vrvToolkit_setOptions(tk: *mut Toolkit, options: *const ::std::os::raw::c_char);
}
| 28.647482
| 98
| 0.600703
|
c27e4244f92f61d3a8ff9a88ccbe52423897894e
| 358
|
h
|
C
|
DASH Player/DASH Player/Model/SegmentBase.h
|
mlvhub/MPEGDASH-iOS-Player
|
5f9e5f109d527f68584e1fd9e445b14c14109e62
|
[
"MIT"
] | 67
|
2015-03-20T11:32:27.000Z
|
2021-05-17T22:05:14.000Z
|
DASH Player/DASH Player/Model/SegmentBase.h
|
mlvhub/MPEGDASH-iOS-Player
|
5f9e5f109d527f68584e1fd9e445b14c14109e62
|
[
"MIT"
] | 5
|
2015-06-18T15:08:42.000Z
|
2021-02-17T08:36:22.000Z
|
DASH Player/DASH Player/Model/SegmentBase.h
|
MPEGDASHPlayer/MPEGDASH-iOS-Player
|
5f9e5f109d527f68584e1fd9e445b14c14109e62
|
[
"MIT"
] | 29
|
2015-02-19T14:32:52.000Z
|
2021-11-14T13:31:04.000Z
|
//
// SegmentBase.h
// DASH Player
//
// Created by DataArt Apps on 04.11.14.
// Copyright (c) 2014 DataArt Apps. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Initialization.h"
@interface SegmentBase : NSObject
@property (nonatomic, strong) NSString *indexRange;
@property (nonatomic, strong) Initialization *initialization;
@end
| 22.375
| 61
| 0.734637
|
10ed4db5a216b49da4e5fb17ea881494c3e8b920
| 38
|
sql
|
SQL
|
Vault7/Lost-in-Translation/windows/Resources/Ops/Data/database_plans/SQL Server/Kaspersky 8/hst_inventory_hstprds.sql
|
dendisuhubdy/grokmachine
|
120a21a25c2730ed356739231ec8b99fc0575c8b
|
[
"BSD-3-Clause"
] | 46
|
2017-05-15T11:15:08.000Z
|
2018-07-02T03:32:52.000Z
|
Vault7/Lost-in-Translation/windows/Resources/Ops/Data/database_plans/SQL Server/Kaspersky 8/hst_inventory_hstprds.sql
|
dendisuhubdy/grokmachine
|
120a21a25c2730ed356739231ec8b99fc0575c8b
|
[
"BSD-3-Clause"
] | null | null | null |
Vault7/Lost-in-Translation/windows/Resources/Ops/Data/database_plans/SQL Server/Kaspersky 8/hst_inventory_hstprds.sql
|
dendisuhubdy/grokmachine
|
120a21a25c2730ed356739231ec8b99fc0575c8b
|
[
"BSD-3-Clause"
] | 24
|
2017-05-17T03:26:17.000Z
|
2018-07-09T07:00:50.000Z
|
select * from hst_inventory_hstprds;
| 19
| 37
| 0.815789
|
0c6792ae9b8a06bfdec2f8c2b776901234bde7b6
| 176
|
jbuilder
|
Ruby
|
app/views/author/site_storages/index.json.jbuilder
|
teamco/js-oop
|
5bfe9d3f5e05292680198260b82aaf5a973b148a
|
[
"MIT"
] | null | null | null |
app/views/author/site_storages/index.json.jbuilder
|
teamco/js-oop
|
5bfe9d3f5e05292680198260b82aaf5a973b148a
|
[
"MIT"
] | 30
|
2017-02-22T09:06:33.000Z
|
2022-03-30T21:59:06.000Z
|
app/views/author/site_storages/index.json.jbuilder
|
teamco/js-oop
|
5bfe9d3f5e05292680198260b82aaf5a973b148a
|
[
"MIT"
] | 2
|
2016-05-18T19:26:03.000Z
|
2019-08-15T21:47:58.000Z
|
json.array!(@author_site_storages) do |author_site_storage|
json.extract! author_site_storage, :id
json.url author_site_storage_url(author_site_storage, format: :json)
end
| 35.2
| 70
| 0.818182
|
b50bf0a1ec4c58bf0134819fddb745201703eedc
| 3,337
|
sql
|
SQL
|
backend/SQLCommands.sql
|
Software-Developers-Association/restaurant-app
|
e1528dc001d8a77f43612d1d54668461ab615ebf
|
[
"MIT"
] | null | null | null |
backend/SQLCommands.sql
|
Software-Developers-Association/restaurant-app
|
e1528dc001d8a77f43612d1d54668461ab615ebf
|
[
"MIT"
] | null | null | null |
backend/SQLCommands.sql
|
Software-Developers-Association/restaurant-app
|
e1528dc001d8a77f43612d1d54668461ab615ebf
|
[
"MIT"
] | 2
|
2020-08-20T18:32:23.000Z
|
2022-02-01T18:50:18.000Z
|
-- Comment in SQL
-- How to create a database...
create database name_of_database;
-- Example to run
create database MYDB;
-- How to delete a database...
drop database name_of_database;
-- Example to run
drop database MYDB;
-- How to create a table...
create table name_of_table;
-- Example to run
create database if not exists zoomdb;
create table users(
id INTEGER, -- Integer is for whole numbers...
fname varchar2(100), -- varchar2 is for string, must specify the length of the string
lname varchar2(100)
);
-- How to delete a table...
drop table name_of_table;
-- Example to run
drop table users;
-- How to view the schema of a table...
desc name_of_table;
-- Example to run
desc users;
-- How to add a column to an existing table...
alter table name_of_table add COLUMN_NAME DATA_TYPE;
-- Example to run
alter table users add email varchar(100);
-- Data Types Source(https://www.tutorialspoint.com/mysql/mysql-data-types.htm)
-- Numerics
-- INT - Integer Range(-2,147,483,648 to 2,147,483,647) unsigned 4,294,967,295
-- TINYINT - Tiny integer Range(-128 to 127) unsigned 255
-- SMALLINT - Small integer Range (-32,768 to 32,767) unsigned 65,535
-- MEDIUMINT - Range (-8,388,608 to 8,388,607) unsigned 16,777,215
-- BIGINT - Range(-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807) unsigned 18,446,744,073,709,551,615
-- M - is the length number of digits
-- D - is the number of decimals
-- FLOAT(M, D) - (M,D) is optional defaults to 10,2 precision up to 24 places
-- DOUBLE(M,D) - (M,D) is optional defaults to 16,4 precision up to 53 places
-- DECIMAL(M,D) - (M,D) is required
-- Date and Time Types
-- DATE - A data in YYYY-MM-DD
-- DATATIME - YYYY-MM-DD HH:MM:SS
-- TIMESTAMP - Stored as a number....
-- TIME - HH:MM:SS
-- YEAR(M) - (M) is optional M is either 2 or 4 if M=2 range 1970-2069 if M=4 range 1901-2155
-- String Types
-- CHAR(M) - Fixed length 1-255 characters right padded Example: CHAR(2) inserted Z -> _Z _=space
-- VARCHAR(M) - A variable length 1-255 grows upto the length
-- BLOB OR TEXT - Max length of 65,535 characters
-- LONGBLOB or LONGTEXXT - Max length of 4,294,967,295 characters
-- How to insert data into a table...
insert into name_of_table
(column_1, column_2, column_3,....)
values (value_1, value_2, value_3, ...);
-- Example
insert into users
(id, fname, lname, email)
values
(0, 'Kevin', 'Pacheco', 'example@example.com');
-- How to view the data in a particular table...
select column_1, column_2, column_3,... from name_of_table; -- only specific columns...
-- or
select * from name_of_table; -- * means get everything...
-- Example(s) to run
select fname, email from users;
select * from users;
select email, fname, id from users;
-- How to select certain rows based on a condition in a table...
select * from name_of_table where some_condidition;
-- Example to run
select * from users where id=1;
select * from users where fname='Kevin';
select email from users where lname='Dylan';
-- Conditional Operators
-- = Equal
-- > Greater than
-- < Less than
-- <= Greater than or equal
-- >= Less than or equal
-- <> or != Not equal to
-- BETWEEN Between a certain range
-- LIKE Search for a pattern
-- IN to specify mulitple values for a column
| 30.614679
| 111
| 0.682949
|
5412956e29c5ae7fe772f257d02c700614bfd0be
| 53,691
|
css
|
CSS
|
resources/taurus/css/stylesheet.css
|
JaservTECH/SIKTA
|
3b1a7808a77f315b2755d1bd1a16373bbe264bc9
|
[
"Apache-2.0"
] | null | null | null |
resources/taurus/css/stylesheet.css
|
JaservTECH/SIKTA
|
3b1a7808a77f315b2755d1bd1a16373bbe264bc9
|
[
"Apache-2.0"
] | null | null | null |
resources/taurus/css/stylesheet.css
|
JaservTECH/SIKTA
|
3b1a7808a77f315b2755d1bd1a16373bbe264bc9
|
[
"Apache-2.0"
] | 1
|
2020-09-01T15:57:44.000Z
|
2020-09-01T15:57:44.000Z
|
.tal{text-align:left !important}
.tar{text-align:right !important}
.tac{text-align:center !important}
.nm{margin:0 !important}
.nmt{margin-top:0 !important}
.nmb{margin-bottom:0 !important}
.nmr{margin-right:0 !important}
.nml{margin-left:0 !important}
.np{padding:0 !important}
.npt{padding-top:0 !important}
.npb{padding-bottom:0 !important}
.npr{padding-right:0 !important}
.npl{padding-left:0 !important}
.oh{overflow:hidden !important}
.nb{border:0 !important}
.nbb{border-bottom:0 !important}
.nbl{border-left:0 !important}
.nbr{border-right:0 !important}
.nbt{border-top:0 !important}
.bpl{background-position:left top}
.bpr{background-position:right top}
.bpc{background-position:center top}body{background:rgba(220,220,220,0.95);font-family:'Helvetica Neue','Helvetica',Arial,sans-serif;color:#FFF}form{margin:0}a{color:#333;outline:0 !important}a:hover,a:focus,a:active{color:#666;text-decoration:none}/*add by aservtech*/a i {cursor : pointer;}/**/
.container{max-width:none !important}[class^='col-xs-'],[class^='col-sm-'],[class^='col-md-'],[class^='col-lg-']{position:relative;min-height:1px;padding-left:10px;padding-right:10px}
.container.container-fixed{width:1200px;max-width:1200px !important}body.modal-open,.modal-open .navbar-fixed-top,.modal-open .navbar-fixed-bottom{margin-right:17px}
.navbar li a,.navbar li a,.block .buttons>li>a,.list-group .list-group-item,.nav-tabs>li>a,.list .list-item .list-controls a,address{text-shadow:1px 1px 2px rgba(0,0,0,0.2)}
.block .user .info .informer,.block .head h2,.block .header h2,.block .head-panel .hp-info{text-shadow:1px 1px 1px rgba(0,0,0,0.3)}
.navbar,.dropdown-menu,.block-drop-shadow,.ui-datepicker,.dropdown-submenu{-moz-box-shadow:0 2px 3px rgba(0,0,0,0.3);-webkit-box-shadow:0 2px 3px rgba(0,0,0,0.3);box-shadow:0 2px 3px rgba(0,0,0,0.3)}
.ui-slider .ui-slider-handle,.list-status{-moz-box-shadow:0 1px 2px rgba(0,0,0,0.3);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.3);box-shadow:0 1px 2px rgba(0,0,0,0.3)}
.select2-container-multi,.select2-container,div.tagsinput{-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}
.nbr{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}
.br,.navbar.br,.block.block-drop-shadow,.list-group,.messages .messages-item .messages-item-text,div.tagsinput,.ui-corner-all,.jqstooltip,.timeline .timeline-info-content,.list-default .list-item,.gallery-item{-moz-border-radius:0px;-webkit-border-radius:0px;border-radius:0px}
.nbrb,.nav-tabs.nav-justified>li>a,.page-footer-wrap{-moz-border-radius:3px 3px 0 0;-webkit-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0}
.nbrt,.navbar{-moz-border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px}
.block>div:first-child{-moz-border-top-left-radius:0px;-webkit-border-top-left-radius:0px;border-top-left-radius:0px;-moz-border-top-right-radius:0px;-webkit-border-top-right-radius:0px;border-top-right-radius:0px}
.block>div:last-child{-moz-border-bottom-left-radius:0px;-webkit-border-bottom-left-radius:0px;border-bottom-left-radius:0px;-moz-border-bottom-right-radius:0px;-webkit-border-bottom-right-radius:0px;border-bottom-right-radius:0px}
.page-container{position:relative}
.page-sidebar{float:left;width:230px;padding-right:1px}
.page-content{margin-left:230px;padding-top:10px}
.page-sidebar-narrow .page-sidebar{width:35px}
.page-sidebar-narrow .page-content{margin-left:35px}
.navbar{position:relative;display:block; border : white 2px solid; border-right: 0px; border-left : 0px; border-bottom : 20px;margin:0 0 20px 0;height:40px;min-height:40px;background-color:#133959}
.navbar-collapse,.navbar-form{padding:0;margin:0}
.navbar-form{margin:5px;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;border:0}
.navbar-nav{position:relative;display:block;list-style:none;padding:0;float:left;margin:0;border-right:1px solid #2b5a74;border-left:1px solid #0e2c44}
.navbar-nav>li>a{height:40px;color:#FFF;text-transform:uppercase;text-decoration:none;text-align:center;display:block;float:left;width:100%;position:relative;border-left:1px solid #2b5a74;border-right:1px solid #0e2c44;padding:13px 10px 9px 30px;font-size:11px;font-weight:bold}
.navbar-nav>li>a>span{font-size:14px;color:#82d5ff;position:absolute;left:9px;top:13px}
.navbar-nav>li.active>a,.navbar-nav>li:hover>a,.navbar-nav>li>a:focus,.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background:url('../img/background/bt_cubs_a.png') left top repeat transparent;border-right:1px solid #0e2c44;border-left-color:#2b5a74}
.navbar-nav>li.active>a>span,.navbar-nav>li:hover>a>span,.navbar-nav>li.open>a>span{color:#FFF}
.navbar-brand{padding:6px 15px}
.navbar button{color:#FFF}
.navbar-toggle{padding:8px 10px 7px}
.dropdown-menu,.dropdown-submenu{background:url('../img/background/bt_cubs.png') left top repeat #222;border:0;padding:5px}
.dropdown-menu li{position:relative}
.dropdown-menu>li>a,.dropdown-submenu>li>a{padding:8px 10px;color:#FFF;position:relative}
.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus,.dropdown-submenu>li>a:hover,.dropdown-submenu>li>a:focus{background:url('../img/background/bt_cubs_a.png') left top repeat transparent;color:#FFF;outline:0}
.dropdown-menu .divider{background-color:rgba(255,255,255,0.1)}
.dropdown-menu>li>a>i[class^='icon-']{position:absolute;right:10px;top:8px}
.dropdown-submenu{position:absolute;right:0;display:none;left:95%;top:0;z-index:1001;float:left;min-width:160px;list-style:none;border-radius:3px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}
.dropdown-submenu>li>a{display:block;clear:both;font-weight:normal;line-height:1.428571429;white-space:nowrap}
.dropdown-menu li:hover>.dropdown-submenu{display:block}
.navbar-nav>li:last-child>a{border-right-color:#0e2c44}
.page-navigation{display:block;float:left;width:100%;list-style:none;padding:0 0 10px 0}
.page-navigation ul{list-style:none;display:block;float:left;padding:0;display:none}
.page-navigation li{float:left;width:100%;font-size:12px;color:#FFF}
.page-navigation li a{padding:10px 20px 10px 15px;float:left;display:block;width:100%;position:relative;line-height:15px}
.page-navigation>li>a{padding-left:35px;background:rgba(0,0,0,0.2);margin-bottom:1px}
.page-navigation li a span[class^='icon-']{position:absolute;left:10px;top:9px;font-size:16px}
.page-navigation li a i[class^='icon-']{position:absolute;right:10px;top:10px;font-size:12px}
.page-navigation li a:hover{background:rgba(0,0,0,0.1)}
.page-navigation li.active>ul{display:block}
.page-navigation>li>ul>li>a{padding-left:10px}
.page-navigation>li>ul>li>ul>li>a{padding-left:20px}
.page-navigation>li>ul>li>ul>li>ul>li>a{padding-left:30px}
.page-navigation>li>ul>li>ul>li>ul>li>ul>li>a{padding-left:40px}
.page-navigation>li>ul>li>ul>li>ul>li>ul>li>ul>li>a{padding-left:50px}
.page-sidebar-narrow .page-sidebar .page-navigation{overflow:hidden}
.page-sidebar-narrow .page-sidebar:hover .page-navigation{overflow:auto}
.page-navigation-panel{float:left;background:rgba(0,0,0,0.4);width:100%;margin-bottom:1px}
.page-navigation-panel .name{font-size:11px;color:#FFF;font-weight:bold;float:left;line-height:35px;height:35px;padding-left:10px}
.page-navigation-panel.search{padding:0;background:0}
.page-navigation-panel.logo{background:url('../img/logob.png') center top no-repeat transparent;height:90px;margin:10px 0}
.page-navigation-panel .control{line-height:35px;float:right;text-align:center;width:35px;height:35px;opacity:1;filter:alpha(opacity=100)}
.page-navigation-panel .control span{font-size:17px;color:#FFF}
.page-navigation-panel .control.active{opacity:.5;filter:alpha(opacity=50)}
.page-sidebar-narrow .page-sidebar .page-navigation-panel .name,.page-sidebar-narrow .page-sidebar .page-navigation-panel.search,.page-sidebar-narrow .page-sidebar .page-navigation-hide{display:none}
.page-sidebar-narrow .page-sidebar .page-navigation-panel.logo{background:url('../img/logo.png') center top no-repeat transparent;height:28px;margin:5px 0}
.page-sidebar-narrow .page-sidebar:hover .page-navigation-panel .name,.page-sidebar-narrow .page-sidebar:hover .page-navigation-panel.search{display:block}
.page-sidebar-narrow .page-sidebar:hover .page-navigation-panel.logo{background:url('../img/logob.png') center top no-repeat transparent;height:90px;margin:10px 0}
.block{margin-bottom:20px;float:left;width:100%;position:relative}
.block .header,.block .content,.block .footer,.block .toolbar,.block .header.header-default,.block .content.content-default,.block .toolbar.toolbar-default,.block .footer.footer-defaut{ color : #666;float:left;width:100%}
.block-white .header,.block-white .content,.block-white .footer,.block-white .toolbar,.block .header.header-white,.block .content.content-white,.block .toolbar.toolbar-white,.block .footer.footer-white{background:rgba(255,255,255,0.2)}
.block-transparent .header,.block-transparent .content,.block-transparent .footer,.block-transparent .toolbar,.block .header.header-transparent,.block .content.content-transparent,.block .toolbar.toolbar-transparent,.block .footer.footer-transparent{background:transparent}
.block-fill-white .header,.block-fill-white .content,.block-fill-white .footer,.block-fill-white .toolbar,.block .header.header-fill-white,.block .content.content-fill-white,.block .toolbar.toolbar-fill-white,.block .footer.footer-fill-white{background:#FFF;color:#333}
.block .header,.block .footer,.block .toolbar{height:50px;padding:10px}
.block .header{height:40px;padding:5px 10px}
.block .toolbar{margin:1px 0}
.block.header-clean .header{background:transparent;padding-top:0;height:30px}
.block .header h2,.block .head h2{font-size:12px;color:#666;padding:0;margin:0;display:block;float:left;text-transform:uppercase;font-weight:bold}
.block-fill-white .header h2{color:#333;text-shadow:none}
.block .content{padding:10px}
.block .content.controls{padding:0 0 10px 0}
.block .footer,.block .header,.block .toolbar,.block .head,.block .header h2,.block .head h2{line-height:30px}
.block .buttons{padding:0;margin:0;list-style:none;padding-top:2px;float:left}
.block .buttons>li{display:block;float:left}
.block .buttons>li>a{color:#FFF;text-decoration:none;opacity:.9;filter:alpha(opacity=90);margin-left:10px}
.block .buttons>li>a [class^='icon-']{font-size:14px}
.block .buttons>li>a:hover,.block .buttons>li.open>a{opacity:1;filter:aplha(opacity=100)}
.block .buttons .dropdown-menu{left:auto;right:0}
.block-fill-white .buttons>li>a{color:#333;text-shadow:none}
.block .head{padding:8px 10px;float:left;width:100%}
.head-subtitle{font-size:11px;color:#DDD;float:left;line-height:13px;margin-bottom:5px;width:100%}
.block .head-panel{width:100%;float:left;margin:30px 0 0;position:relative}
.block .head-panel .hp-info{margin-left:20px;position:relative}
.block .head-panel .hp-info:first-child{margin-left:0}
.block .head-panel .hp-info.hp-disabled{opacity:.5;filter:alpha(opacity=50)}
.block .head-panel .hp-info .hp-icon{position:absolute;left:0;top:3px;font-size:24px}
.block .head-panel .hp-info .hp-main,.block .head-panel .hp-info .hp-sm{display:block;float:left;margin-left:27px;clear:both;line-height:14px}
.block .head-panel .hp-info .hp-main{font-size:14px;margin-top:2px}
.block .head-panel .hp-info .hp-sm{font-size:11px;opacity:.8;filter:alpha(opacity=80);margin-top:3px;text-align:center}
.block .head-panel .hp-info .hp-sm .progress{margin:3px 0 2px}
.block .head-panel .hp-info.hp-one{margin-top:6px}
.block .head-panel .hp-info.hp-one .hp-icon{font-size:16px;top:-3px}
.block .head-panel .hp-info.hp-one .hp-main{font-size:12px;margin-left:21px;margin-top:6px}
.block .head-panel .hp-info.hp-simple{margin-left:10px}
.block .head-panel .hp-info.hp-simple .hp-main{margin-left:0;font-size:11px;font-weight:bold}
.block .head-panel .hp-info.hp-simple .hp-sm{margin-left:0}
.block .head-panel .hp-info.hp-inline{width:100%;margin-left:0}
.block .head-panel .hp-info.hp-inline .hp-main,.block .head-panel .hp-info.hp-inline .hp-sm{width:100%;text-align:left}
.block .head-panel .side{float:left}
.block .head-panel .left_abs_100{position:absolute;left:0;top:0;width:100px}
.block .head-panel .right_abs_100{position:absolute;right:0;top:0;width:100px}
.block .head .chart{float:left;width:100%}
.block .user{padding:10px;float:left;width:100%;position:relative}
.block .user .info{margin:0 auto;width:100px}
.block .user .info .informer{position:absolute;font-size:9px;text-align:center;line-height:14px}
.block .user .info .informer.informer-one{left:10px;top:10px}
.block .user .info .informer.informer-two{right:10px;top:10px}
.block .user .info .informer.informer-three{left:10px;bottom:10px}
.block .user .info .informer.informer-four{right:10px;bottom:10px}
.block .user .info .informer span{font-size:12px;font-weight:bold;display:block}
.block .user .user-change{position:relative}
.block .user .user-change-button{width:96px;height:96px;font-size:32px;line-height:96px;color:#FFF;background:rgba(255,255,255,0.2);position:absolute;left:0;top:0;border-radius:50%;text-align:center;display:none;cursor:pointer}
.block .user .user-change:hover .user-change-button{display:block}
.block .user-change-row{display:none}
.contact-images img{margin-bottom:5px}
/*
edit by jaserv tech channel
<--
*/
.page-footer{width:100%;padding:0 10px;float:left}
.page-footer-wrap{background:#00BCD4; border : white 2px solid; border-right: 0px; border-left : 0px; float:left;width:100%;padding:8px 10px; color : black; border-radius:0px;}
/*
-->
*/
.btn{padding-bottom:5px;line-height:16px}input,select,textarea{display:block;width:100%;padding:6px 12px;font-size:12px;line-height:1.428571429;vertical-align:middle;border-radius:3px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}
.form-control:focus,input:focus,select:focus,textarea:focus{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;border-color:transparent;outline:none !important}
.form-control,input,select,select[multiple],textarea{background:rgba(0,0,0,0.05);border-color:rgba(112,112,112,0.7);color:#444}
select{padding:6px 8px}select option{background:#222;color:#fff;border:0}select option[selected],select[multiple] option{background:0}
.file input[type="file"]{display:none}
.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background:rgba(0,0,0,0.1);color:#555;}
.form-row{float:left;width:100%;margin-bottom:10px;line-height:30px}
.form-row:first-child{margin-top:10px}
.form-row:last-child{margin-bottom:0}
.form-horizontal .form-group{margin-left:-10px;margin-right:-10px}
.form-horizontal .control-label{text-align:left}label{margin-bottom:0}
.badge{border-radius:3px}
.label.label-default{background:rgba(255,255,255,0.2)}
.help-block{color:#666;line-height:12px;margin-bottom:5px}
.input-group{line-height:28px}
.input-group-addon{background:rgba(0,0,0,0.4);color:#FFF;border:0;padding:7px 12px 5px}
.img-thumbnail{border:3px solid rgba(255,255,255,0.3);background:0;padding:0}
.btn-group-vertical .btn-group .btn{margin-top:-1px;width:100%}
.block-fill-white input,.block-fill-white select,.block-fill-white textarea,.block-fill-white select option{color:#333}
.block-fill-white select option{background:#FFF}
.block-fill-white select[multiple] option{background:transparent}
.block-fill-white input[readonly],.block-fill-white input[disabled]{color:#999}
.radiobox,.checkbox{margin:0}
.radiobox input[type="radio"],.radiobox-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{margin-left:0}
.radiobox-inline,.checkbox-inline{cursor:default}div.checker,div.radio,div.uploader{display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:middle}div.checker:focus,div.radio:focus,div.uploader:focus{outline:0}div.radio,div.radio *,div.checker,div.checker *,div.uploader,div.uploader *{margin:0;padding:0}div.checker,div.radio{margin-left:-20px;position:relative;margin-right:5px;line-height:19px;font-weight:normal}div.checker,div.checker span,div.checker input,div.radio,div.radio span,div.radio input{width:19px;height:19px}div.checker span,div.radio span{background:rgba(0,0,0,0.2);-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;text-align:center}div.radio span{-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;font-size:13px}div.checker span.checked:before{content:"\f00c";font-family:'FontAwesome';position:absolute;left:4px;top:1px}div.radio span.checked:before{content:"\f111";font-family:'FontAwesome';position:absolute;left:4px;top:0}div.checker input,div.radio input{opacity:0;filter:alpha(opacity=0);-moz-opacity:0;border:0;background:0;display:-moz-inline-box;display:inline-block;*display:inline;zoom:1}div.checker.hover span,div.checker.focus span,div.radio.hover span,div.radio.focus span{background:rgba(0,0,0,0.3)}div.checker.disabled span,div.radio.disabled span{background:rgba(0,0,0,0.1);color:#ddd}
.typhography{text-shadow:1px 2px 2px rgba(0,0,0,0.2)}
.typhography p{line-height:19px}h1{font-size:27px}h2{font-size:23px}h3{font-size:21px}h4{font-size:19px}h5{font-size:17px}h6{font-size:15px}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:10px}
.text-muted{color:#DDD}
.text-primary{color:#41a6ff}
.text-success{color:#59ad2f}
.text-info{color:#5396b5}
.text-warning{color:#ffa91f}
.text-danger{color:#b26e6e}
.well{background:rgba(0,0,0,0); border-radius : 0px; border : solid #0097A7; border-width : 0px 1px 0px 5px;}
.well.well-lg{padding:15px}blockquote{border-color:rgba(0,0,0,0.2)}blockquote small{color:#DDD}
.badge{background:rgba(0,0,0,0.2)}dt{text-transform:uppercase}dd{padding:5px 0}
.table{margin-bottom:0}
.table .checker{display:inherit}
.table thead>tr>th,.table thead>tr>th,.table tbody>tr>th,.table tfoot>tr>th,.table thead>tr>td,.table tbody>tr>td,.table tfoot>tr>td,.table-bordered,.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border-color:rgba(0,0,0,0.2);line-height:20px;padding-left:12px;padding-right:12px}
.table thead>tr>th{border-bottom:0, color : black;}
.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background:#E0F7FA}
.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background:#B2EBF2}
.tabs{float:left;width:100%;position:relative}
.nav-tabs{border-color:rgba(0,0,0,0.3)}
.nav-tabs>li{margin-bottom:0}
.nav-tabs>li>a{margin-right:0; border-radius:0px;}
.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus,.nav-tabs>.dropdown.active.open>a:hover{border-color:transparent;color:black;background:rgba(0, 151, 167, 0.5)}
.nav-tabs>li>a:hover,.nav-tabs>.dropdown.open>a,.nav-tabs>.dropdown.open>a:hover{background:rgba(0, 151, 167, 0.3);border-color:transparent;color:black}
.nav-tabs.nav-justified>li>a{border-bottom-color:rgba(0,0,0,0.3)}
.nav-tabs.nav-justified>.active>a{border-bottom-color:transparent}
.nav-tabs a .caret,.nav-tabs a:hover .caret{border-top-color:#FFF;border-bottom-color:#FFF}
.head .nav-tabs{border-color:transparent;border-bottom:0}
.nav-tabs-vertical .nav-tabs{float:left;width:150px;position:absolute;left:0;border-bottom:0}
.nav-tabs-vertical .nav-tabs>li{width:100%}
.nav-tabs-vertical .nav-tabs>li>a{width:100%;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}
.nav-tabs-vertical .nav-tabs>li:first-child>a{-moz-border-top-left-radius:0px;-webkit-border-top-left-radius:0px;border-top-left-radius:0px}
.nav-tabs-vertical .nav-tabs>li:last-child>a{-moz-border-bottom-left-radius:0px;-webkit-border-bottom-left-radius:0px;border-bottom-left-radius:0px}
.nav-tabs-vertical .tab-content{width:auto;margin-left:150px}
.tabs .nav-tabs>li:first-child>a,.tabs .nav-tabs>li:last-child>a{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}
.modal-content{background: rgba(220,220,220,1);border-width:3px;border:1px solid #1b1b1b}
.modal-header{background-color : rgb(220,220,220);border-bottom-color:rgb(120,120,120);padding:10px 15px}
.modal-title{line-height:30px;font-size:12px;font-weight:bold;text-transform:uppercase;color: #666;}
.modal-header .close{margin-top:5px}
.modal-footer{background-color : rgb(220,220,220);border-top-color:rgb(120,120,120);padding:10px 15px;margin-top:0}
.modal-body{padding:10px}
.close,.close:hover,.close:focus{color:#666;}
.modal-backdrop.in{opacity:.3;filter:alpha(opacity=30)}
.modal.modal-success .modal-content{background:url('../img/background/bt_cubs.png') left top repeat #59ad2f;border:1px solid #4f9b2b}
.modal-success .modal-header{border-bottom-color:#4f9b2b}
.modal-success .modal-footer{border-top-color:#4f9b2b}
.modal.modal-warning .modal-content{background:url('../img/background/bt_cubs.png') left top repeat #ffa91f;border:1px solid #db860f}
.modal-warning .modal-header{border-bottom-color:#db860f}
.modal-warning .modal-footer{border-top-color:#db860f}
.modal.modal-danger .modal-content{background:url('../img/background/bt_cubs.png') left top repeat #af2f2f;border:1px solid #a62d2d}
.modal-danger .modal-header{border-bottom-color:#a62d2d}
.modal-danger .modal-footer{border-top-color:#a62d2d}
.modal.modal-info .modal-content{background:url('../img/background/bt_cubs.png') left top repeat #2f84b1;border:1px solid #25678b}
.modal-info .modal-header{border-bottom-color:#25678b}
.modal-info .modal-footer{border-top-color:#25678b}
.statusbar{position:fixed;bottom:0;width:100%;padding:10px;background:rgba(0,0,0,0.70);display:none}
.statusbar .statusbar-icon{float:left;margin-right:10px;padding:3px 0}
.statusbar .statusbar-icon [class^=icon]{font-size:20px;line-height:24px}
.statusbar .statusbar-text{font-size:12px;font-weight:bold;color:#FFF;float:left;padding-right:30px;line-height:30px}
.statusbar .statusbar-body{float:left;padding-right:30px}
.statusbar .statusbar-close{position:absolute;right:15px;top:50%;margin-top:-8px;cursor:pointer;opacity:.2;filter:alpha(opacity=20)}
.statusbar .statusbar-close:hover{opacity:.5;filter:alpha(opacity=50)}
.statusbar.statusbar-info{background:rgba(47,132,177,0.70)}
.statusbar.statusbar-danger{background:rgba(175,47,47,0.70)}
.statusbar.statusbar-success{background:rgba(89,173,47,0.70)}
.statusbar.statusbar-warning{background:rgba(255,169,31,0.70)}
.pagination>li>a,.pagination>li>span{background:rgba(0,0,0,0.2);border-color:transparent;line-height:16px;margin-left:1px}
.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus,.pagination>li>a:hover,.pagination>li>span:hover{background:rgba(0,0,0,0.5);border-color:transparent}
.pagination>.disabled>span,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{background:rgba(0,0,0,0.3);border-color:transparent}
.pagination [class^='icon-']{line-height:16px}
/*
change by jaserv tech channel
<--
*/
.breadcrumb{background:#00BCD4;color:rgba(0,0,0,1); border-radius:0px; font-weight: bold; border : white 2px solid; border-right: 0px; border-left : 0px;}
.breadcrumb>li+li:before{content:"\f105";font-family:'FontAwesome';padding:0 8px}
.breadcrumb>li{color:rgba(0,0,0,1);opacity:.6;filter:alpha(opacity=60)}
.breadcrumb>li.active{opacity:1;filter:alpha(opacity=100);color:rgba(20,20,20,1);}
.breadcrumb>li:hover{opacity:1;filter:alpha(opacity=100)}
/*
-->
*/
.btn{border-color:transparent;font-weight:bold;background:rgba(0,0,0,0.2);border-radius:0px;color:#FFF}
.btn:focus{color:#FFF;outline:0}
.btn:hover,.btn.btn-default.btn-clean:hover,.btn.btn-primary.btn-clean:hover,.btn.btn-success.btn-clean:hover,.btn.btn-info.btn-clean:hover,.btn.btn-warning.btn-clean:hover,.btn.btn-danger.btn-clean:hover,.btn.btn-clean:hover,.btn.btn-clean.active,.btn.btn-default.btn-clean.active,.btn.btn-primary.btn-clean.active,.btn.btn-success.btn-clean.active,.btn.btn-info.btn-clean.active,.btn.btn-warning.btn-clean.active,.btn.btn-danger.btn-clean.active{background:rgba(0,0,0,0.2);color:#FFF}
.btn.btn-clean{border-color:#111;background:transparent;color:#FFF}
.btn .caret{border-top-color:#FFF}
.dropup .btn .caret{border-bottom-color:#FFF}
.btn.btn-default{border-color:#f4f4f4;background:#f4f4f4;color:#333}
.btn.btn-default:hover{background-color:#eee;background-image:none}
.btn.btn-default.btn-clean{border-color:#999;background:transparent;color:#666}
.btn.btn-default .caret{border-top-color:#FFF}
.dropup .btn.btn-default .caret{border-bottom-color:#FFF}
.btn.btn-primary{border-color:#41a6ff;background:#41a6ff}
.btn.btn-primary:hover{background-color:#3f97fe;background-image:none}
.btn.btn-primary.btn-clean{border-color:#41a6ff;background:transparent;color:#41a6ff}
.btn.btn-success{border-color:#59ad2f;background:#59ad2f}
.btn.btn-success:hover{background-color:#4f9b2b;background-image:none}
.btn.btn-success.btn-clean{border-color:#59ad2f;background:transparent;color:#59ad2f}
.btn.btn-info{border-color:#2f84b1;background:#2f84b1}
.btn.btn-info:hover{background-color:#25678b;background-image:none}
.btn.btn-info.btn-clean{border-color:#2f84b1;background:transparent;color:#2f84b1}
.btn.btn-warning{border-color:#ffa91f;background:#ffa91f}
.btn.btn-warning:hover{background-color:#ff9806;background-image:none}
.btn.btn-warning.btn-clean{border-color:#ffa91f;background:transparent;color:#ffa91f}
.btn.btn-danger{border-color:#af2f2f;background:#af2f2f}
.btn.btn-danger:hover{background-color:#a62d2d;background-image:none}
.btn.btn-danger.btn-clean{border-color:#af2f2f;background:transparent;color:#af2f2f}
.btn.btn-link{background:transparent;border-color:transparent;color:#FFF}
.btn.btn-link:hover{background:transparent;background-image:none}
.btn.btn-link.btn-clean{border-color:transparent}
.list-group{float:left;padding:0;border:0;width:100%;list-style:none}
.block .list-group{margin:0;padding:0;background:transparent}
.list-group .list-group-item{background: rgba(0, 151, 167, 0.3); border:0;color:black;position:relative;padding:10px 10px 10px 15px}
.list-group.list-group-icons .list-group-item{padding:10px 10px 10px 27px}
.list-group.list-group-icons .list-group-item span[class^='icon-'],.list-group.list-group-icons .list-group-item span[class^='glyphicon']{position:absolute;top:10px;left:10px;opacity:.6;filter:alpha(opacity=60)}
.list-group .list-group-item:hover,.list-group .list-group-item:focus,.list-group .list-group-item:active{background:rgba(0, 151, 167, 0.6);color:#444}
.list-group.list-group-icons .list-group-item:hover span[class^='icon-'],.list-group.list-group-icons .list-group-item:hover span[class^='glyphicon']{opacity:1;filter:alpha(opacity=100)}
.block .content .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}
.list-group .list-group-item .label{float:right;padding:4px 5px}
.list-group>li{margin-bottom:-1px}
.list-group .dropdown-menu{left:auto;right:0}
.list,.block .content.list{padding:0;list-style:none}
.list,.list .list-item,.list .list-title{display:block;width:100%;float:left}
.list .list-title{color:#FFF;font-weight:bold;font-size:12px;text-transform:uppercase;text-decoration:none;padding:10px}
.list .list-item{background:#e7ebec;color:#333;position:relative;overflow:hidden}
.list .list-item:nth-child(2n+1){background:#dee4e5}
.list .list-item:hover{background:#FFF}
.list-default .list-item{background:rgba(0,0,0,0.2);color:#FFF;margin-bottom:3px;overflow:auto}
.list-default .list-item:nth-child(2n+1){background:rgba(0,0,0,0.3)}
.list-default .list-item:hover{background:rgba(0,0,0,0.1)}
.list-default .list-item .list-text{float:left}
.list-default .list-item .list-title{padding-bottom:0}
.list-default .list-item .list-text img{margin:0 5px 0 0}
.list .list-item .list-datetime,.list .list-item .list-info{float:left;padding:8px 10px 8px 10px}
.list .list-item .list-datetime{width:65px}
.list .list-item .list-datetime .date{font-size:14px;color:#ba3450;text-align:center;font-weight:bold}
.list .list-item .list-datetime .time{font-size:11px;color:#8f95a1;text-align:center;line-height:16px}
.list .list-item .list-text{padding:8px 15px 8px 10px}
.list .list-item .list-text .list-text-name{font-size:14px;color:#333}
.list .list-item .list-text p{margin:5px 0;font-size:11px;color:#888d9a;line-height:16px}
.list .list-item .list-text .list-text-info{font-size:11px;color:#666;margin-top:3px;line-height:14px}
.list .list-item .list-controls{position:absolute;width:50%;height:80px;right:-50%;top:0;padding:5px 10px;background:rgba(225,90,0,0.9);transition:200ms;line-height:64px}
.list .list-item:hover .list-controls{transition:200ms;right:0}
.list .list-item .list-controls a{margin-right:10px}
.list.list-contacts .list-controls{height:56px;line-height:48px}
.list-default .list-item .list-text p{font-size:12px;color:#FFF;margin-bottom:3px;margin-top:0;padding-top:0}
.list.list-contacts{background:rgba(220,220,220,1); color : #666;}
.list.list-contacts .list-item{background:rgba(0,0,0,0.2);margin-bottom:1px;color:#FFF;margin-bottom:-1px}
.list.list-contacts .list-item:hover,.list.list-contacts .list-item.active{background:rgba(0,0,0,0.1)}
.list.list-contacts .list-item .list-text .list-text-name{color:#FFF}
.list.list-contacts .list-item .list-text p,.list.list-contacts .list-item .list-text .list-text-info{color:#EEE}
.list.list-contacts .list-item:last-child{margin-bottom:0}
.list-status{width:10px;height:10px;position:absolute;right:10px;top:50%;margin-top:-5px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}
.list-status-online{background:#86d435}
.list-status-offline{background:#ef372e}
.list-status-away{background:#ff9806}
.list .list-item .progress{margin:3px 0 2px}
.messages{padding:10px}
.messages .messages-item{margin-bottom:8px}
.messages .messages-item>img{float:left}
.messages .messages-item.inbox>img{float:right}
.messages .messages-item .messages-item-text{margin-left:48px;font-size:12px;background:rgba(0,0,0,0.2);padding:10px;position:relative}
.messages .messages-item .messages-item-text:after{right:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}
.messages .messages-item .messages-item-text:after{border-color:rgba(0,0,0,0);border-right-color:rgba(0,0,0,0.2);border-width:6px;top:14px}
.messages .messages-item.inbox .messages-item-text{margin-right:48px;margin-left:0}
.messages .messages-item.inbox .messages-item-text:after{right:auto;left:100%}
.messages .messages-item.inbox .messages-item-text:after{border-left-color:rgba(0,0,0,0.2);border-right-color:transparent}
.messages .messages-item .messages-item-date{font-size:11px;text-align:right;opacity:.3;filter:alpha(opacity=30);margin-top:5px}
.messages .messages-item.inbox .messages-item-date{text-align:left}
.messages .messages-item .messages-attachment{padding-top:5px;display:inline-block}
.messages .messages-item .messages-attachment a{display:block;float:left;clear:both;margin-bottom:5px}
.messages .messages-item .messages-attachment a [class^='icon-']{font-size:14px;opacity:.6;filter:alpha(opacity=60)}
.messages .messages-item .messages-attachment a:last-child{margin-bottom:0}
.messages .messages-item .messages-attachment a:hover{text-decoration:underline}
.messages .messages-item .messages-attachment.messages-attachment-inline a{clear:none;margin-right:10px}
.email-list .email-list-item{float:left;position:relative;width:100%;margin-bottom:10px;padding:4px 5px}
.email-list .email-list-item:nth-child(2n){background:rgba(0,0,0,0.1)}
.email-list .email-list-item:hover,.email-list .email-list-item.list-active{background:rgba(255,255,255,0.1);cursor:pointer}
.email-list .email-list-item .item-line{float:left;position:relative;width:100%;margin-bottom:3px}
.email-list .email-list-item .item-line .item-line-box{float:left;width:20px;text-align:center;line-height:19px;margin-right:5px}
.email-list .email-list-item .item-line .item-line-box [class^='icon-']{color:rgba(255,255,255,0.3)}
.email-list .email-list-item .item-line .item-line-title{float:left;font-weight:bold;font-size:12px;line-height:21px}
.email-list .email-list-item .item-line .item-line-date{float:right;line-height:20px;font-size:11px}
.email-list .email-list-item .item-line .item-line-content{float:left;padding-left:25px;color:#EEE}
.email-list .email-list-item .item-line{text-shadow:1px 1px 1px rgba(0,0,0,0.2)}
.email-list .email-list-item .item-line .item-line-box .active{color:#ff9806}
.timeline{width:100%;border-left:10px solid rgba(0,0,0,0.2);margin-left:10px;float:left;padding-top:10px}
.timeline .timeline-item{float:left;width:100%;position:relative;clear:both}
.timeline .timeline-icon{position:absolute;left:-18px;top:0;width:26px;height:26px;border:2px solid rgba(255,255,255,0.4);background:#000;text-align:center;line-height:21px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}
.timeline .timeline-icon [class^='icon-']{font-size:12px}
.timeline .timeline-info-content{background:rgba(0,0,0,0.2);padding:8px;position:relative}
.timeline .timeline-info-content:after{right:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}
.timeline .timeline-info-content:after{border-color:rgba(0,0,0,0);border-right-color:rgba(0,0,0,0.2);border-width:6px;top:8px}
.timeline .timeline-info-content p{margin-bottom:5px}
.timeline .timeline-info-like{float:left;font-size:11px}
.timeline .timeline-info-date{font-size:11px;color:#DDD;text-align:right;margin-top:3px}
.timeline .timeline-info{margin-left:20px;margin-bottom:10px;padding-right:10px}
.timeline p.timeline-info-title{line-height:30px;font-size:12px;margin-bottom:8px;font-weight:bold}
.timeline p.timeline-info-title img{margin-right:5px}div.tagsinput{background:rgba(0,0,0,0.2);float:left}div.tagsinput span.tag{display:block;float:left;padding:3px 5px 4px 5px;background:rgba(0,0,0,0.3);color:#FFF;margin:5px 0 4px 5px;line-height:13px}div.tagsinput span.tag a{color:#AAA;text-decoration:none;font-family:Arial;font-size:11px}div.tagsinput input{width:105px;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;color:#FFF;background:0;border:0;padding:6px 12px 7px}div.tagsinput div{display:block;float:left}
.tags_clear{clear:both;width:100%;height:0}
.not_valid{color:#ff9193 !important}
.popover{background:url('../img/background/bt_cubs.png') left top repeat #222;border-width:3px;border:3px solid #1b1b1b}
.popover.left .arrow:after{border-left-color:#1b1b1b}
.popover.right .arrow:after{border-right-color:#1b1b1b}
.popover.top .arrow:after{border-top-color:#1b1b1b}
.popover.bottom .arrow:after{border-bottom-color:#1b1b1b}
.alert{padding:10px;color:#FFF;border:1px solid rgba(0,0,0,0.1)}
.alert.alert-success{background:#59ad2f}
.alert.alert-info{background:#2f84b1}
.alert.alert-warning{background:#ffa91f}
.alert.alert-danger{background:#af2f2f}
.progress{background:rgba(0,0,0,0.2);margin:6px 0 7px}
.progress-bar{background:rgba(255,255,255,0.7)}
.progress-bar-success{background:#59ad2f}
.progress-bar-warning{background:#ffa91f}
.progress-bar-info{background:#2f84b1}
.progress-bar-danger{background:#af2f2f}
.progress.progress-small{height:5px;margin:13px 0 12px}
.panel{color:#FFF;background:rgba(0,0,0,0.2);border-color:rgba(0,0,0,0.1)}
.panel .panel-heading{color:#FFF;background:transparent;padding-left:10px;border-color:rgba(0,0,0,0.1)}
.panel .panel-body{padding:10px;background:transparent}
.panel .panel-footer{background:transparent;padding-left:10px;border-color:rgba(0,0,0,0.1)}
.panel.panel-success{background:url('../img/background/bt_cubs.png') left top repeat #59ad2f;border-color:#4f9b2b}
.panel.panel-success .panel-heading,.panel.panel-success .panel-footer{border-color:#4f9b2b}
.panel.panel-warning{background:url('../img/background/bt_cubs.png') left top repeat #ffa91f;border-color:#ff9806}
.panel.panel-warning .panel-heading,.panel.panel-warning .panel-footer{border-color:#ff9806}
.panel.panel-info{background:url('../img/background/bt_cubs.png') left top repeat #2f84b1;border-color:#2f84b1}
.panel.panel-info .panel-heading,.panel.panel-info .panel-footer{border-color:#2f84b1}
.panel.panel-danger{background:url('../img/background/bt_cubs.png') left top repeat #af2f2f;border-color:#a62d2d}
.panel.panel-danger .panel-heading,.panel.panel-danger .panel-footer{border-color:#a62d2d}
.panel.panel-primary{background:url('../img/background/bt_cubs.png') left top repeat #41a6ff;border-color:#3f97fe}
.panel.panel-primary .panel-heading,.panel.panel-primary .panel-footer{border-color:#3f97fe}
.carousel-content{width:100%;padding:10px 25px 5px}
.carousel-control{width:20px}
.carousel-control.left,.carousel-control.right{background:0}
.carousel-control span{position:absolute;top:50%;margin-left:-7px;margin-top:-10px;left:50%}
.ui-widget-content{background:rgba(126, 151, 167, 0.9);border-width:3px;border:3px solid #1b1b1b;color:black}
.ui-widget-header{background:transparent;border:0; color : black;}
.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{background:rgba(0, 151, 167, 0.7);border:0;color:#FFF}
.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{background:rgba(0, 151, 167, 0.5);border-color:transparent}
.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight,.ui-state-highlight.ui-state-hover{background:rgba(0,0,0,0.2)}
.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{background:rgba(0, 151, 167, 0.9)}
.ui-datepicker{padding:0;z-index:3000 !important}
.ui-datepicker-inline.ui-datepicker{width:100%;background:rgba(0, 151, 167, 0.5);border-width:3px;border:3px solid rgba(0,0,0,0)}
.ui-datepicker .ui-datepicker-header{padding:3px 0 10px}
.ui-datepicker-today .ui-state-highlight .ui-datepicker table{margin:0 0 5px 0}
.ui-datepicker td span,.ui-datepicker td a{padding:5px}
.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{background:0;text-indent:0 !important;position:relative;opacity:.6;filter:alpha(opacity=60)}
.ui-datepicker .ui-datepicker-prev span:before{position:absolute;content:"\f104";font-family:'FontAwesome';left:0}
.ui-datepicker .ui-datepicker-next span:before{position:absolute;content:"\f105";font-family:'FontAwesome';right:0}
.ui-datepicker .ui-datepicker-prev-hover span,.ui-datepicker .ui-datepicker-next-hover span{color:#FFF;opacity:1;filter:alpha(opacity=100)}
.ui-datepicker .ui-datepicker-prev-hover{left:2px;top:2px;cursor:pointer}
.ui-datepicker .ui-datepicker-next-hover{right:2px;top:2px;cursor:pointer}
.ui-timepicker-div .ui-widget-header{margin-bottom:0}
.ui-timepicker-div dl{text-align:left;padding:0;margin:0}
.ui-timepicker-div dl dt{float:left;width:50px;padding:4px 0 4px 5px}
.ui-timepicker-div dl dd{float:left;width:140px;height:28px;line-height:28px}
.ui-timepicker-div td{font-size:90%}
.ui-tpicker-grid-label{background:0;border:0;margin:0;padding:0}
.ui-datepicker .ui-datepicker-buttonpane{float:left;width:100%;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}
.ui_tpicker_second,.ui_tpicker_millisec,.ui_tpicker_microsec{display:none}
.ui-timepicker-rtl{direction:rtl}
.ui-timepicker-rtl dl{text-align:right;padding:0 5px 0 0}
.ui-timepicker-rtl dl dt{float:right;clear:right}
.ui-timepicker-rtl dl dd{margin:0 45% 10px 10px}
.ui-slider{background:rgba(0,0,0,0.2);border:0}
.ui-slider.ui-slider-horizontal{height:4px;margin:13px 7px}
.ui-slider.ui-slider-vertical{width:4px;margin:7px 10px;float:left}
.ui-slider .ui-slider-handle{width:14px;height:14px;background:#FFF;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;outline:none !important}
.ui-slider.ui-slider-horizontal .ui-slider-handle{top:-5px;margin-left:-7px}
.ui-slider.ui-slider-vertical .ui-slider-handle{left:-5px;margin-left:0;margin-bottom:-7px}
.ui-slider .ui-slider-range{background:rgba(0,0,0,0.2)}
.ui-spinner{padding:0;margin:0;background:transparent;width:100%;border:0}
.ui-spinner .ui-spinner-input{margin:0;padding:6px 12px}
.ui-spinner .ui-spinner-button{width:30px;height:15px;font-size:13px}
.ui-spinner .ui-spinner-button span{background:rgba(0,0,0,0.4);text-indent:0 !important;position:relative;opacity:.6;filter:alpha(opacity=60);color:#FFF;line-height:15px;width:30px;height:15px;cursor:pointer}
.ui-spinner .ui-spinner-up span:before{position:absolute;content:"\f106";font-family:'FontAwesome';left:12px}
.ui-spinner .ui-spinner-down span:before{position:absolute;content:"\f107";font-family:'FontAwesome';left:12px}
.ui-spinner .ui-spinner-button span:hover{background:rgba(0,0,0,0.6)}
.ui-accordion .ui-accordion-content{padding:10px;border-width:1px}
.ui-accordion .ui-state-default .ui-icon{background:0;text-indent:0}
.accordion.accordion-transparent .ui-widget-content{background:transparent;border:0}
.ui-accordion .ui-state-default .ui-icon-triangle-1-s:before{position:absolute;content:"\f107";font-family:'FontAwesome'}
.ui-accordion .ui-state-default .ui-icon-triangle-1-e:before{position:absolute;content:"\f105";font-family:'FontAwesome'}
.dataTable{float:left;border-bottom:1px solid #dae1e8;margin-bottom:5px}
.dataTable div.checker,.dataTable div.radio{display:inherit}
.dataTables_wrapper{float:left;width:100%}
.dataTables_length{width:160px;float:left;padding:5px}
.dataTables_length label,.dataTables_filter label{padding:0;line-height:16px;height:auto;margin:0;font-weight:normal}
.dataTables_length select{width:50px;display:inline;margin:0 5px}
.dataTables_filter{width:160px;float:right;padding-left:5px;padding:5px}
.dataTables_filter label input[type="text"]{width:100px;display:inline;margin-left:5px;border-width:1px}td.dataTables_empty{font-size:11px;text-align:center;color:#333}
.dataTables_info{float:left;font-size:11px;padding:8px 10px;line-height:16px}
.dataTables_paginate{padding:5px 5px;text-align:right;float:right}
.dataTables_paginate a.paginate_disabled_previous,.dataTables_paginate a.paginate_disabled_next,.dataTables_paginate a.paginate_button,.paginate_enabled_next,.paginate_active,.paginate_enabled_previous{padding:4.5px 14px;margin-left:3px;font-size:14px;background:rgba(0,151,162,0.2); line-height : 1.846153846;}
.paginate_active{background:rgba(0,151,162,0.5); color : black;}
.dataTables_paginate .paginate_enabled_next:hover,.dataTables_paginate a.paginate_button:hover,.dataTables_paginate .paginate_enabled_previous:hover{background:rgba(0,151,162,0.4);color : black; cursor:pointer}
.dataTables_paginate a.paginate_disabled_previous,.dataTables_paginate a.paginate_button_disabled,.dataTables_paginate a.paginate_disabled_next{cursor:default;color:#ccc}
.dataTables_paginate a.paginate_button_disabled:hover{box-shadow:none;color:#ccc}
.sorting_desc,.sorting_asc,.sorting{position:relative;cursor:pointer}
.sorting:before,.sorting_desc:before,.sorting_asc:before{position:absolute;right:5px;font-family:'FontAwesome';opacity:.9;filter:alpha(opacity=90)}
.sorting:before{content:"\f0dc";opacity:.3;filter:alpha(opacity=30)}
.sorting_desc:before{content:"\f0d8"}
.sorting_asc:before{content:"\f0d7"}
.sorting_asc_disabled:before{opacity:.1;filter:alpha(opacity=10)}
.sorting_desc_disabled:before{opacity:.1;filter:alpha(opacity=10)}
.ibutton-container{position:relative;height:30px;width:60px;line-height:0;cursor:pointer;overflow:hidden;max-width:200px;-khtml-user-select:none;-o-user-select:none;-moz-user-select:none;-moz-user-focus:ignore;-moz-user-input:disabled;background:rgba(0,0,0,0.3);-moz-border-radius:15px;-webkit-border-radius:15px;border-radius:15px;display:inline-block}
.ibutton-container input{position:absolute;top:0;left:0;filter:alpha(opacity=0);-moz-opacity:.0;opacity:.0;-moz-user-input:enabled !important}
.ibutton-handle{height:30px;width:30px;cursor:inherit;position:absolute;top:0;left:0;background:#FFF;z-index:3;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}div.ibutton-label-on,div.ibutton-label-off{white-space:nowrap;display:block;height:30px;position:absolute;top:0;overflow:hidden}div.ibutton-label-on span,div.ibutton-label-off span{display:none}div.ibutton-label-on{background:#59ad2f;-moz-border-radius:15px;-webkit-border-radius:15px;border-radius:15px}div.ibutton-label-off{background:#af2f2f;width:100%;-moz-border-radius:15px;-webkit-border-radius:15px;border-radius:15px}
.ibutton-padding-left{left:0}
.ibutton-padding-right{right:0}
.ibutton-disabled{cursor:not-allowed !important;opacity:.6;filter:alpha(opacity=60)}
.knob{width:100px;display:inline-block;position:relative}
.knob>div{display:block}
.knob input{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;line-height:11px;text-shadow:1px 0 2px rgba(0,0,0,0.2);color:#FFF !important}
.sparkline{display:inline-block;position:relative;margin-bottom:5px}
.jqstooltip{display:block !important;padding:0 !important;border:0 !important}
.jqsfield{padding:4px 5px 5px;display:inline-block;line-height:13px}#tsp{position:fixed;top:0;left:0;width:100%;height:10px;background:rgba(0,0,0,0.2);z-index:1001;-moz-box-shadow:0 2px 3px rgba(0,0,0,0.3);-webkit-box-shadow:0 2px 3px rgba(0,0,0,0.3);box-shadow:0 2px 3px rgba(0,0,0,0.3)}#tsp.tsp-bottom{top:auto;bottom:0}#tsp .tsp-progress{background:#FFF;display:block;float:left;height:10px}#tsp .tsp-progress.tsp-success{background:#59ad2f}#tsp .tsp-progress.tsp-info{background:#2f84b1}#tsp .tsp-progress.tsp-warning{background:#ffa91f}#tsp .tsp-progress.tsp-danger{background:#af2f2f}
.button-back{float:left}
.button-next,.finish{float:right}
.step{clear:left}
.step label,.step legend{display:none}
.stepy-titles{display:block;list-style:none;margin:0 0 10px 0;padding:0;background:#0097A7 !important;width:100%;float:left}
.stepy-titles li{color:rgba(0,0,0,0.5);cursor:pointer;font-size:12px;font-weight:bold;font-family:Tahoma,Arial,Verdana;float:left;padding:8px 10px;line-height:14px}
.stepy-titles li span{font-size:10px;display:block;font-weight:bold}
.stepy-titles .current-step{color:#000;cursor:auto,font-weight:normal}
.stepy-titles .current-step span{color:#000;font-weight:normal}
.stepy_buttons{padding:0 10px;margin:0;float:left;display:block;width:100%}
.stepy_buttons .btn{outline:none !important}
.login-block{width:300px;margin:100px auto 0}
.registration-block{width:600px;margin:100px auto 0}
.block-error{width:300px;margin:100px auto 0}
.block-error .error-logo{margin-bottom:20px;float:left;width:100%;text-align:center}
.block-error .error-code,.block-error .error-text{font-size:24px;color:#FFF;text-align:center;text-shadow:3px 3px 3px rgba(0,0,0,0.4);width:100%;float:left;margin-bottom:10px}
.block-error .error-text{font-size:14px;margin-bottom:20px}
.block .content.gallery{padding:0}
.block .content.gallery>a{display:block;float:left}
.block .content.gallery-list{padding:0}
.block .content.gallery-list .gallery-item{float:left;position:relative;padding:3px;background:rgba(255,255,255,0.2);width:162px;margin-bottom:10px}
.block .content.gallery-list .gallery-item .gallery-image{float:left}
.block .content.gallery-list .gallery-item .gallery-content{float:left;margin-top:5px;width:100%}
.block .content.gallery-list .gallery-item .gallery-content .title,.block .content.gallery-list .gallery-item .gallery-content .text{font-size:12px;font-weight:bold;float:left;width:100%;padding:5px}
.block .content.gallery-list .gallery-item .gallery-content .text{font-size:11px;font-weight:normal}
.gallery-item .gallery-controls{width:150px;height:115px;padding:43px 0 42px;position:absolute;left:6px;top:6px;background:rgba(0,0,0,0.6);text-align:center;display:none}
.gallery-item .gallery-controls a{display:inline-block;height:30px;width:30px;line-height:30px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;text-align:center;background:rgba(255,255,255,0.4)}
.gallery-item .gallery-controls a span{font-size:14px}
.gallery-item:hover .gallery-controls{display:block}
.plupload_container{background:transparent;padding:0}
.plupload_header{display:none}
.plupload_filelist_footer{height:auto}
.plupload_file_status span{color:#FFF}
.plupload_filelist_header,.plupload_filelist_footer{background:rgba(0,0,0,0.3);border:0;color:#FFF}
.plupload_filelist_header{padding:11px 8px}
.plupload_scroll .plupload_filelist{background:rgba(0,0,0,0.1)}
.plupload_filelist li{background:rgba(0,0,0,0.6);color:#FFF;border-color:#111}li.plupload_droptext{color:#FFF}
.plupload_filelist_header{border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;-webkit-border-radius:3px 3px 0 0}
.plupload_filelist_footer{border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px}
.plupload_button{background:transparent;border-color:#FFF;color:#FFF;padding:3px 10px}a.plupload_disabled:hover,.plupload_button:hover{background:rgba(0,0,0,0.2);color:#FFF}
.plupload_disabled{opacity:.5;filter:alpha(opacity=50)}
.plupload_scroll .plupload_filelist{overflow:auto}
.widget-icon{display:inline-block;background:rgba(255,255,255,0.2);font-size:12px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;text-align:center;line-height:20px;width:30px;height:30px;padding:5px 0}
.widget-icon:hover{background:rgba(255,255,255,0.3)}
.widget-icon.widget-icon-dark{background:rgba(0,0,0,0.2)}
.widget-icon.widget-icon-dark:hover{background:rgba(0,0,0,0.3)}
.widget-icon.widget-icon-large{width:60px;height:60px;padding:10px 0;line-height:40px;font-size:24px}
.widget-icon.widget-icon-xlarge{width:90px;height:90px;padding:15px 0;line-height:60px;font-size:36px}
.widget-icon.widget-icon-circle{background:transparent;border:1px solid #FFF}
.widget-icon.widget-icon-circle:hover{background:rgba(255,255,255,0.1)}
.widget-icon.widget-icon-circle.widget-icon-dark{border-color:#111;color:#333}
.widget-icon.widget-icon-circle.widget-icon-dark:hover{background:rgba(0,0,0,0.1)}
.tasks{width:100%}
.tasks .task-item{float:left;width:33.333333%;padding:0 10px;margin-bottom:10px}
.tasks .task-item .task-item-content{float:left;width:100%;background:rgba(0,0,0,0.2);margin-bottom:10px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}
.tasks .task-item .task-item-content .task-item-head{float:left;width:100%;line-height:30px;font-size:13px;padding:5px 10px 0;font-weight:bold}
.tasks .task-item .task-item-content .task-item-subhead{float:left;width:100%;padding:0 15px;font-size:11px;margin-bottom:20px}
.tasks .task-item .task-item-content .task-item-date{float:left;width:100%;padding:10px;font-size:11px;line-height:20px;background:rgba(0,0,0,0.1)}
.tasks .task-item .task-item-content .task-item-date [class^='icon-']{font-size:14px}
.tasks .task-item.priority-high .task-item-content .task-item-date{background:rgba(204,0,0,0.2)}
.tasks .task-item.priority-mid .task-item-content .task-item-date{background:rgba(255,153,0,0.2)}
.tasks .task-item.priority-low .task-item-content .task-item-date{background:rgba(102,153,0,0.2)}
.tasks.tasks_list .task-item{width:100%;padding:0}
.tasks.tasks_list .task-item .task-item-content{margin-bottom:0}
.tasks.tasks_list .task-item .task-item-head{width:70%}
.tasks.tasks_list .task-item .task-item-subhead{display:none}
.tasks.tasks_list .task-item .task-item-date{width:30%;float:right}
.site-settings{position:fixed;right:0;top:45px;z-index:10}
.site-settings .site-settings-button{position:absolute;left:-36px;top:5px;background:rgba(0,0,0,0.6);width:36px;height:36px;padding:0;text-align:center;-moz-border-radius:5px 0 0 5px;-webkit-border-radius:5px 0 0 5px;border-radius:5px 0 0 5px;cursor:pointer}
.site-settings .site-settings-button span{font-size:18px;line-height:36px}
.site-settings .site-settings-content{position:relative;width:285px;display:none}
.site-settings .site-settings-content .block>div{background:rgba(0,0,0,0.6);padding-bottom:0}
.site-settings .site-settings-content .block>div:last-child{padding-bottom:10px}
.site-settings .site-settings-content .block .header{height:22px;line-height:22px}
.site-settings .site-settings-content .block .header h2{line-height:22px}
.site-settings.active .site-settings-content{display:block}
.site-settings .ss_background,.site-settings .ss_theme{width:30px;height:30px;display:inline-block;cursor:pointer;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;border:2px solid #777}
.site-settings .ss_background.active,.site-settings .ss_theme.active{border:2px solid #FFF}
.icons-list .col-md-3{padding-top:10px;padding-bottom:10px;color:#f0f0f0}
.icons-list .col-md-3:hover{background:rgba(0,0,0,0.1);color:#FFF;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}
.icons-list .col-md-3 [class^="icon-"]{font-size:16px;color:#FFF}
.icons-list-icon{font-size:72px;line-height:114px;text-align:center}
| 92.73057
| 1,454
| 0.770781
|
8278a7ecd80b8d932e094c2c2e8257c62cfaab9a
| 4,113
|
cpp
|
C++
|
src/xmlsettingsdialog/itemhandlers/itemhandlermultiline.cpp
|
devel29a/leechcraft
|
faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a
|
[
"BSL-1.0"
] | 1
|
2017-01-12T07:05:45.000Z
|
2017-01-12T07:05:45.000Z
|
src/xmlsettingsdialog/itemhandlers/itemhandlermultiline.cpp
|
ForNeVeR/leechcraft
|
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
|
[
"BSL-1.0"
] | null | null | null |
src/xmlsettingsdialog/itemhandlers/itemhandlermultiline.cpp
|
ForNeVeR/leechcraft
|
384d041d23b1cdb7cc3c758612ac8d68d3d3d88c
|
[
"BSL-1.0"
] | null | null | null |
/**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization
* obtaining a copy of the software and accompanying documentation covered by
* this license (the "Software") to use, reproduce, display, distribute,
* execute, and transmit the Software, and to prepare derivative works of the
* Software, and to permit third-parties to whom the Software is furnished to
* do so, all subject to the following:
*
* The copyright notices in the Software and this entire statement, including
* the above license grant, this restriction and the following disclaimer,
* must be included in all copies of the Software, in whole or in part, and
* all derivative works of the Software, unless such copies or derivative
* works are solely in the form of machine-executable object code generated by
* a source language processor.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
**********************************************************************/
#include "itemhandlermultiline.h"
#include <QLabel>
#include <QTextEdit>
#include <QGridLayout>
#include <QApplication>
#include <QtDebug>
namespace LeechCraft
{
bool ItemHandlerMultiLine::CanHandle (const QDomElement& element) const
{
return element.attribute ("type") == "multiline";
}
void ItemHandlerMultiLine::Handle (const QDomElement& item,
QWidget *pwidget)
{
QGridLayout *lay = qobject_cast<QGridLayout*> (pwidget->layout ());
QLabel *label = new QLabel (XSD_->GetLabel (item));
label->setWordWrap (false);
const QVariant& value = XSD_->GetValue (item);
QTextEdit *edit = new QTextEdit ();
XSD_->SetTooltip (edit, item);
edit->setPlainText (value.toStringList ().join ("\n"));
edit->setObjectName (item.attribute ("property"));
edit->setMinimumWidth (QApplication::fontMetrics ()
.width ("thisismaybeadefaultsetting"));
connect (edit,
SIGNAL (textChanged ()),
this,
SLOT (updatePreferences ()));
edit->setProperty ("ItemHandler", QVariant::fromValue<QObject*> (this));
edit->setProperty ("SearchTerms", label->text ());
int row = lay->rowCount ();
QString pos = item.attribute ("position");
if (pos == "bottom")
{
lay->addWidget (label, row, 0, Qt::AlignLeft);
lay->addWidget (edit, row + 1, 0);
}
else if (pos == "right")
{
lay->addWidget (label, row, 0, Qt::AlignRight | Qt::AlignTop);
lay->addWidget (edit, row, 1);
}
else if (pos == "left")
{
lay->addWidget (label, row, 1, Qt::AlignLeft | Qt::AlignTop);
lay->addWidget (edit, row, 0);
}
else if (pos == "top")
{
lay->addWidget (edit, row, 0);
lay->addWidget (label, row + 1, 0, Qt::AlignLeft);
}
else
{
lay->addWidget (label, row, 0, Qt::AlignRight | Qt::AlignTop);
lay->addWidget (edit, row, 1);
}
lay->setContentsMargins (2, 2, 2, 2);
}
void ItemHandlerMultiLine::SetValue (QWidget *widget, const QVariant& value) const
{
QTextEdit *edit = qobject_cast<QTextEdit*> (widget);
if (!edit)
{
qWarning () << Q_FUNC_INFO
<< "not a QTextEdit"
<< widget;
return;
}
edit->setPlainText (value.toStringList ().join ("\n"));
}
QVariant ItemHandlerMultiLine::GetObjectValue (QObject *object) const
{
QTextEdit *edit = qobject_cast<QTextEdit*> (object);
if (!edit)
{
qWarning () << Q_FUNC_INFO
<< "not a QTextEdit"
<< object;
return QVariant ();
}
return edit->toPlainText ().split ('\n', QString::SkipEmptyParts);
}
}
| 33.169355
| 83
| 0.669341
|
afe0e954c6ac116edda17819ff41cecf0b8b6796
| 415
|
py
|
Python
|
Sorting/Insertion_Sort/doubledare704.py
|
baroood/Hacktoberfest-2k17
|
87383df4bf705358866a5a4120dd678a3f2acd3e
|
[
"MIT"
] | 28
|
2017-10-04T19:42:26.000Z
|
2021-03-26T04:00:48.000Z
|
Sorting/Insertion_Sort/doubledare704.py
|
baroood/Hacktoberfest-2k17
|
87383df4bf705358866a5a4120dd678a3f2acd3e
|
[
"MIT"
] | 375
|
2017-09-28T02:58:37.000Z
|
2019-10-31T09:10:38.000Z
|
Sorting/Insertion_Sort/doubledare704.py
|
baroood/Hacktoberfest-2k17
|
87383df4bf705358866a5a4120dd678a3f2acd3e
|
[
"MIT"
] | 519
|
2017-09-28T02:40:29.000Z
|
2021-02-15T08:29:17.000Z
|
import random
def insertion_sort(lst):
for index in range(1, len(lst)):
currentvalue = lst[index]
position = index
while position > 0 and lst[position - 1] > currentvalue:
lst[position] = lst[position - 1]
position = position - 1
lst[position] = currentvalue
my_randoms = random.sample(xrange(100), 33)
insertion_sort(my_randoms)
print(my_randoms)
| 20.75
| 64
| 0.633735
|
a91315397c8c36e42f42bb88a5b432299e018051
| 1,022
|
css
|
CSS
|
application/blocks/wanikani_people/css/zmd.hierarchical-display.min.css
|
drago2308/WaniKani-Classroom
|
fbe3521fdab510dfa8607bcaf1a167a147e562da
|
[
"MIT"
] | null | null | null |
application/blocks/wanikani_people/css/zmd.hierarchical-display.min.css
|
drago2308/WaniKani-Classroom
|
fbe3521fdab510dfa8607bcaf1a167a147e562da
|
[
"MIT"
] | null | null | null |
application/blocks/wanikani_people/css/zmd.hierarchical-display.min.css
|
drago2308/WaniKani-Classroom
|
fbe3521fdab510dfa8607bcaf1a167a147e562da
|
[
"MIT"
] | null | null | null |
.zmd-hierarchical-display{visibility:hidden}.zmd-hierarchical-display.in{visibility:visible}.zmd-hierarchical-displaying{visibility:visible}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.zoomIn,.animated.zoomOut{-webkit-animation-timing-function:cubic-bezier(.55,0,.1,1);animation-timing-function:cubic-bezier(.55,0,.1,1)}@-webkit-keyframes zoomIn{from{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes zoomIn{from{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes zoomOut{from{-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:scale(0);transform:scale(0)}}@keyframes zoomOut{from{-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:scale(0);transform:scale(0)}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}
| 1,022
| 1,022
| 0.805284
|
a3ad0ac56eeb3399a98cead4b40fa9380bb87163
| 4,467
|
java
|
Java
|
jqm-all/jqm-runner/jqm-runner-shell/src/main/java/com/enioka/jqm/tools/OsHelpers.java
|
BrystolDash/jqm
|
6dabf8e822be57c978f56c4e9bf55d01e7cec435
|
[
"Apache-2.0"
] | null | null | null |
jqm-all/jqm-runner/jqm-runner-shell/src/main/java/com/enioka/jqm/tools/OsHelpers.java
|
BrystolDash/jqm
|
6dabf8e822be57c978f56c4e9bf55d01e7cec435
|
[
"Apache-2.0"
] | null | null | null |
jqm-all/jqm-runner/jqm-runner-shell/src/main/java/com/enioka/jqm/tools/OsHelpers.java
|
BrystolDash/jqm
|
6dabf8e822be57c978f56c4e9bf55d01e7cec435
|
[
"Apache-2.0"
] | null | null | null |
package com.enioka.jqm.tools;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import com.enioka.jqm.api.JobRunnerException;
import com.enioka.jqm.model.JobInstance;
import com.enioka.jqm.model.JobDef.PathType;
import org.apache.commons.lang.StringUtils;
final class OsHelpers
{
private static Comparator<String> prmComparator = new Comparator<String>()
{
@Override
public int compare(String o1, String o2)
{
return o1.compareTo(o2);
}
};
private OsHelpers()
{}
private static List<String> getSh(String commandLine, Map<String, String> prms)
{
List<String> res = new ArrayList<>(10);
res.add("/bin/sh");
res.add("-c");
addAllParametersAsSingleString(res, commandLine, prms);
return res;
}
private static List<String> getCmdShell(String commandLine, Map<String, String> prms)
{
List<String> res = new ArrayList<>(10);
res.add("cmd.exe");
res.add("/C");
addAllParametersAsSingleString(res, commandLine, prms);
return res;
}
private static List<String> getPowerShell(String commandLine, Map<String, String> prms)
{
List<String> res = new ArrayList<>(10);
res.add("powershell");
res.add("-NoLogo");
res.add("-NonInteractive");
res.add("-WindowStyle");
res.add("Hidden");
res.add("-Command");
addAllParametersAsSingleString(res, commandLine, prms);
return res;
}
private static List<String> getDefaultShell(String commandLine, Map<String, String> prms)
{
String osName = System.getProperty("os.name");
if (osName.startsWith("Windows"))
{
return getCmdShell(commandLine, prms);
}
else
{
return getSh(commandLine, prms);
}
}
/**
* When using /bin/sh -c "..." there is a single argument to the process. This method builds it.<br>
* Note we encourange users through the GUI to only specify the whole shell command in a single field. Only XML imports may result in
* multiple arguments.
*
* @param resultList
* @param ji
*/
private static void addAllParametersAsSingleString(List<String> resultList, String commandLine, Map<String, String> prms)
{
List<String> raw = new ArrayList<>(prms.size() * 2);
// Command itself
raw.add(commandLine);
// Parameters, ordered by key
List<String> keys = new ArrayList<>(prms.keySet());
Collections.sort(keys, prmComparator);
for (String p : keys)
{
if (!prms.get(p).trim().isEmpty())
{
raw.add(prms.get(p).trim());
}
}
if (!raw.isEmpty())
{
resultList.add(StringUtils.join(raw, " "));
}
}
/**
* The most common case: start a process, no need for a shell.
*
* @param ji
* @return
*/
private static List<String> getSimpleProcess(String processPath, Map<String, String> prms)
{
List<String> res = new ArrayList<>(10);
// Process itself
res.add(processPath);
// Optional parameters - keys are just indices to sort the values.
if (prms.isEmpty())
{
return res;
}
List<String> keys = new ArrayList<>(prms.keySet());
Collections.sort(keys, prmComparator);
for (String p : keys)
{
if (!prms.get(p).trim().isEmpty())
{
res.add(prms.get(p).trim());
}
}
// Done
return res;
}
static List<String> getProcessArguments(JobInstance ji)
{
return getProcessArguments(ji.getJD().getJarPath(), ji.getPrms(), ji.getJD().getPathType());
}
static List<String> getProcessArguments(String commandLine, Map<String, String> prms, PathType pathType)
{
switch (pathType)
{
case DEFAULTSHELLCOMMAND:
return getDefaultShell(commandLine, prms);
case POWERSHELLCOMMAND:
return getPowerShell(commandLine, prms);
case DIRECTEXECUTABLE:
return getSimpleProcess(commandLine, prms);
default:
throw new JobRunnerException("Unsupported path type " + pathType);
}
}
}
| 28.452229
| 137
| 0.58809
|
e84f728b4083b8cf2a95cbced5029cbe436a84b4
| 3,606
|
cs
|
C#
|
src/NuGetGallery/Helpers/ViewModelExtensions/PackageViewModelFactory.cs
|
0xced/NuGetGallery
|
00c59a923f36b9f6a8edb5caa3971e4bd23a395f
|
[
"Apache-2.0"
] | 1,022
|
2015-01-08T13:54:07.000Z
|
2022-03-26T01:37:07.000Z
|
src/NuGetGallery/Helpers/ViewModelExtensions/PackageViewModelFactory.cs
|
0xced/NuGetGallery
|
00c59a923f36b9f6a8edb5caa3971e4bd23a395f
|
[
"Apache-2.0"
] | 5,617
|
2015-01-08T08:11:13.000Z
|
2022-03-30T22:33:52.000Z
|
src/NuGetGallery/Helpers/ViewModelExtensions/PackageViewModelFactory.cs
|
0xced/NuGetGallery
|
00c59a923f36b9f6a8edb5caa3971e4bd23a395f
|
[
"Apache-2.0"
] | 614
|
2015-01-05T09:55:15.000Z
|
2022-03-18T13:11:39.000Z
|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using NuGet.Services.Entities;
namespace NuGetGallery
{
public class PackageViewModelFactory
{
private readonly IIconUrlProvider _iconUrlProvider;
public PackageViewModelFactory(IIconUrlProvider iconUrlProvider)
{
_iconUrlProvider = iconUrlProvider ?? throw new ArgumentNullException(nameof(iconUrlProvider));
}
public PackageViewModel Create(Package package)
{
var viewModel = new PackageViewModel();
return Setup(viewModel, package);
}
public PackageViewModel Setup(PackageViewModel viewModel, Package package)
{
if (viewModel == null)
{
throw new ArgumentNullException(nameof(viewModel));
}
if (package == null)
{
throw new ArgumentNullException(nameof(package));
}
viewModel.FullVersion = NuGetVersionFormatter.ToFullString(package.Version);
viewModel.Id = package.Id;
viewModel.Version = String.IsNullOrEmpty(package.NormalizedVersion) ?
NuGetVersionFormatter.Normalize(package.Version) :
package.NormalizedVersion;
viewModel.Description = package.Description;
viewModel.ReleaseNotes = package.ReleaseNotes;
viewModel.IconUrl = _iconUrlProvider.GetIconUrlString(package);
viewModel.LatestVersionSemVer2 = package.IsLatestSemVer2;
viewModel.LatestStableVersionSemVer2 = package.IsLatestStableSemVer2;
viewModel.DevelopmentDependency = package.DevelopmentDependency;
viewModel.LastUpdated = package.Published;
viewModel.Listed = package.Listed;
viewModel.DownloadCount = package.DownloadCount;
viewModel.Prerelease = package.IsPrerelease;
viewModel.FailedValidation = package.PackageStatusKey == PackageStatus.FailedValidation;
viewModel.Available = package.PackageStatusKey == PackageStatus.Available;
viewModel.Validating = package.PackageStatusKey == PackageStatus.Validating;
viewModel.Deleted = package.PackageStatusKey == PackageStatus.Deleted;
viewModel.PackageStatusSummary = GetPackageStatusSummary(package.PackageStatusKey, package.Listed);
viewModel.TotalDownloadCount = package.PackageRegistration.DownloadCount;
return viewModel;
}
private static PackageStatusSummary GetPackageStatusSummary(PackageStatus packageStatus, bool listed)
{
switch (packageStatus)
{
case PackageStatus.Validating:
{
return PackageStatusSummary.Validating;
}
case PackageStatus.FailedValidation:
{
return PackageStatusSummary.FailedValidation;
}
case PackageStatus.Available:
{
return listed ? PackageStatusSummary.Listed : PackageStatusSummary.Unlisted;
}
case PackageStatus.Deleted:
{
return PackageStatusSummary.None;
}
default:
throw new ArgumentOutOfRangeException(nameof(packageStatus));
}
}
}
}
| 41.448276
| 111
| 0.621187
|
ff4a8ab7b459134eb1d8e00e714c994e706008d6
| 460
|
py
|
Python
|
secuwear_backend/api/migrations/0012_auto_20180113_1300.py
|
MLHale/secuwear-project
|
a92cd4a4f8281e7762bfcc5d117edfcc0dbdbb6e
|
[
"MIT"
] | null | null | null |
secuwear_backend/api/migrations/0012_auto_20180113_1300.py
|
MLHale/secuwear-project
|
a92cd4a4f8281e7762bfcc5d117edfcc0dbdbb6e
|
[
"MIT"
] | null | null | null |
secuwear_backend/api/migrations/0012_auto_20180113_1300.py
|
MLHale/secuwear-project
|
a92cd4a4f8281e7762bfcc5d117edfcc0dbdbb6e
|
[
"MIT"
] | 2
|
2020-09-10T22:28:23.000Z
|
2021-03-23T22:23:58.000Z
|
# -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2018-01-13 19:00
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0011_auto_20180113_1248'),
]
operations = [
migrations.AlterField(
model_name='btleevent',
name='run',
field=models.CharField(blank=True, max_length=100),
),
]
| 21.904762
| 63
| 0.617391
|
3fbb6389ff9d0bba7bf9455b9ec99e7bfd3bfc9f
| 39,359
|
sql
|
SQL
|
jovi_blog.sql
|
jovijulian/blog-laravel
|
727db38a68df7c04ba50a73426b17d0e7dd16f66
|
[
"MIT"
] | null | null | null |
jovi_blog.sql
|
jovijulian/blog-laravel
|
727db38a68df7c04ba50a73426b17d0e7dd16f66
|
[
"MIT"
] | null | null | null |
jovi_blog.sql
|
jovijulian/blog-laravel
|
727db38a68df7c04ba50a73426b17d0e7dd16f66
|
[
"MIT"
] | null | null | null |
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Oct 07, 2021 at 06:09 AM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 7.4.15
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `jovi_blog`
--
-- --------------------------------------------------------
--
-- Table structure for table `categories`
--
CREATE TABLE `categories` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `categories`
--
INSERT INTO `categories` (`id`, `name`, `slug`, `created_at`, `updated_at`) VALUES
(1, 'Web Programming', 'web-programming', '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(2, 'Personal', 'personal', '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(3, 'Web Design', 'web-design', '2021-09-13 23:27:11', '2021-09-13 23:27:11');
-- --------------------------------------------------------
--
-- Table structure for table `failed_jobs`
--
CREATE TABLE `failed_jobs` (
`id` bigint(20) UNSIGNED NOT NULL,
`uuid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
`queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_resets_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2021_08_25_065748_create_posts_table', 1),
(5, '2021_08_27_062423_create_categories_table', 1),
(6, '2021_10_05_022519_add_is_admin_to_users_table', 2);
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `posts`
--
CREATE TABLE `posts` (
`id` bigint(20) UNSIGNED NOT NULL,
`category_id` bigint(20) UNSIGNED NOT NULL,
`user_id` bigint(20) UNSIGNED NOT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`excerpt` text COLLATE utf8mb4_unicode_ci NOT NULL,
`body` text COLLATE utf8mb4_unicode_ci NOT NULL,
`published_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `posts`
--
INSERT INTO `posts` (`id`, `category_id`, `user_id`, `title`, `slug`, `image`, `excerpt`, `body`, `published_at`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 'Voluptatum eum asperiores eius distinctio.', 'quisquam-reiciendis-omnis-in-ea-sit-laboriosam', NULL, 'Qui quisquam fugit eos laboriosam nulla voluptas. Ut labore laudantium assumenda totam eos est aut. Rerum porro adipisci nostrum inventore et et quibusdam vitae. Quia nam rerum et enim dolores nesciunt commodi blanditiis.', '<p>Vel aliquam fugit voluptatem quia hic voluptates. Enim nulla ipsa iure autem autem. Ut sit facere aperiam sunt natus maxime placeat.</p><p>Consequuntur distinctio illo sit est. Iste quis provident aliquam molestiae magni. Ut consectetur est perferendis ut distinctio similique. Totam natus consequuntur consequuntur aut doloribus. Impedit quidem temporibus expedita.</p><p>Alias rerum aut tempore voluptates aut dolore. Vel id esse distinctio sunt. Ipsam dolore hic delectus architecto et temporibus nam. Voluptas atque error voluptatibus ad earum.</p><p>Nisi id architecto deleniti. Eius in consequatur velit assumenda rem. Aut deserunt ducimus quidem dolor unde dicta. Nisi cum soluta hic labore.</p><p>Necessitatibus incidunt sint eveniet praesentium et aut. Deleniti aperiam consequatur aperiam fuga nobis sed tempore est. Totam rerum neque quibusdam porro voluptas voluptatibus in quis. Quia rerum quae voluptatibus corrupti maxime.</p><p>Vel sequi voluptatem nulla odio. Consequuntur qui consequatur quas repudiandae blanditiis labore consectetur qui. Numquam ut et nobis dolor.</p><p>Qui temporibus earum ratione est et est. Excepturi vel non earum et earum maxime. Eligendi assumenda laborum et qui autem vitae pariatur velit. Quae aut aperiam amet itaque aperiam.</p><p>Exercitationem hic eum et est ratione. Maiores omnis facere sint repellat vel nesciunt. Quae dolor aliquam et rerum odit et.</p><p>Tempora porro incidunt aut ab. Magnam repudiandae et odit. Consequatur est est similique sunt dolores adipisci. Delectus sunt ipsum nisi error amet magni eveniet.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(2, 1, 2, 'Quibusdam quo.', 'est-earum-harum-qui-rerum', NULL, 'Eligendi soluta ducimus sapiente aut inventore aspernatur. Consequatur sed est est ratione distinctio. At corporis aliquid corporis perferendis architecto. Nostrum vel facilis commodi qui.', '<p>Hic dolorem occaecati et nesciunt et. Quia inventore quisquam repudiandae nostrum. Rerum omnis occaecati provident. Sed qui doloribus consectetur cum atque quaerat.</p><p>Natus voluptatem non rem ut voluptatibus sit delectus. Quibusdam iste sint aut ut et soluta. Asperiores dolor vel rem deserunt vitae consequatur.</p><p>Alias commodi blanditiis error. Asperiores et cumque dolorum sunt incidunt. Qui magnam voluptate laudantium quidem qui optio et.</p><p>Minima et corrupti quis non saepe. Voluptas ut incidunt aut nihil quia voluptas quibusdam. Consectetur et doloribus quisquam repellat hic doloremque voluptate sint.</p><p>Ullam unde voluptas fugiat aut. Quam maiores eum consequatur eos.</p><p>Quisquam nobis maxime consectetur explicabo natus dicta consequuntur. Ea iste veniam ratione aspernatur. At ut odio voluptatibus temporibus qui et eaque. Modi officiis alias ut eveniet.</p><p>Fuga ipsam et voluptas quia. Sunt dignissimos qui ab possimus perspiciatis sapiente.</p><p>Saepe cum sit enim cum aut labore sed. Incidunt labore maiores accusamus laboriosam sed et esse. Beatae provident qui nisi similique error doloremque et.</p><p>Accusamus laborum vel iure mollitia. Nobis repellat cumque rerum animi quibusdam occaecati iure. Facilis eos expedita corrupti iure. Et velit et expedita cum.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(3, 2, 1, 'Quo ullam velit.', 'ipsam-rerum-ut-officia-ut', NULL, 'Ab tenetur asperiores placeat nam dolorem aliquam atque. Alias accusantium non explicabo ratione consequatur dolor rerum voluptate. Ex minima iusto est amet omnis iure omnis. Cumque ipsum qui nisi aut.', '<p>Labore aut quo vero fugiat aut eaque. Autem neque sapiente sed aut ratione. Iure quibusdam sint consequuntur accusantium iusto.</p><p>Voluptas dolorem debitis illo voluptatibus. Sit non exercitationem labore quisquam consequuntur assumenda. Optio corrupti porro ducimus facilis. Minus earum at ratione cupiditate unde labore non porro.</p><p>Amet cum corrupti non exercitationem minima eum officiis. Molestias voluptatem quia iure aut fugiat esse et. Et ut velit ullam accusamus est voluptas. Vitae illum et libero at.</p><p>Ab aut ipsam aut delectus molestiae. Sint odio repellat facilis magni labore consequatur iste. Error est qui ipsam hic molestiae rerum. Repudiandae dolorem quasi sapiente vel voluptatem consequuntur.</p><p>Id eveniet iusto nesciunt sapiente doloribus sed blanditiis nemo. Numquam sit et repellendus distinctio et aliquam ut officiis. Ea aperiam at accusantium perferendis nemo.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(4, 1, 3, 'Molestiae qui qui.', 'quidem-sint-et-sint-ratione-et-possimus', NULL, 'Voluptatem et qui expedita labore molestias. Pariatur quo temporibus sunt vitae aperiam aliquam quasi sit. Voluptatem dolorem molestiae est veniam. Sapiente earum unde eveniet ex et esse. Nam voluptatem nihil facere quia.', '<p>Ipsum ipsa quia eveniet fuga aliquid omnis enim. Enim voluptatem suscipit temporibus. Doloribus error laboriosam dignissimos ea perspiciatis est.</p><p>Voluptates at ut doloremque sit. Explicabo est incidunt est. Animi modi quia quod rem consequatur enim provident. Placeat natus aut exercitationem qui ea quo omnis.</p><p>Necessitatibus veniam recusandae nostrum et et libero. Amet vitae ipsa modi vel. Quos sunt et officia id ut. Deleniti corrupti fuga voluptatibus rerum.</p><p>Consequatur aperiam et aut omnis neque illo facere doloremque. Eos reiciendis non ratione error consectetur. Voluptatum unde enim incidunt ab accusantium. Aliquam cumque reprehenderit consequatur amet.</p><p>Expedita aspernatur autem maxime. Voluptatem quo consequatur autem fuga repellat vitae quia. Qui enim deleniti sit tenetur magnam amet deserunt. Ut cumque mollitia asperiores laborum.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(5, 1, 2, 'Qui fugiat ut ut.', 'doloribus-omnis-nihil-iure-vitae-et-et-deserunt', NULL, 'Repudiandae possimus inventore autem. Quia repellendus magni voluptas. Unde ab molestiae quas voluptatem sed repellat. Dolorem ut soluta libero mollitia magnam asperiores.', '<p>A molestias minima tempora minima qui nostrum doloribus dolorem. Est voluptas non omnis. Cumque et consectetur asperiores ea officiis iusto.</p><p>Optio et commodi enim enim quas corrupti ea ut. Illum voluptas et vitae id. Exercitationem quia aperiam neque similique quam.</p><p>Veritatis facilis libero voluptatem. Voluptatem est est quo reiciendis et voluptas. Explicabo error placeat soluta ut. Ut corporis repudiandae doloremque asperiores.</p><p>Amet et hic ipsam ipsum soluta quis expedita voluptatem. Minima consequatur officia aut voluptatem consequatur. Sit est deleniti deleniti consequuntur vero.</p><p>Est ducimus saepe eum excepturi et. Nulla aliquam qui ex beatae consequatur ut quam. Adipisci ea corrupti perspiciatis quia.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(6, 2, 1, 'Corrupti velit ut velit temporibus officia ut.', 'eius-sunt-quo-qui-at-sequi-ut-et', NULL, 'Dolorem quis ea alias delectus. Amet enim suscipit voluptas non natus. Nihil qui et sint a earum.', '<p>Veritatis qui ab porro doloremque. Illo sunt voluptate et ratione numquam. Similique necessitatibus earum in dignissimos itaque et. Voluptas ullam est architecto nesciunt reprehenderit et maxime.</p><p>Qui porro maxime et deleniti dolor harum. Beatae quia quis sit rerum autem voluptatem nesciunt. Molestiae quisquam natus aliquam rerum ipsa eos ut.</p><p>Accusantium corporis occaecati animi et culpa est. Numquam fuga ex aperiam eveniet quo et ex. Quisquam tempore nemo praesentium qui aliquid. Asperiores omnis vel est est nam tempore voluptatum.</p><p>Ut ipsum quo voluptates magnam iste qui. Autem est aut et dolores unde. Dolorem doloremque cupiditate nihil eos.</p><p>Autem aut id necessitatibus veritatis voluptate totam. Dolore praesentium blanditiis laboriosam.</p><p>Nemo eum omnis rerum odit labore. Consequuntur voluptatem numquam aut perferendis. Dolore laudantium occaecati nostrum asperiores omnis accusantium nisi.</p><p>Assumenda harum sit eos expedita. Iusto reiciendis quo adipisci aut nisi sed. Nisi id modi magni pariatur et quia.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(7, 1, 2, 'Maiores sint eum voluptatibus.', 'perspiciatis-accusantium-et-et-quasi-officia', NULL, 'Sunt sint quia repudiandae quia quo. Voluptas sed nobis aliquam. Ratione asperiores numquam tenetur quasi sequi eos ex qui. Id ratione pariatur sunt voluptas officia.', '<p>Fugit deserunt a delectus blanditiis doloremque nihil. Perferendis aut sed dolore repellat saepe laboriosam.</p><p>Ut omnis esse nulla repellendus et nostrum dolorem. Animi nisi recusandae et aut reprehenderit voluptas harum. Qui nobis distinctio similique sequi.</p><p>Dolor cumque assumenda molestias accusamus eos. Iste nobis id rerum doloribus et reprehenderit enim. Ut ratione id et ipsam adipisci.</p><p>Ut asperiores atque ab ipsum aut doloremque harum rerum. Eaque dignissimos sit et. Sed accusamus sapiente autem aut facilis. Voluptatem et inventore quia.</p><p>Repellendus est quis enim excepturi rem. Est quaerat facilis dolor provident. Nemo sequi aspernatur voluptate tempore dicta.</p><p>Nemo est molestiae necessitatibus dolores et dolorem ut. Voluptatem quia voluptas laborum qui. Enim est quia soluta laborum excepturi. Suscipit sit veritatis sed perspiciatis culpa excepturi saepe voluptatem. Voluptatem voluptatem sed voluptatum.</p><p>Id dolorem molestiae incidunt odio eaque nihil praesentium ex. Voluptas quasi dolores ipsam laborum. Facere omnis qui recusandae vel et corrupti quasi.</p><p>Voluptate voluptas minus voluptatem eius at distinctio ea odio. Est itaque magni facere. Quia dolor voluptates nesciunt aperiam ab in minima.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(8, 1, 1, 'Saepe ipsum sint occaecati eos velit.', 'expedita-quae-rerum-error-expedita-non-molestiae-itaque', NULL, 'Aut ab sit tempore laborum. Et incidunt hic debitis et illo earum nemo. Voluptatem numquam aspernatur repellendus blanditiis voluptatem aut.', '<p>Accusantium perferendis repudiandae enim commodi distinctio vel. Distinctio tempora officia quas quia officiis qui soluta. Aliquid doloremque architecto omnis quo maiores.</p><p>Voluptas dolor at libero occaecati culpa. Repellendus aut sint voluptatibus voluptatem ad. Facilis et similique autem voluptas et laborum.</p><p>Non eum dolorum voluptas iusto et. Occaecati et et dolores cupiditate.</p><p>Et et maiores maiores. Beatae ipsum quia sed rem et. Minus quod corrupti in quia dicta voluptas iusto tenetur.</p><p>Quia officiis nulla veniam iste. Autem nam odio sint harum alias blanditiis earum fuga. Neque aspernatur facere quis et eveniet quasi. Quia inventore ut quibusdam voluptates labore atque consequatur et. Odit et quo consequuntur a voluptatem corrupti et.</p><p>Minima ea culpa sint. Suscipit in aspernatur rerum vitae impedit. Blanditiis asperiores perferendis quis. Harum voluptatem pariatur voluptates.</p><p>Ut et et delectus blanditiis necessitatibus incidunt. Voluptates ea doloremque velit qui voluptates quo minus. Voluptatem quae asperiores enim.</p><p>In ullam aut et voluptas ab ut possimus. Est sint beatae nihil quod dignissimos quia. Saepe quo beatae modi voluptas ad eum quis voluptate.</p><p>Et quis placeat quos animi ex et. Ad enim velit doloremque dolore. Eius voluptatem ullam eligendi et. Et nostrum esse dolor voluptas quod enim aut. Et quod praesentium pariatur ea ipsum eos temporibus.</p><p>Quae aut aperiam nulla labore ipsam est id. Autem soluta impedit et suscipit. Et esse ad ad in laudantium.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(9, 2, 1, 'Vel minus omnis voluptas doloremque repellat aut perferendis.', 'labore-ut-quos-temporibus-quae-assumenda-tenetur', NULL, 'Nesciunt consequatur quod est. At nulla fuga magni qui.', '<p>Natus quia ut necessitatibus quam dolor ut. Temporibus assumenda consectetur harum aut consectetur beatae et pariatur. Reprehenderit non officiis eos rerum suscipit ea. Excepturi ut dolores aliquid id voluptatem facilis.</p><p>Alias ut qui cum recusandae et illo similique. Magni quidem fuga tempore velit reiciendis molestiae. Iusto aliquid alias iusto ea.</p><p>Qui placeat rem quidem natus. Ut dolores sed omnis magni eveniet est. Porro exercitationem non sunt labore ratione ab. Tenetur perferendis eos qui eligendi.</p><p>Vitae eum ut reprehenderit consequuntur asperiores rerum perferendis. Commodi facere ut est. Quia delectus quia dolorem aut.</p><p>Minus voluptatibus vero autem facere aut ipsum. Quo ad soluta harum magnam qui in et. Id sint doloremque omnis eveniet officiis eum. Corporis pariatur eum laboriosam.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(10, 2, 1, 'Sapiente quis rerum eos qui qui dolorem quia aspernatur dolor.', 'et-vel-autem-id-quia-illum', NULL, 'Nisi temporibus nisi laborum. Eaque reiciendis voluptas odio voluptatibus laboriosam perferendis qui. Eligendi unde sed voluptatem quia.', '<p>Libero praesentium nemo autem reprehenderit et consequatur. Itaque quia nulla cumque quidem sed. Unde quis qui rerum et aliquid. Soluta veritatis qui aut.</p><p>Rerum voluptas sit illo ad et. Voluptate iste neque quam aperiam deserunt harum. Est omnis hic assumenda nihil et eos distinctio. Sed suscipit debitis corporis dolores sit ipsa eius.</p><p>Quos sapiente odio commodi magni nulla. Atque et quis voluptatum inventore ut perspiciatis ducimus. Enim non fugit sunt tempore consequuntur sequi expedita. Earum qui voluptatibus odit beatae praesentium. Blanditiis sit tempora minus aliquid libero omnis odio at.</p><p>Deleniti eum unde ea itaque deleniti dolor dolorem. Dolores qui in et. Consectetur sed provident aliquam sed quisquam quibusdam eveniet iure. Suscipit blanditiis voluptas deleniti consequatur eaque reiciendis soluta.</p><p>Vel deserunt et aperiam adipisci ut dolor. Laborum eaque commodi et earum in. Porro voluptas velit repellendus ea minima.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(11, 2, 3, 'Porro laudantium sint reiciendis.', 'in-laborum-ipsa-unde-laboriosam-nisi-neque', NULL, 'Aut dolor dolorem repellendus aut voluptatem at aut autem. Inventore deleniti et natus possimus sed et. Qui nihil ad nobis placeat voluptatem ad minima quo. Odio natus non totam.', '<p>Facere consequuntur quae nostrum repellendus laudantium. At ut aut consequuntur adipisci aut ea necessitatibus rerum. Quia voluptates dolores dicta doloribus rem eum quis.</p><p>Veniam sequi enim tempore velit non est. Natus nihil distinctio temporibus perspiciatis. Quam deserunt odio reiciendis quam reiciendis. Voluptas aliquid voluptas nulla ut dolores voluptas numquam. Natus voluptates occaecati cum esse dolorem.</p><p>Autem odio distinctio voluptas sint quod. Ut cum ut accusantium vel. Itaque magnam quis sequi sed eos aperiam.</p><p>Omnis neque qui est dolorem soluta. Officiis cupiditate suscipit rerum ipsa aliquid. Neque molestias eum quibusdam necessitatibus quo ut voluptate.</p><p>Recusandae numquam veritatis assumenda qui. Perferendis et quibusdam alias aperiam deserunt impedit. Doloribus omnis incidunt ea repudiandae quas quis tempora quam. Quaerat nisi iusto voluptatum libero est.</p><p>Dicta necessitatibus perferendis necessitatibus sit rerum. Ad voluptates aut voluptatibus quod dolor dolore. Dolore in quasi necessitatibus at.</p><p>Sed voluptatem velit quia expedita officia iure. Adipisci dicta voluptatem quaerat hic fugit quae. Doloribus exercitationem nobis illo reprehenderit itaque ducimus iure.</p><p>Incidunt delectus provident aspernatur sunt aut. Et ullam quod neque et magnam error dolores. Voluptas provident quis iure a. Rerum ratione et in. Sit voluptas necessitatibus perferendis.</p><p>Quia in adipisci delectus impedit. Minima eligendi voluptatum accusantium natus. Perspiciatis officiis eos deleniti nihil numquam dolores.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(12, 1, 1, 'Dolores blanditiis esse voluptatibus voluptate natus et odit quos maxime.', 'dolore-beatae-quisquam-hic-est-nisi', NULL, 'Voluptates quae vero deleniti non distinctio. Consectetur odit ea neque nisi et. Sed molestias nobis incidunt harum repellat exercitationem placeat.', '<p>Nobis delectus quia deserunt sed. Illo id dolor tempora ipsam cum. Ad qui ipsum voluptatem quos velit qui.</p><p>Velit officiis soluta vitae vel quia et. Nihil qui ab aut quis repellat sunt. Possimus explicabo sed voluptatem rem aut.</p><p>Dolor est quibusdam voluptate quis. Et et consequuntur quia expedita dicta voluptatem. Eaque praesentium illo laudantium itaque ratione. Adipisci distinctio corporis quis et facere itaque est.</p><p>Molestiae ad suscipit et repellat cum est ut. In ut velit officia. Necessitatibus in sit doloremque odio asperiores necessitatibus molestiae modi. Nesciunt dolorum ut ipsam saepe.</p><p>Quod et molestiae voluptas ut. Nihil cum reprehenderit nam quidem velit omnis est numquam. Sunt rerum rerum quas in perspiciatis dolores voluptate. Id vero ad aut nesciunt.</p><p>Voluptates minus et voluptatem repudiandae dicta. Esse deserunt nulla non non et quo. Dolore aperiam cupiditate facere quibusdam qui fuga vero.</p><p>Est rerum voluptas minus. Possimus ut ex eveniet debitis facere dolores explicabo. Iusto sint ea ut aliquid.</p><p>Magni similique impedit accusantium eos. Non dolores sit ratione aperiam eum magnam. Est a est at optio delectus. Saepe rerum quas expedita hic reiciendis accusamus repellat.</p><p>Rerum nobis nemo laboriosam et et vel nobis quis. Dolorum esse totam ut harum fugiat in. Deleniti provident autem omnis harum quas similique. Itaque fugiat ducimus est at consequatur et quia nemo.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(13, 1, 3, 'Debitis eos sed.', 'atque-similique-velit-sunt-maxime-corrupti-rerum-et', NULL, 'Optio dolor nisi quae quas. Non nulla sed quae vitae. Iste repellat qui est aut. Sit hic qui dolor magnam pariatur rerum accusamus.', '<p>Labore unde iste impedit asperiores. Reiciendis suscipit eum eos aut distinctio non. Et soluta cumque sed sit sapiente ea dolores.</p><p>Pariatur sapiente ab autem consequatur. Dolore architecto a iure quia. Repellendus assumenda voluptatem qui at. Earum tempora quia soluta possimus atque quia est. Doloremque occaecati et velit ut quisquam aspernatur aut.</p><p>Perspiciatis beatae et error animi. Libero et vero impedit hic. Soluta tempora vel veniam nemo aut. At pariatur id perferendis consectetur reprehenderit. Cupiditate ratione quasi esse voluptatibus neque placeat.</p><p>Molestias enim labore dolores exercitationem deleniti. Quas dolorem sint dolorem accusantium quae. Quia quia voluptatum similique est magni.</p><p>Et aut molestiae ut aut magnam sint magni. Aut sunt iusto harum iusto laudantium. Sequi voluptas neque unde id repellendus id delectus. Mollitia distinctio qui molestiae minima.</p><p>Voluptate consequuntur autem sit accusamus dolor atque ipsa quod. Vero totam enim sequi et est at sunt fugit.</p><p>Facilis consequuntur et est nulla unde nesciunt sunt. Dolores et labore consequatur aliquam. Consequatur facilis harum impedit vel perspiciatis. Culpa id dolores id dolorem blanditiis eligendi rem.</p><p>Fugit aut eligendi voluptatem voluptatum aut saepe sed. Possimus excepturi est provident vel totam doloremque atque.</p><p>Facere reiciendis eaque possimus vero magnam voluptatum eligendi earum. Nobis voluptas aliquid in est voluptas. Impedit incidunt asperiores vel ipsam accusantium temporibus dolorum. Facilis possimus voluptatibus dolores aliquid maxime praesentium autem.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(14, 1, 3, 'Quidem minus dolorum quidem nemo alias.', 'repellat-earum-temporibus-consequatur-ad', NULL, 'Eligendi quis consequatur eum repellendus dolorem voluptatem doloremque. Ducimus laudantium sint optio qui dolores temporibus autem enim. A odio quis et rerum voluptas est quis. Laudantium nihil consectetur assumenda aperiam amet ipsa.', '<p>Autem quis autem quo officiis. Libero rerum perferendis consequuntur voluptatem. Autem cumque natus qui iusto. Debitis et voluptatum dolor et delectus rerum.</p><p>Sit autem occaecati consectetur eaque et alias. Unde officia soluta vero voluptas. Illo voluptas sunt qui at. Officiis quo suscipit molestiae ducimus ut culpa perferendis.</p><p>Eaque non consectetur pariatur veritatis. Quia sit alias nemo nulla expedita expedita quisquam excepturi. Itaque nihil sit modi suscipit ratione. Tempora libero voluptatem iure deserunt. Natus eum illum voluptas assumenda quos nobis suscipit.</p><p>Deserunt dolores qui soluta ut harum aliquam aut. Veniam voluptas assumenda facilis voluptatem. Omnis animi non voluptatem ducimus dolore. Non aut aut ex.</p><p>Eos ut delectus id eius eum odio blanditiis. Quasi ab mollitia aut eum doloribus magnam tempore vitae. Quibusdam consectetur enim tempore impedit laboriosam. In aut culpa expedita itaque id ab et.</p><p>Ducimus rerum nostrum aperiam fugit qui et. Facere quam dolorum corporis optio et est et tempora. Pariatur optio cum voluptatem animi vel et officiis distinctio.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(15, 2, 3, 'Aut quia asperiores omnis delectus in non.', 'unde-earum-omnis-eius-maxime-consequatur-minima', NULL, 'Esse placeat blanditiis quae omnis. Voluptas omnis placeat consequatur sint. Voluptatum quis cumque nesciunt dolore. Itaque unde laborum et ad dolor incidunt aliquam.', '<p>Aliquam possimus autem ut quisquam reiciendis quasi quos. Tempore aliquid ex reprehenderit nisi perferendis. Ea maiores dolor ut a dicta. Molestiae necessitatibus omnis esse maiores.</p><p>Hic impedit molestiae ipsum non. Earum maiores velit delectus vitae. Commodi voluptatem qui aut dicta provident odio amet deleniti. Nemo id et et voluptatem est. Ut blanditiis qui voluptates vero repudiandae est.</p><p>Et repudiandae veritatis necessitatibus animi fuga. Sed praesentium dolorem sed qui quaerat ut et et. Aliquam deleniti ea ad laudantium.</p><p>Laboriosam laborum in quidem saepe aut quis ut. Nam iste architecto ut esse et vel quidem.</p><p>Esse voluptatem voluptates eligendi dolores deleniti voluptatum aut. Odio assumenda sapiente neque eos deserunt ut et atque. Et officiis tenetur ea. Voluptatem perferendis est veritatis aut aliquam ex autem.</p><p>Nihil quo officiis quam ab harum labore. Nesciunt non doloremque nam quas dignissimos hic.</p><p>Illo et autem vero eaque quo. Sapiente dicta eum veritatis qui omnis ipsum doloribus. Consequuntur saepe accusamus qui eligendi.</p><p>Praesentium et velit quidem cum fugit enim. Quidem qui impedit modi ea sed. Quam est vero quibusdam perferendis impedit corrupti autem. Sed et corporis sapiente.</p><p>Qui in officia corrupti sed. Est sit pariatur aut et. Nobis est ab ea laborum voluptatum qui occaecati.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(16, 2, 1, 'Est blanditiis earum et provident culpa.', 'cum-soluta-nisi-sit-libero-exercitationem-explicabo-nemo', NULL, 'Beatae vel sequi officiis. Sed autem voluptatem illum. Sed qui repellendus ut sapiente debitis amet quasi.', '<p>Eum ut temporibus ut atque placeat. Est repellendus porro quibusdam omnis. Architecto hic ea sit corporis deleniti et officiis. Et soluta non fuga impedit maiores repellendus repellendus. Eum temporibus officia ut omnis numquam odit rerum.</p><p>Voluptatem omnis molestiae est quaerat pariatur et et. Et doloremque nam voluptatum odit velit consequuntur non. Et rerum et reiciendis natus dignissimos. Similique praesentium laudantium consequatur architecto. Adipisci fugit ut voluptates qui voluptatem qui.</p><p>Autem voluptatem sed sit quam quasi culpa. Minus enim enim consectetur consequatur voluptate odit. Dicta incidunt adipisci ut nemo ipsa est voluptatem. Reiciendis corrupti officiis nihil eum libero. Enim error quo eius similique excepturi deleniti adipisci.</p><p>Aut sapiente id in mollitia inventore dolorem enim maxime. Illo et fuga et voluptas occaecati aut fugiat. Est numquam aut dolor voluptatem consequatur ipsa perspiciatis eius. In consequuntur doloremque vel non repellendus laboriosam accusamus.</p><p>Optio in et labore voluptatem quia placeat tenetur ut. Possimus aut eum autem qui veniam.</p><p>Et vel dolorem qui. Asperiores et earum ea. Tempora voluptas rem sit dolor consequatur exercitationem natus. Doloribus dolor ullam aut voluptatem explicabo aspernatur quo.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(17, 1, 3, 'Perspiciatis repudiandae blanditiis.', 'autem-dolores-vel-non-esse-perspiciatis-voluptatem-eos', NULL, 'Error quisquam ullam minus possimus molestiae et. Reiciendis illo odio atque blanditiis. Quae labore suscipit a ea dolor pariatur quidem. Non repudiandae sit minus quo aut veritatis nihil. Ut perspiciatis natus architecto commodi blanditiis quae repellat.', '<p>Sint sed est aliquid animi quo non accusantium. Voluptatibus rerum laboriosam tempora maiores sint sapiente impedit nostrum.</p><p>Itaque possimus repudiandae veritatis. Culpa sed occaecati eum earum vitae. Ut recusandae fuga nostrum quam. Animi beatae tempore perferendis dolore maiores qui reiciendis.</p><p>Exercitationem dolor et accusamus magnam. Aut molestias natus molestiae sunt sed harum. Eos id ut nihil.</p><p>Minus cum animi adipisci. Possimus impedit expedita temporibus debitis molestiae recusandae. Et veniam modi vero est omnis. Temporibus nulla esse expedita aut totam neque possimus pariatur.</p><p>Repellat eius ut explicabo quia. Illo quaerat minus veniam unde voluptas qui ad non. Eum aperiam architecto error sunt quo minima. Expedita doloremque nostrum illo unde molestias sunt.</p><p>Velit praesentium est est. Quis ut dignissimos et est. Recusandae eum eum atque natus dolores. Repellat optio repellat totam ea. Animi qui voluptatibus inventore est eum.</p><p>Eos aperiam ut quam tempore maxime earum. Voluptas minima voluptatem ipsum. Repellat sapiente sed sint amet fuga necessitatibus.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(18, 1, 2, 'Omnis reiciendis consectetur nostrum aperiam blanditiis eligendi odio earum.', 'fuga-ducimus-totam-ad-sit-nobis-quis-eaque', NULL, 'Dolor quo sint minus corporis nobis. Quia explicabo dicta nostrum saepe voluptatem omnis aliquam accusamus. Tenetur nam modi dolorem ratione quod. Quos maxime expedita quas perspiciatis quae fuga qui odio.', '<p>Non et quas sapiente numquam enim laboriosam quae. Iure eos quia facere voluptatem quod eaque. Ut eius sint consequuntur illum quia.</p><p>Perspiciatis occaecati amet aliquam quis placeat facere consequatur. Consequatur rerum accusamus consequatur omnis blanditiis quas non recusandae. Placeat necessitatibus sit laborum ullam fugit sit qui.</p><p>Enim ut nulla quia qui aliquid dolorem. Ut repudiandae distinctio mollitia et. Soluta non soluta ullam atque qui aut consequatur excepturi.</p><p>Odio earum aliquid aut iusto quisquam ut suscipit. Voluptatem natus omnis a totam rerum dolorem. Qui et qui consequatur voluptas laboriosam suscipit.</p><p>Odio rerum ad nam. Suscipit facere quasi hic sed totam minus doloremque. In qui assumenda at laudantium.</p><p>Voluptate repellat accusantium ullam aut. Tempore dolor maxime fuga sit odio. Velit repellat omnis tenetur ad velit qui facilis.</p><p>Et molestiae qui aut occaecati. Sequi eum sint in iste commodi. Corporis nulla perspiciatis sit necessitatibus praesentium error. Ducimus provident omnis quis ea voluptas accusamus et tempora.</p>', NULL, '2021-09-13 23:27:11', '2021-09-13 23:27:11'),
(19, 1, 3, 'Qui corrupti in reprehenderit ipsum.', 'ea-quae-quia-velit-cumque-debitis', NULL, 'Nisi itaque ipsam aperiam unde. Nemo magnam possimus iure quidem est a. Occaecati sunt et qui voluptas qui aspernatur accusamus optio.', '<p>Perferendis autem voluptates eum repellat fugiat et mollitia. Non quos dolorum ipsum sit sequi officia quis. Rerum consequatur alias ut sed. Minus harum cum occaecati consequuntur et veritatis.</p><p>Aut fuga ut eaque et possimus quam non. Ut impedit corrupti mollitia necessitatibus dolor. Animi et et nihil velit voluptas accusamus.</p><p>Eum nihil sunt sint dolorum doloribus natus. Id ut numquam quis neque dolores non. Ratione magni ad repudiandae laboriosam porro. Ut modi cupiditate et est atque omnis.</p><p>Repellendus repellendus voluptates aperiam reiciendis soluta. Eaque temporibus esse aperiam eum eligendi praesentium velit. Vitae consectetur itaque voluptatem veniam. Voluptas rerum quibusdam fugit et.</p><p>Ut sit sit consequatur sit facere et exercitationem. Molestiae et qui maiores. Nesciunt dolore ad temporibus id voluptas. Aspernatur pariatur molestias esse accusantium.</p><p>Iure dicta aut praesentium corrupti architecto cumque. Recusandae non dolores aliquam deleniti. Dolor et earum quibusdam quia.</p><p>Reiciendis dolores quia sint quis sed officia quis. Sit voluptatem est tenetur similique voluptas magnam dolorem labore.</p><p>Omnis porro voluptas aliquam omnis repellendus blanditiis. Qui sint aperiam aut adipisci. Et et voluptates iste enim tempore consectetur dolorum. Voluptatem ex recusandae voluptas commodi. Tempore omnis et molestiae officia aliquam eos.</p><p>Odit ipsam recusandae aperiam laborum velit illum. Aliquam ut rerum est delectus sed aut rerum.</p><p>Eum natus labore ex expedita sit commodi consequatur. Quia earum voluptas cum eos molestias. Laboriosam repudiandae odio veniam praesentium. Nobis omnis accusamus et voluptatem nostrum.</p>', NULL, '2021-09-13 23:27:12', '2021-09-13 23:27:12'),
(20, 1, 2, 'Facere rerum expedita porro.', 'quis-similique-repudiandae-voluptatem-qui-totam-et-nisi', NULL, 'Sint id a autem. Hic et odio velit molestias asperiores. Vel consequatur aut natus. Repellat consequuntur qui dolorum debitis.', '<p>Accusamus eaque enim quam soluta quis sunt. Aut delectus nobis omnis et recusandae. Vel pariatur molestiae eveniet minima.</p><p>Vero quod ratione sint velit eum tenetur ut. Neque sed qui earum. Error magni iusto omnis.</p><p>Beatae harum veniam voluptas aut laudantium rerum. Recusandae quia est ea molestias a nam est. Esse pariatur eveniet omnis quae laborum eveniet sunt.</p><p>Eligendi voluptate ipsam id cupiditate eaque saepe. Omnis non consequuntur deserunt inventore rerum provident saepe. Soluta sit ea excepturi nostrum.</p><p>Natus impedit et esse fugiat. Non est maiores quae ea.</p><p>Autem et fuga similique aut. Hic eos architecto corrupti quidem. Expedita minima iusto nihil numquam.</p><p>Nostrum enim natus accusamus id rerum. Sunt voluptatum dicta velit ut minus sint. Sunt fuga ducimus id eos ab et dicta. Non repellendus quidem aliquam consequatur et a quia.</p><p>Mollitia voluptas ad exercitationem aliquam. Hic labore optio ratione cum. Fuga et voluptas sequi aliquam dolorem nihil. Illum laboriosam quis aspernatur sed.</p><p>Fugiat dolorum molestiae cupiditate totam aut aperiam omnis. Esse atque quis et unde fugit enim. Voluptas ut ad eos. Nihil pariatur sed et qui vitae rerum ratione.</p>', NULL, '2021-09-13 23:27:12', '2021-09-13 23:27:12'),
(21, 1, 4, 'Post Pertama', 'post-pertama', 'post-images/DU9A90IQkAIAKUIvwhN76H9L4ckieAq0PJndm5ns.jpg', 'Post Pertama', '<div>Post Pertama</div>', NULL, '2021-09-13 23:36:57', '2021-09-23 23:17:23'),
(22, 1, 4, 'Post Kedua', 'post-kedua', 'post-images/hCAQToUe9dqTydUdvypltq8Q1U2AcUb3aFVU3mo4.jpg', 'Post Kedua', '<div>Post Kedua</div>', NULL, '2021-09-13 23:48:35', '2021-09-23 23:21:48');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` bigint(20) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`is_admin` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `username`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`, `is_admin`) VALUES
(1, 'Queen Hartati', 'kani.halimah', 'rnurdiyanti@gmail.com', '2021-09-13 23:27:11', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'zsmXsOyW3cH08L8n4ZnxOkFLSMaq3uUmUkRo4lND6UmKF3CLKO0My4fQz1nD', '2021-09-13 23:27:11', '2021-09-13 23:27:11', 0),
(2, 'Rahmi Usamah', 'umaya.pudjiastuti', 'karja.rajasa@example.com', '2021-09-13 23:27:11', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', '1fuDAVQ4X7', '2021-09-13 23:27:11', '2021-09-13 23:27:11', 0),
(3, 'Upik Kurniawan', 'unjani48', 'naradi.hutasoit@example.net', '2021-09-13 23:27:11', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'pGC8XvRWEX', '2021-09-13 23:27:11', '2021-09-13 23:27:11', 0),
(4, 'Jovi Julian Hendri', 'jovi', 'jovi@gmail.com', NULL, '$2y$10$/w1Ui2wRnrerZNQ.xvLa2uFQAtREga4xFXPUn9rnFEm3S/41.sLwe', NULL, '2021-09-13 23:27:12', '2021-09-13 23:27:12', 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `categories_name_unique` (`name`),
ADD UNIQUE KEY `categories_slug_unique` (`slug`);
--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `posts`
--
ALTER TABLE `posts`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `posts_slug_unique` (`slug`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_username_unique` (`username`),
ADD UNIQUE KEY `users_email_unique` (`email`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `posts`
--
ALTER TABLE `posts`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
| 151.380769
| 1,986
| 0.779491
|
b31eb80f9041f176d585e94e235e47cc16b9a05a
| 464
|
asm
|
Assembly
|
oeis/122/A122685.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/122/A122685.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/122/A122685.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A122685: a(n) = n! except that a(2) = -2 and a(2n) = 0 for n > 2.
; Submitted by Christian Krause
; 1,1,-2,6,0,120,0,5040,0,362880,0,39916800,0,6227020800,0,1307674368000,0,355687428096000,0,121645100408832000,0,51090942171709440000,0,25852016738884976640000,0,15511210043330985984000000,0,10888869450418352160768000000,0,8841761993739701954543616000000
mov $3,$0
mul $0,-1
mov $2,1
lpb $3
sub $3,1
max $3,1
add $4,$0
gcd $0,2
mul $2,$4
lpe
mov $0,$2
| 29
| 255
| 0.724138
|
0ac497c457186c0d2f63d8e856fb58b89bc2b8b1
| 862
|
cs
|
C#
|
UnityTypescriptFramework/Assets/Scripts/Common/Utility/TimeUtil.cs
|
shuidong/unity-typescript-framework
|
ed21986d50adad3f3f6ee4e797d6d4d9910ca3fa
|
[
"MIT"
] | 3
|
2021-08-05T03:40:02.000Z
|
2021-09-22T11:05:51.000Z
|
UnityTypescriptFramework/Assets/Scripts/Common/Utility/TimeUtil.cs
|
dengxuhui/unity-typescript-framework
|
ed21986d50adad3f3f6ee4e797d6d4d9910ca3fa
|
[
"MIT"
] | null | null | null |
UnityTypescriptFramework/Assets/Scripts/Common/Utility/TimeUtil.cs
|
dengxuhui/unity-typescript-framework
|
ed21986d50adad3f3f6ee4e797d6d4d9910ca3fa
|
[
"MIT"
] | 3
|
2021-07-12T07:14:57.000Z
|
2021-10-18T01:22:11.000Z
|
using System;
public class TimeUtil
{
/// <summary>
/// 获取时间戳
/// </summary>
/// <returns></returns>
public static int GetTimestamp()
{
var span = DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0);
return Convert.ToInt32(span.TotalSeconds);
}
/// <summary>
/// 获取本地时间戳
/// </summary>
/// <returns></returns>
public static int GetLocalTimestamp()
{
var span = DateTime.Now - new DateTime(1970, 1, 1, 0, 0, 0);
return Convert.ToInt32(span.TotalSeconds);
}
/// <summary>
/// 时间戳转本地
/// </summary>
/// <param name="timestamp"></param>
/// <returns></returns>
public static int TimestampToLocal(int timestamp)
{
var tz = DateTime.Now - DateTime.UtcNow;
var offset = (int)tz.TotalSeconds;
return timestamp + offset;
}
}
| 23.944444
| 71
| 0.562645
|
96de66ea28e1bbeaf5c4e35d6ab2f91ee50eafde
| 4,223
|
swift
|
Swift
|
Sources/SexpyJSON/Functions/NumberConversion.swift
|
juri/SexpyJSON
|
73d9bfb99f38a2d804d6eaf1961185607a2d0a01
|
[
"MIT"
] | null | null | null |
Sources/SexpyJSON/Functions/NumberConversion.swift
|
juri/SexpyJSON
|
73d9bfb99f38a2d804d6eaf1961185607a2d0a01
|
[
"MIT"
] | null | null | null |
Sources/SexpyJSON/Functions/NumberConversion.swift
|
juri/SexpyJSON
|
73d9bfb99f38a2d804d6eaf1961185607a2d0a01
|
[
"MIT"
] | 1
|
2021-09-29T10:21:17.000Z
|
2021-09-29T10:21:17.000Z
|
/* fundoc name
round
*/
/* fundoc example
(round 12.4)
*/
/* fundoc expect
12.0
*/
/* fundoc example
(round 12.5)
*/
/* fundoc expect
13.0
*/
/* fundoc example
(round -12.5)
*/
/* fundoc expect
-13.0
*/
/* fundoc text
The `round` function rounds its parameter number away from zero. It does not change
the number's type.
*/
private func roundf(_ value: IntermediateValue) throws -> IntermediateValue {
try calc(value: value, name: "round", rule: .toNearestOrAwayFromZero)
}
/* fundoc name
trunc
*/
/* fundoc example
(trunc 14.4)
*/
/* fundoc expect
14.0
*/
/* fundoc example
(trunc 14.5)
*/
/* fundoc expect
14.0
*/
/* fundoc example
(trunc -14.5)
*/
/* fundoc expect
-14.0
*/
/* fundoc text
The `trunc` function truncates its parameter number to the nearest integer that's
closer to zero. It does not change the number's type.
*/
private func truncf(_ value: IntermediateValue) throws -> IntermediateValue {
try calc(value: value, name: "trunc", rule: .towardZero)
}
/* fundoc name
ceil
*/
/* fundoc example
(ceil 16.4)
*/
/* fundoc expect
17.0
*/
/* fundoc example
(ceil 16.5)
*/
/* fundoc expect
17.0
*/
/* fundoc example
(ceil -16.5)
*/
/* fundoc expect
-16.0
*/
/* fundoc text
The `ceil` function rounds its parameter to the nearest larger integer. It does not change
the number's type.
*/
private func ceilf(_ value: IntermediateValue) throws -> IntermediateValue {
try calc(value: value, name: "ceil", rule: .up)
}
/* fundoc name
floor
*/
/* fundoc example
(floor 18.4)
*/
/* fundoc expect
18.0
*/
/* fundoc example
(floor 18.5)
*/
/* fundoc expect
18.0
*/
/* fundoc example
(floor -18.5)
*/
/* fundoc expect
-19.0
*/
/* fundoc text
The `floor` function rounds its parameter to the nearest smaller integer. It does not change
the number's type.
*/
private func floorf(_ value: IntermediateValue) throws -> IntermediateValue {
try calc(value: value, name: "floor", rule: .down)
}
private func calc(value: IntermediateValue, name: String, rule: FloatingPointRoundingRule) throws -> IntermediateValue {
switch value {
case let .integer(i): return .integer(i)
case let .double(d): return .double(d.rounded(rule))
default: throw EvaluatorError.badFunctionParameters([value], "The \(name) function requires a number argument")
}
}
/* fundoc name
int
*/
/* fundoc example
(int 12.4)
*/
/* fundoc expect
12
*/
/* fundoc example
(int 12.5)
*/
/* fundoc expect
12
*/
/* fundoc example
(int -12.5)
*/
/* fundoc expect
-12.0
*/
/* fundoc text
The `int` function truncates its parameter to the nearest integer that's closer to zero.
Its return value is an integer.
*/
private func intf(_ value: IntermediateValue) throws -> IntermediateValue {
switch value {
case let .integer(i): return .integer(i)
case let .double(d): return .integer(Int(d.rounded(.towardZero)))
default: throw EvaluatorError.badFunctionParameters([value], "The int function requires a number argument")
}
}
/* fundoc name
double
*/
/* fundoc example
(double 12)
*/
/* fundoc expect
12.0
*/
/* fundoc example
(double -12)
*/
/* fundoc expect
-12.0
*/
/* fundoc text
The `double` function converts its number parameter to double.
*/
private func doublef(_ value: IntermediateValue) throws -> IntermediateValue {
switch value {
case let .integer(i): return .double(Double(i))
case let .double(d): return .double(d)
default: throw EvaluatorError.badFunctionParameters([value], "The double function requires a number argument")
}
}
extension Callable {
static let roundFunction = Callable.function1(.init(noContext: roundf(_:), name: "round"))
static let truncFunction = Callable.function1(.init(noContext: truncf(_:), name: "trunc"))
static let ceilFunction = Callable.function1(.init(noContext: ceilf(_:), name: "ceil"))
static let floorFunction = Callable.function1(.init(noContext: floorf(_:), name: "floor"))
static let intFunction = Callable.function1(.init(noContext: intf(_:), name: "int"))
static let doubleFunction = Callable.function1(.init(noContext: doublef(_:), name: "double"))
}
| 17.669456
| 120
| 0.668245
|
62eafd530daea320ccc59fc462b31fa4b6108bcc
| 1,115
|
swift
|
Swift
|
Sources/Scout/Definitions/SerializationFormat.swift
|
scriptingosx/scout
|
4cfbf67f83044b73f339c57618cebebbd3a072ca
|
[
"MIT"
] | 3
|
2021-06-23T15:59:45.000Z
|
2022-01-02T23:40:54.000Z
|
Sources/Scout/Definitions/SerializationFormat.swift
|
scriptingosx/scout
|
4cfbf67f83044b73f339c57618cebebbd3a072ca
|
[
"MIT"
] | null | null | null |
Sources/Scout/Definitions/SerializationFormat.swift
|
scriptingosx/scout
|
4cfbf67f83044b73f339c57618cebebbd3a072ca
|
[
"MIT"
] | null | null | null |
import Foundation
/// Format which allows serialization
public protocol SerializationFormat {
static func serialize(data: Data) throws -> Any
static func serialize(value: Any) throws -> Data
}
public struct PlistFormat: SerializationFormat {
public static func serialize(data: Data) throws -> Any {
try PropertyListSerialization.propertyList(from: data, options: [], format: nil)
}
public static func serialize(value: Any) throws -> Data {
try PropertyListSerialization.data(fromPropertyList: value, format: .xml, options: .zero)
}
}
public struct JsonFormat: SerializationFormat {
public static func serialize(data: Data) throws -> Any {
try JSONSerialization.jsonObject(with: data, options: [])
}
public static func serialize(value: Any) throws -> Data {
if #available(OSX 10.15, *) {
return try JSONSerialization.data(withJSONObject: value, options: [.prettyPrinted, .withoutEscapingSlashes])
} else {
return try JSONSerialization.data(withJSONObject: value, options: [.prettyPrinted])
}
}
}
| 33.787879
| 120
| 0.689686
|
d3d08603096d9a75f745a82d866c82e1616681ec
| 73
|
rb
|
Ruby
|
rails/init.rb
|
codesnik/console_update
|
2bb4a5b461bf06783429a78dcbe94e01c7d8f238
|
[
"MIT"
] | 1
|
2016-05-09T05:28:18.000Z
|
2016-05-09T05:28:18.000Z
|
rails/init.rb
|
codesnik/console_update
|
2bb4a5b461bf06783429a78dcbe94e01c7d8f238
|
[
"MIT"
] | null | null | null |
rails/init.rb
|
codesnik/console_update
|
2bb4a5b461bf06783429a78dcbe94e01c7d8f238
|
[
"MIT"
] | null | null | null |
require 'console_update'
ActiveRecord::Base.send :include, ConsoleUpdate
| 24.333333
| 47
| 0.835616
|
7ae4730f2d6ab6aa92165bad23e66320568ead92
| 995
|
cs
|
C#
|
src/ComputeSharp.SourceGenerators/Helpers/MemoryMarshal.cs
|
arcadiogarcia/ComputeSharp
|
19514062707e5d176ea427d9ca00ea6e004f33e7
|
[
"MIT"
] | null | null | null |
src/ComputeSharp.SourceGenerators/Helpers/MemoryMarshal.cs
|
arcadiogarcia/ComputeSharp
|
19514062707e5d176ea427d9ca00ea6e004f33e7
|
[
"MIT"
] | null | null | null |
src/ComputeSharp.SourceGenerators/Helpers/MemoryMarshal.cs
|
arcadiogarcia/ComputeSharp
|
19514062707e5d176ea427d9ca00ea6e004f33e7
|
[
"MIT"
] | null | null | null |
using System;
namespace ComputeSharp.SourceGenerators.Helpers;
/// <summary>
/// A polyfill type that mirrors some methods from <see cref="System.Runtime.InteropServices.MemoryMarshal"/> on .NET 5.
/// </summary>
internal static class MemoryMarshal
{
/// <inheritdoc cref="System.Runtime.InteropServices.MemoryMarshal.GetReference{T}(Span{T})"/>
public static ref T GetReference<T>(Span<T> span)
{
return ref System.Runtime.InteropServices.MemoryMarshal.GetReference(span);
}
/// <summary>
/// Creates a new <see cref="Span{T}"/> from a given reference.
/// </summary>
/// <typeparam name="T">The type of reference to wrap.</typeparam>
/// <param name="value">The target reference.</param>
/// <param name="length">The length of the <see cref="Span{T}"/> to create.</param>
/// <returns>A new <see cref="Span{T}"/> wrapping <paramref name="value"/>.</returns>
public static Span<T> CreateSpan<T>(ref T value, int length) => default;
}
| 39.8
| 120
| 0.676382
|
728ad49590201f87397c0f76677fc06dd5d83f44
| 1,252
|
h
|
C
|
include/text/ui_ctl_arg.h
|
zhiyaluo/LongUI
|
af15e0594317c53375774ca69a0d769ec6e1866e
|
[
"MIT"
] | 174
|
2015-05-30T08:02:19.000Z
|
2022-03-12T12:23:46.000Z
|
include/text/ui_ctl_arg.h
|
zhiyaluo/LongUI
|
af15e0594317c53375774ca69a0d769ec6e1866e
|
[
"MIT"
] | 6
|
2017-09-16T07:30:57.000Z
|
2021-07-25T01:39:35.000Z
|
include/text/ui_ctl_arg.h
|
zhiyaluo/LongUI
|
af15e0594317c53375774ca69a0d769ec6e1866e
|
[
"MIT"
] | 44
|
2016-03-14T03:19:51.000Z
|
2022-02-21T01:10:58.000Z
|
#pragma once
// decl
#include "ui_ctl_decl.h"
#include "ui_attribute.h"
// ui namespace
namespace LongUI {
// text arg
struct TextArg {
// font, null for default
I::Font* font;
// string pointer, be carefual about dangling pointer
const char16_t* string;
// string length
size_t length;
// max width
float mwidth;
// max height
float mheight;
};
// font arg
struct FontArg {
// [layout]font family, maybe use CUIManager::GetUniqueText to create release-free text
const char* family;
// [layout]font size
float size;
// [layout]line height *
float line_height_multi;
// [layout]line height +
float line_height_plus;
// [layout]weight
AttributeFontWeight weight;
// [layout]style
AttributeFontStyle style;
// [layout]stretch
AttributeFontStretch stretch;
};
// get line height
inline auto GetLineHeight(const FontArg& fa) noexcept {
return fa.size * fa.line_height_multi + fa.line_height_plus;
}
}
| 28.454545
| 95
| 0.53754
|
8abca308e8a595d7da38de6e66986c421e0200a0
| 315
|
rs
|
Rust
|
src/agent/onefuzz-agent/src/tasks/mod.rs
|
tonybaloney/onefuzz
|
e0f2e9ed5aae006e0054387de7a0ff8c83c8f722
|
[
"MIT"
] | 2,692
|
2020-09-15T17:54:21.000Z
|
2022-03-31T11:58:57.000Z
|
src/agent/onefuzz-agent/src/tasks/mod.rs
|
tonybaloney/onefuzz
|
e0f2e9ed5aae006e0054387de7a0ff8c83c8f722
|
[
"MIT"
] | 980
|
2020-09-18T18:23:01.000Z
|
2022-03-30T22:20:43.000Z
|
src/agent/onefuzz-agent/src/tasks/mod.rs
|
nharper285/onefuzz
|
1de2cc841d6fc885f8bcb6d032bf5b96ddb52493
|
[
"MIT"
] | 177
|
2020-09-16T00:10:56.000Z
|
2022-03-30T21:18:10.000Z
|
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
pub mod analysis;
pub mod config;
#[cfg(any(target_os = "linux", target_os = "windows"))]
pub mod coverage;
pub mod fuzz;
pub mod generic;
pub mod heartbeat;
pub mod merge;
pub mod regression;
pub mod report;
pub mod stats;
pub mod utils;
| 19.6875
| 55
| 0.733333
|
93200a952e42fc5c4913b0ef1f386d2181ef7c2b
| 1,193
|
sql
|
SQL
|
openid-connect-server-webapp/src/main/resources/db/hsql/hsql_database_index.sql
|
kabiliravi/OpenID-Connect-Java-Spring-Server
|
bf1064f8dadcb8b9fb34149a4bfa0ea0edc7e62f
|
[
"Apache-2.0"
] | null | null | null |
openid-connect-server-webapp/src/main/resources/db/hsql/hsql_database_index.sql
|
kabiliravi/OpenID-Connect-Java-Spring-Server
|
bf1064f8dadcb8b9fb34149a4bfa0ea0edc7e62f
|
[
"Apache-2.0"
] | null | null | null |
openid-connect-server-webapp/src/main/resources/db/hsql/hsql_database_index.sql
|
kabiliravi/OpenID-Connect-Java-Spring-Server
|
bf1064f8dadcb8b9fb34149a4bfa0ea0edc7e62f
|
[
"Apache-2.0"
] | null | null | null |
--
-- Indexes for HSQLDB
--
CREATE INDEX IF NOT EXISTS at_tv_idx ON access_token(token_value);
CREATE INDEX IF NOT EXISTS ts_atu_idx ON token_scope(access_token_uuid);
CREATE INDEX IF NOT EXISTS at_exp_idx ON access_token(expiration);
CREATE INDEX IF NOT EXISTS rf_ahu_idx ON refresh_token(auth_holder_uuid);
CREATE INDEX IF NOT EXISTS rf_tv_idx ON refresh_token(token_value);
CREATE INDEX IF NOT EXISTS cd_ci_idx ON client_details(client_id);
CREATE INDEX IF NOT EXISTS at_ahu_idx ON access_token(auth_holder_uuid);
CREATE INDEX IF NOT EXISTS aha_ahu_idx ON auth_holder_authority(auth_holder_uuid);
CREATE INDEX IF NOT EXISTS ahe_ahu_idx ON auth_holder_extension(auth_holder_uuid);
CREATE INDEX IF NOT EXISTS ahrp_ahu_idx ON auth_holder_request_parameter(auth_holder_uuid);
CREATE INDEX IF NOT EXISTS ahri_ahu_idx ON auth_holder_resource_id(auth_holder_uuid);
CREATE INDEX IF NOT EXISTS ahrt_ahu_idx ON auth_holder_resp_type(auth_holder_uuid);
CREATE INDEX IF NOT EXISTS ahs_ahu_idx ON auth_holder_scope(auth_holder_uuid);
CREATE INDEX IF NOT EXISTS ac_ahu_idx ON authorization_code(auth_holder_uuid);
CREATE INDEX IF NOT EXISTS suaa_suau_idx ON saved_user_auth_authority(user_auth_uuid);
| 59.65
| 91
| 0.84912
|
2295e2daadbf7903a386c8380b917310498c9310
| 973
|
dart
|
Dart
|
lib/src/extension/string.x.dart
|
yohom/decorated_flutter
|
1885922042f9326adcaa66572ddbf599670702bd
|
[
"Apache-2.0"
] | 24
|
2019-03-11T13:20:09.000Z
|
2021-03-28T11:55:10.000Z
|
lib/src/extension/string.x.dart
|
yohom/decorated_flutter
|
1885922042f9326adcaa66572ddbf599670702bd
|
[
"Apache-2.0"
] | 6
|
2019-06-15T04:12:04.000Z
|
2021-06-12T11:57:40.000Z
|
lib/src/extension/string.x.dart
|
yohom/decorated_flutter
|
1885922042f9326adcaa66572ddbf599670702bd
|
[
"Apache-2.0"
] | 37
|
2019-04-11T03:13:14.000Z
|
2021-03-30T02:33:19.000Z
|
import 'dart:convert';
extension StringX on String {
String plus(String addend) {
final additionNum = num.parse(addend);
final thisNum = num.parse(this);
return '${additionNum + thisNum}';
}
dynamic get json {
return jsonDecode(this);
}
Uri? get uri {
return Uri.tryParse(this);
}
int? get intValue {
return int.tryParse(this);
}
double? get doubleValue {
return double.tryParse(this);
}
String get packed {
return replaceAll(RegExp(r"\s+"), '');
}
String substringBeforeLast(String separator) {
final index = lastIndexOf(separator);
return substring(0, index);
}
String substringAfterLast(String separator) {
final index = lastIndexOf(separator);
return substring(index);
}
String insert(int index, String divider) {
return substring(0, index + 1) + divider + substring(index + 1);
}
String remove(int index) {
return substring(0, index) + substring(index + 1);
}
}
| 20.270833
| 68
| 0.653649
|
c47eff3d038eac49c6ebcbd7d03ce34182bdc98b
| 296
|
cpp
|
C++
|
test/suits/nav/test_atcproceduresid.cpp
|
ignmiz/ATC_Console
|
549dd67a007cf54b976e33fed1581f30beb08b06
|
[
"Intel",
"MIT"
] | 5
|
2018-01-08T22:20:07.000Z
|
2021-06-19T17:42:29.000Z
|
test/suits/nav/test_atcproceduresid.cpp
|
ignmiz/ATC_Console
|
549dd67a007cf54b976e33fed1581f30beb08b06
|
[
"Intel",
"MIT"
] | null | null | null |
test/suits/nav/test_atcproceduresid.cpp
|
ignmiz/ATC_Console
|
549dd67a007cf54b976e33fed1581f30beb08b06
|
[
"Intel",
"MIT"
] | 2
|
2017-08-07T23:07:42.000Z
|
2021-05-09T13:02:39.000Z
|
#include "test_atcproceduresid.h"
void Test_ATCProcedureSID::test_constructObject()
{
ATCProcedureSID foo("NAME", "CODE", "01");
QVERIFY(foo.getName() == "NAME");
QVERIFY(foo.getAirport() == "CODE");
QVERIFY(foo.getRunwayID() == "01");
QVERIFY(foo.getFixListSize() == 0);
}
| 24.666667
| 49
| 0.652027
|
38cebafebbb1e75bf0d4cde50c71d7a424809c26
| 175
|
php
|
PHP
|
src/Entity/Event.php
|
EmilePerron/fastspring-php
|
7a19a97821b0ddd3f194ce0aa2052efa48d55609
|
[
"MIT"
] | 2
|
2021-04-09T19:51:32.000Z
|
2021-11-26T00:22:22.000Z
|
src/Entity/Event.php
|
EmilePerron/fastspring-php
|
7a19a97821b0ddd3f194ce0aa2052efa48d55609
|
[
"MIT"
] | 1
|
2021-11-26T21:06:35.000Z
|
2021-11-29T16:44:52.000Z
|
src/Entity/Event.php
|
EmilePerron/fastspring-php
|
7a19a97821b0ddd3f194ce0aa2052efa48d55609
|
[
"MIT"
] | 3
|
2021-06-15T14:45:14.000Z
|
2022-02-24T11:25:38.000Z
|
<?php
namespace Emileperron\FastSpring\Entity;
use Emileperron\FastSpring\AbstractEntity;
class Event extends AbstractEntity {
protected static $endpoint = 'events';
}
| 17.5
| 42
| 0.782857
|
c0136c59d9eaaf736316bd34fb42721e5bc10bf4
| 2,819
|
cs
|
C#
|
src/CSharpMinifierConsole/Extensions.cs
|
atifaziz/CSharpMinifier
|
52fcd65218b6a69782b73573643023c8c85a5486
|
[
"Apache-2.0"
] | 27
|
2019-02-26T21:12:13.000Z
|
2022-02-20T01:17:24.000Z
|
src/CSharpMinifierConsole/Extensions.cs
|
atifaziz/CSharpMinifier
|
52fcd65218b6a69782b73573643023c8c85a5486
|
[
"Apache-2.0"
] | 26
|
2019-03-27T18:30:24.000Z
|
2022-03-08T18:40:42.000Z
|
src/CSharpMinifierConsole/Extensions.cs
|
atifaziz/CSharpMinifier
|
52fcd65218b6a69782b73573643023c8c85a5486
|
[
"Apache-2.0"
] | 3
|
2020-01-22T11:52:51.000Z
|
2020-10-18T03:42:16.000Z
|
#region Copyright (c) 2019 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion
using System;
using System.Collections.Generic;
using System.IO;
using MonoOptionSet = Mono.Options.OptionSet;
static class Extensions
{
public static IEnumerable<string> Lines(this string input)
{
if (input == null) throw new ArgumentNullException(nameof(input));
return _(); IEnumerable<string> _()
{
using var reader = new StringReader(input);
while (reader.ReadLine() is {} line)
yield return line;
}
}
public static IEnumerator<string> ReadLines(this TextReader reader)
{
if (reader == null) throw new ArgumentNullException(nameof(reader));
while (reader.ReadLine() is {} line)
yield return line;
}
/// <summary>
/// Trims version build and revision fields if they are both zero or
/// just the revision if build is non-zero. An additional parameter
/// specifies the minimum field count (between 2 and 4) in the
/// resulting version, which prevents trimming even if zero.
/// </summary>
public static Version Trim(this Version version, int minFieldCount = 2)
{
if (version == null) throw new ArgumentNullException(nameof(version));
if (minFieldCount < 2 || minFieldCount > 4) throw new ArgumentOutOfRangeException(nameof(minFieldCount), minFieldCount, null);
if (version.Revision < 0 || version.Build < 0)
{
version = new Version(version.Major,
version.Minor,
version.Build < 0 ? 0 : version.Build,
version.Revision < 0 ? 0 : version.Revision);
}
return minFieldCount < 4 && version.Revision == 0
? minFieldCount < 3 && version.Build == 0 ? new Version(version.Major, version.Minor)
: new Version(version.Major, version.Minor, version.Build)
: version;
}
}
static class OptionSetExtensions
{
public static T WriteOptionDescriptionsReturningWriter<T>(this MonoOptionSet options, T writer)
where T : TextWriter
{
options.WriteOptionDescriptions(writer);
return writer;
}
}
| 35.2375
| 134
| 0.643845
|
b0d33894d5d22c28cd9b48a75c6ac91817248637
| 1,190
|
py
|
Python
|
auth_service/entities/user.py
|
rahungria/clean_arquitecture_auth
|
1d0276c2fd5b83705805dfe33f6781dde3bc064a
|
[
"MIT"
] | 1
|
2022-03-11T21:33:36.000Z
|
2022-03-11T21:33:36.000Z
|
auth_service/entities/user.py
|
rahungria/clean_arquitecture_auth
|
1d0276c2fd5b83705805dfe33f6781dde3bc064a
|
[
"MIT"
] | null | null | null |
auth_service/entities/user.py
|
rahungria/clean_arquitecture_auth
|
1d0276c2fd5b83705805dfe33f6781dde3bc064a
|
[
"MIT"
] | null | null | null |
from datetime import datetime
class User:
'''
User model
name -- string
password -- hashed hex (bytes)
created -- time of creation
last_access -- last time of any use_case by user
'''
def __init__(
self,
username: str,
password: bytes,
created: datetime,
last_access: datetime
):
self.username = username
self.password = password
self.created = created
self.last_access = last_access
self.validate()
# TODO validate
def validate(self):
pass
def to_dict(self):
return dict(
username=self.username,
created=self.created.timestamp(),
last_access=self.last_access.timestamp()
)
def build_make_user():
'''
Injects dependencies (in kwargs) into user model factory
'''
def make_user(
username: str,
password: bytes, created:
datetime,
last_access: datetime
) -> User:
return User(
username=username,
password=password,
created=created,
last_access=last_access
)
return make_user
| 20.517241
| 60
| 0.565546
|
143a98accb92a62a2747c922c90951d435173b17
| 971
|
ts
|
TypeScript
|
test/v2/tests.ts/moveCopy/copyOnUndefined.ts
|
hpi-schul-cloud/npm-WebDAV-Server
|
820ae446ba0659c60612418e3b1133f1b9f427ee
|
[
"Unlicense"
] | null | null | null |
test/v2/tests.ts/moveCopy/copyOnUndefined.ts
|
hpi-schul-cloud/npm-WebDAV-Server
|
820ae446ba0659c60612418e3b1133f1b9f427ee
|
[
"Unlicense"
] | null | null | null |
test/v2/tests.ts/moveCopy/copyOnUndefined.ts
|
hpi-schul-cloud/npm-WebDAV-Server
|
820ae446ba0659c60612418e3b1133f1b9f427ee
|
[
"Unlicense"
] | null | null | null |
import { Test } from '../Type';
import { v2 } from '../../../../lib/index.js';
import { starter, check } from './.createFiles';
function execute(info, isValid, overwrite: boolean) {
starter(info.startServer(), info, isValid, 'COPY', 'file1Undefined', 'file1_moved', overwrite, v2.HTTPCodes.NotFound);
starter(
info.startServer(),
info,
isValid,
'COPY',
'file1Undefined',
'folder1/file2',
overwrite,
v2.HTTPCodes.NotFound
);
starter(info.startServer(), info, isValid, 'COPY', 'file1Undefined', 'file1', overwrite, v2.HTTPCodes.NotFound);
starter(info.startServer(), info, isValid, 'COPY', 'file1Undefined', 'file1/file1', overwrite, v2.HTTPCodes.NotFound);
starter(
info.startServer(),
info,
isValid,
'COPY',
'file1Undefined',
'unmapped/file1',
overwrite,
v2.HTTPCodes.NotFound
);
}
export default ((info, isValid) => {
const server1 = info.init(5 * 2);
execute(info, isValid, false);
execute(info, isValid, true);
}) as Test;
| 26.243243
| 119
| 0.677652
|
8b7f83b30c001ee878cc6dc002e5756a67121e40
| 4,135
|
rb
|
Ruby
|
modules/post/windows/gather/credentials/mremote.rb
|
NPS-TECH/metasploit-framework
|
f9b902c6cc9adfe8a7f4c39fd66590c928ac047e
|
[
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
modules/post/windows/gather/credentials/mremote.rb
|
NPS-TECH/metasploit-framework
|
f9b902c6cc9adfe8a7f4c39fd66590c928ac047e
|
[
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
modules/post/windows/gather/credentials/mremote.rb
|
NPS-TECH/metasploit-framework
|
f9b902c6cc9adfe8a7f4c39fd66590c928ac047e
|
[
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
##
# This module requires Metasploit: http//metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
require 'rex'
require 'rexml/document'
require 'msf/core/auxiliary/report'
class Metasploit3 < Msf::Post
include Msf::Post::Windows::UserProfiles
include Msf::Auxiliary::Report
def initialize(info={})
super( update_info( info,
'Name' => 'Windows Gather mRemote Saved Password Extraction',
'Description' => %q{
This module extracts saved passwords from mRemote. mRemote stores
connections for RDP, VNC, SSH, Telnet, rlogin and other protocols. It saves
the passwords in an encrypted format. The module will extract the connection
info and decrypt the saved passwords.
},
'License' => MSF_LICENSE,
'Author' =>
[
'theLightCosine',
'hdm', #Helped write the Decryption Routine
'mubix' #Helped write the Decryption Routine
],
'Platform' => [ 'win' ],
'SessionTypes' => [ 'meterpreter' ]
))
end
def run
@secret= "\xc8\xa3\x9d\xe2\xa5\x47\x66\xa0\xda\x87\x5f\x79\xaa\xf1\xaa\x8c"
grab_user_profiles().each do |user|
next if user['LocalAppData'] == nil
tmpath = user['LocalAppData'] + '\\Felix_Deimel\\mRemote\\confCons.xml'
ng_path = user['LocalAppData'] + '\\..\\Roaming\\mRemoteNG\\confCons.xml'
get_xml(tmpath)
get_xml(ng_path)
end
end
def get_xml(path)
condata=""
begin
xmlexists = client.fs.file.stat(path)
connections = client.fs.file.new(path,'r')
until connections.eof
condata << connections.read
end
parse_xml(condata)
print_status("Finished processing #{path}")
rescue Rex::Post::Meterpreter::RequestError
print_status("The file #{path} either could not be read or does not exist")
end
end
def parse_xml(data)
mxml= REXML::Document.new(data).root
mxml.elements.to_a("//Node").each do |node|
host = node.attributes['Hostname']
port = node.attributes['Port']
proto = node.attributes['Protocol']
user = node.attributes['Username']
domain = node.attributes['Domain']
epassword= node.attributes['Password']
next if epassword == nil or epassword== ""
decoded = epassword.unpack("m*")[0]
iv= decoded.slice!(0,16)
pass=decrypt(decoded, @secret , iv, "AES-128-CBC")
print_good("HOST: #{host} PORT: #{port} PROTOCOL: #{proto} Domain: #{domain} USER: #{user} PASS: #{pass}")
user= "#{domain}\\#{user}" unless domain.nil? or domain.empty?
if session.db_record
source_id = session.db_record.id
else
source_id = nil
end
service_data = {
address: host,
port: port,
service_name: proto,
protocol: 'tcp',
workspace_id: myworkspace_id
}
credential_data = {
origin_type: :session,
session_id: session_db_id,
post_reference_name: self.refname,
private_type: :password,
private_data: pass,
username: user
}
unless domain.blank?
credential_data[:realm_key] = Metasploit::Model::Realm::Key::ACTIVE_DIRECTORY_DOMAIN
credential_data[:realm_value] = domain
end
credential_data.merge!(service_data)
# Create the Metasploit::Credential::Core object
credential_core = create_credential(credential_data)
# Assemble the options hash for creating the Metasploit::Credential::Login object
login_data ={
core: credential_core,
status: Metasploit::Model::Login::Status::UNTRIED
}
# Merge in the service data and create our Login
login_data.merge!(service_data)
login = create_credential_login(login_data)
end
end
def decrypt(encrypted_data, key, iv, cipher_type)
aes = OpenSSL::Cipher::Cipher.new(cipher_type)
aes.decrypt
aes.key = key
aes.iv = iv if iv != nil
aes.update(encrypted_data) + aes.final
end
end
| 29.748201
| 112
| 0.627811
|
f43861c7069d84610d7969d0d0b0b0dba4e67e78
| 1,813
|
cs
|
C#
|
Packages/UGF.Logs/Runtime/LogHandlerUnity.cs
|
unity-game-framework/ugf-logs
|
4f4feec622b457a7aad18eb1f31147fbdf1c488c
|
[
"MIT"
] | null | null | null |
Packages/UGF.Logs/Runtime/LogHandlerUnity.cs
|
unity-game-framework/ugf-logs
|
4f4feec622b457a7aad18eb1f31147fbdf1c488c
|
[
"MIT"
] | 43
|
2019-07-15T20:07:39.000Z
|
2022-03-18T15:13:04.000Z
|
Packages/UGF.Logs/Runtime/LogHandlerUnity.cs
|
unity-game-framework/ugf-logs
|
4f4feec622b457a7aad18eb1f31147fbdf1c488c
|
[
"MIT"
] | null | null | null |
using System;
using UnityEngine;
namespace UGF.Logs.Runtime
{
public class LogHandlerUnity : LogHandlerBase, ILogHandlerWithEnable
{
public ILogger UnityLogger { get; }
public bool IsEnabled { get { return UnityLogger.logEnabled; } set { UnityLogger.logEnabled = value; } }
public LogHandlerUnity() : this(Debug.unityLogger)
{
}
public LogHandlerUnity(ILogger unityLogger)
{
UnityLogger = unityLogger ?? throw new ArgumentNullException(nameof(unityLogger));
}
protected override void OnWrite(string tag, object value)
{
switch (tag)
{
case LogTags.INFO:
case LogTags.DEBUG:
case "Log":
{
UnityLogger.Log(LogType.Log, value);
break;
}
case LogTags.WARNING:
{
UnityLogger.Log(LogType.Warning, value);
break;
}
case LogTags.ERROR:
case "Assert":
{
UnityLogger.Log(LogType.Error, value);
break;
}
case LogTags.EXCEPTION:
{
if (value is Exception exception)
{
UnityLogger.LogException(exception);
}
else
{
UnityLogger.Log(LogType.Exception, value.ToString());
}
break;
}
default:
{
UnityLogger.Log(tag, value);
break;
}
}
}
}
}
| 28.328125
| 112
| 0.42802
|
46f8484ab799b8075dca61d004ee86c6b5ed3ab5
| 397
|
py
|
Python
|
config.py
|
vekkt0r/harmenubar
|
6019a76f85e0b4ddacf4159f88ee31514ed338c8
|
[
"MIT"
] | 5
|
2015-04-18T16:57:53.000Z
|
2020-12-28T08:50:52.000Z
|
config.py
|
vekkt0r/harmenubar
|
6019a76f85e0b4ddacf4159f88ee31514ed338c8
|
[
"MIT"
] | null | null | null |
config.py
|
vekkt0r/harmenubar
|
6019a76f85e0b4ddacf4159f88ee31514ed338c8
|
[
"MIT"
] | null | null | null |
class HarmonyConfig(object):
def __init__(self, config):
self.json = config
def get_activities(self):
return self._build_kv_menu('activity')
def get_devices(self):
return self._build_kv_menu('device')
def _build_kv_menu(self, key):
menu = {}
for d in self.json[key]:
menu.update({int(d['id']): d['label']})
return menu
| 26.466667
| 51
| 0.596977
|
ad9b3cb9a9fa5ae919393da5430c5219fb6575d9
| 1,613
|
dart
|
Dart
|
lib/main.dart
|
ChinmayShringi/Plant_SideNav_FlutterUI
|
c16368993ab22a913c9caecb7dee1e7be3b213ae
|
[
"Apache-2.0"
] | null | null | null |
lib/main.dart
|
ChinmayShringi/Plant_SideNav_FlutterUI
|
c16368993ab22a913c9caecb7dee1e7be3b213ae
|
[
"Apache-2.0"
] | null | null | null |
lib/main.dart
|
ChinmayShringi/Plant_SideNav_FlutterUI
|
c16368993ab22a913c9caecb7dee1e7be3b213ae
|
[
"Apache-2.0"
] | null | null | null |
import 'package:flutter/material.dart';
import 'package:plant2/widgets/home.dart';
import 'package:flutter/services.dart';
void main() {
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
));
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
primaryColor: Color(0xff67864A),
),
home: HomePage(),
);
}
}
class Plant {
final String title;
final String discription;
final String price;
final String height;
final String image;
final String temprature;
final String port;
Plant({
this.title,
this.discription,
this.price,
this.height,
this.image,
this.temprature,
this.port,
});
}
List<Plant> plants = [
Plant(
title: "Turf Pot Plant",
discription: "Big leaf plant for your home and office decoration",
height: "40.0 cm to 50cm",
temprature: "18c to 25c",
image: "https://img.pngio.com/download-artificial"
"-potted-plant-oregano-png-image-for-free-potted-plants-png-2000_2000.png",
port: "Self Growing pot",
price: "59.00"),
Plant(
title: "Scandinavian Plant",
discription: "Thin leaf plant for your home and office decoration",
height: "40.0 cm to 50cm",
temprature: "18c to 25c",
image:
"https://purepng.com/public/uploads/large/purepng.com-plantnatureplant-961524678664sj8de.png",
port: "Self Growing pot",
price: "59.00"),
];
| 24.815385
| 104
| 0.65964
|
f5e2a90cd2333fd7649265a6b448ba7761e6c393
| 6,528
|
go
|
Go
|
WatClient/main.go
|
EricLewe/TerminalChat
|
b9f4cee47692058f808a44f870a1f049f828f57c
|
[
"MIT"
] | null | null | null |
WatClient/main.go
|
EricLewe/TerminalChat
|
b9f4cee47692058f808a44f870a1f049f828f57c
|
[
"MIT"
] | null | null | null |
WatClient/main.go
|
EricLewe/TerminalChat
|
b9f4cee47692058f808a44f870a1f049f828f57c
|
[
"MIT"
] | null | null | null |
package main
import (
"golang.org/x/net/context"
"google.golang.org/grpc/grpclog"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc"
"regexp"
"strings"
"strconv"
"time"
"os"
"io"
google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
wcApi "github.com/EricLewe/TerminalChat/WatClientApiLib"
pb "github.com/EricLewe/TerminalChat/WatApi"
)
const (
address = "localhost:50051"
defaultName = "world"
)
type ChatClient struct {
Username string
conversationId int32
}
func newChatClient() *ChatClient {
c := new(ChatClient)
c.Username = ""
c.conversationId = -1 //The current conversation the client subscribes on
return c
}
func getWeather(client pb.ChatClient) pb.WeatherReply {
weather, _ := client.GetWeather(context.Background(), &pb.WeatherRequest{})
return *weather
}
func Login(client pb.ChatClient, username string, password string) (string, error) {
feature, err := client.VerifyLogin(context.Background(), &pb.LoginRequest{username, password})
if err != nil {
grpclog.Fatalf("%v.VerifyLogin(_) = _, %v: ", client, err)
}
return feature.Username, nil
}
//deprecated, should be replaced by dbs constraints
func currentTime() (google_protobuf.Timestamp) {
timeTemp := time.Now()
timestamp := google_protobuf.Timestamp{ int64(timeTemp.Second()), int32(timeTemp.Nanosecond())}
return timestamp
}
func SendMessageToServer(client pb.ChatClient, conversationId int32,message string, username string) {
timestamp := currentTime();
messageReply := &pb.ChatMessageReply{conversationId, message, ×tamp, username}
client.SendMessage(context.Background(), messageReply)
}
func GetConversations(client pb.ChatClient, sessionId string) (conversations []*pb.ConversationReply) {
conversation := &pb.Request{ sessionId}
if sessionId == "" {
return nil
}
stream, err := client.RouteConversation(context.Background(), conversation)
if err != nil {
grpclog.Fatalf("%v.getConversations(_) = _, %v: ", client, err)
}
for {
conversationReply, err := stream.Recv()
if err == io.EOF {
break
}
if err != nil {
grpclog.Fatalf("%v.getConversations(_) = _, %v", client, err)
}
conversations = append(conversations, conversationReply)
}
return conversations
}
//gets the messages sent by other clients from server, including itself
func GetMessagesFromClients(client pb.ChatClient, conversationId int32,sessionId string, cCollection wcApi.ControlCollection, selectedList []*pb.ConversationReply) ([]*pb.ConversationReply, []*pb.ChatMessageReply) {
messages := GetMessagesFromConversation(client, -1, sessionId)
selectedConversation := cCollection.SelectedConversation
for _, message := range messages {
if message.ConversationId == conversationId {
selectedConversation = append(selectedConversation, message)
} else {
for i, _ := range selectedList {
if selectedList[i].Id == message.ConversationId {
selectedList[i].LatestMessage.Content = message.Content
}
}
}
}
return selectedList, selectedConversation
}
func GetMessagesFromConversation(client pb.ChatClient, conversationId int32, sessionId string) (chatmessages []*pb.ChatMessageReply) {
rect := &pb.ConversationRequest{conversationId, &pb.Request{sessionId}}
stream, err := client.RouteChat(context.Background(), rect)
if err != nil {
grpclog.Fatalf("%v.ListFeatures(_) = _, %v", client, err)
}
for {
feature, err := stream.Recv()
if err == io.EOF {
break
}
if err != nil {
grpclog.Fatalf("%v.ListFeatures(_) = _, %v", client, err)
}
chatmessages = append(chatmessages, feature)
}
return chatmessages
}
//judges if the terminal may call the rendering of weather view or not.
func isInputWheather(in string) bool {
var validID = regexp.MustCompile(`^!weather\s*$`)
in = strings.ToLower(in)
if validID.MatchString(in) {
return true
}
return false
}
//judges if the terminal may join a conversation, (create conversation is not implemented yet)
func inputIsValid(in string) bool {
var validID = regexp.MustCompile(`^((join)\s+([0-9]+$))|((create)\s+(\w+)(\s+(\w+))*)$`)
in = strings.ToLower(in)
if validID.MatchString(in) {
return true
}
return false
}
func getConversationIdFromInput(in string) int32 {
re := regexp.MustCompile("[0-9]+")
id, _ := strconv.Atoi(re.FindString(in))
return int32(id)
}
//runs a chatclient which provides data to the view.
func main() {
creds, err := credentials.NewClientTLSFromFile("WatApi/server.pem", "Eric")
if err != nil {
grpclog.Fatalf("did not fix creds: %v", err)
}
conn, err := grpc.Dial(address, grpc.WithTransportCredentials(creds))
if err != nil {
grpclog.Fatalf("did not connect: %v", err)
}
defer conn.Close()
c := pb.NewChatClient(conn)
chatClient := newChatClient()
username := "lamacoder"
password := "useatownrisk"
if len(os.Args) >= 2 {
username = os.Args[0]
password = os.Args[1]
}
for {
chatClient.Username, _ = Login(c, username, password)
if chatClient.Username != "" {
break
}
}
go wcApi.InitWindow()
cCollection := wcApi.NewControlCollection()
cCollection.SelectedList = GetConversations(c, chatClient.Username)
cCollection.SetChatFocus(false)
ch := make(chan string, 1)
go cCollection.MessagePipeline(ch)
for {
select {
case terminalInput := <-ch:
if cCollection.ChatHasFocus {
SendMessageToServer(c, chatClient.conversationId, terminalInput, chatClient.Username)
cCollection.Update(GetMessagesFromClients(c, chatClient.conversationId, chatClient.Username, *cCollection, cCollection.SelectedList))
} else if isInputWheather(terminalInput) {
cCollection.SetWeatherFocus(true)
cCollection.UpdateWeather(getWeather(c))
} else if inputIsValid(terminalInput) {
if (strings.HasPrefix(terminalInput,"join")) {
chatClient.conversationId = getConversationIdFromInput(terminalInput)
asd := GetMessagesFromConversation(c, chatClient.conversationId, chatClient.Username)
cCollection.Update(cCollection.SelectedList, asd)
cCollection.SetChatFocus(true)
}
}
default:
time.Sleep(time.Second * 1)
}
if len(cCollection.SelectedConversation) > 0 {
cCollection.Update(GetMessagesFromClients(c, chatClient.conversationId, chatClient.Username, *cCollection, cCollection.SelectedList))
}
}
}
| 30.222222
| 215
| 0.698223
|
df90bda8895e9be6e47d6f0cf99a289010432586
| 241
|
cs
|
C#
|
materials/sources/assembly_valheim/Interactable.cs
|
ingvard/valheim-jserver
|
749eb36f02d41e3e3df7d5e16abd5cd0fdb950ad
|
[
"Apache-2.0"
] | null | null | null |
materials/sources/assembly_valheim/Interactable.cs
|
ingvard/valheim-jserver
|
749eb36f02d41e3e3df7d5e16abd5cd0fdb950ad
|
[
"Apache-2.0"
] | null | null | null |
materials/sources/assembly_valheim/Interactable.cs
|
ingvard/valheim-jserver
|
749eb36f02d41e3e3df7d5e16abd5cd0fdb950ad
|
[
"Apache-2.0"
] | null | null | null |
using System;
// Token: 0x020000D7 RID: 215
public interface Interactable
{
// Token: 0x06000DCE RID: 3534
bool Interact(Humanoid user, bool hold);
// Token: 0x06000DCF RID: 3535
bool UseItem(Humanoid user, ItemDrop.ItemData item);
}
| 20.083333
| 53
| 0.738589
|
58b7d862c651f609f8e202d1fb613c2d5178b179
| 67,398
|
css
|
CSS
|
public/front/css/style.css
|
luckyali55/blog
|
f8da14d8168690ed4769a80aed6e62321a0095b0
|
[
"MIT"
] | null | null | null |
public/front/css/style.css
|
luckyali55/blog
|
f8da14d8168690ed4769a80aed6e62321a0095b0
|
[
"MIT"
] | null | null | null |
public/front/css/style.css
|
luckyali55/blog
|
f8da14d8168690ed4769a80aed6e62321a0095b0
|
[
"MIT"
] | null | null | null |
body.default section{min-height:800px}body.default header.header .navbar{margin-bottom:0;border-radius:0;background-color:#fff;border:none;border-bottom:2px solid rgba(189,189,189,.25)}body.default header.header .navbar-nav>li>a{line-height:40px}body.default header.header .my-account-block ul>li>a .menu-account-img{height:40px;width:40px;border:2px solid #ea453e}body.default header.header .my-account-block ul{margin:0;padding:0}body.default header.header .my-account-block ul>li{list-style:none}body.default header.header .my-account-block ul .dropdown-menu{right:0;left:auto}body.default header.header .my-account-block ul>li>a{padding:15px;line-height:33px;border-radius:0}body.default header.header .navbar-nav .dropdown-menu{padding:0 0;margin:2px 0 0;font-size:11px;border:none;border-radius:0}body.default header.header .navbar-nav .dropdown-menu>li>a{padding:8px 20px;text-transform:uppercase}body.default header.header .navbar-nav .dropdown-menu>li>a:focus,body.default header.header .navbar-nav .dropdown-menu>li>a:hover{color:#fff;text-decoration:none;background-color:#ea453e}body.default header.header .my-account-block ul>li>.dropdown-menu{margin:0;border:none;padding:0;border-radius:0;margin-top:0}body.default header.header .my-account-block .dropdown-menu>li>a{display:block;padding:10px 10px;clear:both;font-weight:600;line-height:1.42857143;color:#333;white-space:nowrap;text-transform:uppercase;font-size:12px}body.default header.header .my-account-block .dropdown-menu>li>a:hover{color:#fff;background-color:#ea453e}body.default header.header .my-account-block .dropdown-menu>li>a i{width:25px}body.default header.header .my-account-block{position:absolute;top:0;right:15px}body.default header.header .navbar-header{min-height:70px}body.default header.header .navbar-toggle{margin-top:18px;margin-right:15px;border-radius:0;border:none;background-color:transparent}body.default header.header .navbar-default .navbar-toggle .icon-bar{background-color:#ea453e}body.default footer.footer .footer-links{background-color:#4c5667;border-top:2px solid #ea453e}body.default footer.footer .footer-links .copyright{text-align:center;font-size:12px;color:#fff}body.default footer.footer .footer-links .copyright p{line-height:6;margin-bottom:0}body.default footer.footer .footer-logo{background-color:#f5f5f5}body.default footer.footer .footer-logo img{margin-bottom:-21px;text-align:center}body.default footer.footer .footer-links .social-links{padding-top:25px}body.default footer.footer .footer-links .social-links a{font-size:16px;color:#fff;padding:0 5px}body.default footer.footer .footer-links .footer-navs{padding-top:25px;text-align:right}body.default footer.footer .footer-links .footer-navs a{color:#fff;font-size:12px;padding:0 5px}body.default .news-wraper{padding:100px 0;background-color:#fafafa}body.default .main-title{font-size:40px;text-transform:uppercase;font-weight:700;position:relative;margin:.67em 0}body.default .main-title small{display:block;text-transform:uppercase;font-size:12px;font-weight:600;color:#ef5350}body.default .main-title span{font-weight:300}body.default .main-title::before{content:"";width:100%;height:2px;background-color:#ef5350;position:absolute;bottom:-15px}body.default .main-title::after{content:"\f3d0";display:inline-block;font-family:Ionicons;color:#ef5350;font-size:20px;vertical-align:middle}body.default .main-title+p{font-size:13px;color:#999}body.default .news-item{background-color:#fff;box-shadow:0 2px 15px 0 rgba(0,0,0,.06),0 2px 0 0 rgba(0,0,0,.02);margin-bottom:30px}body.default .news-item-desc h3.news-title{text-transform:uppercase;font-weight:700;font-size:18px;letter-spacing:1px}body.default .news-item-desc p.news-date{font-size:13px;font-weight:600;color:#999}body.default .news-item-desc p.news-desc{font-size:15px}body.default .news-item-desc a.news-link{text-transform:uppercase;text-align:right;display:block;font-size:12px;font-weight:700;color:#3e4a56}body.default .news-item-desc{padding-right:30px;position:relative;padding-top:10px}body.default .news-item-inner{min-height:262.5px;position:relative}body.default .news-item-inner::before{content:"";position:absolute;background-color:#fff;width:100%;height:100%;transform-origin:bottom left;-ms-transform:skew(-15deg,0deg);-webkit-transform:skew(-15deg,0deg);transform:skew(-15deg,0deg);left:-86px}body.default .testimonial-wraper{padding:100px 0;background-image:url(../../../img/testimonial-bg.jpg);-webkit-background-size:cover;background-size:cover;background-attachment:fixed}body.default .testimonial-item{background-color:#fff}body.default .testimonial-top-bg{height:100px}body.default .testimonial-top-bg.bg-1{background-image:url(../../../img/bg-1.jpg);-webkit-background-size:contain;background-size:contain;background-repeat:no-repeat}body.default .testimonial-top-bg.bg-2{background-image:url(../../../img/bg-2.jpg);-webkit-background-size:contain;background-size:contain;background-repeat:no-repeat}body.default .testimonial-top-bg.bg-3{background-image:url(../../../img/bg-3.jpg);-webkit-background-size:contain;background-size:contain;background-repeat:no-repeat}body.default .testimonial-top-bg.bg-0{background-image:url(../../../img/bg-3.jpg);-webkit-background-size:contain;background-size:contain;background-repeat:no-repeat}body.default .testimonial-desc .testimonial-avtar{margin-top:-65px}body.default .testimonial-desc{text-align:center;padding:0 50px 50px;min-height:355px}body.default .testimonial-desc h3{font-size:18px;font-weight:700}body.default .testimonial-desc span{font-weight:300}body.default .testimonial-desc p{font-size:14px;color:#999;margin-bottom:20px}body.default .testimonial-desc a{text-transform:uppercase;font-size:13px;font-weight:700;color:#3e4a56;position:relative}body.default .testimonial-desc a::after{content:"";width:20%;height:2px;background-color:#ef5350;position:absolute;bottom:-5px;margin:0 auto;left:0;right:0}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev{position:absolute;top:50%;left:-30px}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next i,body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev i{font-size:40px;color:#fff}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next{position:absolute;top:50%;right:-30px}body.default .gallery-wraper{padding:100px 0}body.default .blog-wraper{padding:100px 0;background-color:#fafafa}body.default .blog-item{background-color:#fff;box-shadow:0 2px 15px 0 rgba(0,0,0,.06),0 2px 0 0 rgba(0,0,0,.02);margin-bottom:30px}body.default .blog-item-desc h3.blog-title{text-transform:uppercase;font-weight:700;font-size:18px;letter-spacing:1px}body.default .blog-item-desc p.blog-date{font-size:13px;font-weight:600;color:#999}body.default .blog-item-desc p.blog-desc{font-size:15px}body.default .blog-item-desc a.blog-link{text-transform:uppercase;text-align:right;display:block;font-size:12px;font-weight:700;color:#3e4a56}body.default .blog-item-desc{padding-left:30px;position:relative;padding-top:10px;z-index:999}body.default .blog-item-inner{min-height:262.5px;position:relative}body.default .blog-item-inner::before{content:"";position:absolute;background-color:#fff;width:100%;height:100%;transform-origin:bottom left;-ms-transform:skew(-15deg,0deg);-webkit-transform:skew(-15deg,0deg);transform:skew(-15deg,0deg);right:-16px;z-index:10}body.default .blog-detail-wraper{padding:100px 0}body.default .inner-title{text-transform:uppercase;font-weight:700;font-size:28px;margin-top:0;margin-bottom:30px}body.default .inner-title span{font-weight:100}body.default .blog-detail-desc .detail-tags{font-size:13px;margin-top:20px;color:#999}body.default .blog-detail-desc .detail-tags i{padding-right:5px}body.default .blog-detail-desc .detail-tags a{text-transform:uppercase;font-weight:600}body.default .blog-detail-desc .blog-detail-para{font-size:13px;color:#999}body.default .blog-detail-desc .quotes{margin:30px;border-bottom:2px solid #ef5350;padding-bottom:20px;position:relative}body.default .blog-detail-desc .quotes p{font-size:15px}body.default .blog-detail-desc .quotes p.quote-author{text-align:right;font-size:12px;font-weight:700;color:#999}body.default .blog-detail-desc .quotes::after{content:"\f10d";font:normal normal normal 14px/1 FontAwesome;position:absolute;top:-13px;left:-18px;font-size:40px;opacity:.2}body.default .blog-tags-wraper{border:1px solid #eee;padding:10px}body.default .blog-tags-wraper p{font-size:12px;font-weight:700;margin-bottom:0}body.default .blog-tags-wraper p i{padding-right:5px}body.default .blog-detail-side-search-wraper{padding:15px;background-color:#f0f4f7;border:1px solid #eee;position:relative}body.default .blog-detail-side-search-wraper input.form-control{background-color:#fff;font-size:12px;padding:20px;position:relative;padding-left:30px}body.default .blog-detail-side-search-wraper input+i{position:absolute;left:26px;top:30px;color:#ef5350;font-size:13px}body.default .blog-detail-side-category-wraper{border:1px solid #eee;margin-top:30px;padding-bottom:30px}body.default .blog-detail-side-category-wraper h3{margin-top:0;text-transform:uppercase;border-bottom:2px solid #ef5350;padding:20px 30px;font-size:18px;font-weight:600}body.default .blog-detail-side-category-wraper ul{padding-left:30px;padding-right:30px}body.default .blog-detail-side-category-wraper ul li{list-style:none;display:block;clear:both;line-height:2.5;position:relative}body.default .blog-detail-side-category-wraper ul li::after{content:"\f21b";display:inline-block;font-family:Ionicons;position:absolute;left:0;top:10px;font-size:6px;color:#ef5350}body.default .blog-detail-side-category-wraper ul li a{text-transform:uppercase;font-weight:600;font-size:13px;color:#c7d0d7;float:left;padding-left:15px}body.default .blog-detail-side-category-wraper ul li.active a,body.default .blog-detail-side-category-wraper ul li:hover a{color:#ef5350}body.default .blog-detail-side-category-wraper ul li span.cat-number{font-weight:600;font-size:13px;color:#c7d0d7;text-align:right;float:right}body.default .blog-detail-side-popular-posts-wraper{border:1px solid #eee;margin-top:30px}body.default .blog-detail-side-popular-posts-wraper h3{background-color:#434d59;color:#fff;border-bottom:2px solid #ef5350;padding:20px 30px;margin-top:0;text-transform:uppercase;font-size:18px;font-weight:600}body.default .popular-post-block{margin-bottom:15px;background-color:#fff}body.default .popular-post-desc h4{text-transform:uppercase;font-size:14px;font-weight:700;margin-top:15px;line-height:20px}body.default .popular-post-desc{padding-right:30px;position:relative;z-index:99}body.default .popular-post-desc p{font-size:13px;font-weight:400;color:#c7d0d7}body.default .popular-post-inner{position:relative;min-height:100px}body.default .popular-post-inner::before{content:"";position:absolute;background-color:#fff;width:100%;height:100%;transform-origin:bottom left;-ms-transform:skew(-15deg,0deg);-webkit-transform:skew(-15deg,0deg);transform:skew(-15deg,0deg);left:-43px;z-index:1}body.default .blog-detail-side-tags-wraper{border:1px solid #eee;margin-top:30px;padding-bottom:30px}body.default .blog-detail-side-tags-wraper h3{margin-top:0;text-transform:uppercase;border-bottom:2px solid #ef5350;padding:20px 30px;font-size:18px;font-weight:600}body.default .blog-detail-side-tags-wraper .tags-wraper{padding:0 30px}body.default .blog-detail-side-tags-wraper .tags-wraper a{display:inline-block;text-transform:uppercase;font-size:13px;font-weight:600;padding-right:20px;line-height:2}body.default .blog-list-wraper{background-color:#fafafa;padding:100px 0}body.default .blog-list-inner-desc{padding:30px;background-color:#fff;padding-top:10px;box-shadow:0 2px 15px 0 rgba(0,0,0,.06),0 2px 0 0 rgba(0,0,0,.02);padding-bottom:15px}body.default .blog-detail-desc a.btn{text-transform:uppercase;font-size:12px}body.default .news-list-item{margin-bottom:30px}body.default .dashboard-form label{text-transform:uppercase}body.default .blog-detail-main-slider .owl-controls .owl-nav .owl-prev{position:absolute;top:50%;left:0}body.default .blog-detail-main-slider .owl-controls .owl-nav .owl-next i,body.default .blog-detail-main-slider .owl-controls .owl-nav .owl-prev i{font-size:40px;color:#ef5350}body.default .blog-detail-main-slider .owl-controls .owl-nav .owl-next{position:absolute;top:50%;right:0}body.default .blog-bg-img{-webkit-background-size:cover;background-size:cover;height:262.5px}body.default .popular-post-img{-webkit-background-size:cover;background-size:cover;height:100px}body.default .dashboard-blog-actions a.btn{width:50px}body.default .about{padding:100px 0;background-image:url(../img/about-us-bg.jpg);-webkit-background-size:cover;background-size:cover}body.default .contact .contact-details{padding:100px 0;background-color:#fafafa}body.default .contact .contact-details .contact-detail-wraper{background-color:#fff;padding:30px;min-height:350px;position:relative;z-index:999}body.default .contact .contact-details .contact-skew{position:relative}body.default .contact .contact-details .contact-skew::before{content:"";position:absolute;background-color:#fff;width:100%;height:100%;transform-origin:bottom left;-ms-transform:skew(-15deg,0deg);-webkit-transform:skew(-15deg,0deg);transform:skew(-15deg,0deg);right:-17px;z-index:10}body.default .contact .contact-details .contact-detail-wraper h1{text-transform:uppercase;margin-top:0;font-size:22px;font-weight:600;border-bottom:2px solid #ea453e;padding-bottom:20px}body.default .contact .contact-details .contact-detail-wraper .contact-icons{font-size:15px}body.default .contact .contact-details .contact-detail-wraper .contact-icons i{color:#ea453e;width:20px}body.default .contact .contact-details .contact-detail-wraper .contact-icons span{padding-left:10px}body.default .contact .contact-form{background-color:#f0f4f7;padding:100px 0}body.default .contact .contact-form h1{text-transform:uppercase;margin-top:0;font-size:22px;font-weight:600}body.default .contact .contact-form form input.form-control{background-color:#fff;height:50px;margin-bottom:20px;font-size:12px;position:relative;padding-left:35px;font-weight:600;border-radius:0}body.default .contact .contact-form form .form-control:focus{border-color:#ea453e}body.default .contact .contact-form form .form-group+i{left:16px;top:7px;line-height:34px;color:#ea453e}body.default .contact .contact-form form textarea.form-control{background-color:#fff;margin-bottom:20px;font-size:12px;padding-top:15px;padding-left:35px;font-weight:600;border-radius:0}body.default .contact .contact-details #map{width:100%;height:350px}body.default .about .main-title{color:#ea453e}.about .main-title::before,body.default .about .main-title::after{display:none}body.default .about .main-title span{font-weight:700;color:#3e4a56}body.default .about .main-title small{font-size:28px;font-weight:400;color:#3e4a56;margin-bottom:10px}body.default .about hr{background-color:#ea453e;height:2px;border:none;margin-top:40px;width:200px}body.default .mission-vision{background-color:#fff;padding:100px 0}body.default .mission-vision h1{text-transform:uppercase;font-weight:800;font-size:20px;position:relative;padding-bottom:10px}body.default .mission-vision h1 span{color:#ea453e}body.default .teams{background-color:#f5f5f5;padding:100px 0}body.default .teams .main-title::after{display:none}body.default .teams .team-block .team-block-inner{padding:30px;border:1px solid #eee;position:relative;min-height:280px;background-color:#fff}body.default .teams .team-block .team-block-inner h1.name{margin-top:0;text-transform:uppercase;font-weight:700;font-size:2em}body.default .teams .team-block .team-block-inner h1.name span{font-weight:300}body.default .teams .team-block .team-block-inner p.designation{text-transform:uppercase;color:#999}body.default .teams .team-block .team-image{position:absolute;bottom:0;right:-10px}body.default .teams .team-block .team-block-inner .social-links{position:absolute;bottom:0;left:0;padding:30px}body.default .teams .team-block .team-block-inner .social-links a{color:#ea453e;font-size:15px;padding-right:5px}body.default .header .navbar-nav>li>a{position:relative}body.default .header .navbar-nav>li.active>a::after{content:"";position:absolute;bottom:-2px;background-color:#ea453e;height:2px;width:100%;left:0}body.default .mission-vision hr{margin:50px 0;background-color:#eee;border:none;height:1px}body.default .faq{padding:100px 0;background-color:#fafafa}body.default .faq .faq-category-title{text-transform:uppercase;font-size:20px;font-weight:600}body.default .faq .panel-default>.panel-heading{background-color:#fff;border-bottom:none;color:#797979;padding:10px}body.default .portfolio-wraper{padding:100px 0;background:#eeeff4}body.default .portfolio-wraper ul.trigger{margin:50px 0}body.default .portfolio-wraper ul.trigger li.active{color:#fff;background:#ef5350}body.default .portfolio-wraper ul.trigger li:hover{text-shadow:0 3px 2px rgba(0,0,0,.2);-webkit-transform:translateY(-1px);transform:translateY(-1px)}body.default .portfolio-wraper ul.trigger li{color:#333;display:inline-block;font-size:14px;font-weight:600;padding:0 20px;height:35px;line-height:35px;cursor:pointer;text-transform:uppercase;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:.4s;transition:.4s}body.default .portfolio-detail-wraper{padding:100px 0}body.default .portfolio-detail-wraper .portfolio_slider figure{margin:0 0 30px 0}body.default .portfolio-detail-wraper .portfolio_slider .owl-dots{bottom:65px;left:calc(50% - 30px);position:absolute;text-align:center}body.default .portfolio-detail-wraper .portfolio_slider .owl-dot span{border:1px solid #ef5350;border-radius:50%;display:inline-block;height:10px;margin-right:5px;width:10px;background-color:transparent}body.default .portfolio-detail-wraper .portfolio_slider .owl-dot.active span{border-width:3px}body.default .portfolio-detail-wraper .portfolio_slider .owl-dot{padding:0 2px}body.default .portfolio-detail-wraper hr{background-color:#f5f5f5;border:none;height:2px;margin-top:30px;margin-bottom:30px}body.default .portfolio-detail-wraper .port-folio-desc p{text-align:justify}body.default .portfolio-detail-wraper .related-project-block .related_post_top figure{margin-bottom:28px;box-shadow:0 2px 3px rgba(0,0,0,.2);margin-bottom:37px;overflow:hidden}body.default .portfolio-detail-wraper .related-project-block .related_post_top figure{margin:0}body.default .portfolio-detail-wraper .related-project-block h4 a{color:#333;font-size:18px;font-weight:700}body.default .portfolio-detail-wraper .related-project-block h4 a:hover{text-shadow:0 3px 2px rgba(0,0,0,.2);-webkit-transform:translateY(-1px);transform:translateY(-1px)}body.default .portfolio-detail-wraper .project-table tr td{text-transform:uppercase;padding:15px 15px}body.default .portfolio-detail-wraper .project-table{margin-top:30px;border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd}body.default .portfolio-detail-wraper .project-table .table{margin-bottom:0}.atvImg{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-tap-highlight-color:rgba(#000,0)}.atvImg img{box-shadow:0 2px 8px rgba(14,21,47,.25)}.atvImg-container{position:relative;width:100%;height:100%;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;-ms-transition:all .2s ease-out;-o-transition:all .2s ease-out;transition:all .2s ease-out}.atvImg-container.over .atvImg-shadow{box-shadow:0 45px 100px rgba(14,21,47,.4),0 16px 40px rgba(14,21,47,.4)}.atvImg-layers{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.atvImg-rendered-layer{position:absolute;width:104%;height:104%;top:-2%;left:-2%;background-repeat:no-repeat;background-position:center;background-color:transparent;background-size:cover;-webkit-transition:all .1s ease-out;-moz-transition:all .1s ease-out;-ms-transition:all .1s ease-out;-o-transition:all .1s ease-out;transition:all .1s ease-out}.atvImg-shadow{position:absolute;top:5%;left:5%;width:90%;height:90%;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;-ms-transition:all .2s ease-out;-o-transition:all .2s ease-out;transition:all .2s ease-out;box-shadow:0 8px 30px rgba(14,21,47,.6)}.atvImg-shine{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,rgba(255,255,255,.25) 0,rgba(255,255,255,0) 60%)}body.default .portfolio-wraper .all_work_item .col-xs-12.col-sm-6.col-md-4{margin-bottom:30px}body.default .career{padding:100px 0}body.default .career .career-block{position:relative;margin:30px 0}body.default .career .career-block .career-image{-webkit-background-size:cover;background-size:cover;height:390px;border:6px solid #ef5350}body.default .career .career-block .career-content-left{background-color:#f5f5f5;padding:30px;margin-left:-100px;margin-top:75px;box-shadow:0 10px 20px rgba(0,0,0,.06),0 6px 6px rgba(0,0,0,.05);position:relative;z-index:999}body.default .career .career-block .career-content-right{background-color:#f5f5f5;padding:30px;margin-right:-100px;margin-top:75px;box-shadow:0 10px 20px rgba(0,0,0,.06),0 6px 6px rgba(0,0,0,.05);position:relative;z-index:999}body.default .career .career-block .career-content-left h2,body.default .career .career-block .career-content-right h2{margin-top:0;font-size:20px;font-weight:600}body.default .career .career-block .career-content-left h2 span,body.default .career .career-block .career-content-right h2 span{font-weight:300}body.default .career .career-block .career-content-left a.btn,body.default .career .career-block .career-content-right a.btn{margin-top:20px}body.default .career{padding:100px 0}body.default .career .career-block{position:relative;margin:30px 0}body.default .career .career-block .career-image{-webkit-background-size:cover;background-size:cover;height:390px;border:6px solid #ef5350}body.default .career .career-block .career-content-left{background-color:#f5f5f5;padding:30px;margin-left:-100px;margin-top:75px;box-shadow:0 10px 20px rgba(0,0,0,.06),0 6px 6px rgba(0,0,0,.05);position:relative;z-index:999}body.default .career .career-block .career-content-right{background-color:#f5f5f5;padding:30px;margin-right:-100px;margin-top:75px;box-shadow:0 10px 20px rgba(0,0,0,.06),0 6px 6px rgba(0,0,0,.05);position:relative;z-index:999}body.default .career .career-block .career-content-left h2,body.default .career .career-block .career-content-right h2{margin-top:0;font-size:20px;font-weight:600}body.default .career .career-block .career-content-left h2 span,body.default .career .career-block .career-content-right h2 span{font-weight:300}body.default .career .career-block .career-content-left a.btn,body.default .career .career-block .career-content-right a.btn{margin-top:20px}body.default .career .carrer-apply-form input.form-control{background-color:#fff;height:50px;margin-bottom:20px;font-size:12px;position:relative;padding-left:15px;font-weight:600;border-radius:0}body.default .career .carrer-apply-form select.form-control{background-color:#fff;height:50px;margin-bottom:20px;font-size:12px;position:relative;padding-left:15px;font-weight:600;border-radius:0}body.default .career .carrer-apply-form textarea.form-control{background-color:#fff;margin-bottom:20px;font-size:12px;padding-top:15px;padding-left:15px;font-weight:600;border-radius:0}body.default .career .carrer-apply-form .form-control:focus{border-color:#ea453e}body.default .career .carrer-apply-form label{text-transform:uppercase;font-weight:500;font-size:12px}body.default .career .carrer-apply-form label sup{color:#ea453e}body.default .discuss{padding:100px 0;background-color:#fafafa}body.default .discuss .discuss-blocks{box-shadow:0 2px 15px 0 rgba(0,0,0,.06),0 2px 0 0 rgba(0,0,0,.02);padding:10px;background-color:#fff;margin-bottom:5px}body.default .discuss .discuss-blocks .media .media-object{height:54px;width:54px;background-color:#fff;padding:3px;border:1px dashed #ef5350}body.default .discuss .discuss-blocks .media .media-body .media-heading{text-transform:uppercase;font-size:14px;padding-top:8px}body.default .discuss .discuss-blocks .media .media-body{font-size:12px;padding-left:10px;position:relative}body.default .discuss .discuss-blocks .media .media-body .answer-count{font-size:38px;position:absolute;top:0;right:0;color:#ccc}body.default .discuss .discuss-detail-blocks{background-color:#fff;padding:20px;box-shadow:0 2px 15px 0 rgba(0,0,0,.06),0 2px 0 0 rgba(0,0,0,.02)}body.default .discuss .discuss-detail-blocks .media .media-object{height:54px;width:54px;background-color:#fff;padding:3px;border:1px dashed #ef5350}body.default .discuss .discuss-detail-blocks .inner-title{font-size:19px;margin-bottom:30px}body.default .discuss .discuss-detail-blocks .media .media-body .dashed-border{border:1px dashed #eee;margin-top:20px}body.default .discuss .discuss-detail-blocks .media .media-body .media-heading{text-transform:uppercase;font-size:13px;font-weight:700}body.default .discuss .discuss-detail-blocks .media .media-body .media-heading span{color:#ccc;font-weight:300;font-size:13px}body.default .discuss .post-comment-block{margin-top:30px}body.default .discuss .post-comment-block .post-comment-form{padding:20px;background-color:#f0f4f7;border:1px solid #eee}body.default .discuss .post-comment-block .post-comment-form input.form-control{background-color:#fff;height:50px;margin-bottom:20px;font-size:12px;position:relative;padding-left:35px;font-weight:600;border-radius:0}body.default .discuss .post-comment-block .post-comment-form .form-control+i{left:16px;top:7px;line-height:34px;color:#ea453e}body.default .discuss .post-comment-block .post-comment-form textarea.form-control{background-color:#fff;margin-bottom:20px;font-size:12px;padding-top:15px;padding-left:35px;font-weight:600;border-radius:0}body.default .pricelist-wraper{padding:100px 0}body.default .pricelist-wraper .single-pricing{background:#f5f5f5;box-shadow:0 2px 3px rgba(0,0,0,.1);-webkit-transition:.5s;transition:.5s}body.default .pricelist-wraper .single-pricing .pricing-header{padding:1.9em .9em 1.6em;text-align:center}body.default .pricelist-wraper .single-pricing .pricing-header h5{margin-bottom:3px;font-weight:700;text-transform:uppercase}body.default .pricelist-wraper .single-pricing .pricing-header h2.price .currency{display:inline-block;margin-top:10px;vertical-align:top;font-size:2rem;font-weight:700}body.default .pricelist-wraper .single-pricing .pricing-header h2.price .value{font-size:7rem;font-weight:300}body.default .pricelist-wraper .single-pricing .pricing-header h2.price .duration{font-weight:700;font-size:1.3rem;text-transform:uppercase}body.default .pricelist-wraper .single-pricing .pricing-body .pricing-features{padding:0;text-align:center}body.default .pricelist-wraper .single-pricing .pricing-body .pricing-features li{padding:1em;list-style:none}body.default .pricelist-wraper .single-pricing .pricing-body .pricing-features li em{display:inline-block;margin-bottom:0;font-weight:600;font-style:normal}body.default .pricelist-wraper .single-pricing.active i,body.default .pricelist-wraper .single-pricing:hover i{opacity:1;background:#fff;color:#ea453e}body.default .pricelist-wraper .single-pricing i{background:#fff;border-radius:0 0 20px 20px;color:#ea453e;font-size:20px;height:55px;line-height:64px;position:absolute;right:30px;text-align:center;top:0;width:35px;opacity:0}body.default .pricelist-wraper .single-pricing:hover{color:#fff;background:#ea453e;box-shadow:0 15px 30px rgba(0,0,0,.15)}body.default .pricelist-wraper .single-pricing.active{color:#fff;background:#ea453e}body.default .pricelist-wraper .single-pricing .pricing-footer{padding-top:30px}body.default .pricelist-wraper .single-pricing .pricing-footer a.btn{padding:20px 0;text-transform:uppercase;letter-spacing:1px}body.default .pricelist-wraper .single-pricing:hover .pricing-footer a.btn-danger{background-color:#fff!important;border:1px solid transparent!important;color:#3e4a56!important}body.default .gallery-wraper .my-album-wraper:hover .my-gallery-image{-webkit-transform:translateY(-30px);transform:translateY(-30px)}body.default .gallery-wraper .my-album-wraper .my-gallery-image{-webkit-transition:-webkit-transform .6s cubic-bezier(.19,1,.22,1);transition:transform .6s cubic-bezier(.19,1,.22,1);overflow:hidden;position:relative;z-index:1}body.default .gallery-wraper .my-album-wraper .my-gallery-image img{display:block;border:0;width:100%;height:auto}body.default .gallery-wraper .my-album-wraper:hover .my-album-title{-webkit-transform:translateY(-100%);transform:translateY(-100%)}body.default .gallery-wraper .my-album-wraper .my-album-title{background-color:#333;position:absolute;height:57px;width:100%;z-index:9;left:0;right:0;-webkit-transition:-webkit-transform .6s cubic-bezier(.19,1,.22,1);transition:transform .6s cubic-bezier(.19,1,.22,1)}body.default .gallery-wraper .my-album-wraper{position:relative;overflow:hidden;margin-bottom:30px}body.default .gallery-wraper .my-album-title-inner{text-align:center;padding:16px 0;text-transform:uppercase;font-size:15px;font-weight:600}body.default .gallery-wraper .cbp-lightbox img{padding:0;border-radius:0}@media only screen and (max-width:1199px){body.default .contact .contact-details .contact-detail-wraper{min-height:370px}body.default .contact .contact-details #map{height:370px}}@media only screen and (max-width:1024px){body.default .blog-bg-img{height:300px}body.default .news-item-inner{min-height:300px}body.default .news-item-inner::before{left:-97px}body.default .blog-item-inner{min-height:300px}body.default .popular-post-img{height:112px}body.default .popular-post-inner::before{left:-47px}body.default .contact .contact-details .contact-skew::before{display:none}}@media only screen and (max-width:768px){body.default .news-item-desc{padding-left:30px;padding-bottom:30px}body.default .news-item-inner::before{display:none}body.default .news-item-inner{min-height:auto}body.default .blog-item-desc{padding-left:30px;padding-right:30px;padding-bottom:30px}body.default .blog-item-inner::before{display:none}body.default .blog-item-inner{min-height:auto}body.default .blog-item-desc p.blog-desc{text-align:justify}body.default .news-item-desc p.news-desc{text-align:justify}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next{position:absolute;top:-110px;right:0}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev{position:absolute;top:-110px;left:inherit;right:30px}body.default .inner-title{font-size:22px}body.default .popular-post-img{height:151px}body.default .popular-post-inner::before{display:none}body.default .widget-user img{float:none;margin:0 auto}body.default .widget-user .wid-u-info{margin-left:0;margin-top:10px;text-align:center}body.default .header .my-account-block{position:absolute;top:0;right:60px}body.default .header .navbar-nav{padding-right:0!important;margin:0}body.default .header .navbar-nav li a{line-height:20px}body.default .header .navbar-nav li a:hover{background-color:#ea453e;color:#fff}body.default .header .navbar-collapse{padding-left:0;padding-right:0}body.default .footer .footer-links .social-links{text-align:center}body.default .footer .footer-links .footer-navs{text-align:center;padding-top:0;padding-bottom:20px}body.default .footer .footer-links .copyright p{line-height:4}body.default .teams .team-block .team-block-inner{margin-bottom:50px}body.default .teams .team-block .team-image{right:0}}@media only screen and (max-width:600px){.testimonial-top-bg.bg-2,.testimonial-top-bg.bg-3,body.default .testimonial-top-bg.bg-1{-webkit-background-size:cover;background-size:cover}body.default .popular-post-img{height:100px}body.default .popular-post-inner::before{display:block}body.default .blog-detail-desc .blog-detail-para{text-align:justify}}@media only screen and (max-width:414px){body.default .main-title{font-size:28px}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev{top:-85px}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next i,body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev i{font-size:30px}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next{top:-85px}}@media only screen and (max-width:375px){body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next{top:inherit;bottom:-50px;right:0;left:30px}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev{top:inherit;bottom:-50px;left:0;right:30px}}#comments{display:block;float:left;width:100%;margin:24px 0;padding:0}#comments .cmmnt,ul .cmmnt,ul ul .cmmnt{display:block;position:relative;padding-left:65px;border-top:1px solid #ddd}#comments .cmmnt .avatar{position:absolute;top:8px;left:0}#comments .cmmnt .avatar img{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.44);-moz-box-shadow:1px 1px 2px rgba(0,0,0,.44);box-shadow:1px 1px 2px rgba(0,0,0,.44);-webkit-transition:all .4s linear;-moz-transition:all .4s linear;-ms-transition:all .4s linear;-o-transition:all .4s linear;transition:all .4s linear}#comments .cmmnt .avatar a:hover img{opacity:.77}#comments .cmmnt .cmmnt-content{padding:0 3px;padding-bottom:12px;padding-top:8px}#comments .cmmnt .cmmnt-content header{font-size:1.3em;display:block;margin-bottom:8px}#comments .cmmnt .cmmnt-content header .pubdate{color:#777;font-size:12px}#comments .cmmnt .cmmnt-content header .userlink{font-weight:700}#comments .cmmnt .replies{margin-bottom:7px}li.dropdown.my-account{padding:15px 0}body.default section{min-height:800px}body.default header.header .navbar{margin-bottom:0;border-radius:0;background-color:#fff;border:none;border-bottom:2px solid rgba(189,189,189,.25)}body.default header.header .navbar-nav>li>a{line-height:40px}body.default header.header .my-account-block ul>li>a .menu-account-img{height:40px;width:40px;border:2px solid #ea453e}body.default header.header .my-account-block ul{margin:0;padding:0}body.default header.header .my-account-block ul>li{list-style:none}body.default header.header .my-account-block ul .dropdown-menu{right:0;left:auto}body.default header.header .my-account-block ul>li>a{padding:15px;line-height:33px;border-radius:0}body.default header.header .navbar-nav .dropdown-menu{padding:0 0;margin:2px 0 0;font-size:11px;border:none;border-radius:0}body.default header.header .navbar-nav .dropdown-menu>li>a{padding:8px 20px;text-transform:uppercase}body.default header.header .navbar-nav .dropdown-menu>li>a:focus,body.default header.header .navbar-nav .dropdown-menu>li>a:hover{color:#fff;text-decoration:none;background-color:#ea453e}body.default header.header .my-account-block ul>li>.dropdown-menu{margin:0;border:none;padding:0;border-radius:0;margin-top:0}body.default header.header .my-account-block .dropdown-menu>li>a{display:block;padding:10px 10px;clear:both;font-weight:600;line-height:1.42857143;color:#333;white-space:nowrap;text-transform:uppercase;font-size:12px}body.default header.header .my-account-block .dropdown-menu>li>a:hover{color:#fff;background-color:#ea453e}body.default header.header .my-account-block .dropdown-menu>li>a i{width:25px}body.default header.header .my-account-block{position:absolute;top:0;right:15px}body.default header.header .navbar-header{min-height:70px}body.default header.header .navbar-toggle{margin-top:18px;margin-right:15px;border-radius:0;border:none;background-color:transparent}body.default header.header .navbar-default .navbar-toggle .icon-bar{background-color:#ea453e}body.default footer.footer .footer-links{background-color:#4c5667;border-top:2px solid #ea453e}body.default footer.footer .footer-links .copyright{text-align:center;font-size:12px;color:#fff}body.default footer.footer .footer-links .copyright p{line-height:6;margin-bottom:0}body.default footer.footer .footer-logo{background-color:#f5f5f5}body.default footer.footer .footer-logo img{margin-bottom:-21px;text-align:center}body.default footer.footer .footer-links .social-links{padding-top:25px}body.default footer.footer .footer-links .social-links a{font-size:16px;color:#fff;padding:0 5px}body.default footer.footer .footer-links .footer-navs{padding-top:25px;text-align:right}body.default footer.footer .footer-links .footer-navs a{color:#fff;font-size:12px;padding:0 5px}body.default .news-wraper{padding:100px 0;background-color:#fafafa}body.default .main-title{font-size:40px;text-transform:uppercase;font-weight:700;position:relative;margin:.67em 0}body.default .main-title small{display:block;text-transform:uppercase;font-size:12px;font-weight:600;color:#ef5350}body.default .main-title span{font-weight:300}body.default .main-title::before{content:"";width:100%;height:2px;background-color:#ef5350;position:absolute;bottom:-15px}body.default .main-title::after{content:"\f3d0";display:inline-block;font-family:Ionicons;color:#ef5350;font-size:20px;vertical-align:middle}body.default .main-title+p{font-size:13px;color:#999}body.default .news-item{background-color:#fff;box-shadow:0 2px 15px 0 rgba(0,0,0,.06),0 2px 0 0 rgba(0,0,0,.02);margin-bottom:30px}body.default .news-item-desc h3.news-title{text-transform:uppercase;font-weight:700;font-size:18px;letter-spacing:1px}body.default .news-item-desc p.news-date{font-size:13px;font-weight:600;color:#999}body.default .news-item-desc p.news-desc{font-size:15px}body.default .news-item-desc a.news-link{text-transform:uppercase;text-align:right;display:block;font-size:12px;font-weight:700;color:#3e4a56}body.default .news-item-desc{padding-right:30px;position:relative;padding-top:10px}body.default .news-item-inner{min-height:262.5px;position:relative}body.default .news-item-inner::before{content:"";position:absolute;background-color:#fff;width:100%;height:100%;transform-origin:bottom left;-ms-transform:skew(-15deg,0deg);-webkit-transform:skew(-15deg,0deg);transform:skew(-15deg,0deg);left:-86px}body.default .testimonial-wraper{padding:100px 0;background-image:url(../../../img/testimonial-bg.jpg);-webkit-background-size:cover;background-size:cover;background-attachment:fixed}body.default .testimonial-item{background-color:#fff}body.default .testimonial-top-bg{height:100px}body.default .testimonial-top-bg.bg-1{background-image:url(../../../img/bg-1.jpg);-webkit-background-size:contain;background-size:contain;background-repeat:no-repeat}body.default .testimonial-top-bg.bg-2{background-image:url(../../../img/bg-2.jpg);-webkit-background-size:contain;background-size:contain;background-repeat:no-repeat}body.default .testimonial-top-bg.bg-3{background-image:url(../../../img/bg-3.jpg);-webkit-background-size:contain;background-size:contain;background-repeat:no-repeat}body.default .testimonial-top-bg.bg-0{background-image:url(../../../img/bg-3.jpg);-webkit-background-size:contain;background-size:contain;background-repeat:no-repeat}body.default .testimonial-desc .testimonial-avtar{margin-top:-65px}body.default .testimonial-desc{text-align:center;padding:0 50px 50px;min-height:355px}body.default .testimonial-desc h3{font-size:18px;font-weight:700}body.default .testimonial-desc span{font-weight:300}body.default .testimonial-desc p{font-size:14px;color:#999;margin-bottom:20px}body.default .testimonial-desc a{text-transform:uppercase;font-size:13px;font-weight:700;color:#3e4a56;position:relative}body.default .testimonial-desc a::after{content:"";width:20%;height:2px;background-color:#ef5350;position:absolute;bottom:-5px;margin:0 auto;left:0;right:0}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev{position:absolute;top:50%;left:-30px}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next i,body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev i{font-size:40px;color:#fff}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next{position:absolute;top:50%;right:-30px}body.default .gallery-wraper{padding:100px 0}body.default .blog-wraper{padding:100px 0;background-color:#fafafa}body.default .blog-item{background-color:#fff;box-shadow:0 2px 15px 0 rgba(0,0,0,.06),0 2px 0 0 rgba(0,0,0,.02);margin-bottom:30px}body.default .blog-item-desc h3.blog-title{text-transform:uppercase;font-weight:700;font-size:18px;letter-spacing:1px}body.default .blog-item-desc p.blog-date{font-size:13px;font-weight:600;color:#999}body.default .blog-item-desc p.blog-desc{font-size:15px}body.default .blog-item-desc a.blog-link{text-transform:uppercase;text-align:right;display:block;font-size:12px;font-weight:700;color:#3e4a56}body.default .blog-item-desc{padding-left:30px;position:relative;padding-top:10px;z-index:999}body.default .blog-item-inner{min-height:262.5px;position:relative}body.default .blog-item-inner::before{content:"";position:absolute;background-color:#fff;width:100%;height:100%;transform-origin:bottom left;-ms-transform:skew(-15deg,0deg);-webkit-transform:skew(-15deg,0deg);transform:skew(-15deg,0deg);right:-16px;z-index:10}body.default .blog-detail-wraper{padding:100px 0}body.default .inner-title{text-transform:uppercase;font-weight:700;font-size:28px;margin-top:0;margin-bottom:30px}body.default .inner-title span{font-weight:100}body.default .blog-detail-desc .detail-tags{font-size:13px;margin-top:20px;color:#999}body.default .blog-detail-desc .detail-tags i{padding-right:5px}body.default .blog-detail-desc .detail-tags a{text-transform:uppercase;font-weight:600}body.default .blog-detail-desc .blog-detail-para{font-size:13px;color:#999}body.default .blog-detail-desc .quotes{margin:30px;border-bottom:2px solid #ef5350;padding-bottom:20px;position:relative}body.default .blog-detail-desc .quotes p{font-size:15px}body.default .blog-detail-desc .quotes p.quote-author{text-align:right;font-size:12px;font-weight:700;color:#999}body.default .blog-detail-desc .quotes::after{content:"\f10d";font:normal normal normal 14px/1 FontAwesome;position:absolute;top:-13px;left:-18px;font-size:40px;opacity:.2}body.default .blog-tags-wraper{border:1px solid #eee;padding:10px}body.default .blog-tags-wraper p{font-size:12px;font-weight:700;margin-bottom:0}body.default .blog-tags-wraper p i{padding-right:5px}body.default .blog-detail-side-search-wraper{padding:15px;background-color:#f0f4f7;border:1px solid #eee;position:relative}body.default .blog-detail-side-search-wraper input.form-control{background-color:#fff;font-size:12px;padding:20px;position:relative;padding-left:30px}body.default .blog-detail-side-search-wraper input+i{position:absolute;left:26px;top:30px;color:#ef5350;font-size:13px}body.default .blog-detail-side-category-wraper{border:1px solid #eee;margin-top:30px;padding-bottom:30px}body.default .blog-detail-side-category-wraper h3{margin-top:0;text-transform:uppercase;border-bottom:2px solid #ef5350;padding:20px 30px;font-size:18px;font-weight:600}body.default .blog-detail-side-category-wraper ul{padding-left:30px;padding-right:30px}body.default .blog-detail-side-category-wraper ul li{list-style:none;display:block;clear:both;line-height:2.5;position:relative}body.default .blog-detail-side-category-wraper ul li::after{content:"\f21b";display:inline-block;font-family:Ionicons;position:absolute;left:0;top:10px;font-size:6px;color:#ef5350}body.default .blog-detail-side-category-wraper ul li a{text-transform:uppercase;font-weight:600;font-size:13px;color:#c7d0d7;float:left;padding-left:15px}body.default .blog-detail-side-category-wraper ul li.active a,body.default .blog-detail-side-category-wraper ul li:hover a{color:#ef5350}body.default .blog-detail-side-category-wraper ul li span.cat-number{font-weight:600;font-size:13px;color:#c7d0d7;text-align:right;float:right}body.default .blog-detail-side-popular-posts-wraper{border:1px solid #eee;margin-top:30px}body.default .blog-detail-side-popular-posts-wraper h3{background-color:#434d59;color:#fff;border-bottom:2px solid #ef5350;padding:20px 30px;margin-top:0;text-transform:uppercase;font-size:18px;font-weight:600}body.default .popular-post-block{margin-bottom:15px;background-color:#fff}body.default .popular-post-desc h4{text-transform:uppercase;font-size:14px;font-weight:700;margin-top:15px;line-height:20px}body.default .popular-post-desc{padding-right:30px;position:relative;z-index:99}body.default .popular-post-desc p{font-size:13px;font-weight:400;color:#c7d0d7}body.default .popular-post-inner{position:relative;min-height:100px}body.default .popular-post-inner::before{content:"";position:absolute;background-color:#fff;width:100%;height:100%;transform-origin:bottom left;-ms-transform:skew(-15deg,0deg);-webkit-transform:skew(-15deg,0deg);transform:skew(-15deg,0deg);left:-43px;z-index:1}body.default .blog-detail-side-tags-wraper{border:1px solid #eee;margin-top:30px;padding-bottom:30px}body.default .blog-detail-side-tags-wraper h3{margin-top:0;text-transform:uppercase;border-bottom:2px solid #ef5350;padding:20px 30px;font-size:18px;font-weight:600}body.default .blog-detail-side-tags-wraper .tags-wraper{padding:0 30px}body.default .blog-detail-side-tags-wraper .tags-wraper a{display:inline-block;text-transform:uppercase;font-size:13px;font-weight:600;padding-right:20px;line-height:2}body.default .blog-list-wraper{background-color:#fafafa;padding:100px 0}body.default .blog-list-inner-desc{padding:30px;background-color:#fff;padding-top:10px;box-shadow:0 2px 15px 0 rgba(0,0,0,.06),0 2px 0 0 rgba(0,0,0,.02);padding-bottom:15px}body.default .blog-detail-desc a.btn{text-transform:uppercase;font-size:12px}body.default .news-list-item{margin-bottom:30px}body.default .dashboard-form label{text-transform:uppercase}body.default .blog-detail-main-slider .owl-controls .owl-nav .owl-prev{position:absolute;top:50%;left:0}body.default .blog-detail-main-slider .owl-controls .owl-nav .owl-next i,body.default .blog-detail-main-slider .owl-controls .owl-nav .owl-prev i{font-size:40px;color:#ef5350}body.default .blog-detail-main-slider .owl-controls .owl-nav .owl-next{position:absolute;top:50%;right:0}body.default .blog-bg-img{-webkit-background-size:cover;background-size:cover;height:262.5px}body.default .popular-post-img{-webkit-background-size:cover;background-size:cover;height:100px}body.default .dashboard-blog-actions a.btn{width:50px}body.default .about{padding:100px 0;background-image:url(../img/about-us-bg.jpg);-webkit-background-size:cover;background-size:cover}body.default .contact .contact-details{padding:100px 0;background-color:#fafafa}body.default .contact .contact-details .contact-detail-wraper{background-color:#fff;padding:30px;min-height:350px;position:relative;z-index:999}body.default .contact .contact-details .contact-skew{position:relative}body.default .contact .contact-details .contact-skew::before{content:"";position:absolute;background-color:#fff;width:100%;height:100%;transform-origin:bottom left;-ms-transform:skew(-15deg,0deg);-webkit-transform:skew(-15deg,0deg);transform:skew(-15deg,0deg);right:-17px;z-index:10}body.default .contact .contact-details .contact-detail-wraper h1{text-transform:uppercase;margin-top:0;font-size:22px;font-weight:600;border-bottom:2px solid #ea453e;padding-bottom:20px}body.default .contact .contact-details .contact-detail-wraper .contact-icons{font-size:15px}body.default .contact .contact-details .contact-detail-wraper .contact-icons i{color:#ea453e;width:20px}body.default .contact .contact-details .contact-detail-wraper .contact-icons span{padding-left:10px}body.default .contact .contact-form{background-color:#f0f4f7;padding:100px 0}body.default .contact .contact-form h1{text-transform:uppercase;margin-top:0;font-size:22px;font-weight:600}body.default .contact .contact-form form input.form-control{background-color:#fff;height:50px;margin-bottom:20px;font-size:12px;position:relative;padding-left:35px;font-weight:600;border-radius:0}body.default .contact .contact-form form .form-control:focus{border-color:#ea453e}body.default .contact .contact-form form .form-group+i{left:16px;top:7px;line-height:34px;color:#ea453e}body.default .contact .contact-form form textarea.form-control{background-color:#fff;margin-bottom:20px;font-size:12px;padding-top:15px;padding-left:35px;font-weight:600;border-radius:0}body.default .contact .contact-details #map{width:100%;height:350px}body.default .about .main-title{color:#ea453e}.about .main-title::before,body.default .about .main-title::after{display:none}body.default .about .main-title span{font-weight:700;color:#3e4a56}body.default .about .main-title small{font-size:28px;font-weight:400;color:#3e4a56;margin-bottom:10px}body.default .about hr{background-color:#ea453e;height:2px;border:none;margin-top:40px;width:200px}body.default .mission-vision{background-color:#fff;padding:100px 0}body.default .mission-vision h1{text-transform:uppercase;font-weight:800;font-size:20px;position:relative;padding-bottom:10px}body.default .mission-vision h1 span{color:#ea453e}body.default .teams{background-color:#f5f5f5;padding:100px 0}body.default .teams .main-title::after{display:none}body.default .teams .team-block .team-block-inner{padding:30px;border:1px solid #eee;position:relative;min-height:280px;background-color:#fff}body.default .teams .team-block .team-block-inner h1.name{margin-top:0;text-transform:uppercase;font-weight:700;font-size:2em}body.default .teams .team-block .team-block-inner h1.name span{font-weight:300}body.default .teams .team-block .team-block-inner p.designation{text-transform:uppercase;color:#999}body.default .teams .team-block .team-image{position:absolute;bottom:0;right:-10px}body.default .teams .team-block .team-block-inner .social-links{position:absolute;bottom:0;left:0;padding:30px}body.default .teams .team-block .team-block-inner .social-links a{color:#ea453e;font-size:15px;padding-right:5px}body.default .header .navbar-nav>li>a{position:relative}body.default .header .navbar-nav>li.active>a::after{content:"";position:absolute;bottom:-2px;background-color:#ea453e;height:2px;width:100%;left:0}body.default .mission-vision hr{margin:50px 0;background-color:#eee;border:none;height:1px}body.default .faq{padding:100px 0;background-color:#fafafa}body.default .faq .faq-category-title{text-transform:uppercase;font-size:20px;font-weight:600}body.default .faq .panel-default>.panel-heading{background-color:#fff;border-bottom:none;color:#797979;padding:10px}body.default .portfolio-wraper{padding:100px 0;background:#eeeff4}body.default .portfolio-wraper ul.trigger{margin:50px 0}body.default .portfolio-wraper ul.trigger li.active{color:#fff;background:#ef5350}body.default .portfolio-wraper ul.trigger li:hover{text-shadow:0 3px 2px rgba(0,0,0,.2);-webkit-transform:translateY(-1px);transform:translateY(-1px)}body.default .portfolio-wraper ul.trigger li{color:#333;display:inline-block;font-size:14px;font-weight:600;padding:0 20px;height:35px;line-height:35px;cursor:pointer;text-transform:uppercase;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:.4s;transition:.4s}body.default .portfolio-detail-wraper{padding:100px 0}body.default .portfolio-detail-wraper .portfolio_slider figure{margin:0 0 30px 0}body.default .portfolio-detail-wraper .portfolio_slider .owl-dots{bottom:65px;left:calc(50% - 30px);position:absolute;text-align:center}body.default .portfolio-detail-wraper .portfolio_slider .owl-dot span{border:1px solid #ef5350;border-radius:50%;display:inline-block;height:10px;margin-right:5px;width:10px;background-color:transparent}body.default .portfolio-detail-wraper .portfolio_slider .owl-dot.active span{border-width:3px}body.default .portfolio-detail-wraper .portfolio_slider .owl-dot{padding:0 2px}body.default .portfolio-detail-wraper hr{background-color:#f5f5f5;border:none;height:2px;margin-top:30px;margin-bottom:30px}body.default .portfolio-detail-wraper .port-folio-desc p{text-align:justify}body.default .portfolio-detail-wraper .related-project-block .related_post_top figure{margin-bottom:28px;box-shadow:0 2px 3px rgba(0,0,0,.2);margin-bottom:37px;overflow:hidden}body.default .portfolio-detail-wraper .related-project-block .related_post_top figure{margin:0}body.default .portfolio-detail-wraper .related-project-block h4 a{color:#333;font-size:18px;font-weight:700}body.default .portfolio-detail-wraper .related-project-block h4 a:hover{text-shadow:0 3px 2px rgba(0,0,0,.2);-webkit-transform:translateY(-1px);transform:translateY(-1px)}body.default .portfolio-detail-wraper .project-table tr td{text-transform:uppercase;padding:15px 15px}body.default .portfolio-detail-wraper .project-table{margin-top:30px;border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd}body.default .portfolio-detail-wraper .project-table .table{margin-bottom:0}.atvImg{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-tap-highlight-color:rgba(#000,0)}.atvImg img{box-shadow:0 2px 8px rgba(14,21,47,.25)}.atvImg-container{position:relative;width:100%;height:100%;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;-ms-transition:all .2s ease-out;-o-transition:all .2s ease-out;transition:all .2s ease-out}.atvImg-container.over .atvImg-shadow{box-shadow:0 45px 100px rgba(14,21,47,.4),0 16px 40px rgba(14,21,47,.4)}.atvImg-layers{position:relative;width:100%;height:100%;overflow:hidden;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.atvImg-rendered-layer{position:absolute;width:104%;height:104%;top:-2%;left:-2%;background-repeat:no-repeat;background-position:center;background-color:transparent;background-size:cover;-webkit-transition:all .1s ease-out;-moz-transition:all .1s ease-out;-ms-transition:all .1s ease-out;-o-transition:all .1s ease-out;transition:all .1s ease-out}.atvImg-shadow{position:absolute;top:5%;left:5%;width:90%;height:90%;-webkit-transition:all .2s ease-out;-moz-transition:all .2s ease-out;-ms-transition:all .2s ease-out;-o-transition:all .2s ease-out;transition:all .2s ease-out;box-shadow:0 8px 30px rgba(14,21,47,.6)}.atvImg-shine{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,rgba(255,255,255,.25) 0,rgba(255,255,255,0) 60%)}body.default .portfolio-wraper .all_work_item .col-xs-12.col-sm-6.col-md-4{margin-bottom:30px}body.default .career{padding:100px 0}body.default .career .career-block{position:relative;margin:30px 0}body.default .career .career-block .career-image{-webkit-background-size:cover;background-size:cover;height:390px;border:6px solid #ef5350}body.default .career .career-block .career-content-left{background-color:#f5f5f5;padding:30px;margin-left:-100px;margin-top:75px;box-shadow:0 10px 20px rgba(0,0,0,.06),0 6px 6px rgba(0,0,0,.05);position:relative;z-index:999}body.default .career .career-block .career-content-right{background-color:#f5f5f5;padding:30px;margin-right:-100px;margin-top:75px;box-shadow:0 10px 20px rgba(0,0,0,.06),0 6px 6px rgba(0,0,0,.05);position:relative;z-index:999}body.default .career .career-block .career-content-left h2,body.default .career .career-block .career-content-right h2{margin-top:0;font-size:20px;font-weight:600}body.default .career .career-block .career-content-left h2 span,body.default .career .career-block .career-content-right h2 span{font-weight:300}body.default .career .career-block .career-content-left a.btn,body.default .career .career-block .career-content-right a.btn{margin-top:20px}body.default .career{padding:100px 0}body.default .career .career-block{position:relative;margin:30px 0}body.default .career .career-block .career-image{-webkit-background-size:cover;background-size:cover;height:390px;border:6px solid #ef5350}body.default .career .career-block .career-content-left{background-color:#f5f5f5;padding:30px;margin-left:-100px;margin-top:75px;box-shadow:0 10px 20px rgba(0,0,0,.06),0 6px 6px rgba(0,0,0,.05);position:relative;z-index:999}body.default .career .career-block .career-content-right{background-color:#f5f5f5;padding:30px;margin-right:-100px;margin-top:75px;box-shadow:0 10px 20px rgba(0,0,0,.06),0 6px 6px rgba(0,0,0,.05);position:relative;z-index:999}body.default .career .career-block .career-content-left h2,body.default .career .career-block .career-content-right h2{margin-top:0;font-size:20px;font-weight:600}body.default .career .career-block .career-content-left h2 span,body.default .career .career-block .career-content-right h2 span{font-weight:300}body.default .career .career-block .career-content-left a.btn,body.default .career .career-block .career-content-right a.btn{margin-top:20px}body.default .career .carrer-apply-form input.form-control{background-color:#fff;height:50px;margin-bottom:20px;font-size:12px;position:relative;padding-left:15px;font-weight:600;border-radius:0}body.default .career .carrer-apply-form select.form-control{background-color:#fff;height:50px;margin-bottom:20px;font-size:12px;position:relative;padding-left:15px;font-weight:600;border-radius:0}body.default .career .carrer-apply-form textarea.form-control{background-color:#fff;margin-bottom:20px;font-size:12px;padding-top:15px;padding-left:15px;font-weight:600;border-radius:0}body.default .career .carrer-apply-form .form-control:focus{border-color:#ea453e}body.default .career .carrer-apply-form label{text-transform:uppercase;font-weight:500;font-size:12px}body.default .career .carrer-apply-form label sup{color:#ea453e}body.default .discuss{padding:100px 0;background-color:#fafafa}body.default .discuss .discuss-blocks{box-shadow:0 2px 15px 0 rgba(0,0,0,.06),0 2px 0 0 rgba(0,0,0,.02);padding:10px;background-color:#fff;margin-bottom:5px}body.default .discuss .discuss-blocks .media .media-object{height:54px;width:54px;background-color:#fff;padding:3px;border:1px dashed #ef5350}body.default .discuss .discuss-blocks .media .media-body .media-heading{text-transform:uppercase;font-size:14px;padding-top:8px}body.default .discuss .discuss-blocks .media .media-body{font-size:12px;padding-left:10px;position:relative}body.default .discuss .discuss-blocks .media .media-body .answer-count{font-size:38px;position:absolute;top:0;right:0;color:#ccc}body.default .discuss .discuss-detail-blocks{background-color:#fff;padding:20px;box-shadow:0 2px 15px 0 rgba(0,0,0,.06),0 2px 0 0 rgba(0,0,0,.02)}body.default .discuss .discuss-detail-blocks .media .media-object{height:54px;width:54px;background-color:#fff;padding:3px;border:1px dashed #ef5350}body.default .discuss .discuss-detail-blocks .inner-title{font-size:19px;margin-bottom:30px}body.default .discuss .discuss-detail-blocks .media .media-body .dashed-border{border:1px dashed #eee;margin-top:20px}body.default .discuss .discuss-detail-blocks .media .media-body .media-heading{text-transform:uppercase;font-size:13px;font-weight:700}body.default .discuss .discuss-detail-blocks .media .media-body .media-heading span{color:#ccc;font-weight:300;font-size:13px}body.default .discuss .post-comment-block{margin-top:30px}body.default .discuss .post-comment-block .post-comment-form{padding:20px;background-color:#f0f4f7;border:1px solid #eee}body.default .discuss .post-comment-block .post-comment-form input.form-control{background-color:#fff;height:50px;margin-bottom:20px;font-size:12px;position:relative;padding-left:35px;font-weight:600;border-radius:0}body.default .discuss .post-comment-block .post-comment-form .form-control+i{left:16px;top:7px;line-height:34px;color:#ea453e}body.default .discuss .post-comment-block .post-comment-form textarea.form-control{background-color:#fff;margin-bottom:20px;font-size:12px;padding-top:15px;padding-left:35px;font-weight:600;border-radius:0}body.default .pricelist-wraper{padding:100px 0}body.default .pricelist-wraper .single-pricing{background:#f5f5f5;box-shadow:0 2px 3px rgba(0,0,0,.1);-webkit-transition:.5s;transition:.5s}body.default .pricelist-wraper .single-pricing .pricing-header{padding:1.9em .9em 1.6em;text-align:center}body.default .pricelist-wraper .single-pricing .pricing-header h5{margin-bottom:3px;font-weight:700;text-transform:uppercase}body.default .pricelist-wraper .single-pricing .pricing-header h2.price .currency{display:inline-block;margin-top:10px;vertical-align:top;font-size:2rem;font-weight:700}body.default .pricelist-wraper .single-pricing .pricing-header h2.price .value{font-size:7rem;font-weight:300}body.default .pricelist-wraper .single-pricing .pricing-header h2.price .duration{font-weight:700;font-size:1.3rem;text-transform:uppercase}body.default .pricelist-wraper .single-pricing .pricing-body .pricing-features{padding:0;text-align:center}body.default .pricelist-wraper .single-pricing .pricing-body .pricing-features li{padding:1em;list-style:none}body.default .pricelist-wraper .single-pricing .pricing-body .pricing-features li em{display:inline-block;margin-bottom:0;font-weight:600;font-style:normal}body.default .pricelist-wraper .single-pricing.active i,body.default .pricelist-wraper .single-pricing:hover i{opacity:1;background:#fff;color:#ea453e}body.default .pricelist-wraper .single-pricing i{background:#fff;border-radius:0 0 20px 20px;color:#ea453e;font-size:20px;height:55px;line-height:64px;position:absolute;right:30px;text-align:center;top:0;width:35px;opacity:0}body.default .pricelist-wraper .single-pricing:hover{color:#fff;background:#ea453e;box-shadow:0 15px 30px rgba(0,0,0,.15)}body.default .pricelist-wraper .single-pricing.active{color:#fff;background:#ea453e}body.default .pricelist-wraper .single-pricing .pricing-footer{padding-top:30px}body.default .pricelist-wraper .single-pricing .pricing-footer a.btn{padding:20px 0;text-transform:uppercase;letter-spacing:1px}body.default .pricelist-wraper .single-pricing:hover .pricing-footer a.btn-danger{background-color:#fff!important;border:1px solid transparent!important;color:#3e4a56!important}body.default .gallery-wraper .my-album-wraper:hover .my-gallery-image{-webkit-transform:translateY(-30px);transform:translateY(-30px)}body.default .gallery-wraper .my-album-wraper .my-gallery-image{-webkit-transition:-webkit-transform .6s cubic-bezier(.19,1,.22,1);transition:transform .6s cubic-bezier(.19,1,.22,1);overflow:hidden;position:relative;z-index:1}body.default .gallery-wraper .my-album-wraper .my-gallery-image img{display:block;border:0;width:100%;height:auto}body.default .gallery-wraper .my-album-wraper:hover .my-album-title{-webkit-transform:translateY(-100%);transform:translateY(-100%)}body.default .gallery-wraper .my-album-wraper .my-album-title{background-color:#333;position:absolute;height:57px;width:100%;z-index:9;left:0;right:0;-webkit-transition:-webkit-transform .6s cubic-bezier(.19,1,.22,1);transition:transform .6s cubic-bezier(.19,1,.22,1)}body.default .gallery-wraper .my-album-wraper{position:relative;overflow:hidden;margin-bottom:30px}body.default .gallery-wraper .my-album-title-inner{text-align:center;padding:16px 0;text-transform:uppercase;font-size:15px;font-weight:600}body.default .gallery-wraper .cbp-lightbox img{padding:0;border-radius:0}@media only screen and (max-width:1199px){body.default .contact .contact-details .contact-detail-wraper{min-height:370px}body.default .contact .contact-details #map{height:370px}}@media only screen and (max-width:1024px){body.default .blog-bg-img{height:300px}body.default .news-item-inner{min-height:300px}body.default .news-item-inner::before{left:-97px}body.default .blog-item-inner{min-height:300px}body.default .popular-post-img{height:112px}body.default .popular-post-inner::before{left:-47px}body.default .contact .contact-details .contact-skew::before{display:none}}@media only screen and (max-width:768px){body.default .news-item-desc{padding-left:30px;padding-bottom:30px}body.default .news-item-inner::before{display:none}body.default .news-item-inner{min-height:auto}body.default .blog-item-desc{padding-left:30px;padding-right:30px;padding-bottom:30px}body.default .blog-item-inner::before{display:none}body.default .blog-item-inner{min-height:auto}body.default .blog-item-desc p.blog-desc{text-align:justify}body.default .news-item-desc p.news-desc{text-align:justify}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next{position:absolute;top:-110px;right:0}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev{position:absolute;top:-110px;left:inherit;right:30px}body.default .inner-title{font-size:22px}body.default .popular-post-img{height:151px}body.default .popular-post-inner::before{display:none}body.default .widget-user img{float:none;margin:0 auto}body.default .widget-user .wid-u-info{margin-left:0;margin-top:10px;text-align:center}body.default .header .my-account-block{position:absolute;top:0;right:60px}body.default .header .navbar-nav{padding-right:0!important;margin:0}body.default .header .navbar-nav li a{line-height:20px}body.default .header .navbar-nav li a:hover{background-color:#ea453e;color:#fff}body.default .header .navbar-collapse{padding-left:0;padding-right:0}body.default .footer .footer-links .social-links{text-align:center}body.default .footer .footer-links .footer-navs{text-align:center;padding-top:0;padding-bottom:20px}body.default .footer .footer-links .copyright p{line-height:4}body.default .teams .team-block .team-block-inner{margin-bottom:50px}body.default .teams .team-block .team-image{right:0}}@media only screen and (max-width:600px){.testimonial-top-bg.bg-2,.testimonial-top-bg.bg-3,body.default .testimonial-top-bg.bg-1{-webkit-background-size:cover;background-size:cover}body.default .popular-post-img{height:100px}body.default .popular-post-inner::before{display:block}body.default .blog-detail-desc .blog-detail-para{text-align:justify}}@media only screen and (max-width:414px){body.default .main-title{font-size:28px}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev{top:-85px}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next i,body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev i{font-size:30px}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next{top:-85px}}@media only screen and (max-width:375px){body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-next{top:inherit;bottom:-50px;right:0;left:30px}body.default .testimonial-wraper .owl-carousel .owl-controls .owl-nav .owl-prev{top:inherit;bottom:-50px;left:0;right:30px}}#comments{display:block;float:left;width:100%;margin:24px 0;padding:0}#comments .cmmnt,ul .cmmnt,ul ul .cmmnt{display:block;position:relative;padding-left:65px;border-top:1px solid #ddd}#comments .cmmnt .avatar{position:absolute;top:8px;left:0}#comments .cmmnt .avatar img{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:1px 1px 2px rgba(0,0,0,.44);-moz-box-shadow:1px 1px 2px rgba(0,0,0,.44);box-shadow:1px 1px 2px rgba(0,0,0,.44);-webkit-transition:all .4s linear;-moz-transition:all .4s linear;-ms-transition:all .4s linear;-o-transition:all .4s linear;transition:all .4s linear}#comments .cmmnt .avatar a:hover img{opacity:.77}#comments .cmmnt .cmmnt-content{padding:0 3px;padding-bottom:12px;padding-top:8px}#comments .cmmnt .cmmnt-content header{font-size:1.3em;display:block;margin-bottom:8px}#comments .cmmnt .cmmnt-content header .pubdate{color:#777;font-size:12px}#comments .cmmnt .cmmnt-content header .userlink{font-weight:700}#comments .cmmnt .replies{margin-bottom:7px}li.dropdown.my-account{padding:15px 0}
| 67,398
| 67,398
| 0.802694
|
25a620f7b2ede78d166e9d0c5800e27e73e35027
| 30,299
|
js
|
JavaScript
|
app/public/js/aframe-mouse-cursor-component.min.js
|
kevindh89/360-viewer
|
2d29c5f5aafc789a65a3a0e193f01f2ad4cf89c2
|
[
"MIT"
] | 1
|
2018-07-10T16:18:55.000Z
|
2018-07-10T16:18:55.000Z
|
app/public/js/aframe-mouse-cursor-component.min.js
|
kevindh89/360-viewer
|
2d29c5f5aafc789a65a3a0e193f01f2ad4cf89c2
|
[
"MIT"
] | 1
|
2018-07-10T16:16:51.000Z
|
2018-07-10T16:16:51.000Z
|
app/public/js/aframe-mouse-cursor-component.min.js
|
kevindh89/360-viewer
|
2d29c5f5aafc789a65a3a0e193f01f2ad4cf89c2
|
[
"MIT"
] | 2
|
2018-07-11T06:05:50.000Z
|
2019-01-28T23:32:12.000Z
|
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ exports: {},
/******/ id: moduleId,
/******/ loaded: false
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.loaded = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
'use strict';
var _lodash = __webpack_require__(1);
var _lodash2 = _interopRequireDefault(_lodash);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// import checkHeadsetConnected from 'aframe/src/utils/checkHeadsetConnected'
if (typeof AFRAME === 'undefined') {
throw 'Component attempted to register before AFRAME was available.';
}
// const IS_VR_AVAILABLE = window.hasNativeWebVRImplementation && checkHeadsetConnected()
var IS_VR_AVAILABLE = AFRAME.utils.device.isMobile() || window.hasNonPolyfillWebVRSupport;
/**
* Mouse Cursor Component for A-Frame.
*/
AFRAME.registerComponent('mouse-cursor', {
schema: {},
/**
* Called once when component is attached. Generally for initial setup.
* @protected
*/
init: function init() {
this.__raycaster = new THREE.Raycaster();
this.__mouse = new THREE.Vector2();
this.__isMobile = this.el.sceneEl.isMobile;
this.__isStereo = false;
this.__active = false;
this.__isDown = false;
this.__intersectedEl = null;
this.__attachEventListeners();
},
/**
* Called when component is attached and when component data changes.
* Generally modifies the entity based on the data.
* @protected
*/
update: function update(oldData) {},
/**
* Called when a component is removed (e.g., via removeAttribute).
* Generally undoes all modifications to the entity.
* @protected
*/
remove: function remove() {
this.__removeEventListeners();
this.__raycaster = null;
},
/**
* Called on each scene tick.
* @protected
*/
// tick (t) { },
/**
* Called when entity pauses.
* Use to stop or remove any dynamic or background behavior such as events.
* @protected
*/
pause: function pause() {
this.__active = false;
},
/**
* Called when entity resumes.
* Use to continue or add any dynamic or background behavior such as events.
* @protected
*/
play: function play() {
this.__active = true;
},
/*==============================
= events =
==============================*/
/**
* @private
*/
__attachEventListeners: function __attachEventListeners() {
var el = this.el;
var sceneEl = el.sceneEl;
var canvas = sceneEl.canvas;
/* if canvas doesn't exist, listen for canvas to load. */
if (!canvas) {
el.sceneEl.addEventListener('render-target-loaded', this.__attachEventListeners.bind(this));
return;
}
/* scene */
sceneEl.addEventListener('enter-vr', this.__onEnterVR.bind(this));
sceneEl.addEventListener('exit-vr', this.__onExitVR.bind(this));
/* Mouse Events */
canvas.addEventListener('mousedown', this.__onDown.bind(this));
canvas.addEventListener('mousemove', this.__onMouseMove.bind(this));
canvas.addEventListener('mouseup', this.__onRelease.bind(this));
canvas.addEventListener('mouseout', this.__onRelease.bind(this));
/* Touch events */
canvas.addEventListener('touchstart', this.__onDown.bind(this));
canvas.addEventListener('touchmove', this.__onTouchMove.bind(this));
canvas.addEventListener('touchend', this.__onRelease.bind(this));
/* Element component change */
el.addEventListener('componentchanged', this.__onComponentChanged.bind(this));
},
/**
* @private
*/
__removeEventListeners: function __removeEventListeners() {
var el = this.el;
var sceneEl = el.sceneEl;
var canvas = sceneEl.canvas;
if (!canvas) {
return;
}
/* scene */
sceneEl.removeEventListener('enter-vr', this.__onEnterVR.bind(this));
sceneEl.removeEventListener('exit-vr', this.__onExitVR.bind(this));
/* Mouse Events */
canvas.removeEventListener('mousedown', this.__onDown.bind(this));
canvas.removeEventListener('mousemove', this.__onMouseMove.bind(this));
canvas.removeEventListener('mouseup', this.__onRelease.bind(this));
canvas.removeEventListener('mouseout', this.__onRelease.bind(this));
/* Touch events */
canvas.removeEventListener('touchstart', this.__onDown.bind(this));
canvas.removeEventListener('touchmove', this.__onTouchMove.bind(this));
canvas.removeEventListener('touchend', this.__onRelease.bind(this));
/* Element component change */
el.removeEventListener('componentchanged', this.__onComponentChanged.bind(this));
},
/**
* Check if the mouse cursor is active
* @private
*/
__isActive: function __isActive() {
return !!(this.__active || this.__raycaster);
},
/**
* @private
*/
__onDown: function __onDown(evt) {
if (!this.__isActive()) {
return;
}
this.__isDown = true;
this.__updateMouse(evt);
this.__updateIntersectObject();
if (!this.__isMobile) {
this.__setInitMousePosition(evt);
}
},
/**
* @private
*/
__onRelease: function __onRelease() {
if (!this.__isActive()) {
return;
}
/* check if mouse position has updated */
if (this.__defMousePosition) {
var defX = Math.abs(this.__initMousePosition.x - this.__defMousePosition.x);
var defY = Math.abs(this.__initMousePosition.y - this.__defMousePosition.y);
var def = Math.max(defX, defY);
if (def > 0.04) {
/* mouse has moved too much to recognize as click. */
this.__isDown = false;
}
}
if (this.__isDown && this.__intersectedEl) {
this.__emit('click');
}
this.__isDown = false;
this.__resetMousePosition();
},
/**
* @private
*/
__onMouseMove: function __onMouseMove(evt) {
if (!this.__isActive()) {
return;
}
this.__updateMouse(evt);
this.__updateIntersectObject();
if (this.__isDown) {
this.__setMousePosition(evt);
}
},
/**
* @private
*/
__onTouchMove: function __onTouchMove(evt) {
if (!this.__isActive()) {
return;
}
this.__isDown = false;
},
/**
* @private
*/
__onEnterVR: function __onEnterVR() {
if (IS_VR_AVAILABLE) {
this.__isStereo = true;
}
},
/**
* @private
*/
__onExitVR: function __onExitVR() {
this.__isStereo = false;
},
/**
* @private
*/
__onComponentChanged: function __onComponentChanged(evt) {
if (evt.detail.name === 'position') {
this.__updateIntersectObject();
}
},
/*=============================
= mouse =
=============================*/
/**
* Get mouse position
* @private
*/
__getPosition: function __getPosition(evt) {
var _window = window;
var w = _window.innerWidth;
var h = _window.innerHeight;
var cx = void 0,
cy = void 0;
if (this.__isMobile) {
var touches = evt.touches;
if (!touches || touches.length !== 1) {
return;
}
var touch = touches[0];
cx = touch.pageX;
cy = touch.pageY;
} else {
cx = evt.clientX;
cy = evt.clientY;
}
if (this.__isStereo) {
cx = cx % (w / 2) * 2;
}
var x = cx / w * 2 - 1;
var y = -(cy / h) * 2 + 1;
return { x: x, y: y };
},
/**
* Update mouse
* @private
*/
__updateMouse: function __updateMouse(evt) {
var pos = this.__getPosition(evt);
if (pos === null || pos === undefined) {
return;
}
this.__mouse.x = pos.x;
this.__mouse.y = pos.y;
},
/**
* Update mouse position
* @private
*/
__setMousePosition: function __setMousePosition(evt) {
this.__defMousePosition = this.__getPosition(evt);
},
/**
* Update initial mouse position
* @private
*/
__setInitMousePosition: function __setInitMousePosition(evt) {
this.__initMousePosition = this.__getPosition(evt);
},
__resetMousePosition: function __resetMousePosition() {
this.__initMousePosition = this.__defMousePosition = null;
},
/*======================================
= scene children =
======================================*/
/**
* Get non group object3D
* @private
*/
__getChildren: function __getChildren(object3D) {
var _this = this;
return object3D.children.map(function (obj) {
return obj.type === 'Group' ? _this.__getChildren(obj) : obj;
});
},
/**
* Get all non group object3D
* @private
*/
__getAllChildren: function __getAllChildren() {
var children = this.__getChildren(this.el.sceneEl.object3D);
return (0, _lodash2.default)(children);
},
/*====================================
= intersection =
====================================*/
/**
* Update intersect element with cursor
* @private
*/
__updateIntersectObject: function __updateIntersectObject() {
var __raycaster = this.__raycaster;
var el = this.el;
var __mouse = this.__mouse;
var scene = el.sceneEl.object3D;
var camera = this.el.getObject3D('camera');
this.__getAllChildren();
/* find intersections */
// __raycaster.setFromCamera(__mouse, camera) /* this somehow gets error so did the below */
__raycaster.ray.origin.setFromMatrixPosition(camera.matrixWorld);
__raycaster.ray.direction.set(__mouse.x, __mouse.y, 0.5).unproject(camera).sub(__raycaster.ray.origin).normalize();
/* get objects intersected between mouse and camera */
var children = this.__getAllChildren();
var intersects = __raycaster.intersectObjects(children, true);
if (intersects.length > 0) {
/* get the closest three obj */
var obj = void 0;
intersects.every(function (item) {
if (item.object.parent.visible === true) {
obj = item.object;
return false;
} else {
return true;
}
});
if (!obj) {
this.__clearIntersectObject();
return;
}
/* get the entity */
var _el = obj.parent.el;
/* only updates if the object is not the activated object */
if (this.__intersectedEl === _el) {
return;
}
this.__clearIntersectObject();
/* apply new object as intersected */
this.__setIntersectObject(_el);
} else {
this.__clearIntersectObject();
}
},
/**
* Set intersect element
* @private
* @param {AEntity} el `a-entity` element
*/
__setIntersectObject: function __setIntersectObject(el) {
this.__intersectedEl = el;
if (this.__isMobile) {
return;
}
el.addState('hovered');
el.emit('mouseenter');
this.el.addState('hovering');
},
/**
* Clear intersect element
* @private
*/
__clearIntersectObject: function __clearIntersectObject() {
var el = this.__intersectedEl;
if (el && !this.__isMobile) {
el.removeState('hovered');
el.emit('mouseleave');
this.el.removeState('hovering');
}
this.__intersectedEl = null;
},
/*===============================
= emitter =
===============================*/
/**
* @private
*/
__emit: function __emit(evt) {
var __intersectedEl = this.__intersectedEl;
this.el.emit(evt, { target: __intersectedEl });
if (__intersectedEl) {
__intersectedEl.emit(evt);
}
}
});
/***/ },
/* 1 */
/***/ function(module, exports) {
/* WEBPACK VAR INJECTION */(function(global) {/**
* lodash (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
/** Used as references for various `Number` constants. */
var INFINITY = 1 / 0,
MAX_SAFE_INTEGER = 9007199254740991;
/** `Object#toString` result references. */
var argsTag = '[object Arguments]',
funcTag = '[object Function]',
genTag = '[object GeneratorFunction]';
/** Detect free variable `global` from Node.js. */
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
/** Detect free variable `self`. */
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
/** Used as a reference to the global object. */
var root = freeGlobal || freeSelf || Function('return this')();
/**
* Appends the elements of `values` to `array`.
*
* @private
* @param {Array} array The array to modify.
* @param {Array} values The values to append.
* @returns {Array} Returns `array`.
*/
function arrayPush(array, values) {
var index = -1,
length = values.length,
offset = array.length;
while (++index < length) {
array[offset + index] = values[index];
}
return array;
}
/** Used for built-in method references. */
var objectProto = Object.prototype;
/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;
/**
* Used to resolve the
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
* of values.
*/
var objectToString = objectProto.toString;
/** Built-in value references. */
var Symbol = root.Symbol,
propertyIsEnumerable = objectProto.propertyIsEnumerable,
spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;
/**
* The base implementation of `_.flatten` with support for restricting flattening.
*
* @private
* @param {Array} array The array to flatten.
* @param {number} depth The maximum recursion depth.
* @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
* @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
* @param {Array} [result=[]] The initial result value.
* @returns {Array} Returns the new flattened array.
*/
function baseFlatten(array, depth, predicate, isStrict, result) {
var index = -1,
length = array.length;
predicate || (predicate = isFlattenable);
result || (result = []);
while (++index < length) {
var value = array[index];
if (depth > 0 && predicate(value)) {
if (depth > 1) {
// Recursively flatten arrays (susceptible to call stack limits).
baseFlatten(value, depth - 1, predicate, isStrict, result);
} else {
arrayPush(result, value);
}
} else if (!isStrict) {
result[result.length] = value;
}
}
return result;
}
/**
* Checks if `value` is a flattenable `arguments` object or array.
*
* @private
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
*/
function isFlattenable(value) {
return isArray(value) || isArguments(value) ||
!!(spreadableSymbol && value && value[spreadableSymbol]);
}
/**
* Recursively flattens `array`.
*
* @static
* @memberOf _
* @since 3.0.0
* @category Array
* @param {Array} array The array to flatten.
* @returns {Array} Returns the new flattened array.
* @example
*
* _.flattenDeep([1, [2, [3, [4]], 5]]);
* // => [1, 2, 3, 4, 5]
*/
function flattenDeep(array) {
var length = array ? array.length : 0;
return length ? baseFlatten(array, INFINITY) : [];
}
/**
* Checks if `value` is likely an `arguments` object.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
* else `false`.
* @example
*
* _.isArguments(function() { return arguments; }());
* // => true
*
* _.isArguments([1, 2, 3]);
* // => false
*/
function isArguments(value) {
// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
(!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
}
/**
* Checks if `value` is classified as an `Array` object.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
* @example
*
* _.isArray([1, 2, 3]);
* // => true
*
* _.isArray(document.body.children);
* // => false
*
* _.isArray('abc');
* // => false
*
* _.isArray(_.noop);
* // => false
*/
var isArray = Array.isArray;
/**
* Checks if `value` is array-like. A value is considered array-like if it's
* not a function and has a `value.length` that's an integer greater than or
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
* @example
*
* _.isArrayLike([1, 2, 3]);
* // => true
*
* _.isArrayLike(document.body.children);
* // => true
*
* _.isArrayLike('abc');
* // => true
*
* _.isArrayLike(_.noop);
* // => false
*/
function isArrayLike(value) {
return value != null && isLength(value.length) && !isFunction(value);
}
/**
* This method is like `_.isArrayLike` except that it also checks if `value`
* is an object.
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an array-like object,
* else `false`.
* @example
*
* _.isArrayLikeObject([1, 2, 3]);
* // => true
*
* _.isArrayLikeObject(document.body.children);
* // => true
*
* _.isArrayLikeObject('abc');
* // => false
*
* _.isArrayLikeObject(_.noop);
* // => false
*/
function isArrayLikeObject(value) {
return isObjectLike(value) && isArrayLike(value);
}
/**
* Checks if `value` is classified as a `Function` object.
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
* @example
*
* _.isFunction(_);
* // => true
*
* _.isFunction(/abc/);
* // => false
*/
function isFunction(value) {
// The use of `Object#toString` avoids issues with the `typeof` operator
// in Safari 8-9 which returns 'object' for typed array and other constructors.
var tag = isObject(value) ? objectToString.call(value) : '';
return tag == funcTag || tag == genTag;
}
/**
* Checks if `value` is a valid array-like length.
*
* **Note:** This method is loosely based on
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
* @example
*
* _.isLength(3);
* // => true
*
* _.isLength(Number.MIN_VALUE);
* // => false
*
* _.isLength(Infinity);
* // => false
*
* _.isLength('3');
* // => false
*/
function isLength(value) {
return typeof value == 'number' &&
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
}
/**
* Checks if `value` is the
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
*
* @static
* @memberOf _
* @since 0.1.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
* @example
*
* _.isObject({});
* // => true
*
* _.isObject([1, 2, 3]);
* // => true
*
* _.isObject(_.noop);
* // => true
*
* _.isObject(null);
* // => false
*/
function isObject(value) {
var type = typeof value;
return !!value && (type == 'object' || type == 'function');
}
/**
* Checks if `value` is object-like. A value is object-like if it's not `null`
* and has a `typeof` result of "object".
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
* @example
*
* _.isObjectLike({});
* // => true
*
* _.isObjectLike([1, 2, 3]);
* // => true
*
* _.isObjectLike(_.noop);
* // => false
*
* _.isObjectLike(null);
* // => false
*/
function isObjectLike(value) {
return !!value && typeof value == 'object';
}
module.exports = flattenDeep;
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
/***/ }
/******/ ]);
| 34.3916
| 131
| 0.438001
|
9abc9746bff5b12000697e14e115db2db88c7e1c
| 2,038
|
py
|
Python
|
controller/credentials_controller.py
|
Chandru01061997/pythonDB
|
fc164bdc921fd42af316f034433fbc27bacfd24c
|
[
"Apache-2.0"
] | 409
|
2020-07-01T14:10:50.000Z
|
2022-02-25T03:10:26.000Z
|
controller/credentials_controller.py
|
Chandru01061997/pythonDB
|
fc164bdc921fd42af316f034433fbc27bacfd24c
|
[
"Apache-2.0"
] | 14
|
2020-07-03T23:09:49.000Z
|
2020-10-07T12:37:12.000Z
|
controller/credentials_controller.py
|
Chandru01061997/pythonDB
|
fc164bdc921fd42af316f034433fbc27bacfd24c
|
[
"Apache-2.0"
] | 303
|
2020-07-01T14:08:53.000Z
|
2022-03-08T17:59:34.000Z
|
import os
from flask import Blueprint, request
from flask_cors import CORS
from service.astra_service import astra_service
credentials_controller = Blueprint('credentials_controller', __name__)
CORS(credentials_controller)
# This controller handles the functionality for connecting to the database
#
# Here we define the REST API endpoints and call our Astra Service
# to send the request to the underlying Data Access Objects
@credentials_controller.route("/api/credentials", methods=['GET', 'POST'])
def connect():
if request.method == 'POST':
temp_zip_path = os.path.abspath('temp_bundle.zip')
temp_zip = open(temp_zip_path, 'wb')
with temp_zip as f:
f.write(request.get_data())
try:
astra_service.save_credentials(request.args['username'], request.args['password'],
request.args['keyspace'], temp_zip_path)
astra_service.connect()
finally:
os.remove(temp_zip_path)
return {'connected': True}, 200
if request.method == 'GET':
resp = astra_service.check_connection()
if resp is True:
status_code = 200
else:
status_code = 401
return str(resp), status_code
@credentials_controller.route("/api/credentials/test", methods=['POST'])
def test_credentials():
temp_zip_path = os.path.abspath('temp_bundle.zip')
temp_zip = open(temp_zip_path, 'wb')
with temp_zip as f:
f.write(request.get_data())
resp = {'success': False}
status_code = 400
try:
test_connection = astra_service.test_credentials(request.args['username'], request.args['password'],
request.args['keyspace'], temp_zip_path)
resp = {'success': test_connection}
if resp['success'] is True:
status_code = 200
else:
status_code = 401
finally:
os.remove(temp_zip_path)
return resp, status_code
| 28.305556
| 108
| 0.631011
|
387851098b44fec8fc274f3690e60585e8452b27
| 2,150
|
php
|
PHP
|
resources/views/livewire/user/views/make-order.blade.php
|
Ibraheem-Aoor/socialmedia
|
a3f002c9b0992f02eca0af896fa83dcc4d411254
|
[
"MIT"
] | null | null | null |
resources/views/livewire/user/views/make-order.blade.php
|
Ibraheem-Aoor/socialmedia
|
a3f002c9b0992f02eca0af896fa83dcc4d411254
|
[
"MIT"
] | null | null | null |
resources/views/livewire/user/views/make-order.blade.php
|
Ibraheem-Aoor/socialmedia
|
a3f002c9b0992f02eca0af896fa83dcc4d411254
|
[
"MIT"
] | null | null | null |
<div>
@section('links')
<div class="collapse navbar-collapse" id="navbarCollapse">
<div class="navbar-nav mx-auto py-0">
<a href="{{ route('home') }}" class="nav-item nav-link">Home</a>
<a href="{{ route('home') }}" class="nav-item nav-link">Feature</a>
<a href="{{ route('home') }}" class="nav-item nav-link">How it work</a>
</div>
<a href="index.html#feature" class="btn btn-primary-gradient rounded-pill py-2 px-4 ms-3 d-none d-lg-block">Start
Now</a>
</div>
@endsection
<!-- choices Start -->
<div class="container-xxl py-5" style="margin-top:-140px;">
<div class="container py-5 px-lg-5">
<div class="row gy-5 gx-4 justify-content-center">
<div class="col-lg-6 col-sm-6 text-center pt-4 wow fadeInUp" data-wow-delay="0.1s">
<div class="position-relative bg-light rounded pt-5 pb-4 px-4">
<h4 class="mt-4 mb-3" style="color:#000;">Enter Profile
URL:</h3>
<span style="color:lightgrat">You will receive your order within 24 hours!</span>
<p class="mb-0 details">
<form action="" wire:submit.prevent="makeOrder">
<div class="form-group">
<input type="text" placeholder="url.." class="form-control" wire:model.lazy="url">
@error('url')
<span class="text-danger">{{$message}}</span>
@enderror
</div><br>
<div class="form-group">
<button type="submit" class="btn btn-primary-gradient">Submit</button>
</div>
</form>
</p>
</div>
</div>
</div>
</div>
</div>
<!-- choices Start -->
</div>
| 51.190476
| 125
| 0.432558
|
a9f7affd0dc406e43f9ea6f5eab18deb392fc8c5
| 334
|
php
|
PHP
|
src/Primearea/OrderBundle/Dto/Order.php
|
prime-space/old-marketplace
|
6e3150445a72e85d42f99c23d02939091d689533
|
[
"Apache-2.0"
] | 1
|
2021-03-09T15:41:36.000Z
|
2021-03-09T15:41:36.000Z
|
src/Primearea/OrderBundle/Dto/Order.php
|
prime-space/old-marketplace
|
6e3150445a72e85d42f99c23d02939091d689533
|
[
"Apache-2.0"
] | null | null | null |
src/Primearea/OrderBundle/Dto/Order.php
|
prime-space/old-marketplace
|
6e3150445a72e85d42f99c23d02939091d689533
|
[
"Apache-2.0"
] | 2
|
2021-03-15T15:46:24.000Z
|
2021-03-17T04:54:26.000Z
|
<?php namespace Primearea\OrderBundle\Dto;
use Primearea\PrimeareaBundle\Transaction\TransactionInterface;
class Order implements TransactionInterface
{
public const STATUS_PAY = 'pay';
public $id;
public $status;
public $totalBuyer;
public function getAmount()
{
return $this->totalBuyer;
}
}
| 18.555556
| 63
| 0.706587
|
0e246706b7dcf107e5ace981b17bcc9d877913a2
| 390
|
lua
|
Lua
|
game/roommgr/room.lua
|
damoguyan9527/skynetqipai
|
38caa54f8011735e31ee4491a72403a287a79629
|
[
"MIT"
] | 1
|
2021-02-03T07:38:36.000Z
|
2021-02-03T07:38:36.000Z
|
game/roommgr/room.lua
|
damoguyan9527/skynetqipai
|
38caa54f8011735e31ee4491a72403a287a79629
|
[
"MIT"
] | null | null | null |
game/roommgr/room.lua
|
damoguyan9527/skynetqipai
|
38caa54f8011735e31ee4491a72403a287a79629
|
[
"MIT"
] | null | null | null |
local utils = require "utils"
-- 房间类,每个房间为一场比赛
local M = {}
M.__index = M
function M.new(...)
local o = {}
setmetatable(o, M)
M.init(o, ...)
return o
end
function M:init(info, addr)
utils.print(info)
self.roomid = info.roomid
self.addr = addr
self.ticket = tostring(math.random(os.time()))
end
function M:get_addr()
return self.addr
end
return M
| 13.448276
| 50
| 0.620513
|
a43f705b9f494cb6ab34dc8abb4f82e4a3faab55
| 1,814
|
php
|
PHP
|
ppdb.man2/simplex/systemplate/response/404.php
|
Bladefidz/ppdb
|
4d8f05bfe6ac983e5e59b4ef75a898407d3d61c8
|
[
"Apache-2.0"
] | null | null | null |
ppdb.man2/simplex/systemplate/response/404.php
|
Bladefidz/ppdb
|
4d8f05bfe6ac983e5e59b4ef75a898407d3d61c8
|
[
"Apache-2.0"
] | null | null | null |
ppdb.man2/simplex/systemplate/response/404.php
|
Bladefidz/ppdb
|
4d8f05bfe6ac983e5e59b4ef75a898407d3d61c8
|
[
"Apache-2.0"
] | 1
|
2019-02-09T03:57:05.000Z
|
2019-02-09T03:57:05.000Z
|
<!DOCTYPE html>
<html lang="en">
<head>
<title>404 error page</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link rel="stylesheet" media="screen" href=<?= SYS_ASSETS."css/bootstrap.min.css"; ?>>
<link rel="stylesheet" media="screen" href=<?= SYS_ASSETS."css/bootstrap-theme.min.css"; ?>>
<!-- Bootstrap Error Page -->
<link rel="stylesheet" media="screen" href=<?= SYS_ASSETS."css/bootstrap-error-page.css"; ?>>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script type="text/javascript" src="js/html5shiv.js"></script>
<script type="text/javascript" src="js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- content -->
<div class="container-fluid">
<div class="row-fluid">
<div class="col-lg-12">
<div class="centering text-center">
<div class="text-center">
<h2 class="without-margin"><span class="text-success"><big>404</big></span></h2>
<h4 class="text-success">Page you have requested was not found !</h4>
</div>
<hr>
</div>
</div>
</div>
</div>
<!-- footer -->
<div class="navbar navbar-footer navbar-fixed-bottom">
<div class="container">
<div class="row">
<div class="col-lg-12">
<footer role="contentinfo">
<p class="left">Simplex PHP Framework - 404 response</p>
</footer>
</div>
</div>
</div>
</div>
</body>
</html>
| 36.28
| 104
| 0.523705
|
c8c32399289aeb5e50e8b77845c6bd531cefa18a
| 277,100
|
css
|
CSS
|
app/src/test/test-data/Baked Macaroni and Cheese Recipe _ Alton Brown _ Food Network_files/recipePage.desktop.md5-4ccd0f80cb908574ccc538ea2e7b0ca1.css
|
semartinez147/choppit
|
b2a4b09a53aed4dca62374d5bb3e7bdd2b353b8a
|
[
"MIT"
] | null | null | null |
app/src/test/test-data/Baked Macaroni and Cheese Recipe _ Alton Brown _ Food Network_files/recipePage.desktop.md5-4ccd0f80cb908574ccc538ea2e7b0ca1.css
|
semartinez147/choppit
|
b2a4b09a53aed4dca62374d5bb3e7bdd2b353b8a
|
[
"MIT"
] | null | null | null |
app/src/test/test-data/Baked Macaroni and Cheese Recipe _ Alton Brown _ Food Network_files/recipePage.desktop.md5-4ccd0f80cb908574ccc538ea2e7b0ca1.css
|
semartinez147/choppit
|
b2a4b09a53aed4dca62374d5bb3e7bdd2b353b8a
|
[
"MIT"
] | 1
|
2021-08-28T08:36:19.000Z
|
2021-08-28T08:36:19.000Z
|
@charset "UTF-8";.recipePage .o-Attribution{z-index:1;margin-bottom:7px}.recipePage .o-Attribution__m-MediaWrap>a{margin:-54.5px auto -22px}.recipePage .o-Attribution__a-Image{display:block;width:109px;max-width:none;margin:0;border-radius:50%}.recipePage .o-Attribution__m-TextWrap{text-align:center}.recipePage .o-Attribution__m-Author{display:inline-block;width:100%;margin:0 auto}.recipePage .o-Attribution__a-Source{width:100%;margin:0 auto;text-align:center}.recipePage .o-Attribution__a-Author--Prefix,.recipePage .o-Attribution__a-Author span,.recipePage .o-Attribution__a-Name--Prefix,.recipePage .o-Attribution__a-Name span,.recipePage .o-Attribution__a-Source--Prefix,.recipePage .o-Attribution__a-Source span{display:inline}.recipePage .o-AssetTitle{text-align:center}.recipePage .o-AssetTitle__a-Headline{margin:0}.recipePage .o-ReviewSummary{width:100%;margin:0 0 14px}.recipePage .m-Rating{margin:0 auto}.recipePage .gig-comments-sortbox li{border-bottom:1px solid #e3e2e0}.recipePage .gig-comments-sortbox li:last-child{border-bottom:none}.recipePage .o-Modal.asset-saved.in{position:absolute;top:0;width:100%}.recipePage .o-Modal__a-Button--Close{padding:0;background:#000}.recipePage .o-Modal__a-Button--Close:after{position:absolute}.recipePage .o-Modal__a-Button--Close:hover{background:red}.recipePage .recipeInfo{clear:both}.recipePage .o-AssetDescription{padding:0 5vw;text-align:center}.recipePage .o-Modal{top:50%;left:50%;width:inherit;height:max-content;overflow:visible;overflow-y:visible;transform:translate(-50%,-50%)}.recipePage .o-Modal.o-Modal--VideoPlaylist{width:90%;min-width:max-content}.recipePage .o-Modal__a-Button--Close{top:-18px;right:-18px;width:42px;height:42px;border-radius:50%;opacity:1}.recipePage .o-Modal__a-Button--Close:after{top:48%;left:48%;transform:translate(-50%,-50%);font-size:20px}.recipePage .o-Modal .o-VideoPlaylist{margin:0;padding:30px;background:none}.recipePage .o-Modal .o-VideoPlaylist__m-Body{width:100%;margin:0}.recipePage .o-Modal .o-VideoPlaylist__m-VideoPlayer,.recipePage .o-Modal .o-VideoPlaylist__m-VideoPlayer__a-Container{width:100%}.recipePage .o-Modal .o-VideoPlaylist.has-Playlist .o-VideoPlaylist__m-VideoPlayer{width:calc(100% - 234px)}@font-face{font-family:FranklinGothicURW-Boo;src:url(../../fonts/franklin-gothic-urw-book-webfont-full/franklin-gothic-urw-book.eot);src:url(../../fonts/franklin-gothic-urw-book-webfont-full/franklin-gothic-urw-book.eot?#iefix) format("embedded-opentype"),url(../../fonts/franklin-gothic-urw-book-webfont-full/franklin-gothic-urw-book.woff2) format("woff2"),url(../../fonts/franklin-gothic-urw-book-webfont-full/franklin-gothic-urw-book.woff) format("woff"),url(../../fonts/franklin-gothic-urw-book-webfont-full/franklin-gothic-urw-book.ttf) format("truetype"),url(../../fonts/franklin-gothic-urw-book-webfont-full/franklin-gothic-urw-book.svg#youworkforthem) format("svg");font-weight:400;font-style:normal}@font-face{font-family:Franklin Gothic URW Cond Medium;src:url(../../fonts/franklin-gothic-urw-cond-medium-webfont-lite/franklin-gothic-urw-cond-medium.eot);src:url(../../fonts/franklin-gothic-urw-cond-medium-webfont-lite/franklin-gothic-urw-cond-medium.eot?#iefix) format("embedded-opentype"),url(../../fonts/franklin-gothic-urw-cond-medium-webfont-lite/franklin-gothic-urw-cond-medium.woff) format("woff"),url(../../fonts/franklin-gothic-urw-cond-medium-webfont-lite/franklin-gothic-urw-cond-medium.ttf) format("truetype"),url(../../fonts/franklin-gothic-urw-cond-medium-webfont-lite/franklin-gothic-urw-cond-medium.svg#ywftsvg) format("svg");font-weight:400;font-style:normal}@font-face{font-family:FranklinGothicURW-Dem;src:url(../../fonts/franklin-gothic-urw-demi-webfont-full/franklin-gothic-urw-demi.eot);src:url(../../fonts/franklin-gothic-urw-demi-webfont-full/franklin-gothic-urw-demi.eot?#iefix) format("embedded-opentype"),url(../../fonts/franklin-gothic-urw-demi-webfont-full/franklin-gothic-urw-demi.woff2) format("woff2"),url(../../fonts/franklin-gothic-urw-demi-webfont-full/franklin-gothic-urw-demi.woff) format("woff"),url(../../fonts/franklin-gothic-urw-demi-webfont-full/franklin-gothic-urw-demi.ttf) format("truetype"),url(../../fonts/franklin-gothic-urw-demi-webfont-full/franklin-gothic-urw-demi.svg#youworkforthem) format("svg");font-weight:700;font-style:normal}@font-face{font-family:fn-icons;src:url(../../fonts/fn-icons-1.3/fonts/fn-icons.eot);src:url(../../fonts/fn-icons-1.3/fonts/fn-icons.eot?#iefix) format("embedded-opentype"),url(../../fonts/fn-icons-1.3/fonts/fn-icons.ttf) format("truetype"),url(../../fonts/fn-icons-1.3/fonts/fn-icons.woff) format("woff"),url(../../fonts/fn-icons-1.3/fonts/fn-icons.woff2) format("woff2"),url(../../fonts/fn-icons-1.3/fonts/fn-icons.svg#fn-icons) format("svg");font-weight:400;font-style:normal}.owl-carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;width:100%;overflow:hidden;-webkit-transform:translateZ(0)}.owl-carousel .owl-controls .owl-dot,.owl-carousel .owl-controls .owl-nav .owl-next,.owl-carousel .owl-controls .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loaded{display:block}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel .owl-refresh .owl-item{display:none}.owl-carousel .owl-item{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-item img{display:block;width:100%;-webkit-transform-style:preserve-3d}.owl-carousel.owl-text-select-on .owl-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.owl-carousel .owl-grab{cursor:move;cursor:-webkit-grab;cursor:-o-grab;cursor:-ms-grab;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.no-js .owl-carousel{display:block}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:scale .1s ease}.owl-carousel .owl-video-play-icon:hover{transition:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:50%;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1}.owl-controls{display:block;margin-top:-2.1rem;position:absolute;left:50%}.owl-controls .owl-dots{position:relative;left:50%;-ms-transform:translate(-100%);transform:translate(-100%);display:block;text-align:center}.owl-controls .owl-dot{background-color:transparent;border:2px solid #fff;border-radius:7px;display:inline-block;height:14px;margin-right:.28rem;width:14px;box-shadow:0 0 4px 0 rgba(0,0,0,.35);opacity:.45;filter:alpha(opacity=45)}.owl-controls .owl-dot.active{background-color:#fff;opacity:1;filter:alpha(opacity=100)}.l-Columns--2up{max-width:960px;margin-left:auto;margin-right:auto}.l-Columns--2up:after{content:"";display:table;clear:both}.l-Columns--2up>:nth-child(odd){width:calc(50% - 7px);float:left;clear:left;margin:0 7px 28px 0}.l-Columns--2up>:nth-child(2n+2){width:calc(50% - 7px);float:left;clear:none;margin:0 0 28px 7px}.l-Columns--3up{max-width:960px;margin-left:auto;margin-right:auto}.l-Columns--3up:after{content:"";display:table;clear:both}.l-Columns--3up>:nth-child(3n+1){width:calc(33.33333% - 9.33334px);float:left;clear:left;margin:0 7px 28px 0}.l-Columns--3up>:nth-child(3n+2){width:calc(33.33333% - 9.33334px);float:left;margin:0 7px 28px;clear:none}.l-Columns--3up>:nth-child(3n+3){width:calc(33.33333% - 9.33334px);float:left;clear:none;margin:0 0 28px 7px}.l-Columns--3up .m-MediaBlock:nth-last-child(-n+3){margin-bottom:0}.l-Columns--4up{max-width:960px;margin-left:auto;margin-right:auto}.l-Columns--4up:after{content:"";display:table;clear:both}.l-Columns--4up>:nth-child(4n+1){width:calc(25% - 10.5px);float:left;clear:left;margin:0 7px 28px 0}.l-Columns--4up>:nth-child(4n+2){width:calc(25% - 10.5px);float:left;margin:0 7px 28px;clear:none}.l-Columns--4up>:nth-child(4n+3){width:calc(25% - 10.5px);float:left;margin:0 7px 28px;clear:none}.l-Columns--4up>:nth-child(4n+4){width:calc(25% - 10.5px);float:left;clear:none;margin:0 0 28px 7px}.l-Columns--4up .m-MediaBlock:nth-last-child(-n+4){margin-bottom:0}.l-List .m-MediaBlock{display:table;width:100%}.l-List .m-MediaBlock__a-Label{position:relative}.l-List .m-MediaBlock__m-MediaWrap{display:table-cell}.l-List .m-MediaBlock__m-TextWrap{display:table-cell;vertical-align:middle}.l-List .m-MediaBlock__a-Image{display:inline-block}.o-Breadcrumb a:after,.o-Breadcrumb a:visited:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"/";margin:0 3.5px}.o-Breadcrumb a:after:hover,.o-Breadcrumb a:visited:after:hover{text-decoration:none}.o-Breadcrumb li{display:inline-block}.o-Breadcrumb li a,.o-Breadcrumb li a:visited{color:#1c1c1c}.o-Breadcrumb li:last-child a:after,.o-Breadcrumb li:last-child a:visited:after{display:none;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons}.o-Breadcrumb li:last-child a:after:hover,.o-Breadcrumb li:last-child a:visited:after:hover{text-decoration:none}.o-Breadcrumb--Light li:visited,.o-Breadcrumb--Light li a,.o-Breadcrumb--Light li a:visited{color:#fff!important}.o-NutritionInfo .o-RecipeInfo__a-Headline{font-size:16px;cursor:pointer;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.o-NutritionInfo .o-RecipeInfo__a-Headline a,.o-NutritionInfo .o-RecipeInfo__a-Headline a:visited{pointer-events:none;cursor:pointer;color:#1c1c1c}.o-NutritionInfo .o-RecipeInfo__a-Headline:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";margin:-2px 0 0 4px;font-size:11px;color:red;background:#fff;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));height:19px;width:19px;border-radius:100%;padding:3px 3px 2px}.o-NutritionInfo .o-RecipeInfo__a-Headline:after:hover{text-decoration:none}.o-NutritionInfo .o-RecipeInfo__a-Headline:hover{text-decoration:underline}.o-NutritionInfo .m-NutritionTable{padding:9px 0 0;border-top:5px solid #1c1c1c;margin:9px 14px}.o-NutritionInfo .m-NutritionTable__a-Headline{font-size:16px;cursor:pointer;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.o-NutritionInfo .m-NutritionTable__a-Headline a,.o-NutritionInfo .m-NutritionTable__a-Headline a:visited{pointer-events:none;cursor:pointer;color:#1c1c1c}.o-NutritionInfo .m-NutritionTable__a-Headline:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";margin:-2px 0 0 4px;font-size:11px;color:red;background:#fff;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));height:19px;width:19px;border-radius:100%;padding:3px 3px 2px}.o-NutritionInfo .m-NutritionTable__a-Headline:after:hover{text-decoration:none}.o-NutritionInfo .m-NutritionTable__a-Headline:hover{text-decoration:underline}.o-NutritionInfo .m-NutritionTable__a-Headline{width:133px;margin-right:-1px;float:left;font-size:14px;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;padding-top:7px!important;margin-bottom:3.5px!important}.o-NutritionInfo .m-NutritionTable__a-Headline:after{display:none}.o-NutritionInfo .m-NutritionTable__a-Headline:hover{text-decoration:none;cursor:auto}.o-NutritionInfo .m-NutritionTable__a-Description{border-top:1px dotted #333;font-size:14px;padding-top:7px;margin-bottom:3.5px!important;color:#1c1c1c!important}.o-NutritionInfo .m-NutritionTable__a-Headline--Primary{cursor:pointer;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:16px}.o-NutritionInfo .m-NutritionTable__a-Headline--Primary a,.o-NutritionInfo .m-NutritionTable__a-Headline--Primary a:visited{pointer-events:none;cursor:pointer;color:#1c1c1c}.o-NutritionInfo .m-NutritionTable__a-Headline--Primary:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";margin:-2px 0 0 4px;font-size:11px;color:red;background:#fff;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));height:19px;width:19px;border-radius:100%;padding:3px 3px 2px}.o-NutritionInfo .m-NutritionTable__a-Headline--Primary:after:hover{text-decoration:none}.o-NutritionInfo .m-NutritionTable__a-Headline--Primary:hover{text-decoration:underline}.o-NutritionInfo .m-NutritionTable__a-Headline--Primary{width:133px;margin-right:-1px;float:left;padding:0;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif!important;font-size:14px}.o-NutritionInfo .m-NutritionTable__a-Headline--Primary:after{display:none}.o-NutritionInfo .m-NutritionTable__a-Headline--Primary:hover{text-decoration:none;cursor:auto}.o-NutritionInfo .m-NutritionTable__a-Description--Primary{font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:14px;color:#1c1c1c!important}.o-NutritionInfo .m-Popover{position:absolute;top:0;left:0;z-index:1010;display:none;width:260px;height:auto;text-align:left;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2);white-space:normal}.o-NutritionInfo .a-Button{background:#1c1c1c;color:#fff;border:none;display:inline-block;padding:4px 5px 6px 6px;text-align:center;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none;position:absolute;width:26px;height:26px;border-radius:50%;top:-12px;right:-12px}.o-NutritionInfo .a-Button:before{content:"";color:#fff;font-family:fn-icons}.o-NutritionInfo .a-Button:hover{color:#fff;background:red;text-decoration:none}.o-NutritionInfo .a-Button[disabled]{color:#bebdbc;pointer-events:none}.a-Input{padding:7px;font-size:12px;line-height:1.35;color:#1c1c1c;outline:none;border:1px solid #ccc;border-radius:3px;height:37px;background-color:#fff;box-shadow:none;transition:border-color .15s ease-in-out}html.js-support:not(.core-js) .m-Carousel__m-Slide:not(:first-child){display:none}.owl-carousel{overflow-x:hidden}.m-Comments__a-Button{display:block;margin:0 0 14px;text-align:center;color:#fff;background:red;padding:11px 16px 6px;border-radius:3px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.m-Comments__a-Button:hover{background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.2))}.m-Comments__a-Button[disabled]{pointer-events:none}.m-Comments .gig-comments-composebox{background:#000}.gig-comments-fontbox{padding:7px 7px 0 0;opacity:0}.gig-comments-fontbox li{display:inline-block;width:33px;height:33px;margin:0;padding:0;vertical-align:top;list-style-type:none;background-position:50%;background-repeat:no-repeat;border:1px #eee}.gig-comments-fontbox ul{cursor:pointer;width:68px;margin:0;padding:0;background-color:#fff;border:1px solid #b0b0b0;border-radius:2px}.gig-comments-fontbox ul:before{position:absolute;z-index:1;top:12px;right:1px;display:block;content:"";width:0;height:0;border-color:transparent transparent transparent #fff;border-style:solid;border-width:8px 0 8px 8px}.gig-comments-fontbox ul:after{position:absolute;top:12px;right:0;display:block;content:"";width:0;height:0;border-color:transparent transparent transparent #b0b0b0;border-style:solid;border-width:8px 0 8px 8px}.gig-comments-sortbox{display:inline-block;margin-top:9px;margin-left:60px;padding:3px 8px;background-color:#fff;border-radius:3px;box-shadow:-1px 2px 1px rgba(35,31,32,.07);border:1px solid #b0b0b0}.gig-comments-sortbox li{cursor:pointer;min-width:80px;padding:7px 5px 3.5px;color:#1c1c1c;border-bottom:1px dotted #333}.gig-comments-sortbox li:hover{color:red}.gig-comments-sortbox li:last-child{border-bottom:none}.gig-comments-sortbox:before{position:absolute;z-index:1;top:-7px;right:12px;display:block;content:"";width:0;height:0;border-color:transparent transparent #fff;border-style:solid;border-width:0 6.5px 7px}.gig-comments-sortbox:after{position:absolute;top:-8px;right:10px;display:block;content:"";width:0;height:0;border-color:transparent transparent #b0b0b0;border-style:solid;border-width:0 8px 8px}.gig-comments-more{color:#fff;text-align:center;width:200px;margin:0 auto;background:#333;padding:11px 16px 6px;border-radius:3px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.gig-comments-more:hover{background-image:linear-gradient(-180deg,hsla(0,0%,100%,.3),rgba(0,0,0,.1));text-decoration:none}.gig-comments-more[disabled]{pointer-events:none}.gig-comments-dialog{width:260px;height:auto;padding:14px;text-align:center;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2);white-space:normal}.gig-comments-dialog-caption{font-size:18px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c}.gig-comments-dialog-close{position:absolute;width:26px;height:26px;background:#1c1c1c;border-radius:50%;padding:4px 5px 6px 6px;top:-12px;right:-12px}.gig-comments-dialog-close:before{content:"";color:#fff;font-family:fn-icons}.gig-comments-dialog-close:hover{background:red;cursor:pointer!important}.gig-comments-dialog-button-ok{margin:7px 0;background:#fff;padding:11px 16px 6px;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase;color:red}.gig-comments-dialog-button-ok:hover{cursor:pointer;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));color:red;text-decoration:none}.gig-comments-dialog-button-ok[disabled]{color:#ccc;pointer-events:none}.gig-comments-dialog-button-cancel{color:red}.gig-comments-dialog-button-cancel:hover{text-decoration:underline;cursor:pointer!important}.gig-comments-fontbox .gig-composebox-font-bold{border-right-style:solid;border-bottom-style:solid;background-image:url(https://cdns.gigya.com/gs/i/comments2/Rich_Text_bold_x1.png)}.gig-comments-fontbox .gig-composebox-font-italic{border-bottom-style:solid;background-image:url(https://cdns.gigya.com/gs/i/comments2/Rich_Text_italic_x1.png)}.gig-comments-fontbox .gig-composebox-font-underline{border-right-style:solid;background-image:url(https://cdns.gigya.com/gs/i/comments2/Rich_Text_underline_x1.png)}.gig-comments-fontbox .gig-composebox-font-bullets{background-image:url(https://cdns.gigya.com/gs/i/comments2/Rich_Text_align_x1.png)}.m-Comments .gig-composebox-error{color:red;padding-left:47px;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif}.m-Comments .gig-composebox-photo{position:relative;float:left;width:37px;height:37px}.m-Comments .gig-composebox-data{margin:0;padding-left:47px}.m-Comments .gig-composebox-editor{position:relative;background-color:#fff;border:1px solid #d5d5d5;border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.05)}.m-Comments .gig-composebox-editor-with-sidebar{padding:10.5px 28px 10.5px 10.5px}.m-Comments .gig-composebox-open{margin:0 0 28px}.m-Comments .gig-composebox-open .gig-composebox-sidebar{opacity:1;display:inline-block}.m-Comments .gig-composebox-open .gig-composebox-textarea{min-height:70px}.m-Comments .gig-composebox-open .gig-composebox-textarea:empty:after{color:#999}.m-Comments .gig-composebox-open .gig-composebox-footer{display:block}.m-Comments .gig-composebox-sidebar{position:absolute;top:0;right:0;display:none;background:#fff}.m-Comments .gig-composebox-sidebar-button{position:relative;display:block;cursor:pointer;width:28px;height:28px;color:red}.m-Comments .gig-composebox-sidebar-button:before{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";position:absolute;left:25%;top:50%;-ms-transform:translateY(-50%);transform:translateY(-50%)}.m-Comments .gig-composebox-sidebar-button:before:hover{text-decoration:none}.m-Comments .gig-composebox-sidebar-button:hover{color:red}.m-Comments .gig-composebox-textarea{margin:0;padding:0;cursor:text;resize:none;outline:none;text-align:left;border:none;min-height:21px}.m-Comments .gig-composebox-ratings{margin:14px 0 7px}.m-Comments .gig-composebox-rating-_overall{margin:5px 0}.m-Comments .gig-composebox-rating-title{position:relative;display:inline-block;vertical-align:bottom;margin:0 10.5px 0 0;top:2px;color:#fff;font-size:20px;font-weight:400;line-height:1.1;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.m-Comments .gig-composebox-rating-value{position:relative;display:inline-block;vertical-align:top}.m-Comments .gig-composebox-footer{display:none;overflow:hidden;border-top:1px dotted #999;padding:14px 0 0;margin:14px 0 0 -47px}.m-Comments .gig-composebox-post{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#fff;background:red;padding:11px 16px 6px;border-radius:3px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.m-Comments .gig-composebox-post:hover{background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.2))}.m-Comments .gig-composebox-post[disabled]{pointer-events:none}.m-Comments .gig-composebox-cancel{float:right;margin:14px 0 0;color:#fff;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.35}.m-Comments .gig-composebox-cancel:hover{text-decoration:underline;cursor:pointer}.m-Comments .gig-selfreview-yourReview{color:#fff;font-size:20px;font-weight:400;line-height:1.1;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.m-Comments .gig-selfreview-body-container{background:#fff;padding:7px;margin-top:14px;border-radius:3px;box-shadow:inset 0 0 5px rgba(0,0,0,.05)}.m-Comments .gig-selfreview-field-title{font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;margin-right:7px}.m-Comments .gig-selfreview-ratings{margin:14px 0 7px}.m-Comments .gig-selfreview-rating-_overall{margin:5px 0}.m-Comments .gig-selfreview-rating-star{width:24px;height:24px;margin:0}.m-Comments .gig-selfreview-rating-star:after{font-size:24px}.m-Comments .gig-comment{width:100%;padding:14px 0 0;border-top:1px dotted #333}.m-Comments .gig-comment-photo{width:37px;height:37px}.m-Comments .gig-comment-img{width:37px;height:37px!important;border-radius:3px}.m-Comments .gig-comment-providerLogo{position:absolute;z-index:0;right:-3.5px;bottom:-10.5px}.m-Comments .gig-comment-providerLogo img{width:14px}.m-Comments .gig-comment-replybox{background:#000}.m-Comments .gig-comment-replybox-open{margin:0 0 14px;padding:14px 10.5px}.m-Comments .gig-comment-replybox .comments-is-review{display:none}.m-Comments .gig-comment-replybox .comments-is-reply{display:initial!important}.m-Comments .gig-comment-header{margin:3.5px 0 0}.m-Comments .gig-comment-username{display:inline-block;margin:0 10.5px 0 0;font-size:20px;font-weight:400;line-height:1.1;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;color:#1c1c1c}.m-Comments .gig-comment-time{display:inline-block;margin:0;font-size:14px;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;line-height:1;color:#ababaa}.m-Comments .gig-comment-rating{display:inline-block;margin-left:-3.5px;cursor:default;pointer-events:none}.m-Comments .gig-comment-rating-star{width:24px;height:24px;margin:0}.m-Comments .gig-comment-rating-star:after{font-size:24px}.m-Comments .gig-comment-rating-title{position:relative;display:inline-block;vertical-align:bottom;margin:0 10.5px 0 0;top:2px;color:#fff;font-size:20px;font-weight:400;line-height:1.1;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.m-Comments .gig-comment-rating-value{position:relative;display:inline-block;vertical-align:top}.m-Comments .gig-comment-status-info{background:#f9e929;padding:3px 3px 0 7px;margin:7px 0}.m-Comments .gig-comment-status-error{color:red;margin:7px 0}.m-Comments .gig-comment-body{overflow:hidden;margin:3.5px 0 0;padding:0 0 14px}.m-Comments .gig-comment-body p{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.35}.m-Comments .gig-comment-footer{overflow:hidden;padding:0 0 14px;margin:0 0 -1px}.m-Comments .gig-comment-footer-left{float:left}.m-Comments .gig-comment-footer-right{float:right}.m-Comments .gig-comment-vote{color:#1c1c1c;padding:11px 16px 6px 38px;background:#fff;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.m-Comments .gig-comment-vote:before{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";position:absolute;left:14px;top:48%;color:red;-ms-transform:translateY(-50%);transform:translateY(-50%)}.m-Comments .gig-comment-vote:before:hover{text-decoration:none}.m-Comments .gig-comment-vote:hover{color:#1c1c1c;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));text-decoration:none}.m-Comments .gig-comment-vote[disabled]{color:#ccc;pointer-events:none}.m-Comments .gig-comment-vote-pos{position:absolute;width:100%;height:100%;top:0;left:0}.m-Comments .gig-comment-vote-pos-down:before{color:#1c1c1c}.m-Comments .gig-comment-replyLink{color:#1c1c1c;padding:11px 16px 6px 38px;background:#fff;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.m-Comments .gig-comment-replyLink:before{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";position:absolute;left:14px;top:50%;color:red;-ms-transform:translateY(-50%);transform:translateY(-50%)}.m-Comments .gig-comment-replyLink:before:hover{text-decoration:none}.m-Comments .gig-comment-replyLink:hover{background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));color:red;text-decoration:none}.m-Comments .gig-comment-replyLink[disabled]{color:#ccc;pointer-events:none}.m-Comments .gig-comment-replyLink.gig-comment-replyLink-active:before{color:#1c1c1c}.m-Comments .gig-comment-deleteLink{position:relative;cursor:pointer;height:39px;color:#1c1c1c;background:#fff;padding:11px 16px 6px;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.m-Comments .gig-comment-deleteLink:before{display:inline-block;font-style:normal;font-weight:400;line-height:.9;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";left:14px;color:red}.m-Comments .gig-comment-deleteLink:before:hover{text-decoration:none}.m-Comments .gig-comment-deleteLink:hover{background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));color:red;text-decoration:none}.m-Comments .gig-comment-deleteLink[disabled]{color:#ccc;pointer-events:none}.m-Comments .gig-comment-flag{position:relative;cursor:pointer;padding:11px 16px 6px;height:39px;background:#fff;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase;color:red}.m-Comments .gig-comment-flag:before{font-size:15px;display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:""}.m-Comments .gig-comment-flag:before:hover{text-decoration:none}.m-Comments .gig-comment-flag:hover{background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));color:red;text-decoration:none}.m-Comments .gig-comment-flag[disabled]{color:#ccc;pointer-events:none}.m-Comments .gig-comment-flag-visible:before{color:#1c1c1c}.m-Comments .gig-comments-header{padding:0 0 14px;margin:0}.m-Comments .gig-comments-header-left{float:left}.m-Comments .gig-comments-header-right{float:right}.m-Comments .gig-comments-sort{cursor:pointer;color:#1c1c1c;background:#fff;padding:11px 16px 6px;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.m-Comments .gig-comments-sort:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";color:red;position:relative;margin-left:7px;top:2px;right:0;cursor:pointer;pointer-events:none}.m-Comments .gig-comments-sort:after:hover{text-decoration:none}.m-Comments .gig-comments-sort:hover{color:#1c1c1c;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));text-decoration:none}.m-Comments .gig-comments-sort[disabled]{color:#ccc;pointer-events:none}.m-Comments .gig-comments-linksContainer li{position:relative;float:left;cursor:pointer;color:#1c1c1c;margin:0 14px 0 0}.m-Comments .gig-comments-linksContainer li:before{font-size:18px}.m-Comments .gig-comments-linksContainer li:hover{color:#1c1c1c}.m-Comments .gig-comments-linksContainer>li:first-child{color:#1c1c1c;padding:11px 16px 6px 38px;background:#fff;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.m-Comments .gig-comments-linksContainer>li:first-child:before{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";position:absolute;left:14px;top:48%;color:red;-ms-transform:translateY(-50%);transform:translateY(-50%)}.m-Comments .gig-comments-linksContainer>li:first-child:before:hover{text-decoration:none}.m-Comments .gig-comments-linksContainer>li:first-child:hover{color:#1c1c1c;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));text-decoration:none}.m-Comments .gig-comments-linksContainer>li:first-child[disabled]{color:#ccc;pointer-events:none}.m-Comments .gig-composebox-open .gig-composebox-textarea:empty:after{content:"Write your review (required)"}.m-Comments .gig-composebox-open .gig-composebox-textarea:focus:after{content:""}.m-Comments .gig-composebox-footer{border-top:none;margin:0;padding:0}.m-Comments .gig-composebox-footer-right{float:right}.m-Comments .gig-composebox-footer .m-Rating{border-bottom:1px dotted #999;margin-bottom:20px;padding-bottom:7px}.m-Comments .gig-comment-photo{position:relative;float:left}.m-Comments .gig-comment-photo+div{padding:0 0 0 47px}.m-Comments .gig-comment-data{padding:0 0 0 47px}.m-Comments .gig-comment-content{padding:0 0 0 3.5px}.m-Comments .gig-comment-footer:after,.m-Comments .gig-comment-footer:before{content:"";display:table;clear:both}.m-Comments .gig-comments-header:after,.m-Comments .gig-comments-header:before{content:"";display:table;clear:both}.m-Comments .gig-comments-linksContainer:after,.m-Comments .gig-comments-linksContainer:before{content:"";display:table;clear:both}.m-DateBlock__a-Label{background:#000;color:#fff;padding:3.5px 7px;font-size:14px}.m-DateBlock__a-Day{text-transform:uppercase;font-size:14px;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;color:#ababaa}.m-DateBlock__a-Date{font-size:24px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.m-DateBlock__a-Time{font-weight:700;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.35}.m-DropdownMenu{margin:0}.l-List .m-MediaBlock{margin:0 0 14px}.rightRail .m-MediaBlock{border-top:1px dotted #333;padding-top:14px;margin-bottom:14px}.rightRail .m-MediaBlock:first-child{border-top:none;padding-top:0}.rightRail .m-MediaBlock:last-child{margin-bottom:7px}.l-Columns--3up .m-MediaBlock,.l-Columns--4up .m-MediaBlock{margin-bottom:21px}.m-MediaBlock__a-Headline{font-size:28px;line-height:1}.m-MediaBlock__a-Headline,.rightRail .m-MediaBlock__a-Headline{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-weight:400}.rightRail .m-MediaBlock__a-Headline{font-size:20px;line-height:1.1;color:#1c1c1c}.l-Columns .m-MediaBlock__a-Headline{font-size:28px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;font-weight:400}.l-Columns--2up .m-MediaBlock__a-Headline{font-size:24px}.l-Columns--3up .m-MediaBlock__a-Headline,.l-Columns--4up .m-MediaBlock__a-Headline{font-size:20px;font-weight:400;line-height:1.1;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;color:#1c1c1c}.m-MediaBlock__a-AssetInfo{white-space:nowrap}.l-Columns--3up .m-MediaBlock__a-AssetInfo,.l-Columns--4up .m-MediaBlock__a-AssetInfo,.rightRail .m-MediaBlock__a-AssetInfo{font-size:15px}.rightRail .m-MediaBlock__a-Label{margin:0 0 7px!important}.l-List .m-MediaBlock__a-Label{margin:0 0 7px}.m-MediaBlock__m-MediaWrap{position:relative}.m-MediaBlock__m-MediaWrap a,.m-MediaBlock__m-MediaWrap a:visited{position:relative;display:block}.l-List .m-MediaBlock__m-MediaWrap{line-height:0}.l-List .m-MediaBlock__m-TextWrap{vertical-align:top}.l-List .m-MediaBlock__a-Description{margin:7px 0}.rightRail .m-MediaBlock__a-Description{margin:3.5px 0;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.35}.m-MediaBlock__a-Button{background:#00aeef;color:#fff;border:none;display:inline-block;padding:7px 14px;text-align:center;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none}.m-MediaBlock__a-Button:hover{color:#fff;text-decoration:none}.m-MediaBlock__a-Button[disabled]{color:#bebdbc;pointer-events:none}.m-MediaBlock__m-PromoList li{position:relative;list-style:none;padding:0 0 0 14px;margin:0 0 3.5px}.m-MediaBlock__m-PromoList li:before{position:absolute;left:0}.m-MediaBlock__m-PromoList ul{margin:14px 0 0}.rightRail .m-MediaBlock__m-PromoList{margin-bottom:7px}.m-MediaBlock__m-PromoList li a{display:block}.m-MediaBlock__m-PromoList div,.m-MediaBlock__m-PromoList p{margin:7px 0 0;font-size:18px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c}.m-MediaBlock__a-Image{display:block;width:100%;height:auto;max-width:100%;min-width:100%}.l-Columns .m-MediaBlock__m-MediaWrap{margin:0 0 10.5px;position:relative}.l-Columns .m-MediaBlock__m-MediaWrap .m-MediaBlock__a-Label{bottom:0;left:0;pointer-events:none}.l-Columns .m-MediaBlock__m-TextWrap{padding:0 3.5px 0 0}.l-Columns .m-MediaBlock__m-TextWrap .m-MediaBlock__a-Label{display:none}.l-List .m-MediaBlock__m-MediaWrap{padding-right:14px;position:relative}.l-List .m-MediaBlock__m-MediaWrap .m-MediaBlock__a-Label{line-height:normal}.rightRail .l-List .m-MediaBlock__m-MediaWrap .m-MediaBlock__a-Label{margin:0 0 7px!important}.l-List .m-MediaBlock__m-MediaWrap .m-MediaBlock__a-Label{display:none}.l-List .m-MediaBlock__m-TextWrap{width:60.25%}.l-List .m-MediaBlock__m-TextWrap .m-MediaBlock__a-Label{display:inline-block}.m-MediaBlock__a-Label{background:#f9e929;color:#1c1c1c;padding:6px 7px 0;font-size:14px;text-transform:uppercase;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.m-MediaBlock__a-Headline{margin-bottom:7px}.m-MediaBlock__a-Headline a,.m-MediaBlock__a-Headline a:visited{display:inline-block;color:#1c1c1c}.m-MediaBlock__a-Headline a:active,.m-MediaBlock__a-Headline a:hover{color:#1c1c1c;text-decoration:none}.m-MediaBlock__a-Headline a:active .m-MediaBlock__a-HeadlineText,.m-MediaBlock__a-Headline a:hover .m-MediaBlock__a-HeadlineText{text-decoration:underline}.m-MediaBlock__a-AssetInfo{font-size:18px;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;line-height:1;color:#ababaa}.m-MediaBlock__a-AssetInfo:hover{text-decoration:none}.m-MediaBlock__a-Description{margin:7px 0}.m-MediaBlock__a-Cta{color:#1c1c1c;font-weight:400}.m-MediaBlock__a-Cta:before{display:inline-block;font-style:normal;font-weight:400;line-height:.9;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;content:"»\a";margin:-2px 6px 0 0;font-size:24px;color:red}.m-Rating__a-StarsLink{display:inline}.m-Rating__a-StarsLink:hover{text-decoration:none}.m-Rating__a-StarsLink:hover .gig-rating-ratingsum{text-decoration:underline}.gig-comment-rating,.gig-composebox-rating-value,.gig-rating-stars,.gig-selfreview-rating{width:150px;cursor:pointer}.gig-comment-rating-star,.gig-composebox-rating-star,.gig-rating-star,.gig-selfreview-rating-star{position:relative;float:left;display:block;width:28px;height:28px;margin:0}.gig-comment-rating-star:after,.gig-composebox-rating-star:after,.gig-rating-star:after,.gig-selfreview-rating-star:after{position:absolute;display:inline-block;font-size:28px;top:50%;left:50%;-ms-transform:translateX(-50%) translateY(-55%);transform:translateX(-50%) translateY(-55%);font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";color:#e3e2e0}.gig-comment-rating-star:after:hover,.gig-composebox-rating-star:after:hover,.gig-rating-star:after:hover,.gig-selfreview-rating-star:after:hover{text-decoration:none}.gig-comment-rating-star-full:after,.gig-composebox-rating-star-full:after,.gig-rating-star-full:after,.gig-selfreview-rating-star-full:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";color:#f63}.gig-comment-rating-star-full:after:hover,.gig-composebox-rating-star-full:after:hover,.gig-rating-star-full:after:hover,.gig-selfreview-rating-star-full:after:hover{text-decoration:none}.gig-comment-rating-star-half:after,.gig-composebox-rating-star-half:after,.gig-rating-star-half:after,.gig-selfreview-rating-star-half:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";background:-webkit-linear-gradient(left,#f63,#f63 50%,#e3e2e0 0,#e3e2e0);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.gig-comment-rating-star-half:after:hover,.gig-composebox-rating-star-half:after:hover,.gig-rating-star-half:after:hover,.gig-selfreview-rating-star-half:after:hover{text-decoration:none}.gig-comment-rating-star-empty:after,.gig-composebox-rating-star-empty:after,.gig-rating-star-empty:after,.gig-selfreview-rating-star-empty:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";color:#e3e2e0}.gig-comment-rating-star-empty:after:hover,.gig-composebox-rating-star-empty:after:hover,.gig-rating-star-empty:after:hover,.gig-selfreview-rating-star-empty:after:hover{text-decoration:none}.gig-rating-ratingsum{margin:3.5px 0 0;font-size:15px}.gig-rating-ratingsum.is-Disabled{color:#999}.gig-comment-rating:after,.gig-comment-rating:before,.gig-composebox-rating-value:after,.gig-composebox-rating-value:before,.gig-rating-stars:after,.gig-rating-stars:before,.gig-selfreview-rating:after,.gig-selfreview-rating:before{content:"";display:table;clear:both}.m-RatingStars{margin:7px 0 14px}.m-VideoPlayer__a-Container{position:relative;width:100%;padding-bottom:56.25%}.m-VideoPlayer__a-ContainerInner{z-index:0;top:0;right:0;bottom:0;left:0}.m-VideoPlayer__a-ContainerInner.tpPlayer{position:absolute!important}.m-VideoPlayer__a-ContainerInner.tpPlayer .endframe .replay{top:50%;left:50%;height:66px;-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.m-VideoPlayer__a-ContainerInner canvas{display:none}.m-VideoPlayer__a-ContainerInner .customPlayButton{position:relative;height:100%}.m-VideoPlayer__a-ContainerInner .customPlayButton img{display:none}.m-VideoPlayer__a-ContainerInner .customPlayButton:before{content:"";font-family:fn-icons;position:absolute;bottom:39px;right:41px;color:#fff;font-size:34px;z-index:2}.m-VideoPlayer__a-ContainerInner .customPlayButton:after{display:block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";text-shadow:0 0 14px rgba(0,0,0,.14);position:absolute;text-align:center;color:#fff;font-size:84px;bottom:21px;right:21px;height:84px;width:84px;border-radius:50%;border:6px solid #fff;background-color:rgba(0,0,0,.65);box-sizing:border-box}.m-VideoPlayer__a-ContainerInner .customPlayButton:after:hover{text-decoration:none}.m-VideoPlayer__a-Ad{background:#000}.m-VideoPlayer__a-Ad>*{padding:7px 0 0;text-align:center;max-height:0;overflow:hidden;transition:max-height .2s ease}.m-VideoPlayer__m-TextWrap{color:#fff;background:#000;padding:21px;border-top:1px dotted #999}.video-wrapper .m-VideoPlayer__m-TextWrap{padding:14px 0 0}.m-VideoPlayer__a-Headline{font-size:28px;font-weight:400;margin:0 0 7px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1}.m-VideoPlayer__a-AssetInfo{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:18px;line-height:1;color:#ababaa;white-space:nowrap}.video-wrapper .m-VideoPlayer__a-AssetInfo{font-size:18px}.m-VideoPlayer__a-Description{color:#ababaa}.m-VideoPlayer__a-Button{background:#00aeef;color:#fff;border:none;display:inline-block;padding:5px 7px 0;text-align:center;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none;float:right;text-transform:uppercase;background-color:red;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-size:14px;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-weight:400;margin:0 7px 7px 0}.m-VideoPlayer__a-Button:hover{color:#fff;text-decoration:none;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.2))}.m-VideoPlayer__a-Button[disabled]{color:#bebdbc;pointer-events:none}.m-VideoPlayer .m-VideoPlayer__a-Button{padding:17px 56px 13px 18px;font-size:24px;position:absolute;top:50%;left:50%;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;margin:0;border-radius:3px;background-color:rgba(0,0,0,.5);font-family:Helvetica,Arial,sans-serif;font-weight:700;letter-spacing:-.03em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#fff;-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);line-height:1;text-transform:uppercase;white-space:nowrap;pointer-events:none;overflow:visible}.m-VideoPlayer .m-VideoPlayer__a-Button:hover{opacity:.65;text-decoration:none}.m-VideoPlayer .m-VideoPlayer__a-Button .a-Button__a-Icon--Watch{top:27.1px;right:17px;height:31.1px;width:31px;position:absolute;display:inline-block;-ms-transform:translateY(-50%);transform:translateY(-50%);font-weight:700;fill:#fff;border:none;overflow:visible}.o-Capsule{margin:0 0 28px}.rightRail .o-Capsule{margin:14px 0;padding:7px;background:#fff}.o-Capsule:after,.o-Capsule:before{content:"";display:table;clear:both}.o-Capsule__m-Header{position:relative;margin-bottom:14px}.o-Capsule__m-Header,.rightRail .o-Capsule__m-Header{border-top:5px solid #1c1c1c}.o-Capsule__m-TextWrap{display:table;width:100%}.o-Capsule__a-Headline{margin:0;font-size:34px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;text-transform:uppercase;padding-top:7px;padding-bottom:0}.o-Capsule__a-Headline a,.o-Capsule__a-Headline a:visited{color:#1c1c1c}.o-Capsule__a-Headline a:active,.o-Capsule__a-Headline a:hover{color:#1c1c1c;text-decoration:underline}.o-Capsule__a-Headline{padding:7px 0 14px;display:table-cell}.rightRail .o-Capsule__a-Headline{padding-top:7px;padding-bottom:0;font-size:28px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;font-weight:400}[role=contentWell] .o-Capsule__a-Headline{font-size:34px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;text-transform:uppercase;padding-top:7px;padding-bottom:0}.gigya-screen-dialog-main .gigya-screen .gigya-composite-control.gigya-composite-control-header{padding-bottom:7px!important;font-size:20px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1.1;font-weight:400;text-align:center;color:#1c1c1c}.gigya-screen-dialog-main .gigya-screen .gigya-composite-control.gigya-composite-control-label.main-text{text-align:center!important;padding-bottom:14px!important;color:#1c1c1c!important}.gigya-screen-dialog-main .gigya-screen .gigya-composite-control .gigya-label{padding-top:0!important;margin-right:14px}.gigya-screen-dialog-main .gigya-screen .gigya-composite-control .gigya-label-text{font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px!important}.gigya-screen-dialog-main .gigya-screen .gigya-composite-control .gigya-multi-choice-item{display:inline-block}.gigya-screen-dialog-main .gigya-screen .gigya-composite-control .gigya-multi-choice-item label{margin-left:7px;margin-right:14px}.gigya-screen-dialog-main .gigya-screen .gigya-error-msg.gigya-error-msg-active{border:none!important;color:red!important;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px!important;font-weight:400!important;text-align:left;max-width:100%!important}#gigya-screen-dialog-page-overlay{opacity:.8!important}#gigya-core-signuptext{padding-bottom:7px!important;font-size:20px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1.1;font-weight:400;text-align:center;color:#1c1c1c}#gigya-core-signuptext a,#gigya-core-signuptext a:visited{color:red!important}#gigya-core-signuptext a:hover,#gigya-core-signuptext a:visited:hover{color:red!important}.gigya-core-closebtn-wrap{display:none}.gigya-core-promote{margin-bottom:21px!important;max-width:500px}.gigya-screen-dialog-caption{line-height:inherit}.gigya-screen-dialog-inner{border-radius:6px!important}.gigya-screen-dialog-mobile-close{position:absolute;width:21px;height:21px;background:#1c1c1c;border-radius:50%;padding:4px 5px 6px 6px;top:12px;right:12px}.gigya-screen-dialog-mobile-close:before{position:absolute;top:50%;left:50%;-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);content:"";color:#fff;font-family:fn-icons;line-height:1.2;font-size:18px}.gigya-screen-dialog-mobile-close:hover{background:red}.gigya-screen-dialog-mobile-inner{border-radius:6px!important}.gigya-screen-dialog-mobile-top{background-color:transparent!important;line-height:0!important}.gigya-screen-dialog-main h2.gigya-core-promote span{font-size:34px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1.1}.gigya-screen-dialog-main .gigya-composite-control-social-login{right:0!important;height:73px;overflow:hidden}.gigya-screen-dialog-main .gigya-layout-row.with-two-inputs .gigya-composite-control{padding-right:0!important}.gigya-screen-dialog-main .gigya-layout-row.with-two-inputs .gigya-composite-control input[name=password]{margin-bottom:3.5px}.gigya-screen-dialog-main .password-toggle{color:red!important;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;margin-bottom:3px}.gigya-screen-dialog-main .password-toggle:hover{cursor:pointer;text-decoration:underline}.gigya-screen-dialog-main input.gigya-error{border:1px solid red!important}.gigya-screen-dialog-main input.gigya-error:after{content:"";display:block;width:12px;height:12px;border-radius:50%;border:1px solid red}.gigya-screen-dialog-main select.registration-birthDay,.gigya-screen-dialog-main select.registration-birthDay.gigya-empty,.gigya-screen-dialog-main select.registration-birthMonth,.gigya-screen-dialog-main select.registration-birthMonth.gigya-empty,.gigya-screen-dialog-main select.registration-birthYear.gigya-error{border-color:red!important}.gigya-screen-dialog-main input[type=radio].gigya-error{border:1px solid red}.gigya-screen-dialog-main .alert-warning{color:red!important;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif}.gigya-screen-dialog-main input[type=submit].gigya-input-submit{padding:5px 16px 0;width:auto;height:37px;background:red;border-radius:3px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.gigya-screen-dialog-main input[type=submit].gigya-input-submit:hover{background:red;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.2))}.gigya-screen-dialog-main input[type=submit].gigya-input-submit[disabled]{pointer-events:none}.gigya-screen-dialog-main .gigya-composite-control-submit{text-align:center;margin:7px 0}.gigya-screen-dialog-main a[data-switch-screen=gigya-forgot-password-screen]{color:red!important;font-size:15px!important}.gigya-screen-dialog-main .gigya-composite-control-checkbox{text-align:center}.gigya-screen-dialog-main .gigya-checkbox-text{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif!important}.gigya-screen-dialog-main .gigya-checkbox-text a,.gigya-screen-dialog-main .gigya-checkbox-text a:visited{color:red!important;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif!important;font-size:15px!important}.gigya-screen-dialog-main .gigya-checkbox-text span{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif!important}.gigya-screen-dialog-main .gigya-footer.gigya-composite-control-link{margin:0;background:transparent;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;color:red!important;font-size:15px!important}.o-Modal{display:none;overflow:auto;overflow-y:scroll;position:fixed;top:0;right:0;bottom:0;left:0;z-index:4050;outline:0}.in .o-Modal__m-Backdrop,.o-Modal__m-Backdrop.in{opacity:.9;filter:alpha(opacity=90)}.fade .o-Modal__m-Dialog,.o-Modal__m-Dialog.fade{-ms-transform:translateY(-25%);transform:translateY(-25%);transition:transform .3s ease-out}.in .o-Modal__m-Dialog,.o-Modal__m-Dialog.in{-ms-transform:translate(0);transform:translate(0)}.o-Modal__m-Backdrop--Alternate-1{opacity:.85!important;filter:alpha(opacity=85)!important;background-color:#fff!important}.o-Modal__m-Content{position:relative;background-color:#fff;border:none;border-radius:6px!important;background-clip:padding-box;outline:0;box-shadow:0 5px 10px rgba(0,0,0,.2)!important}.o-Modal__m-Header{padding:14px;text-align:center}.o-Modal__m-Body{width:100%;padding:0 21px 21px}.o-Modal__m-Footer{width:100%;padding:28px 20px}.o-Modal__a-Headline{padding:21px 0 7px;font-size:20px;font-weight:400;line-height:1.1;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;color:#1c1c1c}.o-Modal__a-Description{padding:0 0 14px}.o-Modal__a-Button--Close{position:absolute;z-index:4150;top:12px;right:12px;color:#000;opacity:1;padding:5px 5px 6px 6px;cursor:pointer;width:26px;height:26px;background:#1c1c1c;border-radius:50%}.o-Modal__a-Button--Close button{display:none}.o-Modal__a-Button--Close:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";height:18px;width:18px;font-size:16px;color:#fff}.o-Modal__a-Button--Close:after:hover{text-decoration:none}.o-Modal__a-Button--Close:hover{color:#26abc8;opacity:1;background:red}#photo-gallery>.o-Modal__a-Button--Close,#video-gallery>.o-Modal__a-Button--Close{color:#fff;height:32px;background:#fff;width:32px}#photo-gallery>.o-Modal__a-Button--Close:after,#video-gallery>.o-Modal__a-Button--Close:after{height:21px;width:21px;font-size:21px;color:#1c1c1c}#photo-gallery>.o-Modal__a-Button--Close:hover:after,#video-gallery>.o-Modal__a-Button--Close:hover:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;color:red}#photo-gallery>.o-Modal__a-Button--Close:hover:after:hover,#video-gallery>.o-Modal__a-Button--Close:hover:after:hover{text-decoration:none}.o-Modal__a-Button--Primary{position:relative;top:-10px;color:#fff;background:red;padding:11px 16px 6px;border-radius:3px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.o-Modal__a-Button--Primary:hover{color:#fff;text-decoration:none;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.2))}.o-Modal__a-Button--Primary[disabled]{pointer-events:none}.o-Modal__a-Button--Secondary{white-space:normal;display:inline-block;padding:7px 14px;text-align:center;cursor:pointer;outline:none;-moz-appearance:none;-webkit-appearance:none}.o-Modal__a-Button--Secondary:hover{text-decoration:underline}.o-Modal__a-Button--Secondary[disabled]{pointer-events:none}.o-Modal .m-MediaBlock__a-Headline{font-size:18px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c}.o-Modal .m-MediaBlock__a-Description{margin-bottom:28px}.o-Modal.is-Centered{overflow:visible;overflow-y:visible;top:50%;left:50%;width:inherit;height:-webkit-max-content;height:-moz-max-content;height:max-content;-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.o-Modal.is-Centered .o-Modal__a-Button--Close{opacity:1;top:-18px;right:-18px;width:42px;height:42px;padding:0;border-radius:50%;color:#fff;background:#000}.o-Modal.is-Centered .o-Modal__a-Button--Close:after{position:absolute;top:50%;left:50%;-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.in .o-Modal__m-Dialog,.o-Modal__m-Dialog.in{width:600px;margin:130px auto}.o-Modal__m-Backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:4040;background-color:#1a1a1c;opacity:0;filter:alpha(opacity=0)}.o-Modal__m-Footer:after,.o-Modal__m-Footer:before{content:"";display:table;clear:both}.o-Modal__a-Button--Close span{display:none}.o-Modal__a-Button--Close.is-ShopThisLook{line-height:1;color:#fff}.o-Modal.o-Modal--VideoPlaylist{bottom:inherit;width:90%;min-width:922px;max-width:1340px;background:#fff;box-shadow:0 3px 10px rgba(0,0,0,.4)}.o-Modal .video-wrapper{bottom:0;right:0;cursor:auto}.o-Modal#mobileInterstitial{background-color:#000}.o-RecipeInfo{border-top:1px dotted #333;padding-top:10px;margin-bottom:7px}.o-RecipeInfo__a-Headline{display:inline-block}.o-RecipeInfo__a-Description,.o-RecipeInfo__a-Headline{font-size:16px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.o-RecipeInfo__a-Description{display:inline-block}.o-VideoPlaylist{margin:20px auto 50px}.o-VideoPlaylist__a-Headline{margin-bottom:10px;text-transform:uppercase;text-align:center;font-size:48px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c}.o-VideoPlaylist__a-AssetInfo{font-size:14px;color:#999;white-space:nowrap}.o-VideoPlaylist__m-Body{display:table;width:calc(100% - 58px);margin:0 auto}.o-VideoPlaylist__m-VideoPlayer{background-color:#000;display:block;width:calc(100% - 205px)}.o-VideoPlaylist__m-Playlist{position:relative;-webkit-overflow-scrolling:touch;position:absolute;display:block;top:0;right:0;bottom:0;width:234px;overflow-y:auto;overflow-x:hidden}.o-VideoPlaylist__m-Carousel{position:absolute;top:0;left:0;width:100%;height:100%;padding-top:7px;overflow-y:inherit}.o-VideoPlaylist__a-Button{background:red;color:#fff;border:none;display:inline-block;padding:12px 16px 6px;text-align:center;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none;vertical-align:top;border-radius:3px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.o-VideoPlaylist__a-Button:hover{color:#fff;text-decoration:none;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.2))}.o-VideoPlaylist__a-Button[disabled]{color:#bebdbc;pointer-events:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.o-VideoPlaylist__m-Playlist .m-MediaBlock{display:block}.o-VideoPlaylist__m-Playlist .m-MediaBlock__a-Description{display:none}.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-MediaWrap,.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-TextWrap{display:block}.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-MediaWrap{position:relative}.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-TextWrap .m-MediaBlock__a-Label{display:none}.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-MediaWrap .m-MediaBlock__a-Label{position:absolute;top:-7px;left:50%;-ms-transform:translateX(-50%);transform:translateX(-50%);color:#fff;background:#1c1c1c;font-size:14px;padding:6px 7px 0;text-transform:uppercase;letter-spacing:.02em;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-TextWrap .m-MediaBlock__a-AssetInfo{display:none}.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-MediaWrap .m-MediaBlock__a-AssetInfo{display:block;position:absolute;color:#fff;font-size:14px;background-color:rgba(0,0,0,.65);padding:8px 7px 2px}.o-VideoPlaylist__m-Playlist .is-Active .m-MediaBlock__m-MediaWrap .m-MediaBlock__a-Label,.o-VideoPlaylist__m-Playlist .is-Paused .m-MediaBlock__m-MediaWrap .m-MediaBlock__a-Label{display:block}.o-VideoPlaylist .m-Rating__a-StarsLink{display:inline-block;height:39px!important;margin-top:-1px}.o-VideoPlaylist .m-Rating__a-StarsLink .gig-rating-stars{display:inline-block;width:-webkit-max-content;width:-moz-max-content;width:max-content;vertical-align:middle}.o-VideoPlaylist .m-Rating__a-StarsLink .gig-rating-star{display:inline-block;float:none;vertical-align:middle}.o-VideoPlaylist .m-Rating__a-StarsLink .gig-rating-star:after{-ms-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.o-VideoPlaylist .m-Rating__a-StarsLink .gig-rating-ratingsum{display:inline-block;vertical-align:middle}@media only screen and (min-width:1250px) and (min-device-width:1250px){.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-MediaWrap .m-MediaBlock__a-Label{display:none}}.o-VideoPlaylist .container--wide{max-width:1308px}.o-VideoPlaylist__m-Playlist .m-MediaBlock{margin:0 0 16px!important}.o-VideoPlaylist__m-Playlist .m-MediaBlock__a-Headline{margin-top:5px;font-size:20px;font-weight:400;line-height:1.1;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;color:#1c1c1c}.o-VideoPlaylist__m-Playlist .m-MediaBlock__a-AssetInfo{right:14px;bottom:0}.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-MediaWrap,.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-TextWrap{width:100%;padding:0 14px}.o-VideoPlaylist__m-Playlist .m-MediaBlock__m-MediaWrap .m-MediaBlock__a-Label{display:none}.o-VideoPlaylist__m-Playlist .l-List .m-MediaBlock{margin:0 0 7px}.o-VideoPlaylist__m-Footer{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;width:calc(100% - 234px);max-width:100%;margin-top:14px;animation:fadeIn .5s ease-out 1.5s 1 normal forwards running;opacity:0}.o-VideoPlaylist .m-Rating__a-StarsLink{margin-left:14px}.o-VideoPlaylist .m-Rating__a-StarsLink .gig-rating-stars{margin:-7px 3.5px 0}.o-VideoPlaylist .m-Rating__a-StarsLink .gig-rating-star{width:22px;height:22px;margin-right:4px}.o-VideoPlaylist .m-Rating__a-StarsLink .gig-rating-ratingsum{margin-top:14px}.o-VideoPlaylist .owl-controls{display:none}.o-VideoPlaylist .customPlayButton:after,.o-VideoPlaylist .customPlayButton:before{content:none}.o-VideoPlaylist video{height:auto!important;max-width:100%!important}.o-AdhesionNotifier{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;position:fixed;bottom:-150px;left:0;right:0;height:150px;z-index:1000;background-repeat:no-repeat;background-position:top;transition:bottom 1s;background-color:#a80000}.o-AdhesionNotifier:before{position:absolute;z-index:1;content:" ";top:0;width:100%;height:8px;background:#000}.o-AdhesionNotifier>div{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:994px;padding:0 20px;color:#fff}.o-AdhesionNotifier>div>div:first-child{-ms-flex:1;flex:1;margin:10px 20px}.o-AdhesionNotifier>div>div:first-child a,.o-AdhesionNotifier>div>div:first-child a:visited{color:#fff;border-bottom:2px solid #fff}.o-AdhesionNotifier>div>div:first-child a:active,.o-AdhesionNotifier>div>div:first-child a:hover{text-decoration:none}.o-AdhesionNotifier>div>div:nth-child(2){margin:10px 20px;text-align:center;font-size:12px}.o-AdhesionNotifier .a-Button{margin-bottom:7px;display:block;background:#fff;padding:11px 16px 6px;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase;color:red}.o-AdhesionNotifier .a-Button:hover{background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));color:red;text-decoration:none}.o-AdhesionNotifier .a-Button[disabled]{color:#ccc;pointer-events:none}.o-AssetActions{float:left;display:-ms-flexbox;display:flex;margin:0 7px 7px 0;margin:21px 0}.o-AssetActions__a-Button{background:#00aeef;color:#fff;border:none;display:inline-block;padding:7px 14px;text-align:center;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none}.o-AssetActions__a-Button:hover{color:#fff;text-decoration:none}.o-AssetActions__a-Button[disabled]{color:#bebdbc;pointer-events:none}.o-AssetActions .a-Icon--Bookmark{width:15px;height:15px;position:relative;top:2px;margin-right:7px;fill:red}.o-AssetActions .a-Button--Save{margin-right:3.5px;height:37px;padding:8px 16px 7px;background:#fff;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase;color:red}.o-AssetActions .a-Button--Save:hover{background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));color:red;text-decoration:none}.o-AssetActions .a-Button--Save[disabled]{color:#ccc;pointer-events:none}.o-AssetActions .a-Button--Saved{margin-right:3.5px;height:37px;padding:8px 16px 7px;background:#fff;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase;color:red}.o-AssetActions .a-Button--Saved:before{height:15px;width:15px;display:inline-block;position:relative;top:3px;margin-right:7px;content:" ";background-image:url(/etc/designs/svg/icon-checkmark.svg);background-repeat:no-repeat}.o-AssetActions .a-Button--Saved:hover{background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));color:red;text-decoration:none}.o-AssetActions .a-Button--Saved[disabled]{color:#ccc;pointer-events:none}.o-AssetActions .a-Button--Saved__a-TextWrap{text-transform:capitalize;color:#1c1c1c}.o-AssetActions .a-Button--Saved__a-AddToBoard{border-left:1px solid #000;padding-left:7px;margin-left:7px}.o-AssetActions .a-Button--Saved__a-Divider{display:none}.o-AssetActions .a-Button--Print{padding:7px 10px 5px;background:#fff;border-radius:3px;border:1px solid #ccc;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase;color:red}.o-AssetActions .a-Button--Print:before{display:inline-block;font-style:normal;font-weight:400;line-height:0;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";font-size:20px;position:relative;top:5px}.o-AssetActions .a-Button--Print:before:hover{text-decoration:none}.o-AssetActions .a-Button--Print:hover{background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15));color:red;text-decoration:none}.o-AssetActions .a-Button--Print[disabled]{color:#ccc;pointer-events:none}.o-AssetActions .a-Button--Print__a-TextWrap{text-indent:-999em;display:inline-block;padding:0}.o-AssetDescription{clear:both}.o-AssetDescription__a-Description{margin:0 0 21px;font-size:20px;line-height:1.35;font-family:Georgia,Times New Roman,Times,serif;font-style:italic}.o-AssetDescription__a-Description b,.o-AssetDescription__a-Description strong{font-family:inherit;font-weight:700}.o-AssetNavigation{margin-bottom:14px;position:relative;top:-14px}.o-AssetNavigation .l-Columns--2up>*{margin-bottom:0}.o-AssetNavigation__m-Body{margin:0 -14px}.o-AssetNavigation__a-Button{background:#fff;color:#1c1c1c;display:inline-block;padding:14px 10px;text-align:left;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none;margin:0;width:50%;border:none;border-bottom:1px solid #ccc;text-transform:uppercase;font-size:18px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1}.o-AssetNavigation__a-Button:before{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";font-size:20px;color:red;top:4px;position:relative;overflow:hidden;margin-right:3.5px}.o-AssetNavigation__a-Button:before:hover{text-decoration:none}.o-AssetNavigation__a-Button:hover{color:#1c1c1c;text-decoration:underline}.o-AssetNavigation__a-Button[disabled]{color:#bebdbc;pointer-events:none}.o-AssetNavigation__a-Button:first-child{margin-right:-1px;width:50%}.o-AssetNavigation__a-Button:last-child{text-align:right;border-left:1px solid #ccc;width:50%;margin-left:0}.o-AssetNavigation__a-Button:last-child:before{display:none}.o-AssetNavigation__a-Button:last-child:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";font-size:20px;color:red;top:4px;position:relative;overflow:hidden;margin-left:3.5px}.o-Attribution{margin-bottom:21px;padding-right:14px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:18px;color:#1c1c1c}.o-Attribution:after,.o-Attribution:before{content:"";display:table;clear:both}.o-Attribution__m-Body{display:table}.o-Attribution__m-TextWrap{width:100%;margin-top:0;display:table-cell;vertical-align:middle}.o-Breadcrumb{list-style:none;margin-bottom:7px;z-index:1;font-size:12px;padding:7px 0 0}.o-Breadcrumb a,.o-Breadcrumb a:visited{color:#1c1c1c}.o-ContentFeed .o-Capsule__a-Button{background:#333;color:#fff;border:none;display:inline-block;padding:11px 16px 6px;text-align:center;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none;border-radius:3px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.o-ContentFeed .o-Capsule__a-Button:hover{color:#fff;text-decoration:none;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.3),rgba(0,0,0,.1))}.o-ContentFeed .o-Capsule__a-Button[disabled]{color:#bebdbc;pointer-events:none}.o-ContentFeed .o-Capsule__a-Button{margin-top:21px}.rightRail .o-ContentFeed .o-Capsule__a-Button{margin-bottom:14px}.o-ContentFeed .o-Capsule__m-ButtonNav{text-align:center}.o-ContentFeed .l-List .m-MediaBlock:last-child{margin-bottom:0}.rightRail .o-ContentFeed .l-List .m-MediaBlock{border-top:1px dotted #333;padding-top:14px}.rightRail .o-ContentFeed .l-List .m-MediaBlock:first-child{border-top:none;padding-top:0}.rightRail .o-ContentFeed .l-List .m-MediaBlock:last-child{margin-bottom:7px}.l-Columns--3up .o-ContentFeed .l-List .m-MediaBlock,.l-Columns--4up .o-ContentFeed .l-List .m-MediaBlock{margin-bottom:21px}.rightRail .o-ContentFeed .l-List .m-MediaBlock{margin-bottom:14px}.rightRail .o-ContentFeed .l-List .m-MediaBlock:last-child{margin-bottom:0}.o-EditorialPromo .m-MediaBlock--gallery .m-MediaBlock__a-AssetInfo{display:inline-block;width:16px;height:16px;font-size:0}.o-EditorialPromo .m-MediaBlock--gallery .m-MediaBlock__a-AssetInfo:after{display:inline-block;font-style:normal;font-weight:400;line-height:1;text-transform:none;-webkit-font-feature-settings:"liga";-ms-font-feature-settings:"liga" 1;-o-font-feature-settings:"liga";font-feature-settings:"liga";font-family:fn-icons;content:"";position:relative;bottom:-2px;font-size:16px;color:#1c1c1c}.o-EditorialPromo .m-MediaBlock--gallery .m-MediaBlock__a-AssetInfo:after:hover{text-decoration:none}.o-Ingredients{clear:both;margin-bottom:28px}.o-Ingredients__a-Headline{font-size:24px;font-weight:400;margin-bottom:14px}.o-Ingredients__a-Headline,.o-Ingredients__a-SubHeadline{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1}.o-Ingredients__a-SubHeadline{margin:0 0 7px;font-size:18px;color:#1c1c1c}.o-Method__a-Headline{font-size:24px;font-weight:400;margin-bottom:14px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1}.o-Method__m-Body{line-height:1.5}.o-Newsletter .a-LoaderWrap{display:none;background-color:hsla(0,0%,100%,.8);width:100%;height:100%;position:absolute;top:0;left:0}.o-Newsletter .o-Capsule__a-Input{padding:7px;font-size:12px;line-height:1.35;color:#1c1c1c;outline:none;border:1px solid #ccc;border-radius:3px;height:37px;background-color:#fff;box-shadow:none;transition:border-color .15s ease-in-out;margin-right:1%;width:68%}.o-Newsletter .o-Capsule__a-Button{background:#fff;color:red;border:1px solid #ccc;display:inline-block;padding:11px 16px 6px;text-align:center;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none;font-size:15px;border-radius:3px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;text-transform:uppercase}.o-Newsletter .o-Capsule__a-Button:hover{color:red;text-decoration:none;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15))}.o-Newsletter .o-Capsule__a-Button[disabled]{color:#ccc;pointer-events:none}.o-Newsletter .o-Capsule__m-Body{position:relative}.o-Newsletter .o-Capsule__a-CancelLink{font-size:14px;margin-left:14px;color:red;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;line-height:1.35}.o-Newsletter .m-Form__m-InputWrap{margin-bottom:7px;font-size:0}.o-Newsletter .m-Form__m-ChecklistWrap ol,.o-Newsletter .m-Form__m-ChecklistWrap ul{-moz-column-count:2;-moz-column-gap:21px;-webkit-column-count:2;-webkit-column-gap:21px;column-count:2;column-gap:21px}[role=contentWell] .o-Newsletter .m-Form__m-ChecklistWrap ul{-moz-column-count:2;-moz-column-gap:21px;-webkit-column-count:2;-webkit-column-gap:21px;column-count:2;column-gap:21px}.o-Newsletter .m-Form__a-Errors{color:red;margin:14px 0}.o-Newsletter .m-Form__a-Legal{margin:14px 0 0;font-size:12px;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;color:#ababaa}.o-Newsletter .m-Form__m-SubmitWrap{margin:0;padding:0;text-align:center}.rightRail .o-Newsletter .m-Form__m-SubmitWrap{text-align:center;margin:0 0 7px}[role=contentWell] .o-Newsletter .m-Form__m-SubmitWrap{text-align:center}.o-Newsletter .o-Newsletter__m-State1 .a-Button{background:#fff;color:red;border:1px solid #ccc;display:inline-block;padding:11px 16px 6px;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none;font-size:15px;border-radius:3px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;text-transform:uppercase}.o-Newsletter .o-Newsletter__m-State1 .a-Button:hover{color:red;text-decoration:none;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15))}.o-Newsletter .o-Newsletter__m-State1 .a-Button[disabled]{color:#ccc;pointer-events:none}.o-Newsletter .o-Newsletter__m-State1 .a-Button{text-align:center}[role=contentWell] .o-Newsletter .o-Newsletter__m-State1 .a-Button{width:14%}.o-Newsletter .o-Newsletter__m-State2,.o-Newsletter .o-Newsletter__m-State3{display:none}.o-Newsletter .o-Newsletter__a-Description{margin-bottom:14px}.o-Newsletter .m-Checklist__a-Item input:hover{cursor:pointer}.o-Newsletter .m-Checklist__a-Item span:hover{cursor:pointer}.o-Newsletter .m-Checklist__a-Item span{margin-left:3.5px;font-weight:400}.o-NutritionInfo template{display:none}.o-PackagePromo .o-Capsule__m-Header,.photoGalleryPage .o-PackagePromo .o-Capsule__m-Header{border-top:1px solid #ccc}.o-PackagePromo__a-Headline{font-size:20px;color:red;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1}.o-PackagePromo__a-Headline:hover{text-decoration:underline}.o-PackagePromo__a-SubHeadline{font-size:15px;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;text-transform:uppercase;color:#ababaa}.o-ReviewSummary{display:inline-block}.o-ReviewSummary .m-Rating__a-StarsLink{height:auto}.o-ReviewSummary .gig-comment-rating:after,.o-ReviewSummary .gig-comment-rating:before,.o-ReviewSummary .gig-composebox-rating-value:after,.o-ReviewSummary .gig-composebox-rating-value:before,.o-ReviewSummary .gig-rating-stars:after,.o-ReviewSummary .gig-rating-stars:before,.o-ReviewSummary .gig-selfreview-rating:after,.o-ReviewSummary .gig-selfreview-rating:before{content:"";display:table;clear:both}.o-ReviewSummary .gig-comment-rating,.o-ReviewSummary .gig-composebox-rating-value,.o-ReviewSummary .gig-rating-stars,.o-ReviewSummary .gig-selfreview-rating{display:inline-block;width:auto;margin-right:7px;top:7px;position:relative}.o-SocialShare .m-GigyaShareWrap{display:none}.sponsor-logos-wrap .o-SocialShare{clear:both}.o-SocialShare{margin:0 0 28px}.l-Columns--4up>:nth-child(4n+1){width:calc(25% - 5.25px);margin:0 3.5px 0 0}.l-Columns--4up>:nth-child(4n+2){width:calc(25% - 5.25px);margin:0 3.5px}.l-Columns--4up>:nth-child(4n+3){width:calc(25% - 5.25px);margin:0 3.5px}.l-Columns--4up>:nth-child(4n+4){width:calc(25% - 5.25px);margin:0 0 0 3.5px}.o-SocialShare__m-ShareButton{display:table;width:100.5%;padding:5px;background:#000;cursor:pointer;border-radius:3px}.o-SocialShare__m-ShareButton:hover{background:#999;text-decoration:none}.o-SocialShare__m-ShareButton--pinterest{background:#c3221f;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1))}.o-SocialShare__m-ShareButton--pinterest:hover{background:#c3221f;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.2))}.o-SocialShare__m-ShareButton--facebook{background:#415a9b;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1))}.o-SocialShare__m-ShareButton--facebook:hover{background:#415a9b;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.2))}.o-SocialShare__m-ShareButton--twitter{background:#3aacf1;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1))}.o-SocialShare__m-ShareButton--twitter:hover{background:#3aacf1;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.2))}.o-SocialShare__m-ShareButton--email{background:#333;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1))}.o-SocialShare__m-ShareButton--email:hover{background:#333;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.3),rgba(0,0,0,.1))}.o-SocialShare__m-IconWrap{display:table-cell;padding-left:14px;vertical-align:middle}.o-SocialShare__a-Icon{height:26px;width:26px;fill:#fff;vertical-align:middle}.o-SocialShare__a-Label{display:table-cell;vertical-align:middle;color:#fff;font-size:15px;padding:0;position:relative;top:4px;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;text-transform:uppercase}.o-Tags .o-Capsule__m-Body{position:relative}.o-Tags .o-Capsule__m-Body:after,.o-Tags .o-Capsule__m-Body:before{content:"";display:table;clear:both}.o-Tags .o-Capsule__m-TagList{margin:0}.o-Tags .o-Capsule__a-Subheadline{float:left;margin:7px 7px 3.5px 0;font-size:18px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c}#photo-gallery .o-Tags .o-Capsule__a-Subheadline,.video-wrapper .o-Tags .o-Capsule__a-Subheadline{color:#fff}.o-Tags .o-Capsule__a-Tag{display:inline-block;float:left;font-size:15px;background-color:#efece3;color:#1c1c1c;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;margin:0 7px 7px 0;padding:7px 9px 1px}.o-Tags .o-Capsule__a-Tag:hover{color:#1c1c1c}.o-Tags .truncatedText{display:inline-block}.o-Tags .less,.o-Tags .more{position:absolute;left:0;bottom:-21px}.o-VideoPlaylistEmbed{margin:0 0 28px}.video-wrapper .o-VideoPlaylistEmbed{width:994px;margin:0 auto;position:relative;padding:14px;background:#000}.o-VideoPlaylistEmbed:after,.o-VideoPlaylistEmbed:before{content:"";display:table;clear:both}.fullWidthPage .o-VideoPlaylistEmbed{position:relative;box-shadow:0 2px 4px rgba(0,0,0,.1);max-width:1250px;margin:28px auto 14px}.o-VideoPlaylistEmbed__m-VideoLauncher{cursor:pointer}.fullWidthPage .o-VideoPlaylistEmbed__m-VideoLauncher{display:table;position:relative}.o-VideoPlaylistEmbed__m-Body{background:#000}.fullWidthPage .o-VideoPlaylistEmbed__m-Body{background:#fff}.o-VideoPlaylistEmbed__m-CustomPagination{clear:both;margin-top:21px}.o-VideoPlaylistEmbed__m-Footer{background:#000;padding:0 21px 21px}.o-VideoPlaylistEmbed .m-Carousel{padding-top:14px;border-top:1px dotted #333}.o-VideoPlaylistEmbed .m-MediaBlock{cursor:pointer}.o-VideoPlaylistEmbed .m-MediaBlock__m-MediaWrap{margin-bottom:7px}.o-VideoPlaylistEmbed .m-MediaBlock__m-TextWrap{padding-right:7px}.o-VideoPlaylistEmbed .m-MediaBlock__a-Label{background:#f9e929;color:#1c1c1c;padding:6px 7px 0;font-size:14px;text-transform:uppercase;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.o-VideoPlaylistEmbed .m-MediaBlock__a-Headline{color:#fff;margin:0;font-weight:400;font-size:20px}.o-VideoPlaylistEmbed .m-MediaBlock__a-AssetInfo{font-size:15px}.video-wrapper .o-VideoPlaylistEmbed .m-MediaBlock{border-top:1px dotted #999;padding-top:14px}.video-wrapper .o-VideoPlaylistEmbed .m-MediaBlock:first-child{border-top:none;padding-top:0}.o-VideoPlaylistEmbed__m-Header{border-top:5px solid #1c1c1c;margin-bottom:14px}.o-VideoPlaylistEmbed .m-Header__a-Headline{font-size:34px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;text-transform:uppercase;padding-top:7px;padding-bottom:0}.o-VideoPlaylistEmbed .owl-controls{display:none}.recipePage .o-SocialShare__m-ShareButton{width:37px;height:37px;padding:5px 0 0}.recipePage .o-SocialShare__m-IconWrap{padding:0;text-align:center}.recipePage .o-SocialShare__a-Icon{width:18px;height:18px}.recipePage .o-SocialShare__a-Label{display:none}.recipePage .o-SocialShare .m-SocialIcons{box-shadow:none}.recipePage .o-SocialShare .m-SocialIcons:after,.recipePage .o-SocialShare .m-SocialIcons:before{content:"";display:table;clear:both}.recipePage .o-SocialShare .m-SocialIcons>*{display:inline-block;margin-left:2px}.recipePage .o-SocialShare{float:right;margin-bottom:-2px}@media print{.recipePage{margin:0!important;background:transparent;min-width:0}}@media screen{.recipePage .o-Attribution{padding-bottom:7px;border-bottom:1px dotted #333;margin-bottom:7px}.recipePage .o-Attribution__m-TextWrap{vertical-align:top}.recipePage .o-FullAttribution .o-Capsule{margin:0 0 28px}.rightRail .recipePage .o-FullAttribution .o-Capsule{margin:14px 0;padding:7px;background:#fff;box-shadow:1px 2px 5px 0 rgba(0,0,0,.19)}.recipePage .o-FullAttribution .o-Capsule__m-Header{border-top:none;margin-bottom:0}}.recipePage .lead-sections{clear:both;border-top:1px dotted #333;padding-top:28px}.recipePage .o-ReviewSummary{display:inline-block;margin-bottom:14px;margin-top:-7px}@media screen{.recipePage .o-RecipeInfo{border-top:1px dotted #333;padding-top:10px;margin-bottom:7px}.l-Columns--3up .recipePage .o-RecipeInfo{padding-top:0;border-top:none}.recipePage .recipeInfoWrap--noMedia{background:#f6f5f2;padding:14px 28px;margin-bottom:28px}.recipePage .recipeInfoWrap--noMedia .o-RecipeInfo{margin-bottom:0;border-top:none}.recipePage .recipeInfoWrap--noMedia.l-Columns--3up>*{margin-bottom:0}.recipePage .recipeInfoWrap--noMedia.l-Columns--3up>:nth-child(3n+2){border-left:1px solid #e3e2e0;border-right:1px solid #e3e2e0}}.hide{display:none!important}.icon,.rsArrowIcn{font-family:fn-icons}.rsArrowDisabled{display:none!important}.container-site{margin:0 auto}.col-md-18{float:left;width:616px}.col-md-10{float:left;width:336px;margin-left:14px}.is-Fluid .col-md-18{float:left;width:66.5%}.is-Fluid .col-md-10{float:right;width:30.28%;margin-left:14px}.container-aside{padding-left:14px}.rightRail{width:100%;margin-left:0}.tpPlayer{cursor:pointer}.videoPlaylistPromo .hidden{visibility:hidden!important;display:none!important}.o-VideoPlaylistEmbed .m-Carousel .m-MediaBlock .m-MediaBlock__m-MediaWrap .a-Label{display:none}.o-VideoPlaylistEmbed .m-Carousel .m-MediaBlock.active .m-MediaBlock__m-MediaWrap .a-Label{display:inline-block;position:absolute;bottom:0;margin:0}.affix{position:fixed;top:0}.animated{animation-duration:.25s;animation-fill-mode:both}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}.fadeOutUp{animation-name:fadeOutUp}@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:none}}.fadeInDown{animation-name:fadeInDown}@media (-ms-high-contrast:active),(-ms-high-contrast:none){html[class*=Win] use{pointer-events:none}}#leaderboard_fixed{background:#666!important;box-sizing:content-box;border-bottom-color:#666!important}.private-notes{padding:10px 0 50px;border-top:1px dashed grey}.add-note__title{color:red;position:relative;top:-10px;cursor:pointer;margin-left:10px}.private-notes__textarea{width:100%;padding:10px;border-radius:3px;border-color:#cecece;outline:none;resize:none}.o-Method__m-Body.private-notes-body p,.private-notes__notes p{white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word}.private-notes__form__actions{text-align:right}.private-notes-body .a-Button__a-Icon--Add{background-color:red;fill:#fff;width:32px;height:32px;border-radius:50%;padding:8px}.private-notes__a-Button{padding:11px 16px 6px;border-radius:3px;text-align:center;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase;display:inline-block;margin:5px;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none}.recipePrint .o-RecipeInfo{margin-bottom:0;padding-top:0;border-top:none}.recipePrint .o-RecipeInfo:first-child{border-top:none;padding-top:0}.recipePrint .o-RecipeInfo:after,.recipePrint .o-RecipeInfo:before{content:"";display:table;clear:both}.recipePrint .o-RecipeInfo__a-Headline{clear:right;display:block;float:left}.recipePrint .o-AssetDescription{margin-top:14px}.recipePrint .o-AssetDescription__a-Description{margin-bottom:0;font-size:12px}.recipePrint .o-Copyright__a-Credit{font-size:12px}.recipePrint .o-Ingredients{margin-bottom:0}.recipePrint .o-Ingredients li{padding-top:0;border:none;margin-bottom:0;font-size:12px}.recipePrint .o-Ingredients ul{list-style:disc;padding-left:14px;font-size:14px;margin-bottom:14px}.recipePrint .o-Ingredients__m-Body ul:last-child{margin-bottom:0}.recipePrint .o-Level .o-RecipeInfo__a-Description{margin-top:0;width:70%}.recipePrint .o-Method__m-Body{line-height:1.4}.recipePrint .o-Time .o-RecipeInfo__a-Description,.recipePrint .o-Time .o-RecipeInfo__a-Headline{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:16px}.recipePrint .o-Time .o-RecipeInfo__a-Description{margin-top:0;width:70%;position:static}.recipePrint .o-Time .o-RecipeInfo__a-Description--Total,.recipePrint .o-Time .o-RecipeInfo__a-Headline--Total{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:16px}.recipePrint .o-Time .o-RecipeInfo__a-Description--Total{margin-top:0;width:70%;position:static}.recipePrint .o-Yield .o-RecipeInfo__a-Description{margin-top:0;width:70%}.recipePrint .m-RecipeHeaderWrap{display:table;width:100%}.recipePrint .m-RecipeHeaderBody{display:table-cell}.recipePrint .m-RecipeHeaderLogos{display:table-cell;vertical-align:middle;text-align:right;padding-left:28px}.recipePrint .m-RecipeHeaderLogos svg{width:90px;height:90px}.recipePrint .l-ColumnLeft{float:left;width:35%}.recipePrint .l-ColumnRight{float:left;width:65%;padding-left:28px}.recipePrint .a-Image--Food{float:right;width:200px;margin:0 0 14px 14px}.recipePrint .m-RecipeBody{margin-top:28px;padding-top:28px;border-width:1px 2px 2px;border-top:2px solid #ccc}.recipePrint .m-RecipeBody:after,.recipePrint .m-RecipeBody:before{content:"";display:table;clear:both}.recipePrint .o-Method__m-Body h3{margin:0 0 7px;font-size:18px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c}.recipePrint .o-ChefNotes,.recipePrint .o-Warnings{padding-left:0}.recipePrint .o-PrivateNotes__a-BodyText{white-space:pre-wrap;overflow:hidden}.recipePrint{background:transparent;min-width:0;font-size:12px}@media print{.recipePrint{margin:0}}.recipePrint .o-Attribution{margin-bottom:0}.recipePrint .o-FullAttribution .o-Capsule{margin:0 0 28px}.rightRail .recipePrint .o-FullAttribution .o-Capsule{margin:14px 0;padding:7px;background:#fff;box-shadow:1px 2px 5px 0 rgba(0,0,0,.19)}.recipePrint .o-ReviewSummary{display:inline-block}.recipePrint .o-Attribution__a-Source--Prefix{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:14px}.recipePrint .o-Time .o-RecipeInfo__a-Headline--Total{float:left;margin-right:7px}.recipePrint .o-RecipeInfo__a-Description,.recipePrint .o-RecipeInfo__a-Description--Total{float:right}.o-Header .a-Icon--Menu{width:20px;height:16px;stroke:#1c1c1c}.o-Header .a-Icon--Profile,.o-Header .a-Icon--Profile-hover{width:25px;height:25px}.o-Header [data-type=button-header-profile]{width:25px;height:25px;border-radius:100%;overflow:hidden}.o-Header [data-type=button-header-profile]:hover{cursor:pointer}.o-Header [data-type=button-header-profile] img{width:25px;height:25px}.o-Header .profile.cq-Editable-dom{margin-left:20px;width:25px;height:25px}.o-Header .m-NavItemWrap--profile.cq-Editable-dom{display:flex!important}.o-Header .iconLink,.o-Header .iconLink.cq-Editable-dom{margin-left:20px;min-width:18px;max-width:40px;height:23px;border:1px solid #2583d8}.o-Header .iconLink.cq-Editable-dom .o-Header__a-Icon,.o-Header .iconLink .o-Header__a-Icon{width:18px;height:23px}.o-Header .searchBox,.o-Header .searchBox.cq-Editable-dom{margin-left:auto;max-width:250px;max-height:40px;overflow:hidden}.o-Header__m-DropdownMenu a:not(.m-DropdownMenu__a-Cta):hover{color:#ff626a!important;text-decoration:none}.o-Header__m-DropdownMenu a:not(.m-DropdownMenu__a-Cta):hover svg{fill:#ff626a!important}.o-Header__m-Navigation .a-Icon--saves{fill:none;stroke:#1c1c1c}.o-Header__m-Navigation .a-Icon--saves:hover{fill:#e6003d}@media only screen and (min-device-width:738px){.o-Header{position:relative;z-index:11;display:flex;align-items:center;flex-direction:column;background:#fff;box-shadow:0 0 10px 1px hsla(0,0%,84.3%,.5)}.is-Open .o-Header__m-DropdownMenu.is-Hovered{display:block!important;opacity:1!important;z-index:20;box-shadow:inset 0 4px 10px -1px hsla(0,0%,84.3%,.5)}.o-Header__m-Area{width:100%;max-width:1280px;z-index:2}}@media only screen and (min-device-width:738px) and (min-width:1025px) and (min-device-width:1025px){.o-Header__m-Area--Main .o-Header__m-Area.m-Area__m-Container{min-width:994px}}@media only screen and (min-device-width:738px) and (min-width:1210px) and (min-device-width:1210px){.o-Header__m-DropdownMenu--FlyOut{padding-left:0;padding-right:0}}@media only screen and (min-device-width:738px){.o-Header [data-module=header]{display:flex;flex-direction:row;height:80px}.o-Header [data-module=header] .o-Header__m-Area.m-Area__m-Container{display:flex;align-items:center;height:inherit;width:100%;margin:0 auto;padding:0 29px}.o-Header [data-module=header] .o-Header__m-Navigation:hover>.a-Icon--close,.o-Header [data-module=header] .o-Header__m-Navigation:hover>.a-Icon--Menu{stroke:#ff626a!important}.o-Header [data-module=header] .o-Header__m-SiteLogo{display:flex}.o-Header [data-module=header] .o-Header__m-SiteLogo>a{height:60px}.o-Header [data-module=header] .o-Header__m-SiteLogo .a-Icon--Logo{height:60px;width:60px}.o-Header [data-module=header] .o-Header__a-NavLink{z-index:100;position:relative}.o-Header [data-module=header] .o-Header__a-NavLink:after{content:"";position:absolute;top:50px;left:0;right:0;transform-origin:center right;transform:scaleX(0);margin:0 17.5px}.o-Header [data-module=header] .o-Header__a-NavLink:hover:after{height:5px;border-radius:5px;background-color:#ff626a;transform-origin:center left;transform:scaleX(1);transition:transform .1s ease}.o-Header [data-module=header] .o-Header__a-NavLink:not(:empty){display:flex;justify-content:center;align-items:center;height:80px;padding:0 17.5px}.o-Header [data-module=header] .o-Header__m-NavItem{display:flex;align-items:center;justify-content:flex-end}.o-Header [data-module=header] .o-Header__m-NavItem.premium-flyout .o-Header__a-NavLink:hover:after{background-color:#87ccff}.o-Header [data-module=header] .o-Header__m-NavItem.premium-flyout .o-Header__m-DropdownMenu:after{display:block;content:"";width:100%;position:absolute;bottom:-3px;height:25px;margin:-21px;background-image:linear-gradient(90deg,#cfe7f9 0,#87ccff 127%)}.o-Header [data-module=header] .o-Header__m-NavItemWrap{align-items:center;flex:0 0 auto;text-align:center;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-weight:600;font-size:16px;height:100%;display:flex}.o-Header [data-module=header] .o-Header__m-NavItemWrap a{text-decoration:none;color:#1c1c1c;transition:all .05s linear}.o-Header [data-module=header] .o-Header__m-NavItemWrap a:hover{color:#1c1c1c;cursor:pointer}.o-Header [data-module=header] .o-Header__m-NavItemWrap.is-OpenMenu .flyout-animation{opacity:1;transform:none}.o-Header [data-module=header] .o-Header__m-NavItemWrap.is-OpenMenu .o-Header__a-NavLink:after{transform-origin:center left;transform:scaleX(1);transition:transform .1s ease}.o-Header [data-module=header] .o-Header__m-NavItemLabel{position:absolute}.o-Header [data-module=header] .o-Header__m-NavItemLabel span{position:relative;top:-12px;right:-6px;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:10px;line-height:.8;color:#54a2d9}.o-Header [data-module=header] .o-Header__m-NavItemLabel span>svg{width:12px;height:12px;margin-left:-4px}.o-Header [data-module=header] .o-Header__m-NavItem.is-Expanded .o-Header__a-NavLink:after{border-bottom:5px solid #ff626a;border-radius:2.5px;transform-origin:center left;transform:scaleX(1);transition:transform .1s ease}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox,.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--siteLogo{height:inherit}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--siteLogo{font-size:0}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--siteLogo a{height:60px;margin:0 17.5px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--siteLogo .a-Icon--Logo{height:60px;width:60px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox{margin-left:auto}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--iconLink{margin-left:20px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--iconLink .m-Navigation--saves{display:flex;height:100%;align-items:center}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--iconLink .m-Navigation--saves a{font-size:0}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--iconLink .m-Navigation--saves svg{width:17px;height:22px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks{position:relative}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks:hover svg{color:#ff626a}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-Navigation--IconWrap{margin:0 17.5px 0 0;font-size:0}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-Navigation--IconWrap:hover{cursor:pointer}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .o-Header__m-DropdownList{text-align:left}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .o-Header__m-DropdownList li:last-child{margin:10px 0 0}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .o-Header__m-DropdownMenu{width:288px;left:-14px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-SocialLinks{display:flex;justify-content:center;align-items:center;padding:58px 0 0}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-SocialLinks li{display:inline-flex;justify-content:center;align-items:center;width:28px;height:28px;margin:0 7.5px;font-size:0}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-SocialLinks li:first-child{margin-left:0}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-SocialLinks li:last-child{margin-right:0}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-SocialLinks__a-Icon--Facebook{width:8px;height:17px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-SocialLinks__a-Icon--Twitter{width:18px;height:15px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-SocialLinks__a-Icon--Instagram{width:18px;height:18px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-SocialLinks__a-Icon--Youtube{width:18px;height:13px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-SocialLinks__a-Icon--Pinterest{width:15px;height:20px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--moreLinks .m-SocialLinks__a-Icon--Snapchat{width:18px;height:17px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-InputWrap{display:flex}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__a-Input{display:block;width:250px;height:40px;padding:18px 70px 12px 12px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:15px;border:0;border-radius:22px;box-shadow:0 0 8px 0 #d5d5d5;background-color:#fff;transition:none}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__a-Input::placeholder{font-size:14px;color:#707070}.Win32 .o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__a-Input,.Win64 .o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__a-Input{padding:15px 70px 12px 12px}}@media only screen and (min-device-width:738px) and (max-width:1055px){.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__a-Input{padding:18px 65px 12px 12px;width:210px}}@media only screen and (min-device-width:738px){.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchBox__a-Button--Clear{display:none}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchBox__a-Button--Clear .a-Icon--clear{position:absolute;top:50%;transform:translateY(-50%);right:45px;width:11px;height:11px;stroke:none;fill:#979797;cursor:pointer}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchBox__a-Button--Search{padding:0!important;border:none;background:none}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchBox__a-Button--Search .a-Icon--search{position:absolute;top:50%;right:14.5px;transform:translateY(-50%) rotateY(180deg);width:23px;height:23px;cursor:pointer}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area{position:relative}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area [data-typeahead-hints]{height:0}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.is-Populated .m-SearchBox__a-Button--Clear{display:block;transition:display .15s ease-in-out}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.is-Populated .m-SearchBox__a-Button--Search .a-Icon--search{transform:translateY(-50%) rotateY(0);transition:transform .15s ease-in-out}}@media only screen and (min-device-width:738px) and (max-width:1055px){.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.is-Populated .m-SearchBox__a-Button--Clear{width:35px;margin-left:-70px;z-index:1000}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.is-Populated .m-SearchBox__a-Button--Search{width:35px}}@media only screen and (min-device-width:738px){.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.is-Populated .m-SearchForm__a-Input{border-radius:22px;box-shadow:0 0 8px 0 #d5d5d5}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.is-Populated.has-Hints .m-SearchForm__a-Input{box-shadow:none;border:1px solid #e0e0e0;border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}}@media only screen and (min-device-width:738px) and (max-width:1055px){.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.is-Populated.has-Hints .m-SearchForm__a-Input{box-shadow:none;border:1px solid #e0e0e0;border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}}@media only screen and (min-device-width:738px){.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.has-Hints [data-typeahead-hints]{position:absolute;left:0;top:100%;width:100%;max-width:250px;height:auto;font-size:15px;padding:0 15px 0 10px;border:1px solid #e0e0e0;border-top:none;border-radius:25px;border-top-left-radius:0;border-top-right-radius:0;background:#fff;text-align:left;transition:height .15s ease-in-out}}@media only screen and (min-device-width:738px) and (max-width:1055px){.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.has-Hints [data-typeahead-hints]{max-width:210px}}@media only screen and (min-device-width:738px){.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.has-Hints [data-typeahead-hints] .m-SearchForm__m-TypeAheadMenu{border-top:1px solid #e0e0e0}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.has-Hints [data-typeahead-hints] .typeahead-display{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-weight:400;color:#999;word-spacing:1px;line-height:2.67}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--searchBox .m-SearchForm__m-Area.has-Hints [data-typeahead-hints] .typeahead-display strong{color:#000;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-weight:400}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--profile{position:relative;margin-left:20px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--profile .o-Header__m-DropdownList{text-align:right}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--profile .o-Header__m-DropdownMenu{width:190px;left:-140px;padding:0 20px 20px}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--profile .a-Icon--Profile-hover{display:none}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--profile:hover .a-Icon--Profile{display:none}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--profile:hover .a-Icon--Profile-hover{display:block}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--profile .logged-in,.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap--profile .logged-out{display:none}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap.is-OpenMenu .flyout-animation{opacity:1;transform:none}.o-Header [data-module=header] .o-Header__m-NavItemWrap.m-NavItemWrap.is-OpenMenu .o-Header__a-NavLink:after{transform-origin:center left;transform:scaleX(1);transition:transform .1s ease}.o-Header [data-module=header] .o-Header__m-DropdownMenu{display:none;position:absolute;left:0;top:100%;background-color:#fff}.o-Header [data-module=header] .o-Header__m-DropdownMenu--FlyOut{padding:31px 21px 42px;width:100%;opacity:0;transition:all .2s ease-in-out}.is-OpenMenu .o-Header [data-module=header] .o-Header__m-DropdownMenu--FlyOut{display:block!important;opacity:1!important}.o-Header [data-module=header] .o-Header__m-DropdownMenu--MoreLinks{padding:0 20px 20px}.is-Open .o-Header__m-NavItem.is-Expanded .o-Header [data-module=header] .o-Header__m-DropdownMenu--MoreLinks,.is-Open .o-Header__m-NavItem .o-Header [data-module=header] .o-Header__m-DropdownMenu--MoreLinks.is-Hovered{display:block!important;z-index:20}.o-Header [data-module=header] .o-Header__m-DropdownMenu--MoreLinks .m-DropdownMenu__m-Body li{margin-right:21px;color:#1c1c1c;line-height:1.35}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-PromoItem>a{color:#1c1c1c}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-PromoItem>a:hover{color:#ff626a}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-PromoItem__a-Image{width:160px;margin-bottom:10.5px;border-radius:3px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-PromoItem__a-Headline{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.13;letter-spacing:normal;color:#1c1c1c;text-align:left}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-Body{display:flex;flex-direction:row;overflow-y:hidden;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;-ms-overflow-style:none;padding:0 0 0 calc((100% - 1175px)/2)}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-Body::-webkit-scrollbar{display:none}}@media only screen and (min-device-width:738px) and (max-width:1055px){.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-Body{padding:0 30px}}@media only screen and (min-device-width:738px){.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-Body ul{margin-bottom:21px;padding-inline-start:0}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-Body li{display:block;margin-bottom:14px;font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;font-size:18px;font-weight:400;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;color:#1c1c1c;letter-spacing:.5px;line-height:1.3;width:200px;text-align:left}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaGroup{display:flex;flex-direction:column}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaGroup>.a-Cta{min-width:133px;height:38px;border-radius:19px;text-align:center;display:flex;justify-content:center;align-items:center;border:1px solid #ff626a;cursor:pointer;margin-top:15px;align-self:flex-start}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaGroup>.a-Cta>a{font-size:12px;font-weight:400;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:1px;text-transform:uppercase;color:#ff626a;margin-top:3px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaGroup>.a-Cta>a:hover{color:#fff}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaGroup>.a-Cta:hover{background-color:#ff626a}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaGroup>.a-Cta:hover .m-DropdownMenu__a-Cta{color:#fff}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo{display:flex;flex-direction:column;align-items:flex-start;padding-right:42px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Cta,.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Description,.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Label,.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-SubHeadline{font-size:14px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Label,.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-SubHeadline{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;letter-spacing:1px;color:#1c1c1c;text-transform:uppercase}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Cta{color:#ff626a;padding-bottom:11px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Cta:after{content:" \2192"}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__m-TextWrap{display:flex;flex-direction:column}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__m-TextWrap ul li{margin-bottom:11px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__m-TextWrap>div{min-width:133px;height:38px;border-radius:19px;text-align:center;display:flex;justify-content:center;align-items:center;border:1px solid #ff626a;cursor:pointer;align-self:flex-start}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__m-TextWrap>div .m-DropdownMenu__a-Cta{font-size:12px;font-weight:400;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:1px;text-transform:uppercase;color:#ff626a;margin-top:3px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__m-TextWrap>div .m-DropdownMenu__a-Cta:hover{color:#fff}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__m-TextWrap>div:hover{background-color:#ff626a}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__m-TextWrap>div:hover .m-DropdownMenu__a-Cta{color:#fff}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Headline{font-size:16px;font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Description{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-weight:400}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-TextPromo{opacity:0;transform:translateY(4px);transition:all .2s ease-out;transition-property:opacity,transform;display:flex;flex-direction:column;align-items:start;margin-top:33px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-TextPromo>div{min-width:133px;height:38px;border-radius:19px;text-align:center;display:flex;justify-content:center;align-items:center;border:1px solid #ff626a;cursor:pointer}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-TextPromo>div .m-DropdownMenu__a-Cta{font-size:12px;font-weight:400;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:1px;text-transform:uppercase;color:#ff626a;margin-top:3px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-TextPromo>div .m-DropdownMenu__a-Cta:hover{color:#fff}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-TextPromo>div:hover{background-color:#ff626a}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-TextPromo>div:hover .m-DropdownMenu__a-Cta{color:#fff}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo{display:flex;flex-direction:column;align-items:flex-start}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-MediaPromo__a-Label{margin-bottom:15px;font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;font-size:14px;letter-spacing:1px;color:#1c1c1c;text-transform:uppercase}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-MediaPromo__a-Label:empty{min-height:18px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-MediaPromo__m-Container,.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-MediaPromo__m-ContainerWrapper{display:flex}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem{opacity:0;transform:translateY(4px);transition:all .2s ease-out;transition-property:opacity,transform;margin-right:10px;width:160px;display:flex;flex-direction:column;flex:0 0 auto}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--Profile{flex-basis:108px;margin-right:20px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--Profile .a-Image{border-radius:50%;width:108px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--Profile .m-PromoItem__a-Headline{text-align:center;font-weight:600;font-size:14px;font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;line-height:1}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--Show,.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--SHOW{width:126px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--Show .a-Image,.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--SHOW .a-Image{width:126px;height:196px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--Show .m-PromoItem__a-Headline,.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--SHOW .m-PromoItem__a-Headline{display:none}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--Class .m-PromoItem__m-MediaWrap{position:relative;overflow:hidden}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--Class .m-PromoItem__m-MediaWrap a{display:block}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--Class .m-PromoItem__m-MediaWrap a:hover{color:#fff!important}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--wide{width:391px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-PromoItem.m-PromoItem--wide .m-PromoItem__m-MediaWrap .m-PromoItem__a-Image{width:391px;height:160px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .m-DropdownMenu__m-Container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start}.o-Header [data-module=header] .o-Header__m-DropdownMenu .class-results{display:flex}.o-Header [data-module=header] .o-Header__m-DropdownMenu .scheduled-classes{display:flex}.o-Header [data-module=header] .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem .m-PromoItem__m-MediaWrap{height:160px;min-height:160px;margin-bottom:10.5px;position:relative;overflow:hidden}.o-Header [data-module=header] .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem .m-PromoItem__m-MediaWrap .isLive{display:none;position:absolute;top:10.5px;left:10.5px;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:11px;font-weight:400;color:#fff;background:#ff626a;padding:5px 4px 0 6px;letter-spacing:1.5px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem__a-Image{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.o-Header [data-module=header] .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem .class-info{display:flex;flex-direction:column;justify-content:center;position:absolute;width:100%;height:43px;overflow:hidden;bottom:0;padding:6px 10px 3px;color:#fff;background-image:linear-gradient(90deg,#ff626a 35%,#f9a73f);font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:13px;text-align:left;border-bottom-left-radius:3px;border-bottom-right-radius:3px;line-height:1.2}.o-Header [data-module=header] .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem .class-live{font-size:12px;letter-spacing:1px}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo{display:flex;justify-content:flex-end;min-width:411px;padding-top:17px;padding-right:65px}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-DropdownMenu__m-Container{flex-direction:column;align-items:normal;text-align:left;max-width:228px}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo__a-Logo{margin-left:2px}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo__a-Logo .o-Header__a-Icon{height:80px;width:185px}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo__a-PromoText{font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;font-size:25px;font-weight:400;color:#000;margin-top:-8px;line-height:1}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo--Cta{min-width:133px;height:38px;border-radius:19px;text-align:center;display:flex;justify-content:center;align-items:center;border:1px solid #ff626a;cursor:pointer;background-color:#ff626a;margin-top:7px}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo--Cta>a{font-weight:400;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:1px;color:#ff626a;margin-top:3px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:12px;font-weight:700;font-stretch:condensed;letter-spacing:2px;color:#fff;text-transform:uppercase}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo--Cta>a:hover{color:#fff!important}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo--Cta:hover{opacity:.95}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-TextPromo{margin-top:0}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-TextPromo .m-DropdownMenu__m-BrandPromo{height:auto;min-width:auto;padding:0;justify-content:left;margin-top:-7px;border:0;background-color:transparent}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-TextPromo .m-DropdownMenu__m-BrandPromo .m-DropdownMenu__m-Container{max-width:none}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-TextPromo .m-BrandPromo__a-Logo{height:40px;width:167px;border-bottom:1px solid #e4e4e4;margin-bottom:14px}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-TextPromo .m-BrandPromo__a-Logo .o-Header__a-Icon{width:95px;height:40px}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-TextPromo .m-BrandPromo__a-Logo:hover{cursor:default}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-TextPromo .m-BrandPromo__a-PromoText{display:none}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-TextPromo .m-BrandPromo--Cta{display:none}.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-MediaGroup{padding-top:9px}}@media only screen and (min-device-width:738px) and (min-width:1251px) and (min-device-width:1251px){.o-Header [data-module=header] .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo{min-width:auto}}@media only screen and (min-device-width:738px){.o-Header [data-module=header] .o-Header__m-DropdownListItem{margin:10px 0;font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;font-size:18px;font-weight:400}.o-Header [data-module=header] .o-Header__m-DropdownListItem:first-child{margin-top:15px}}.o-Header[data-module=header-mobile]{width:100%}.o-Header[data-module=header-mobile] .o-Header{width:100%}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main{display:flex;align-items:center;align-content:center;height:65px;max-height:65px;position:relative;padding:10.5px 14px;background-color:#fff;box-shadow:0 0 10px 1px hsla(0,0%,84.3%,.5)}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-Area__m-Container{width:100%;margin:0;padding:0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--mobileMenu{order:1;display:flex;touch-action:none;z-index:7}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--mobileMenu>.o-Header__m-Navigation{display:inline-flex;align-items:center}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--mobileMenu svg.a-Icon--Menu{height:60px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--siteLogo{order:2;margin-left:24px;z-index:9}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox{display:flex;order:3;margin-left:auto;z-index:10;margin-right:26.4px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .a-Icon--search{width:22px;height:60px;margin:2px 5px 0 0;transform:rotateY(180deg)}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch{top:0;width:100%;left:0;background:#fff;z-index:200}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch.has-OpenSearch{position:absolute}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch.has-OpenSearch .m-SearchForm.is-Open{display:block}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch.has-OpenSearch .m-SearchBox .a-Icon--search{display:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchBox{font-size:0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchBoxMobile__a-Button--Cancel{font-family:Helvetica Neue,Arial,sans-serif;font-size:12px;color:#707070;margin-left:5px;cursor:pointer}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchForm{display:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchForm__m-InputWrap{position:relative;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchForm__a-Input{height:48px;background-color:#f5f5f5;border:none;border-radius:25px;margin:8px;padding:18px 12px 12px;width:80%;font-size:14px;text-transform:capitalize}@media only screen and (min-width:738px){.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchForm__a-Input{width:90%}}@media (max-width:374px){.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchForm__a-Input{width:77%}}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchForm__m-Area.has-Hints [data-typeahead-hints]{position:absolute;top:65px;left:0;padding:0;width:100%;font-size:15px;background:#fff;text-align:left}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchForm__m-Area.has-Hints [data-typeahead-hints] .m-SearchForm__m-TypeAheadMenu{border-top:3px solid rgba(15,23,57,.13)}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchForm__m-Area.has-Hints [data-typeahead-hints] ul.typeahead-list li{padding:10px 15px 3px 27px;border-bottom:1px solid #efefef}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchForm__m-Area.has-Hints [data-typeahead-hints] .typeahead-display{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-weight:400;color:#999;word-spacing:1px;line-height:2.67}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--searchBox .o-SiteSearch .m-SearchForm__m-Area.has-Hints [data-typeahead-hints] .typeahead-display strong{color:#000;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-weight:400}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--profile{order:5;margin-left:24.6px;z-index:8;touch-action:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--profile .o-Header__m-DropdownList{text-align:right}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--profile .o-Header__m-DropdownMenu{display:block;margin-top:7px;box-shadow:inset 0 4px 10px -1px hsla(0,0%,84.3%,.5)}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--profile .a-Icon--Profile-hover{display:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--iconLink{order:4;z-index:9}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--iconLink .m-Navigation--saves a{font-size:0;height:60px;display:flex;align-items:center}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .m-NavItemWrap--iconLink .m-Navigation--saves svg{width:18px;height:23px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main [data-type=button-header-profile]{height:60px;display:flex;align-items:center;border-radius:0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main [data-type=button-header-profile] img{border-radius:50%}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-SiteLogo{line-height:0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-SiteLogo a{display:flex;align-items:center}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItem{padding:0 14px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItemLabel{position:absolute}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItemLabel span{position:relative;top:-13px;right:-33px;font-size:12px;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;line-height:1;color:#54a2d9}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItemLabel span>svg{width:12px;height:12px;margin-left:-4px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItem[data-dropdown=true]{position:relative}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItem[data-dropdown=true]:after{display:block;content:"";position:absolute;right:0;bottom:50%;border:solid #000;border-width:0 1.5px 1.5px 0;width:12px;height:12px;padding:3px;transform:rotate(45deg);-webkit-transform:rotate(45deg)}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItem.is-Expanded[data-dropdown=true]:after{top:30px;right:17.5px;transform:rotate(-135deg);-webkit-transform:rotate(-135deg)}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItem.is-Expanded[data-dropdown=true] .o-Header__a-Cta{margin:9px 34px 0 0;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:1px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItem.is-Expanded[data-dropdown=true] .o-Header__a-NavLink{display:inline-block}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItem.is-Expanded[data-dropdown=true] .o-Header__a-NavLink:after{display:block;content:"";margin-top:2px;height:5px;border-radius:2.5px;background-color:#ff626a}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavItem.is-Expanded[data-dropdown=true].premium-flyout .o-Header__a-NavLink:after{background-color:#87ccff}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__a-Icon.a-Icon{width:44px;height:44px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationContainer{height:100%;overflow:scroll;margin-top:7px;box-shadow:inset 0 4px 10px -1px hsla(0,0%,84.3%,.5)}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-Navigation .a-Icon--saves{width:18px;height:23px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-Navigation .a-Icon--close{display:none;width:20px;height:65px;z-index:200;position:absolute;left:14px;top:0;stroke:#1c1c1c}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open{display:block;width:100%;z-index:1000;overflow:hidden}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .a-Icon--close,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .a-Icon--close{display:block}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__a-NavLink,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__a-NavLink{display:block;position:relative;margin:0;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-weight:700;font-size:24px;color:#1c1c1c;line-height:1;text-align:left}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__a-NavLink--Cta,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__a-NavLink--Cta{display:none;font-size:14px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;color:#ff626a;text-transform:uppercase;line-height:1.35;letter-spacing:1px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__a-NavLink--Cta:hover,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__a-NavLink--Cta:hover{text-decoration:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__a-NavLink:hover,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__a-NavLink:hover{text-decoration:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavItem,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavItem{display:block;padding:19.5px 0 14px;margin:0 17.5px 0 14px;border-bottom:1px solid #f2f2f2}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavItem .m-NavItem__m-Container,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavItem .m-NavItem__m-Container{display:flex;justify-content:space-between}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavItem .o-Header__a-Cta,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavItem .o-Header__a-Cta{display:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavItem.is-Expanded,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavItem.is-Expanded{position:relative;margin:0;padding-top:0;border-bottom:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavItem.is-Expanded>.m-NavItem__m-Container,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavItem.is-Expanded>.m-NavItem__m-Container{padding:19.5px 17.5px 14px 14px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavItem.is-Expanded .o-Header__m-DropdownMenu,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavItem.is-Expanded .o-Header__m-DropdownMenu{display:block;opacity:1}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavItem.is-Expanded .o-Header__m-DropdownMenu .o-Header__a-NavLink:first-child,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavItem.is-Expanded .o-Header__m-DropdownMenu .o-Header__a-NavLink:first-child{padding-top:14px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavItem.is-Expanded .o-Header__a-NavLink--Cta,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavItem.is-Expanded .o-Header__a-NavLink--Cta{display:block;position:absolute;top:23px;right:14px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavItem.is-Expanded .o-Header__a-Cta,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavItem.is-Expanded .o-Header__a-Cta{display:inline-block;color:#ff626a}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavigationSecondary .o-Header__m-NavItem.is-Expanded>.o-Header__a-NavLink,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavigationSecondary .o-Header__m-NavItem.is-Expanded>.o-Header__a-NavLink{padding:19.5px 17.5px 14px 14px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavigationSecondary .o-Header__m-NavItem.is-Expanded .o-Header__m-DropdownMenu,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavigationSecondary .o-Header__m-NavItem.is-Expanded .o-Header__m-DropdownMenu{margin:0 17.5px 0 14px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-NavigationSecondary .o-Header__m-NavItem.is-Expanded .o-Header__m-DropdownMenu .o-Header__a-NavLink,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-NavigationSecondary .o-Header__m-NavItem.is-Expanded .o-Header__m-DropdownMenu .o-Header__a-NavLink{display:block}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-DropdownMenu .o-Header__a-NavLink,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-DropdownMenu .o-Header__a-NavLink{font-size:18px;font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;font-weight:400;padding:10.5px 0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu.is-Open .o-Header__m-DropdownMenu .o-Header__a-NavLink:after,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open .o-Header__m-DropdownMenu .o-Header__a-NavLink:after{display:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile.is-Open{z-index:-1;bottom:auto}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile{display:none;position:fixed;top:0;left:0;bottom:0;width:100%;padding-top:60px;background:#fff;overflow-y:scroll}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationMenu .o-Header__a-NavLinkWrap,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationProfile .o-Header__a-NavLinkWrap{display:flex;justify-content:flex-end;position:relative}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-Navigation.m-Navigation--IconWrap{line-height:0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu{display:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu ul{padding:7px 17.5px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu ul li{padding:7px 0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu ul li a{color:#1c1c1c;font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;font-size:18px;font-weight:400}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-Container{display:flex;flex-direction:row;flex-wrap:nowrap;overflow:scroll}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo{display:flex;flex-direction:column;padding:17.5px 0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo:first-child{padding-left:17.5px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem{margin-right:11px;max-width:160px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem__m-MediaWrap{width:160px;height:160px;overflow:hidden;margin-bottom:5px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem__a-Image{border-radius:3px;width:100%}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem__a-Headline{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:16px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.13;letter-spacing:normal;color:#1c1c1c}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--Profile{flex-basis:75px;margin-right:10px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--Profile .a-Image{border-radius:50%;width:75px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--Profile .m-PromoItem__a-Headline{text-align:center;font-weight:600;font-size:14px;font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;line-height:1}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--Profile .m-PromoItem__m-MediaWrap{width:75px;height:auto}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--Show,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--SHOW{width:126px!important}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--Show .m-PromoItem__a-Headline,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--SHOW .m-PromoItem__a-Headline{display:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--Show .m-PromoItem__a-Image,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--SHOW .m-PromoItem__a-Image,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--Show .m-PromoItem__m-MediaWrap,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--SHOW .m-PromoItem__m-MediaWrap{width:126px;height:196px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--wide{max-width:335px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--wide .m-PromoItem__m-MediaWrap{width:335px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-PromoItem--wide .m-PromoItem__m-MediaWrap .m-PromoItem__a-Image{width:335px;height:160px;object-fit:cover;object-position:50%}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-MediaPromo__m-Container,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-MediaPromo__m-ContainerWrapper{display:flex;flex-direction:row}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-MediaPromo__a-Label{margin-bottom:15px;font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;font-size:14px;letter-spacing:1px;color:#1c1c1c;text-transform:uppercase}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-MediaPromo .m-MediaPromo__a-Label:empty{min-height:9px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__a-Cta{display:none}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo{display:flex;flex-direction:column;align-items:flex-start;padding-top:14px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Cta,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Description,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Label,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-SubHeadline{font-size:14px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Label,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-SubHeadline{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;letter-spacing:1px;color:#1c1c1c;text-transform:uppercase}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Cta,.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Label{padding-left:17.5px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Cta{color:#ff626a}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Cta:after{content:" \2192"}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Headline{font-size:16px;font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .m-DropdownMenu__m-SchedulePromo .m-SchedulePromo__a-Description{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-weight:400}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .class-results{display:flex}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .scheduled-classes{display:flex}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem .m-PromoItem__m-MediaWrap{height:160px;min-height:160px;margin-bottom:10.5px;position:relative}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem .m-PromoItem__m-MediaWrap a{display:block;height:100%;position:relative}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem .m-PromoItem__m-MediaWrap .isLive{display:none;position:absolute;top:10.5px;left:10.5px;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:11px;font-weight:400;color:#fff;background:#ff626a;padding:5px 4px 0 6px;letter-spacing:1.5px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem__a-Image{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem .class-info{display:flex;flex-direction:column;justify-content:center;position:absolute;width:100%;height:43px;overflow:hidden;bottom:0;padding:6px 10px 3px;color:#fff;background-image:linear-gradient(90deg,#ff626a 35%,#f9a73f);font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:13px;text-align:left;border-bottom-left-radius:3px;border-bottom-right-radius:3px;line-height:1.2}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu .scheduled-classes .m-PromoItem .class-live{font-size:12px;letter-spacing:1px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo{margin:26px 0 0;padding:0 14px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-DropdownMenu__m-Container{flex-direction:column;justify-content:center;align-items:center;text-align:center}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo__a-Logo .o-Header__a-Icon{height:35px;width:180px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo__a-PromoText{font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;font-size:18px;font-weight:400;color:#000;margin-top:5px;line-height:1}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo--Cta{min-width:133px;height:38px;border-radius:19px;text-align:center;display:flex;justify-content:center;align-items:center;border:1px solid #ff626a;cursor:pointer;background-color:#ff626a;margin-top:9px;padding:0 27px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo--Cta>a{font-weight:400;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:1px;color:#ff626a;margin-top:3px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:12px;font-weight:700;font-stretch:condensed;letter-spacing:2px;color:#fff;text-transform:uppercase}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo--Cta>a:hover{color:#fff!important}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-DropdownMenu.has-BrandPromo .m-DropdownMenu__m-BrandPromo .m-BrandPromo--Cta:hover{opacity:.95}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationSecondary .m-SocialLinks{display:flex;justify-content:center;padding:32px 0 0;margin:7px 0 0;border-top:1px solid #f2f2f2}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationSecondary .m-SocialLinks li{display:flex;align-items:center;justify-content:center;margin:0 8.5px;width:31px;height:31px;font-size:0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationSecondary .m-SocialLinks li:first-child{margin-left:0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationSecondary .m-SocialLinks li:last-child{margin-right:0}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationSecondary .m-SocialLinks__a-Icon--Facebook{width:9px;height:19px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationSecondary .m-SocialLinks__a-Icon--Twitter{width:20px;height:16px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationSecondary .m-SocialLinks__a-Icon--Instagram{width:20px;height:20px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationSecondary .m-SocialLinks__a-Icon--Youtube{width:20px;height:14px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationSecondary .m-SocialLinks__a-Icon--Pinterest{width:17px;height:22px}.o-Header[data-module=header-mobile] .o-Header__m-Area--Main .o-Header__m-NavigationSecondary .m-SocialLinks__a-Icon--Snapchat{width:20px;height:19px}.o-Header[data-module=header-mobile] .o-Header__m-Area.is-Open{position:fixed;top:0;z-index:15;width:100%}.has-FixedMenu .content-mobile{overflow-y:hidden;-webkit-overflow-scrolling:touch;max-height:100vh}.o-Header__m-NavItem.is-Free,.o-Header__m-NavItem.is-Free.hide-nav,.o-Header__m-NavItem.is-Premium,.o-Header__m-NavItem.is-Premium.hide-nav,.o-Header__m-NavItem.is-Premium.show-nav{display:none!important;opacity:0;transition:opacity .1s ease-out}.o-Header__m-NavItem.is-Free.hide-nav .o-Header__m-DropdownMenu,.o-Header__m-NavItem.is-Free.hide-nav .o-Header__m-NavItemLabel,.o-Header__m-NavItem.is-Free .o-Header__m-DropdownMenu,.o-Header__m-NavItem.is-Free .o-Header__m-NavItemLabel,.o-Header__m-NavItem.is-Premium.hide-nav .o-Header__m-DropdownMenu,.o-Header__m-NavItem.is-Premium.hide-nav .o-Header__m-NavItemLabel,.o-Header__m-NavItem.is-Premium .o-Header__m-DropdownMenu,.o-Header__m-NavItem.is-Premium .o-Header__m-NavItemLabel,.o-Header__m-NavItem.is-Premium.show-nav .o-Header__m-DropdownMenu,.o-Header__m-NavItem.is-Premium.show-nav .o-Header__m-NavItemLabel{opacity:0!important;transition:opacity .1s ease-out}.o-Header__m-NavItem.is-Free.show-nav{display:block!important;opacity:1;transition:opacity .2s ease-out}.o-Header__m-NavItem.is-Free.show-nav .o-Header__m-DropdownMenu,.o-Header__m-NavItem.is-Free.show-nav .o-Header__m-NavItemLabel,.o-Header__m-NavItem.is-Premium.show-nav .o-Header__m-DropdownMenu,.o-Header__m-NavItem.is-Premium.show-nav .o-Header__m-NavItemLabel{opacity:1!important;transition:opacity .2s ease-out}.premium .o-Header__m-NavItem.is-Free,.premium .o-Header__m-NavItem.is-Free.show-nav{display:none!important;transition:opacity .1s ease-out}.premium .o-Header__m-NavItem.is-Premium,.premium .o-Header__m-NavItem.is-Premium.hide-nav,.premium .o-Header__m-NavItem.is-Premium.show-nav{display:block!important;opacity:1;transition:opacity .2s ease-out}.premium .o-Header__m-NavItem.is-Premium.hide-nav .o-Header__m-DropdownMenu,.premium .o-Header__m-NavItem.is-Premium.hide-nav .o-Header__m-NavItemLabel,.premium .o-Header__m-NavItem.is-Premium .o-Header__m-DropdownMenu,.premium .o-Header__m-NavItem.is-Premium .o-Header__m-NavItemLabel,.premium .o-Header__m-NavItem.is-Premium.show-nav .o-Header__m-DropdownMenu,.premium .o-Header__m-NavItem.is-Premium.show-nav .o-Header__m-NavItemLabel{opacity:1!important;transition:opacity .2s ease-out}[data-module=header] .o-Header__m-NavItem.is-Free,[data-module=header] .o-Header__m-NavItem.is-Free.show-nav{display:flex!important;opacity:1;transition:opacity .1s ease-out}.premium [data-module=header] .o-Header__m-NavItem.is-Premium,.premium [data-module=header] .o-Header__m-NavItem.is-Premium.hide-nav,.premium [data-module=header] .o-Header__m-NavItem.is-Premium.show-nav{display:flex!important;opacity:1;transition:opacity .1s ease-out}.premium [data-module=header] .o-Header__m-NavItem.is-Free,.premium [data-module=header] .o-Header__m-NavItem.is-Free.show-nav{display:none!important;opacity:0;transition:opacity .1s ease-out}.edit-mode .o-Header .o-Header__m-NavItem.is-Free,.edit-mode .o-Header .o-Header__m-NavItem.is-Free.hide-nav,.edit-mode .o-Header .o-Header__m-NavItem.is-Free.show-nav,.edit-mode .o-Header .o-Header__m-NavItem.is-Premium,.edit-mode .o-Header .o-Header__m-NavItem.is-Premium.hide-nav,.edit-mode .o-Header .o-Header__m-NavItem.is-Premium.show-nav{display:flex!important;opacity:1}.edit-mode .o-Header .o-Header__m-NavItem.is-Free.hide-nav .o-Header__m-DropdownMenu,.edit-mode .o-Header .o-Header__m-NavItem.is-Free.hide-nav .o-Header__m-NavItemLabel,.edit-mode .o-Header .o-Header__m-NavItem.is-Free .o-Header__m-DropdownMenu,.edit-mode .o-Header .o-Header__m-NavItem.is-Free .o-Header__m-NavItemLabel,.edit-mode .o-Header .o-Header__m-NavItem.is-Free.show-nav .o-Header__m-DropdownMenu,.edit-mode .o-Header .o-Header__m-NavItem.is-Free.show-nav .o-Header__m-NavItemLabel,.edit-mode .o-Header .o-Header__m-NavItem.is-Premium.hide-nav .o-Header__m-DropdownMenu,.edit-mode .o-Header .o-Header__m-NavItem.is-Premium.hide-nav .o-Header__m-NavItemLabel,.edit-mode .o-Header .o-Header__m-NavItem.is-Premium .o-Header__m-DropdownMenu,.edit-mode .o-Header .o-Header__m-NavItem.is-Premium .o-Header__m-NavItemLabel,.edit-mode .o-Header .o-Header__m-NavItem.is-Premium.show-nav .o-Header__m-DropdownMenu,.edit-mode .o-Header .o-Header__m-NavItem.is-Premium.show-nav .o-Header__m-NavItemLabel{opacity:1!important}.modal-overlay{position:absolute;top:170px;right:0;bottom:0;left:0;opacity:0;pointer-events:none;background:rgba(0,0,0,.2);z-index:11;transition:opacity .1s ease-out}.has-Overlay .modal-overlay{opacity:1;transition:opacity .2s ease-out}.has-Overlay .content-mobile{pointer-events:none}.scroll-off{overflow:auto;position:fixed;width:100%}.recipePage{background:#f5f5f5}.recipePage .print-recipe{display:none!important}.recipePage .o-AssetPrint{pointer-events:none}.recipePage .o-AssetPrint--Loaded{pointer-events:auto}.recipePage p{margin-bottom:10px}.recipePage .container-site{background:0 0;box-shadow:none}.recipePage .container-site .o-AssetNavigation{margin:0 auto}.recipePage .container-site .o-AssetNavigation.affix{display:block}.recipePage .container-site .recipe-body-footer :last-child{border-bottom:none}.recipePage .o-Attribution{margin-bottom:5px}.recipePage .o-Attribution__a-Image{border:5px solid #fff}.recipePage .o-Attribution__a-Name,.recipePage .o-Attribution__a-Source{margin-top:5px}.recipePage .o-Attribution__a-Name span,.recipePage .o-Attribution__a-Source span{display:inline}.recipePage .o-AssetTitle,.recipePage .o-ReviewSummary{margin:0 0 10px}.recipePage .m-Rating .gig-rating-star{width:22px;height:22px}.recipePage .o-Modal__a-Button--Close{color:#fff;background:#1c1c1c}.recipePage .o-Modal__a-Button--Close:hover{background:#e20d32}.recipePage .o-Modal__m-Backdrop{background:rgba(0,0,0,.65)}.recipePage>iframe[src*="//cdn.whisk.com/"]{display:none}.recipePage .container-aside .rightRail{float:none}.recipePage #dfp_bigbox_1,.recipePage #dfp_bigbox_2,.recipePage #dfp_bigbox_3,.recipePage #dfp_bigbox_recipe_top,.recipePage #dfp_prog_bigbox,.recipePage .recipe-bigbox{display:block!important;min-height:250px;position:relative}.recipePage #dfp_bigbox_1:before,.recipePage #dfp_bigbox_2:before,.recipePage #dfp_bigbox_3:before,.recipePage #dfp_bigbox_recipe_top:before,.recipePage #dfp_prog_bigbox:before,.recipePage .recipe-bigbox:before{content:"";display:block;width:300px;height:100%;position:absolute;top:0;left:50%;transform:translate(-50%);background-color:#e0e0e0;z-index:-1}.recipePage #dfp_bigbox_1.hide-ad-placeholder:before,.recipePage #dfp_bigbox_2.hide-ad-placeholder:before,.recipePage #dfp_bigbox_3.hide-ad-placeholder:before,.recipePage #dfp_bigbox_recipe_top.hide-ad-placeholder:before,.recipePage #dfp_prog_bigbox.hide-ad-placeholder:before,.recipePage .recipe-bigbox.hide-ad-placeholder:before{background:transparent}.recipePrint{margin:1rem;background:#fff!important}.recipePrint .o-Attribution__m-Body{display:flex;flex-direction:row}.recipePrint .o-RecipeInfo{flex-direction:column;border:none!important;margin:0!important}.recipePrint .private-notes{width:100%!important;padding:0!important;margin-top:12px}.recipePrint .o-Ingredients{margin-top:21px}.recipePrint .o-Ingredients__a-Headline{padding-left:0!important}.recipePrint .o-Ingredients__a-SubHeadline{margin:0 0 7px}.recipePrint .o-Attribution__m-Body{display:table!important}.recipePrint .o-Attribution__m-MediaWrap{margin-right:14px!important;display:table-cell!important;padding-right:14px!important}.recipePrint .o-Attribution__m-TextWrap{width:100%!important;display:table-cell!important;vertical-align:middle!important;text-align:left!important}.recipePrint .o-AssetTitle{text-align:left!important}.recipePrint .l-ColumnLeft .o-RecipeInfo__m-Level,.recipePrint .l-ColumnLeft .o-RecipeInfo__m-Time{padding-left:0;padding-top:0}.recipePrint .l-ColumnLeft .o-RecipeInfo__m-Level li,.recipePrint .l-ColumnLeft .o-RecipeInfo__m-Time li{list-style:none}.recipePrint .l-ColumnLeft .o-RecipeInfo__a-Headline{width:70px}.recipePrint .l-ColumnLeft .o-RecipeInfo__a-Description,.recipePrint .l-ColumnLeft .o-RecipeInfo__a-Description--Total{float:none}.recipePrint .l-ColumnLeft .o-RecipeInfo__a-Note{font-size:13px;display:block;margin-left:70px}.recipePrint .l-ColumnLeft>li{list-style:none}.recipePrint .o-Method{border-bottom:1px solid #e0e0e0}.recipePrint .o-Method .o-Method__m-Body{counter-reset:step-ctr}.recipePrint .o-Method .o-Method__m-Body h3{margin:20px 0 10px}.recipePrint .o-Method .o-Method__m-Body p:before{counter-increment:step-ctr;content:counter(step-ctr);float:left;margin:-5px 10px 0 0;font-family:Georgia,Times New Roman,Times,serif;font-size:21px;font-weight:700;line-height:1.2}.recipePrint .o-Method .o-Method__m-Body p:last-child{margin-bottom:20px}.recipePrint .o-ChefNotes{padding:0;margin:0;border:0;border-bottom:1px solid #e0e0e0}.recipePrint .o-Warnings{padding:0;margin:0;border:0;font-family:Georgia,Times New Roman,Times,serif;font-style:italic}.recipePrint .o-Notes__a-Headline{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;padding-left:7px}.recipePrint .o-Notes__a-Description{padding:20px 0 10px;font-size:100%;white-space:normal}.recipePrint .o-Notes__a-Description p{padding-left:7px;line-height:1.5}.variant--H1Update.container-site--adjustAttributionSource .o-Attribution__m-TextWrap{position:relative}.variant--H1Update.container-site--adjustAttributionSource .o-AssetTitle__a-HeadlineText{margin-top:25px}.variant--H1Update.container-site--adjustAttributionSource .o-Attribution__a-Source{position:absolute;top:53px;left:0}.variant--H1Update .o-Attribution .o-AssetTitle__a-Headline{display:inline;line-height:21.6px}.variant--H1Update .o-Attribution .o-AssetTitle__a-Headline .o-AssetTitle__a-Author,.variant--H1Update .o-Attribution .o-AssetTitle__a-Headline .o-Attribution__a-Name,.variant--H1Update .o-Attribution .o-AssetTitle__a-Headline .o-Attribution__a-space,.variant--H1Update .o-Attribution .o-AssetTitle__a-Headline a{font-size:16px;font-weight:400;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;letter-spacing:1.5px}.variant--H1Update .o-Attribution .o-AssetTitle__a-Headline .o-AssetTitle__a-HeadlineText{display:block;line-height:1.35;text-transform:none;margin-bottom:10px}.variant--EditorialDescription .o-wallOfText{padding:27px 40px 0}.variant--EditorialDescription .o-wallOfText__text{white-space:pre-wrap;font-size:16px;line-height:1.5;margin:0}.variant--CategoryLinks .categories{clear:both}.variant--CategoryLinks .category{padding:10px 0 5px;display:flex;justify-content:center;flex-wrap:wrap}.variant--CategoryLinks .category .o-Capsule__a-Tag{padding:8px 15px 0;margin-left:7px;margin-bottom:7px;color:#525657;border-radius:12.5px;background:#e3e6e6;height:25px;line-height:1;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:15px;white-space:nowrap}.variant--CategoryLinks .category .o-Capsule__a-Tag:hover{background-color:#d6dada;text-decoration:none}.variant--CategoryLinks .category .o-Capsule__a-Tag:first-of-type{margin-left:0}.variant--HideRightRailEmbed .container-aside>div:first-child{margin:0}.variant--HideRightRailEmbed .container-aside>div{margin:20px 0}@media print{body.recipePage{background-color:#fff;position:relative}body.recipePage #leaderboard_fixed,body.recipePage .tpPlayer,body.recipePage [id^=CS_],body.recipePage [id^=dfp_]{display:none!important}body.recipePage #site{margin:1rem!important}body.recipePage #site .assetNavigation,body.recipePage #site .assetTitle,body.recipePage #site .asyncVideoEmbedLoader,body.recipePage #site .breadcrumb,body.recipePage #site .col-md-10,body.recipePage #site .footer,body.recipePage #site .header,body.recipePage #site .lookingForSomethingElse,body.recipePage #site .o-AssetActions,body.recipePage #site .o-Capsule,body.recipePage #site .o-Capsule__m-TagList,body.recipePage #site .o-Ingredients__m-Footer,body.recipePage #site .o-RatingsAndReviews,body.recipePage #site .o-ReadMore,body.recipePage #site .o-RecipeInfo,body.recipePage #site .o-VideoPromo,body.recipePage #site .private-notes .o-Capsule__m-TextWrap,body.recipePage #site .private-notes__note-content,body.recipePage #site .recipe-bigbox,body.recipePage #site .recipeLead,body.recipePage #site .review,body.recipePage #site .whisk-container{display:none!important}body.recipePage #site .o-Attribution{display:none}body.recipePage #site .print-recipe{display:block!important}body.recipePage #site .print-recipe .o-Attribution{display:block}body.recipePage #site .print-recipe .m-MediaBlock__a-Cta{display:none}body.recipePage #site .print-recipe .m-MediaBlock__a-Image{width:200px;min-width:0;float:right;margin:0 0 14px 14px}body.recipePage #site .print-recipe .o-AssetTitle,body.recipePage #site .print-recipe .o-RecipeInfo{display:block!important}body.recipePage #site .container-site{padding:0;max-width:none;min-width:0}body.recipePage #site .o-Recipe .recipe-body{padding:0;border-bottom:0;display:block}body.recipePage #site .bodyLeft,body.recipePage #site .bodyRight{flex:none;margin:0;float:left}body.recipePage #site .bodyLeft{width:35%}body.recipePage #site .bodyRight{width:65%;padding-left:28px}body.recipePage #site .bodyRight-footer{padding:14px 0}body.recipePage #site .recipe-body-footer{width:100%;box-shadow:none}body.recipePage #site .col-md-18{width:100%}body.recipePage #site .m-RecipeSummary{margin-top:0;background:transparent}body.recipePage #site .m-RecipeSummary .m-MediaBlock__a-Source{margin-bottom:0;vertical-align:middle;display:inline-block}body.recipePage #site .m-RecipeSummary .m-MediaBlock__a-Source:nth-of-type(2){margin-right:10px}body.recipePage #site .m-RecipeSummary .m-MediaBlock__a-Source .m-MediaBlock__a-Source--Name,body.recipePage #site .m-RecipeSummary .m-MediaBlock__a-Source .m-MediaBlock__a-Source--Prefix{letter-spacing:normal}body.recipePage #site .m-RecipeSummary .m-MediaBlock__a-Source .m-MediaBlock__a-Source--Name a,body.recipePage #site .m-RecipeSummary .m-MediaBlock__a-Source .m-MediaBlock__a-Source--Prefix a{color:#1c1c1c}body.recipePage #site .o-AssetTitle{text-align:left;margin-bottom:10px;padding:0}body.recipePage #site .o-AssetTitle__a-Headline{text-align:left}body.recipePage #site .o-AssetTitle__a-HeadlineText{letter-spacing:normal}body.recipePage #site .o-Attribution__m-Body{display:flex;flex-wrap:nowrap;justify-content:flex-start;margin:0}body.recipePage #site .o-Attribution__m-Body:after{display:table;clear:both;content:""}body.recipePage #site .o-Attribution__m-Author{flex-basis:100%;line-height:1.5;letter-spacing:normal}body.recipePage #site .o-Attribution__m-Author a:hover{color:#1c1c1c}body.recipePage #site .o-Attribution__m-TextWrap{display:flex;flex-wrap:wrap;align-items:center;text-align:left;padding-top:0;margin-left:0}body.recipePage #site .o-Attribution__m-MediaWrap{width:56px;height:56px;float:left;margin-right:14px;top:0}body.recipePage #site .o-Attribution__m-MediaWrap__a-Source{line-height:1.5}body.recipePage #site .o-Attribution__m-MediaWrap>a{width:100%;height:100%;display:block;margin-top:0}body.recipePage #site .o-Attribution__m-MediaWrap>a:hover{transform:none}body.recipePage #site .o-Attribution__m-MediaWrap .o-Attribution__a-Image{width:100%;height:100%;border:0}body.recipePage #site .o-Attribution__a-Source{width:auto;margin:0;line-height:1.5}body.recipePage #site .o-Attribution__a-Name{text-transform:none}body.recipePage #site .o-AssetDescription{text-align:left;margin-top:10px;padding:0}body.recipePage #site .o-AssetDescription .originalText{display:block!important}body.recipePage #site .o-AssetDescription .truncatedText{display:none!important}body.recipePage #site .o-AssetDescription__a-Description{margin:0}body.recipePage #site .o-AssetDescription .less,body.recipePage #site .o-AssetDescription .more{display:none}body.recipePage #site .o-Capsule__m-Header{margin-bottom:14px}body.recipePage #site .o-RecipeInfo{border:0;margin-top:0}body.recipePage #site .o-RecipeInfo .o-RecipeInfo__m-Level,body.recipePage #site .o-RecipeInfo .o-RecipeInfo__m-Time,body.recipePage #site .o-RecipeInfo .o-RecipeInfo__m-Yield{padding:0;border:0;display:block}body.recipePage #site .o-RecipeInfo ul li{margin-bottom:-4px}body.recipePage #site .o-RecipeInfo ul li .o-NutritionInfo{display:none}body.recipePage #site .o-Ingredients{margin:10px 0 14px;padding-bottom:0}body.recipePage #site .o-Ingredients--hide-print{display:none}body.recipePage #site .o-Ingredients__a-Headline{padding-top:0;padding-left:0;margin-top:10px;border:0}body.recipePage #site .o-Ingredients__a-Ingredient{padding:0 0 2px 10px;border-bottom:0;position:relative}body.recipePage #site .o-Ingredients__a-Ingredient:before{content:"";display:inline-block;width:3px;height:3px;position:absolute;left:0;top:5px;background:#000;border-radius:50%}body.recipePage #site .o-Ingredients__a-SubHeadline{margin:10px 0 7px;color:#1c1c1c}body.recipePage #site .o-Method{margin-bottom:0}body.recipePage #site .o-Method .o-Method__m-Body{max-width:none}body.recipePage #site .o-Method .o-Method__m-Body .o-Method__m-Step{padding:0;border:0;margin-bottom:14px}body.recipePage #site .o-Method .o-Method__m-Body .o-Method__m-Step:before{font-size:21px;margin:-4px 10px 5px 0}body.recipePage #site .o-Method__a-Headline{margin-bottom:14px;padding:0}body.recipePage #site .o-Method__a-SubHeadline{margin:0 0 10px;color:#1c1c1c}body.recipePage #site .private-notes{clear:both;padding:0;width:35%;float:none}body.recipePage #site .private-notes .print-recipe.o-Capsule__m-TextWrap,body.recipePage #site .private-notes .print-recipe.private-notes__note-content{display:block!important}body.recipePage #site .private-notes .print-recipe .o-Capsule__a-Headline{border-top:1px solid #e0e0e0;padding-top:20px}body.recipePage #site .private-notes .add-note,body.recipePage #site .private-notes .less,body.recipePage #site .private-notes .private-notes__notes--edit{display:none}body.recipePage #site .o-ReadMore--Collapsed{overflow:visible!important;height:auto!important}body.recipePage #site .o-SpecialEquipment{padding:0 0 10px;margin:0 0 20px}body.recipePage #site .o-ChefNotes{padding:14px 0}body.recipePage #site .o-Copyright__a-Credit,body.recipePage #site .o-PhotoCredit__a-Credit{font-size:12px;margin-bottom:0;color:#999}}@media print{body.recipePage #branch-banner-iframe{display:none!important}body.recipePage #site .print-recipe #LOGO{display:block;position:absolute;right:0;top:0;width:90px;height:90px}body.recipePage #site .recipe-lead{min-height:102px;margin:0 0 20px;padding-bottom:5px;border-bottom:2px solid #ccc}body.recipePage #site .m-RecipeSummary{padding-bottom:0}body.recipePage #site .m-RecipeSummary .m-MediaBlock__a-Source .m-MediaBlock__a-Source--Name,body.recipePage #site .m-RecipeSummary .m-MediaBlock__a-Source .m-MediaBlock__a-Source--Prefix{font-size:18px;line-height:1.5;letter-spacing:normal}body.recipePage #site .m-RecipeSummary .m-MediaBlock__a-Source .m-MediaBlock__a-Source--Name a,body.recipePage #site .m-RecipeSummary .m-MediaBlock__a-Source .m-MediaBlock__a-Source--Prefix a{color:#1c1c1c;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:14px}body.recipePage #site .m-RecipeSummary a:hover{text-decoration:none}body.recipePage #site .o-AssetTitle{line-height:1;width:calc(100% - 110px)}body.recipePage #site .o-AssetTitle__a-Headline{line-height:1}body.recipePage #site .o-AssetTitle__a-HeadlineText{font-family:Georgia,Times New Roman,Times,serif;font-size:38px;font-weight:700}body.recipePage #site .o-Attribution__m-TextWrap{width:calc(100% - 180px)}body.recipePage #site .o-Attribution a:hover{text-decoration:none}body.recipePage #site .o-Attribution__m-Author{font-size:18px}body.recipePage #site .o-Attribution__a-Source--Label,body.recipePage #site .o-Attribution__a-Source--Prefix{font-size:18px;line-height:1;letter-spacing:normal}body.recipePage #site .o-Attribution__a-Source--Label a,body.recipePage #site .o-Attribution__a-Source--Prefix a{color:#1c1c1c;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:14px}body.recipePage #site .o-Attribution__a-Source--Label{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}body.recipePage #site .o-AssetDescription{width:calc(100% - 110px)}body.recipePage #site .o-AssetDescription__a-Description{font-size:12px;line-height:1.5}body.recipePage #site .o-Capsule__a-HeadlineText,body.recipePage #site .o-Ingredients__a-HeadlineText,body.recipePage #site .o-Method__a-HeadlineText{font-size:24px;line-height:1;font-weight:700}body.recipePage #site .o-RecipeInfo .o-RecipeInfo__a-Description,body.recipePage #site .o-RecipeInfo .o-RecipeInfo__a-Headline{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:16px}body.recipePage #site .o-Ingredients__a-Ingredient{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:12px}body.recipePage #site .o-Ingredients__a-SubHeadline{font-size:18px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c}body.recipePage #site .o-Method .o-Method__m-Body .o-Method__m-Step{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:12px;line-height:1.35}body.recipePage #site .o-Method .o-Method__m-Body .o-Method__m-Step:before{font-size:21px}body.recipePage #site .o-Method__a-SubHeadline{font-size:18px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c}body.recipePage #site .o-Method__a-SubHeadline+.o-Method__m-Yield{margin-top:-12px}body.recipePage #site .o-Method__m-Yield{line-height:1.3;margin-bottom:10px;padding:0 0 10px}body.recipePage #site .o-Method__m-Yield .o-Method__a-SubHeadline{margin-left:0;font-size:15px;font-weight:800}body.recipePage #site .o-Method__m-Yield .o-Method__a-Description{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:14px}body.recipePage #site .private-notes .private-notes__notes p,body.recipePage #site .private-notes .private-notes__notes span{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:12px;line-height:1.35}body.recipePage #site .o-SpecialEquipment{font-size:12px}body.recipePage #site .o-SpecialEquipment__a-Headline{font-size:16px}body.recipePage #site .o-ChefNotes__a-Headline{font-size:18px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1}body.recipePage #site .o-ChefNotes__a-Description{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:12px;line-height:1.35}}.recipePage .a-Button--Watch{display:flex;flex-direction:row;align-items:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;white-space:nowrap;pointer-events:none;overflow:visible;z-index:1}.recipePage .a-Button--Watch span{align-self:center}.recipePage .a-Button--Watch span.a-Button__a-Icon{fill:#fff;overflow:visible}.recipePage .a-Button--Watch span.a-Button__a-Icon svg{width:100%;height:auto}.recipePage .a-Button--Watch{background-color:rgba(0,0,0,.5);font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-weight:700;font-size:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#fff;line-height:1;text-transform:uppercase;padding:11px 15px;font-size:18px;letter-spacing:-.03em;border-radius:3px}.recipePage .a-Button--Watch .a-Button__a-Icon{font-weight:700;fill:#fff;margin-left:6px;height:21.2px;width:21.2px}.recipePage .a-Button--Watch .a-Button__a-ButtonText{position:relative;top:2px;font-size:20px}.recipePage .m-Comments .gig-comment-body{padding:0}.recipePage .m-Comments .gig-comment-header{margin:3.5px 0}.recipePage .m-Comments .gig-comments-more{padding:14px 15px 9px}.recipePage .m-Comments .gig-comments-more-progress{display:none!important}.recipePage .m-Comments .gig-comments-linksContainer li,.recipePage .m-Comments .gig-comments-linksContainer li:hover{margin-right:5px}.recipePage .m-Comments .gig-comments-linksContainer>li:first-child{padding-left:20px}.recipePage .m-Comments .gig-comments-linksContainer>li:first-child:before{left:0}.recipePage .m-Comments .gig-comments-reviews{display:flex;flex-direction:column}.recipePage .m-Comments .gig-composebox-footer{margin:0;padding:0}.recipePage .m-Comments .gig-composebox-footer .m-Rating{margin-bottom:0;padding-bottom:0}.recipePage .m-Comments .gig-composebox-ratings{display:inline-block}.recipePage .m-Comments .gig-composebox-open{margin:0}.recipePage .m-Comments .gig-composebox-rating-value{vertical-align:bottom}.recipePage .m-Comments .gig-composebox-post{padding:14px 15px 9px;margin:16px 0}.recipePage .m-Comments .gig-composebox-cancel{margin:0}.recipePage .m-Comments .gig-composebox-rating-_overall{margin:16px 0}.recipePage .m-Comments .gig-selfreview-rating-_overall{margin:16px 0;display:inline}.recipePage .m-Comments .gig-comment{border-top:1px solid #e0e0e0;padding:20px 0 0}.recipePage .m-Comments .gig-comment-img{border-radius:50%}.recipePage .m-Comments .gig-comment-flag{color:#1c1c1c}.recipePage .m-Comments .gig-comment-flag,.recipePage .m-Comments .gig-comment-flag:hover{border:none;background:none}.recipePage .m-Comments .gig-comment-flag:hover{color:#e20d32}.recipePage .m-Comments .gig-comment-time{font-size:16px}.recipePage .m-Comments .gig-comment-replybox-open{padding:14px 30px 10.5px 10.5px}.recipePage .m-Comments .gig-comment-status-info{background:#fcf38c;padding:7px 12px 3px;border-radius:4px}.recipePage .m-Comments .gig-comments-composebox{background:#f5f5f5}.recipePage .m-Comments .gig-comments-sort{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.35;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;color:#1c1c1c;border:none;background:none;text-transform:inherit}.recipePage .m-Comments .gig-comments-sort:after{color:#1c1c1c}.recipePage .m-Comments .gig-comments-sort:hover{color:#e20d32}.recipePage .m-Comments .gig-comments-sort:hover:after{color:#e20d32}.recipePage .m-Comments .gig-comments-header{padding:14px 0}.recipePage .m-Comments .gig-comments-linksContainer li,.recipePage .m-Comments .gig-comments-linksContainer li:hover{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.35;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border:none;background:none;text-transform:inherit}.recipePage .m-Comments .gig-comments-linksContainer li:hover{color:#e20d32}.recipePage .m-Comments .gig-comments-linksContainer li:hover:before{color:#e20d32}.recipePage .m-Comments .gig-comments-linksContainer li:before{color:#1c1c1c}.recipePage .m-Comments .gig-comments-more{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;border:2px solid #5ac0b8;background-color:#5ac0b8;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0)}.recipePage .m-Comments .gig-comments-more:hover{text-decoration:none}.Win32 .recipePage .m-Comments .gig-comments-more,.Win64 .recipePage .m-Comments .gig-comments-more{padding:10px 20px 12px}.recipePage .m-Comments .gig-comments-more.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .m-Comments .gig-comments-more.is-Hover,.recipePage .m-Comments .gig-comments-more:hover{color:#fff;border-color:#7fcec8;background:#7fcec8;background-image:none}.recipePage .m-Comments .gig-comments-more--Active{color:#5ac0b8;background:none;pointer-events:none}.recipePage .m-Comments .gig-comments-more--Active.is-Hover,.recipePage .m-Comments .gig-comments-more--Active:hover{color:#5ac0b8;background:none}.recipePage .m-Comments .gig-composebox-rating-title{font-size:24px;font-family:Georgia,Times New Roman,Times,serif;line-height:1.35;font-weight:700;letter-spacing:-.5px;color:#1c1c1c}.recipePage .m-Comments .gig-composebox-sidebar-button{color:#4a4a4a}.recipePage .m-Comments .gig-composebox-sidebar-button:hover{color:#646464}.recipePage .m-Comments .gig-composebox-footer{border-top:none;margin-left:auto}.recipePage .m-Comments .gig-composebox-footer .m-Rating{border-bottom:none}.recipePage .m-Comments .gig-composebox-rating-value{margin-bottom:-5px}.recipePage .m-Comments .gig-composebox-post{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;border:none;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;background-color:#525657;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0)}.recipePage .m-Comments .gig-composebox-post:hover{text-decoration:none}.Win32 .recipePage .m-Comments .gig-composebox-post,.Win64 .recipePage .m-Comments .gig-composebox-post{padding:10px 20px 12px}.recipePage .m-Comments .gig-composebox-post.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .m-Comments .gig-composebox-post.is-Hover,.recipePage .m-Comments .gig-composebox-post:hover{color:#fff;border-color:#6b7071;background:#6b7071;background-image:none}.recipePage .m-Comments .gig-composebox-cancel{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;color:inherit}.recipePage .m-Comments-selfreview-ratings .gig-comment-rating-title,.recipePage .m-Comments-selfreview-yourReview{color:#1c1c1c}.recipePage .m-Comments-selfreview-rating-star-full:after{color:#e6003d}.recipePage .gig-comments-dialog{padding:25px 20px 20px;box-shadow:-1px 3px 10px 0 rgba(0,0,0,.25)}.recipePage .gig-comments-dialog-close{display:flex;align-items:center;width:26px;height:26px;padding:0;border-radius:50%;z-index:10;cursor:pointer;color:#fff;background:#1c1c1c;transition:background-color .2s}.recipePage .gig-comments-dialog-close:before{display:block;width:100%;font-style:normal;font-weight:400;line-height:1;text-transform:none;font-feature-settings:"liga";font-family:fn-icons;content:"\e903";font-size:16px;color:#fff;text-align:center}.recipePage .gig-comments-dialog-close.is-Hover,.recipePage .gig-comments-dialog-close:hover{color:#fff;background:#e20d32;background-image:none;text-decoration:none}.recipePage .gig-comments-dialog-caption{margin-bottom:10px}.recipePage .gig-comments-dialog-button-ok{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;border:none;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;background-color:red;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0);margin-top:10px}.recipePage .gig-comments-dialog-button-ok:hover{text-decoration:none}.Win32 .recipePage .gig-comments-dialog-button-ok,.Win64 .recipePage .gig-comments-dialog-button-ok{padding:10px 20px 12px}.recipePage .gig-comments-dialog-button-ok.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .gig-comments-dialog-button-ok.is-Hover,.recipePage .gig-comments-dialog-button-ok:hover{color:#fff;border-color:#ff4d4d;background:#ff4d4d;background-image:none}.recipePage .gig-comments-dialog-button-cancel{margin-top:10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;color:#1c1c1c}.recipePage .gig-comments-dialog-button-cancel:hover{color:#e20d32;text-decoration:none}.recipePage .m-Comments .gig-comment-replybox-open{margin-bottom:20px}.recipePage .m-Comments .gig-composebox-cancel{margin:31px 20px 0 25px}.recipePage .m-Comments .gig-composebox-cancel:hover{color:#e20d32;text-decoration:none}.recipePage .m-MediaBlock__a-Headline{margin-bottom:5px}.recipePage .recipe-body .m-MediaBlock a .m-MediaBlock__a-HeadlineText,.recipePage .recipe-footer .m-MediaBlock a .m-MediaBlock__a-HeadlineText{color:#e20d32}.recipePage .recipe-body .m-MediaBlock a:hover .m-MediaBlock__a-HeadlineText,.recipePage .recipe-footer .m-MediaBlock a:hover .m-MediaBlock__a-HeadlineText{color:#1c1c1c}.recipePage .m-MediaBlock{border:0;padding:0}.recipePage .m-MediaBlock__a-Button--Watch{text-indent:-9999px;margin-left:-8px}.recipePage .m-MediaBlock__m-TextWrap{line-height:1.35}.recipePage .m-MediaBlock__a-Cta{font-size:16px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;font-weight:400;color:#e20d32;text-decoration:none}.recipePage .m-MediaBlock__a-Cta:before{display:none}.recipePage .m-MediaBlock__a-Cta:hover{color:#1c1c1c}.recipePage .m-MediaBlock__a-Source{margin-bottom:5px;font-size:16px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;font-weight:400}.recipePage .m-MediaBlock__a-Source--Name a{color:#e20d32;text-decoration:none}.recipePage .m-MediaBlock__a-Source--Name a:hover{color:#1c1c1c}.recipePage .m-MediaBlock__a-Label{background:#e20d32;color:#fff}.recipePage .m-MediaBlock__a-Headline{font-size:16px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;font-weight:400;line-height:18px}.recipePage .m-MediaBlock__a-Headline a{position:relative}.recipePage .m-MediaBlock__a-Headline a .m-MediaBlock__a-HeadlineText{color:#1c1c1c}.recipePage .m-MediaBlock__a-Headline a:hover .m-MediaBlock__a-HeadlineText{color:#e20d32;text-decoration:none}.recipePage .m-MediaBlock__a-HeadlineText{color:#1c1c1c}.recipePage .m-MediaBlock .m-MediaBlock__a-Headline span.m-MediaBlock__a-AssetInfo{display:inline-block;margin-left:-4px;width:15px}.recipePage .m-MediaBlock__a-AssetInfo{color:#ccc}.recipePage .m-MediaBlock__a-AssetInfo .a-Icon{fill:#ccc}.recipePage .m-MediaBlock__a-AssetInfo .a-Icon--gallery{position:absolute;bottom:1px;margin-left:3px}.recipePage .m-MediaBlock__a-AssetInfo .a-Icon--video,.recipePage .m-MediaBlock__a-AssetInfo .a-Icon--watch{position:absolute;bottom:4px;margin-left:7px;width:22px;height:22px}.recipePage .m-MediaBlock__a-AssetInfo:after{display:none}.recipePage [role=contentWell] .m-MediaBlock__m-TextWrap{vertical-align:middle}.recipePage [role=contentWell] .m-MediaBlock__a-Source:last-child{margin-bottom:0;vertical-align:baseline}.recipePage .rightRail .l-List div:first-child{padding-top:0;border-top:none}.recipePage .rightRail .l-List .m-MediaBlock{margin-bottom:15px;padding:15px 0 0 20px;border-top:1px solid #e0e0e0}.recipePage .rightRail .l-List .m-MediaBlock__m-TextWrap{width:50%}.recipePage .rightRail .l-List .m-MediaBlock__a-Headline{font-size:24px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c}.recipePage .rightRail .l-List .m-MediaBlock__a-AssetInfo{font-size:inherit}.recipePage .rightRail .l-List .m-MediaBlock__a-Description{margin:0}.recipePage .m-NutritionTable{padding:0;border-top:none;margin:4%}.recipePage .m-NutritionTable__a-Headline{width:55%;margin-bottom:5px!important;padding-top:10px!important;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:15px}.recipePage .m-NutritionTable__a-Headline--Primary{width:55%;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif!important;font-size:20px}.recipePage .m-NutritionTable__a-Description{margin-bottom:5px!important;padding-top:10px!important;border-top:1px solid #e0e0e0;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px}.recipePage .m-NutritionTable__a-Description--Primary{margin:0 -5px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif!important;font-size:20px}.recipePage .m-Rating{display:block;width:max-content}.recipePage .m-Rating__a-StarsLink{display:flex;flex-direction:row;align-items:center}.recipePage .m-Rating .gig-rating-stars{display:block;width:unset;margin-right:5px;font-size:0;top:0}.recipePage .m-Rating .gig-rating-star{display:inline-block;margin-right:5px}.recipePage .m-Rating .gig-rating-ratingsum{top:0}.recipePage .m-Rating__a-StarsLink:hover{text-decoration:none}.recipePage .m-Rating__a-StarsLink:hover .gig-rating-ratingsum{text-decoration:none;color:#e6003d}.recipePage .m-Rating .gig-comment-rating-star-full:after,.recipePage .m-Rating .gig-composebox-rating-star-full:after,.recipePage .m-Rating .gig-rating-star-full:after,.recipePage .m-Rating .gig-selfreview-rating-star-full:after{color:#e6003d}.recipePage .m-Rating .gig-comment-rating-star-half:after,.recipePage .m-Rating .gig-composebox-rating-star-half:after,.recipePage .m-Rating .gig-rating-star-half:after,.recipePage .m-Rating .gig-selfreview-rating-star-half:after{background:-webkit-linear-gradient(left,#e6003d,#e6003d 50%,#e0e0e0 0,#e0e0e0);-webkit-background-clip:text}.recipePage .m-Rating .gig-rating-ratingsum{margin:4px 0 0;color:#1c1c1c;line-height:1}.recipePage .m-Rating .gig-rating-ratingsum:hover{color:#e6003d;text-decoration:none}.recipePage .m-Rating .gig-rating-ratingsum.is-Disabled{color:#666}.recipePage .m-RecipeMedia__m-MediaBlock{position:relative;transform:translateY(-50%);top:50%}.recipePage .m-RecipeSummary{z-index:6;position:relative}.recipePage .m-RecipeSummary.m-RecipeSummary--FixedVideo{z-index:4}.recipePage .m-RecipeSummary{background:transparent}.recipePage .o-Announcements{position:relative;background-color:#fff;box-shadow:0 1px 1px 0 rgba(28,28,28,.05);padding:20px;text-align:center}.recipePage .o-Announcements__a-Img{margin-top:5px}.recipePage .o-Announcements__a-Img img{max-width:90%}.recipePage .o-Announcements__m-Description{margin:10px 0 0;padding:5px}.recipePage .o-Announcements__a-Button--Primary{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;border:2px solid #5ac0b8;background-color:#5ac0b8;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0);margin-top:15px}.recipePage .o-Announcements__a-Button--Primary:hover{text-decoration:none}.Win32 .recipePage .o-Announcements__a-Button--Primary,.Win64 .recipePage .o-Announcements__a-Button--Primary{padding:10px 20px 12px}.recipePage .o-Announcements__a-Button--Primary.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .o-Announcements__a-Button--Primary.is-Hover,.recipePage .o-Announcements__a-Button--Primary:hover{color:#fff;border-color:#7fcec8;background:#7fcec8;background-image:none}.recipePage .o-Announcements__a-Button--Primary--Active{color:#5ac0b8;background:none;pointer-events:none}.recipePage .o-Announcements__a-Button--Primary--Active.is-Hover,.recipePage .o-Announcements__a-Button--Primary--Active:hover{color:#5ac0b8;background:none}.recipePage .o-Announcements__a-Description{margin:25px 0 0}.recipePage .o-Announcements__a-Description a{color:#e20d32}.recipePage .o-Announcements__a-Description a:hover{cursor:pointer}.recipePage .o-Announcements--Fixed{position:fixed;z-index:1000;right:25px;bottom:30px;width:440px;box-shadow:-1px 3px 10px 0 rgba(0,0,0,.25);animation-name:slide-up;animation-duration:.5s}@media only screen and (min-width:1250px){.recipePage .o-Announcements--Fixed{right:calc(53vw - 640px)}}@media only screen and (min-width:1600px){.recipePage .o-Announcements--Fixed{right:calc(50vw - 640px)}}.recipePage .o-Announcements--Fixed img{max-width:75%}.recipePage .o-Announcements--Close{display:flex;align-items:center;width:26px;height:26px;padding:0;border-radius:50%;z-index:10;cursor:pointer;color:#fff;background:#1c1c1c;transition:background-color .2s;position:absolute;top:-10px;right:-10px;font-size:0}.recipePage .o-Announcements--Close:before{display:block;width:100%;font-style:normal;font-weight:400;line-height:1;text-transform:none;font-feature-settings:"liga";font-family:fn-icons;content:"\e903";font-size:16px;color:#fff;text-align:center}.recipePage .o-Announcements--Close.is-Hover,.recipePage .o-Announcements--Close:hover{color:#fff;background:#e20d32;background-image:none;text-decoration:none}@keyframes slide-up{0%{bottom:-100px;opacity:0}to{bottom:30px;opacity:1}}.recipePage .o-AssetActions{width:100%;display:flex;justify-content:center;flex-direction:row;padding:20px 10px;background:transparent;margin:0}.recipePage .o-AssetActions .a-Button--Save,.recipePage .o-AssetActions .a-Button--Saved{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;background-color:#5ac0b8;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0);background-color:#e20d32;border:2px solid #e20d32;justify-content:center;align-items:center;cursor:pointer;width:268px;display:flex;text-transform:capitalize;margin-right:15px;height:unset;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.recipePage .o-AssetActions .a-Button--Save:hover,.recipePage .o-AssetActions .a-Button--Saved:hover{text-decoration:none}.Win32 .recipePage .o-AssetActions .a-Button--Save,.Win32 .recipePage .o-AssetActions .a-Button--Saved,.Win64 .recipePage .o-AssetActions .a-Button--Save,.Win64 .recipePage .o-AssetActions .a-Button--Saved{padding:10px 20px 12px}.recipePage .o-AssetActions .a-Button--Save.is-Disabled,.recipePage .o-AssetActions .a-Button--Saved.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .o-AssetActions .a-Button--Save.is-Hover,.recipePage .o-AssetActions .a-Button--Save:hover,.recipePage .o-AssetActions .a-Button--Saved.is-Hover,.recipePage .o-AssetActions .a-Button--Saved:hover{color:#fff;border-color:#7fcec8;background:#7fcec8;background-image:none}.recipePage .o-AssetActions .a-Button--Save--Active,.recipePage .o-AssetActions .a-Button--Saved--Active{color:#5ac0b8;background:none;pointer-events:none}.recipePage .o-AssetActions .a-Button--Save--Active.is-Hover,.recipePage .o-AssetActions .a-Button--Save--Active:hover,.recipePage .o-AssetActions .a-Button--Saved--Active.is-Hover,.recipePage .o-AssetActions .a-Button--Saved--Active:hover{color:#5ac0b8;background:none}.recipePage .o-AssetActions .a-Button--Save.is-Hover,.recipePage .o-AssetActions .a-Button--Save:hover,.recipePage .o-AssetActions .a-Button--Saved.is-Hover,.recipePage .o-AssetActions .a-Button--Saved:hover{border-color:#f22045;background:#f22045}.recipePage .o-AssetActions .a-Button--Saved__a-Divider,.recipePage .o-AssetActions .a-Button--Saved__a-TextWrap{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;color:#fff}.recipePage .o-AssetActions .a-Button--Saved__a-Divider{padding:0 7px;display:inline}.recipePage .o-AssetActions .a-Button--Saved__a-AddToBoard{color:#fff;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border:none;padding:0;margin:0}.recipePage .o-AssetActions .a-Button--Saved:before{top:0;content:" ";width:16px;height:16px;background-image:url(/etc/designs/svg/icon-checkmark-white.svg);background-repeat:no-repeat}.recipePage .o-AssetActions .a-Icon--Bookmark{top:-3px;fill:#fff;width:17.5px;height:17.5px}.recipePage .o-AssetActions__o-SocialShare{display:flex;justify-content:center;align-items:center}.recipePage .add-to-board input[type=checkbox]+label,.recipePage .add-to-board input[type=checkbox]:checked+label{height:32px;width:32px;display:inline-block;padding:0;cursor:pointer;border-radius:50%;background-size:60%;background-position:50%;border:2px solid #1c1c1c}.recipePage .add-to-board input[type=checkbox]:checked+label{background-color:#1c1c1c}.recipePage .add-to-board input[type=checkbox]+label{border-color:#fff}.recipePage .add-to-board input[type=checkbox]{display:none}.recipePage .add-to-board--new input[type=text]{padding:14px;border-radius:4px;border:1px solid #d2d1d1;width:100%}.recipePage .add-to-board .o-Modal__m-Dialog,.recipePage .add-to-board .o-Modal__m-Dialog.in{width:50%;min-width:400px;max-width:450px}.recipePage .add-to-board .o-Modal__a-Boards__board{display:flex;align-items:center}.recipePage .add-to-board .o-Modal__a-Boards__board-wrapper{width:138px;height:90px;display:flex;justify-content:flex-end;align-items:flex-end;background-color:#d0d0d0;margin:0 7px 7px 0;padding:7px}.recipePage .add-to-board .o-Modal__a-Boards--new{display:flex;align-items:center}.recipePage .add-to-board .o-Modal__a-Boards--new__icon{width:110px;height:90px;display:flex;justify-content:center;align-items:center;background-color:#d0d0d0;margin:0 7px 7px 0}.recipePage .add-to-board .o-Modal__a-Boards--new__icon:before{content:"";display:inline-block;border-radius:50%;height:32px;width:32px;background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 23'%3E%3Cpath fill='%23fff' d='M9.6 9.6V1.9a1.9 1.9 0 1 1 3.8 0v7.7h7.7a1.9 1.9 0 1 1 0 3.8h-7.7v7.7a1.9 1.9 0 1 1-3.8 0v-7.7H1.9a1.9 1.9 0 1 1 0-3.8h7.7z'/%3E%3C/svg%3E") no-repeat;background-size:60%;background-position:50%;background-color:#1c1c1c;margin-right:0}.recipePage .add-to-board .o-Modal__a-Boards--new__title{color:#1c1c1c;top:0;padding-left:7px}.recipePage .add-to-board .o-Modal__a-Headline{font-size:34px}.recipePage .add-to-board .o-Modal__a-Boards{max-height:250px;height:50vh;overflow:auto}.recipePage .add-to-board .o-Modal__a-Boards input[type=checkbox]:checked+label{background-image:url(/etc/designs/svg/icon-checkmark-white.svg);background-repeat:no-repeat}.recipePage .add-to-board .o-Modal__a-Boards .checkbox-text{display:inline-block;width:90%;top:-3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:7px;cursor:pointer}.recipePage .add-to-board .o-Modal__a-Boards__a-Button-Cancel{display:none}.recipePage .add-to-board .o-Modal__a-Button--Primary{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;border:none;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;background-color:#525657;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0);border-radius:4px;width:35%;text-transform:uppercase}.recipePage .add-to-board .o-Modal__a-Button--Primary:hover{text-decoration:none}.Win32 .recipePage .add-to-board .o-Modal__a-Button--Primary,.Win64 .recipePage .add-to-board .o-Modal__a-Button--Primary{padding:10px 20px 12px}.recipePage .add-to-board .o-Modal__a-Button--Primary.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .add-to-board .o-Modal__a-Button--Primary.is-Hover,.recipePage .add-to-board .o-Modal__a-Button--Primary:hover{color:#fff;border-color:#6b7071;background:#6b7071;background-image:none}.recipePage .add-to-board .o-Modal__a-Button--Disabled{pointer-events:none;background:#e3e6e6}.recipePage .add-to-board .o-Modal__a-Button--Cancel{display:none}.recipePage .add-to-board .o-Modal__a-Button--Close{top:-12px;right:-12px;width:26px;height:26px}.recipePage .add-to-board .o-Modal__a-Button--Close:after{top:55%;left:55%;font-size:16px}.recipePage .add-to-board .o-Modal__m-Footer{padding:10px 20px;text-align:center}.recipePage .o-AssetActions{border-bottom:1px solid #e0e0e0}.recipePage .o-AssetActions--saves{border-bottom:none}.Win32 .recipePage .o-AssetActions .a-Icon--Bookmark,.Win64 .recipePage .o-AssetActions .a-Icon--Bookmark{top:0}.recipePage .o-AssetDescription{position:relative}.recipePage .o-AssetDescription__a-Description{white-space:normal;font-size:18px;font-family:Georgia,Times New Roman,Times,serif;line-height:1.35;font-style:italic;color:#1c1c1c}.recipePage .o-AssetDescription__a-Description a{color:#e6003d;text-decoration:none}.recipePage .o-AssetDescription__a-Description a:hover{color:#1c1c1c}.recipePage .o-AssetNavigation{margin-bottom:0;top:0}.recipePage .o-AssetNavigation__m-Body{margin:0}.recipePage .o-AssetNavigation.affix{width:calc(66.5% - 14px);min-width:665px;max-width:835px;margin:0 -1px}.recipePage .o-AssetNavigation__a-Button{color:#666;border-color:#e0e0e0;border-bottom:none}.recipePage .o-AssetNavigation__a-Button:hover{color:#1c1c1c;text-decoration:none}.recipePage .o-AssetNavigation__a-Button:hover:after,.recipePage .o-AssetNavigation__a-Button:hover:before{color:#1c1c1c}.recipePage .o-AssetNavigation__a-Button:after,.recipePage .o-AssetNavigation__a-Button:before{color:#5ac0b8}.recipePage .o-AssetTitle{position:relative}.recipePage .o-AssetTitle__a-Headline{font-size:42px;font-family:Georgia,Times New Roman,Times,serif;line-height:1.35;font-weight:700;letter-spacing:-.5px;color:#1c1c1c}.recipePage .o-Attribution{position:relative;padding-right:0;padding-bottom:0;border-bottom:none}.recipePage .o-Attribution__m-Body{display:block}.recipePage .o-Attribution__m-MediaWrap{margin-right:0;width:auto;display:block;padding-right:0}.recipePage .o-Attribution__m-TextWrap{display:block;padding-top:20px}.recipePage .o-Attribution{z-index:5;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;color:#1c1c1c;letter-spacing:1.5px}.recipePage .o-Attribution a{color:#1c1c1c}.recipePage .o-Attribution a:hover{color:#e20d32;text-decoration:none}.recipePage .o-Attribution .o-Attribution__m-MediaWrap{position:relative;text-align:center}.recipePage .o-Attribution .o-Attribution__m-MediaWrap>a{display:inline-block;background:#fff;border-radius:50%;-webkit-font-smoothing:antialiased;box-shadow:0 0 7px transparent;transition:transform .3s,box-shadow .3s}.recipePage .o-Attribution .o-Attribution__m-MediaWrap>a:hover{box-shadow:0 0 7px rgba(0,0,0,.25);transform:scale(1.04)}.recipePage .o-Attribution__m-Author{font-size:16px;text-transform:uppercase}.recipePage .o-Attribution__a-Source{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px}.recipePage .o-Attribution__a-Source--Label,.recipePage .o-Attribution__a-Source--Prefix{font-size:14px}.recipePage .o-Attribution__a-Source .o-Attribution__a-Name a{color:#e20d32}.recipePage .o-Attribution__a-Source .o-Attribution__a-Name a:hover{color:#1c1c1c}.recipePage .o-Attribution__a-Author .o-Attribution__a-Author--Prefix,.recipePage .o-Attribution__a-Author .o-Attribution__a-Name,.recipePage .o-Attribution__a-Author .o-Attribution__a-Name a{font-size:16px}.recipePage .o-Attribution__a-Source .o-Attribution__a-Name,.recipePage .o-Attribution__a-Source .o-Attribution__a-Name a,.recipePage .o-Attribution__a-Source .o-Attribution__a-Source--Label,.recipePage .o-Attribution__a-Source .o-Attribution__a-Source--Prefix{font-size:14px}.recipePage .o-Capsule__a-Headline{display:inherit;font-size:inherit;text-transform:none;padding:0}.recipePage .o-Capsule__m-Header{margin-bottom:20px;border-top:none}.recipePage .o-Capsule__a-HeadlineText{font-size:24px;font-family:Georgia,Times New Roman,Times,serif;line-height:1.35;font-weight:700;letter-spacing:-.5px;color:#1c1c1c;text-transform:none}.recipePage .o-Capsule__a-Button{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;border:none;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;background-color:#525657;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0);margin:0}.recipePage .o-Capsule__a-Button:hover{text-decoration:none}.Win32 .recipePage .o-Capsule__a-Button,.Win64 .recipePage .o-Capsule__a-Button{padding:10px 20px 12px}.recipePage .o-Capsule__a-Button.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .o-Capsule__a-Button.is-Hover,.recipePage .o-Capsule__a-Button:hover{color:#fff;border-color:#6b7071;background:#6b7071;background-image:none}.recipePage .o-Capsule .m-MediaBlock__a-HeadlineText{font-size:20px}.recipePage .o-Capsule__a-Cta{font-size:24px;color:#e20d32;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;text-transform:none;font-size:18px}.recipePage .o-Capsule__a-Cta:hover{text-decoration:none;color:#1c1c1c}.recipePage .o-Capsule__a-Cta:after{display:none}.recipePage .rightRail .o-Capsule{margin:30px 0 20px;padding:0}.recipePage .rightRail .o-Capsule__m-Header{margin-bottom:25px}.recipePage .rightRail .o-Capsule__m-Body{margin-bottom:20px}.recipePage .rightRail .o-Capsule__a-Button{margin-bottom:0}.recipePage .o-ChefNotes__a-Headline{margin-bottom:10px}.recipePage .o-ChefNotes{background-color:transparent;margin:0;padding:20px;border-top:1px solid #e0e0e0}.recipePage .o-ChefNotes__a-Headline{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;letter-spacing:.5px;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:20px}.recipePage .o-ChefNotes__a-Description{margin:0;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5}.recipePage .rightRail .o-ContentFeed .m-MediaBlock__m-MediaWrap{display:block;margin-right:14px;padding-right:0}.recipePage .rightRail .o-ContentFeed .m-MediaBlock__m-MediaWrap a{height:0;background:#e0e0e0;padding-bottom:75%}.recipePage .o-ContentFeed .m-MediaBlock__a-Icon{display:none}.recipePage .o-ContentFeed--Loaded .m-MediaBlock__a-Icon{display:block}.recipePage .o-Copyright{margin-bottom:0}.recipePage .o-Copyright__a-Credit{padding:0;margin:0;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:12px;color:#999}.recipePage .o-EditorialPromo .m-MediaBlock--gallery .m-MediaBlock__a-AssetInfo{display:initial;width:auto;height:auto;font-size:inherit}.recipePage .rightRail .o-EditorialPromo .l-List--Loaded .m-MediaBlock__a-Icon{display:block}.recipePage .rightRail .o-EditorialPromo .m-MediaBlock__a-AssetInfo:after{display:none}.recipePage .rightRail .o-EditorialPromo .m-MediaBlock__m-MediaWrap{display:block;margin-right:14px;padding-right:0}.recipePage .rightRail .o-EditorialPromo .m-MediaBlock__m-MediaWrap a{height:0;background:#e0e0e0;padding-bottom:75%}.recipePage .rightRail .o-EditorialPromo .m-MediaBlock__a-Icon{display:none}.recipePage .rightRail .o-EditorialPromo .m-MediaBlock__m-PromoList li:before{margin:1px 0 0 -3px;color:#ccc;content:"•"}.recipePage .rightRail .o-EditorialPromo .m-MediaBlock__a-Description p:last-child{margin-bottom:0}.recipePage .rightRail .o-EditorialPromo .o-Capsule__a-HeadlineText{font-family:Georgia,Times New Roman,Times,serif;font-size:28px;line-height:1.35;font-weight:700;letter-spacing:-.5px;color:#1c1c1c}.recipePage .rightRail .o-EditorialPromo .o-Capsule__a-Cta{color:#e6003d}.recipePage .rightRail .o-EditorialPromo .m-MediaBlock__m-TextWrap .m-MediaBlock__a-Label{position:relative;top:0;background-color:transparent;color:#1c1c1c;padding:0}.recipePage .o-FullAttribution{margin:40px 0;padding:30px 0;background:#fff;box-shadow:0 1px 1px 0 rgba(28,28,28,.05)}.recipePage .o-FullAttribution .m-MediaBlock{margin-bottom:0}.recipePage .o-FullAttribution .m-MediaBlock .m-MediaBlock__a-Description img{display:block;margin:0 auto}.recipePage .o-Ingredients__a-SubHeadline{margin:20px 0 -5px 20px}.recipePage .o-Ingredients__a-Ingredient{padding:15px 30px}.recipePage .o-Ingredients .o-Ingredients__a-Headline{margin-bottom:10px;padding-left:20px}.recipePage .o-Ingredients .o-Ingredients__m-Body p:last-child{border-bottom:none}.recipePage .o-Ingredients .o-Ingredients__m-Footer #dfp_native_ingredient{margin-top:20px}.recipePage .o-Ingredients__a-Headline{font-size:24px;font-family:Georgia,Times New Roman,Times,serif;line-height:1.35;font-weight:700;letter-spacing:-.5px;color:#1c1c1c}.recipePage .o-Ingredients__a-HeadlineText:after{content:":"}.recipePage .o-Ingredients__a-SubHeadline{font-size:20px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;letter-spacing:.5px}.recipePage .o-Ingredients__a-Ingredient{margin:0;border-bottom:1px solid #e0e0e0;font-size:16px;padding:15px 20px 10px 30px}.recipePage .o-Ingredients__a-Ingredient--Checkbox{position:absolute;z-index:-1;opacity:0}.recipePage .o-Ingredients__a-Ingredient--CheckboxMock{position:absolute;left:0;width:30px;height:30px;border-radius:50%;border:3px solid #5a5a5a}.recipePage .o-Ingredients__a-Ingredient--CheckboxMock:after{position:absolute;display:none;content:"";top:2px;left:8px;width:8px;height:16px;transform:rotate(45deg);border:solid #fff;border-width:0 2px 2px 0}.recipePage .o-Ingredients__a-Ingredient--CheckboxLabel{display:inline-block;margin-left:45px}.recipePage .o-Ingredients__a-Ingredient label{position:relative;display:flex;min-height:30px;align-items:center}.recipePage .o-Ingredients__a-Ingredient label input:checked~.o-Ingredients__a-Ingredient--CheckboxMock{background:#5a5a5a}.recipePage .o-Ingredients__a-Ingredient label input:checked~.o-Ingredients__a-Ingredient--CheckboxMock:after{display:block}.recipePage .o-Ingredients__a-Button{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;border:2px solid #5ac0b8;background-color:#5ac0b8;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0);display:flex;justify-content:center;align-items:center;cursor:pointer;width:65%;margin:21px auto;font-size:1em}.recipePage .o-Ingredients__a-Button:hover{text-decoration:none}.Win32 .recipePage .o-Ingredients__a-Button,.Win64 .recipePage .o-Ingredients__a-Button{padding:10px 20px 12px}.recipePage .o-Ingredients__a-Button.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .o-Ingredients__a-Button.is-Hover,.recipePage .o-Ingredients__a-Button:hover{color:#fff;border-color:#7fcec8;background:#7fcec8;background-image:none}.recipePage .o-Ingredients__a-Button--Active{color:#5ac0b8;background:none;pointer-events:none}.recipePage .o-Ingredients__a-Button--Active.is-Hover,.recipePage .o-Ingredients__a-Button--Active:hover{color:#5ac0b8;background:none}.recipePage .o-Ingredients__a-Button .a-Icon--Comment{fill:#fff;margin-right:7px;margin-top:-3px;width:20px;height:20px;vertical-align:middle}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__m-Content,.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__m-Dialog{height:100%}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal{transform:translateZ(0)}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Headline{font-size:24px;font-family:Georgia,Times New Roman,Times,serif;line-height:1.35;font-weight:700;letter-spacing:-.5px;color:#1c1c1c;font-size:7vw;padding:35px 0 14px}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__m-Content{display:flex;flex-direction:column}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__m-Content form{display:flex;flex:1;overflow:scroll}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__m-Header{text-align:center;transform:translateZ(0)}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__m-Body{display:flex;flex-direction:column;padding:14px 0 80px;overflow:scroll;-webkit-overflow-scrolling:touch;height:100%;transform:translateZ(0)}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__m-Body .o-Ingredients__a-Ingredient:last-child{border-bottom:none}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__m-Footer{display:flex;justify-content:center;position:absolute;bottom:0;right:0;padding:20px 0 0;background-color:#f5f5f5;transform:translateZ(0)}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;border:2px solid #5ac0b8;background-color:#5ac0b8;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0);display:flex;justify-content:center;align-items:center;font-size:1em;text-transform:capitalize;padding:15px 30px 10px}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary:hover{text-decoration:none}.Win32 .recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary,.Win64 .recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary{padding:10px 20px 12px}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary.is-Hover,.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary:hover{color:#fff;border-color:#7fcec8;background:#7fcec8;background-image:none}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary--Active{color:#5ac0b8;background:none;pointer-events:none}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary--Active.is-Hover,.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary--Active:hover{color:#5ac0b8;background:none}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Primary .a-Icon--Comment{fill:#fff;margin-right:7px;margin-top:-3px;width:20px;height:20px;vertical-align:middle}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--TextIngredients{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;border:none;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;background-color:#525657;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0);padding:7px 15px 2px}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--TextIngredients:hover{text-decoration:none}.Win32 .recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--TextIngredients,.Win64 .recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--TextIngredients{padding:10px 20px 12px}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--TextIngredients.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--TextIngredients.is-Hover,.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--TextIngredients:hover{color:#fff;border-color:#6b7071;background:#6b7071;background-image:none}.Win32 .recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--TextIngredients,.Win64 .recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--TextIngredients{padding:3.5px 9px}.recipePage .o-Ingredients__o-Modal--TextIngredients .o-Modal__a-Button--Disabled{background-color:#afaeae;border-color:#afaeae}.recipePage .o-Ingredients .whisk-container{padding:20px 20px 7px 30px}.recipePage .o-Method,.recipePage .o-Method__a-Headline{margin-bottom:20px}.recipePage .o-Method__a-SubHeadline{margin:20px 0 20px 20px}.recipePage .recipe-body .o-Method__m-Body{max-width:700px}.recipePage .o-Method__a-Headline{font-size:24px;font-family:Georgia,Times New Roman,Times,serif;line-height:1.35;font-weight:700;letter-spacing:-.5px;color:#1c1c1c}.recipePage .o-Method__a-HeadlineText:after{content:":"}.recipePage .o-Method__a-SubHeadline{font-size:20px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;letter-spacing:.5px}.recipePage .o-Method__m-Yield{margin-bottom:10px}.recipePage .o-Method__m-Yield .o-Method__a-SubHeadline{font-weight:800}.recipePage .o-Method__m-Body{counter-reset:step-ctr}.recipePage .o-Method__m-Body ol:last-child li:last-child{border-bottom:none}.recipePage .o-Method__m-Step{font-size:16px}.recipePage .o-Method__m-Step:before{counter-increment:step-ctr;content:counter(step-ctr);float:left;margin:-8px 14px 0 7px;font-family:Georgia,Times New Roman,Times,serif;font-size:42px;font-weight:700;line-height:1}.recipePage .o-Method__m-Body.oneStep .o-Method__m-Step:before{display:none}.recipePage .o-Method__m-Body ol:last-child li:last-child{padding-bottom:0}.recipePage .o-Method__a-SubHeadline+.o-Method__m-Yield{margin-top:-15px}.recipePage .o-Method__m-Yield{line-height:1.3;padding:0 20px 10px}.recipePage .o-Method__m-Yield .o-Method__a-SubHeadline{margin-left:0}.recipePage .o-Method__m-Yield .o-Method__a-Description,.recipePage .o-Method__m-Yield .o-Method__a-SubHeadline{font-size:14px}.recipePage .o-Method__m-Step{margin:0;padding:20px;border-bottom:1px solid #e0e0e0}.recipePage .o-Method__m-Step:first-child{padding-top:0}.recipePage .o-Newsletter{padding:15px 15px 25px}.recipePage .o-Newsletter__a-Description{margin-bottom:15px}.recipePage .o-Newsletter .m-Form__m-InputWrap input[type=text].o-Capsule__a-Input{appearance:none}.recipePage .o-Newsletter .a-Button{width:auto}.recipePage .rightRail .o-Newsletter{margin-bottom:20px}.recipePage .o-Newsletter{background-image:url(/etc/clientlibs/assets/images/food/Newsletter-Desktop.png);background-repeat:no-repeat;background-position:center 20px;background-size:85% auto}.recipePage .o-Newsletter__a-Description{text-align:center}.recipePage .o-Newsletter__a-Description a{color:#999;white-space:nowrap}.recipePage .o-Newsletter .a-Button{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;border:none;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;background-color:#525657;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0);position:absolute;height:45px;right:0}.recipePage .o-Newsletter .a-Button:hover{text-decoration:none}.Win32 .recipePage .o-Newsletter .a-Button,.Win64 .recipePage .o-Newsletter .a-Button{padding:10px 20px 12px}.recipePage .o-Newsletter .a-Button.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .o-Newsletter .a-Button.is-Hover,.recipePage .o-Newsletter .a-Button:hover{color:#fff;border-color:#6b7071;background:#6b7071;background-image:none}.recipePage .o-Newsletter .m-Form__a-Errors{margin:10px 0 0 15px}.recipePage .o-Newsletter .o-Capsule__m-Header{display:none}.recipePage .o-Newsletter .o-Capsule__m-Body{padding-top:100px}.recipePage .o-Newsletter .o-Capsule__a-Input{border-radius:30px;width:calc(100% - 50px);height:45px;font-size:15px;padding:7px 105px 3px 14px}.recipePage .o-Newsletter .o-Capsule__a-Input::placeholder{color:#999}.recipePage .o-Newsletter .o-Capsule__a-Input+.a-Button{border-radius:0;border-top-right-radius:45px;border-bottom-right-radius:45px}.recipePage .o-Newsletter .o-Capsule__a-Button{font-size:16px;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#e6003d}.recipePage .o-Newsletter .o-Capsule__a-Button:hover{background-color:#e6003d;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.15))}.recipePage .rightRail .o-Newsletter{padding:15px 15px 25px;background-image:url(/etc/clientlibs/assets/images/food/Newsletter-Desktop.png);background-repeat:no-repeat;background-position:center 20px;background-size:85% auto}.recipePage .o-Newsletter{background-color:transparent}.recipePage .o-Newsletter .o-Capsule__a-Input{padding:7px 40px 3px 14px}.recipePage .o-NutritionInfo .o-RecipeInfo__a-NutritionInfo a{color:#e6003d}.recipePage .o-NutritionInfo .a-Button{display:flex;align-items:center;width:26px;height:26px;padding:0;border-radius:50%;z-index:10;cursor:pointer;color:#fff;background:#1c1c1c;transition:background-color .2s}.recipePage .o-NutritionInfo .a-Button:before{display:block;width:100%;font-style:normal;font-weight:400;line-height:1;text-transform:none;font-feature-settings:"liga";font-family:fn-icons;content:"\e903";font-size:16px;color:#fff;text-align:center}.recipePage .o-NutritionInfo .a-Button.is-Hover,.recipePage .o-NutritionInfo .a-Button:hover{color:#fff;background:#e20d32;background-image:none;text-decoration:none}.recipePage .o-NutritionInfo__a-Note{font-size:15px;margin-top:10px;margin-bottom:0}.recipePage .o-NutritionInfo .popover{width:315px}.recipePage .o-NutritionInfo template{display:none}.recipePage .o-PackagePromo{margin-bottom:0}.recipePage .o-PackagePromo__a-Headline,.recipePage .o-PackagePromo__a-SubHeadline{display:inline-block}.recipePage .o-PackagePromo .o-Capsule{margin-bottom:0}.recipePage .o-PackagePromo .o-Capsule__m-Header{display:none}.recipePage .o-PackagePromo .o-Capsule__m-Body{padding:20px;margin-bottom:0}.recipePage .o-PackagePromo{display:block;float:right;clear:right;width:calc(50% - 25px);margin-left:25px;background-color:transparent}.recipePage .o-PackagePromo a{color:#e6003d}.recipePage .o-PackagePromo a:hover{color:#1c1c1c;text-decoration:none}.recipePage .o-PackagePromo__a-SubHeadline{text-transform:capitalize}.recipePage .o-PackagePromo__a-Headline,.recipePage .o-PackagePromo__a-SubHeadline{font-size:16px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;font-weight:400}.recipePage .o-PackagePromo__a-Headline:hover{text-decoration:none}.recipePage .o-PhotoCredit{padding:0;margin:0}.recipePage .o-PhotoCredit__a-Credit{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.35;font-size:14px}.recipePage .private-notes{padding:20px}.recipePage .private-notes__form__actions{display:flex;justify-content:flex-end}.recipePage .private-notes__form__actions .a-Button--Done{order:1}.recipePage .private-notes__form__actions .a-Button--Clear{order:2}.recipePage .private-notes__notes--edit:hover{cursor:pointer}.recipePage .private-notes{display:block;width:50%;float:left;border-top:none}.recipePage .private-notes-body a{color:#e20d32}.recipePage .private-notes-body a:hover{color:#1c1c1c;text-decoration:none}.recipePage .private-notes-body .add-note__title{font-size:16px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;font-weight:400;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;display:inline-block;margin-left:5px}.recipePage .private-notes-body .add-note__title:hover{color:#e20d32}.recipePage .private-notes-body .add-note .a-Icon--Add.a-Icon{background-color:#e3e6e6;fill:#525657;width:32px;height:32px;border-radius:50%;padding:8px}.recipePage .private-notes-body .add-note .a-Icon--Add.a-Icon:hover{cursor:pointer;background:#ebeded}.recipePage .private-notes__form__actions .a-Button--Done{position:relative;display:inline-block;white-space:nowrap;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;font-size:18px;line-height:1;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;border:2px solid #5ac0b8;background-color:#5ac0b8;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0)}.recipePage .private-notes__form__actions .a-Button--Done:hover{text-decoration:none}.Win32 .recipePage .private-notes__form__actions .a-Button--Done,.Win64 .recipePage .private-notes__form__actions .a-Button--Done{padding:10px 20px 12px}.recipePage .private-notes__form__actions .a-Button--Done.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .private-notes__form__actions .a-Button--Done.is-Hover,.recipePage .private-notes__form__actions .a-Button--Done:hover{color:#fff;border-color:#7fcec8;background:#7fcec8;background-image:none}.recipePage .private-notes__form__actions .a-Button--Done--Active{color:#5ac0b8;background:none;pointer-events:none}.recipePage .private-notes__form__actions .a-Button--Done--Active.is-Hover,.recipePage .private-notes__form__actions .a-Button--Done--Active:hover{color:#5ac0b8;background:none}.recipePage .private-notes__form__actions .a-Button--Clear{padding:15px 5px 6px;background:none;border:none;text-transform:none;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;color:#1c1c1c}.recipePage .private-notes__form__actions .a-Button--Clear:hover{color:#e20d32}.recipePage .private-notes__form__actions .a-Button--Clear[disabled]{color:#ccc}.recipePage .private-notes__notes--edit{color:#e20d32}.recipePage .private-notes__notes--edit:hover{color:#1c1c1c;text-decoration:none}.recipePage .private-notes{background:transparent}.recipePage .o-RatingsAndReviews{position:relative;padding:20px 30px 30px}.recipePage .o-RatingsAndReviews .m-Rating{margin:0}.recipePage .o-RatingsAndReviews{margin:30px 0 40px}.recipePage .o-RatingsAndReviews--NoReviews .gig-comments-sort{display:none}.recipePage .o-RatingsAndReviews .o-Capsule__m-Rating{position:relative;top:3px}.recipePage .o-RatingsAndReviews{background:transparent;margin:30px 0 5px;min-height:376.5px}.recipePage .o-RatingsAndReviews .o-Capsule__a-HeadlineText{font-family:Georgia,Times New Roman,Times,serif;font-size:28px;line-height:1.35;font-weight:700;letter-spacing:-.5px;color:#1c1c1c}.recipePage .o-RatingsAndReviews .o-Capsule__m-Header{min-height:59px}.recipePage .o-RatingsAndReviews #communityReviews{position:relative;min-height:200px}.recipePage .o-RatingsAndReviews #communityReviews:before{content:"";display:block;width:100%;height:199.5px;position:absolute;left:0;top:0;background:#e0e0e0}.recipePage .o-RatingsAndReviews [data-module="gigya/comments"]{opacity:0;transition:opacity .5s .75s}.recipePage .o-RatingsAndReviews [data-module="gigya/comments"].comments-loaded{opacity:1}.recipePage .o-RatingsAndReviews .m-Comments{position:relative;z-index:1}.recipePage .o-RecipeInfo{position:relative;display:flex;justify-content:center;border-top:1px solid #eee;border-bottom:1px solid #eee}.recipePage .o-RecipeInfo__m-Level,.recipePage .o-RecipeInfo__m-Time,.recipePage .o-RecipeInfo__m-Yield{display:block;margin:0}.recipePage .o-RecipeInfo ul{width:100%;list-style:none;border-right:1px solid #eee}.recipePage .o-RecipeInfo ul:last-child{border:none}.recipePage .o-RecipeInfo ul:first-child:last-child{text-align:center}.recipePage .o-RecipeInfo ul li{margin-bottom:10px}.recipePage .o-RecipeInfo span{line-height:1}.recipePage .o-RecipeInfo__m-Level,.recipePage .o-RecipeInfo__m-Time{border-right:1px solid #eee}.recipePage .o-RecipeInfo__a-Description,.recipePage .o-RecipeInfo__a-Headline{display:inline}.recipePage .o-RecipeInfo__a-Headline{margin-right:5px}.recipePage .recipePrint .o-RecipeInfo__a-Description,.recipePage .recipePrint .o-RecipeInfo__a-Headline{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:16px}.recipePage .o-RecipeInfo{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:20px}.recipePage .o-RecipeInfo a:hover{text-decoration:none}.recipePage .o-RecipeInfo ul{border-color:#e0e0e0}.recipePage .o-RecipeInfo__a-Headline{margin-right:0;font-size:20px}.recipePage .o-RecipeInfo__a-Description{font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:18px}.recipePage .o-RecipeInfo__a-Note{display:inline-block;color:#4a4a4a;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:15px;white-space:normal}.recipePage .o-RecipeInfo__a-Note.o-RecipeInfo__a-Note--Total{line-height:1.35}.recipePage .o-RecipeInfo{margin-top:30px;margin-bottom:0;padding-top:0}.recipePage .o-RecipeInfo li a{color:#e20d32}.recipePage .o-RecipeInfo li a:hover{color:#1c1c1c}.recipePage .o-RecipeInfo__m-Level,.recipePage .o-RecipeInfo__m-Time,.recipePage .o-RecipeInfo__m-Yield{padding:20px 30px 5px}.recipePage .o-RecipeInfo__m-Time{border-right:1px solid #e0e0e0}.recipePage .o-RecipeInfo__a-Headline{font-size:18px;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif}.recipePage .o-RecipeInfo__a-NutritionInfo{font-size:18px}.recipePage .o-RecipeLead,.recipePage .o-RecipeLead__m-RecipeMedia{position:relative}.recipePage .o-RecipeLead{min-height:7px}.recipePage .o-RecipeLead__m-RecipeMedia{overflow:hidden;height:400px}.recipePage .o-RecipeLead{transition:height .3s ease-in;backface-visibility:hidden}.recipePage .o-RecipeLead.o-RecipeLead--VideoButtonBound .a-Button--Watch{background-color:#e20d32;color:#fff}.recipePage .o-RecipeLead.o-RecipeLead--VideoButtonBound .a-Button--Watch .a-Button__a-Icon--Watch{opacity:1;fill:#fff}.recipePage .o-RecipeLead.o-RecipeLead--VideoButtonBound .a-Button--Watch:after{opacity:0}.recipePage .o-RecipeLead.o-RecipeLead--VideoButtonBound .a-Button__a-ButtonText{padding-top:.5px}.recipePage .o-RecipeLead.o-RecipeLead--VideoButtonBound .a-Loader{opacity:0}.recipePage .o-RecipeLead.o-RecipeLead--VideoButtonBound .m-MediaBlock__m-MediaWrap{cursor:pointer}.recipePage .o-RecipeLead.o-RecipeLead--NoPhotoAndNoVideo.o-RecipeLead--HasAvatar{min-height:77px}.recipePage .o-RecipeLead.o-RecipeLead--NoAvatar{min-height:7px}.recipePage .o-RecipeLead.o-RecipeLead--NoAvatar .o-Attribution__m-TextWrap{padding-top:20px}.recipePage .o-RecipeLead.o-RecipeLead--VideoShowing .o-RecipeLead__m-RecipeMedia{position:absolute;top:0;left:0;right:0;opacity:0}.recipePage .o-RecipeLead.o-RecipeLead--VideoShowing.o-RecipeLead--FixedVideoActive .o-RecipeLead__m-RecipeMedia{opacity:.6;transition:none;visibility:visible!important}.recipePage .o-RecipeLead.o-RecipeLead--VideoShowing.o-RecipeLead--FixedVideoActive .o-RecipeLead__m-RecipeMedia .m-MediaBlock__a-Button--Watch{display:none}.recipePage .o-RecipeLead.o-RecipeLead--VideoShowing .o-VideoPlaylist{visibility:visible;position:relative;opacity:1}.recipePage .o-RecipeLead.o-RecipeLead--VideoAnimationComplete .o-RecipeLead__m-RecipeMedia{height:auto}.recipePage .o-RecipeLead.o-RecipeLead--VideoAnimationComplete .o-RecipeLead__m-RecipeMedia:before{content:"";display:block;position:relative;width:100%;padding-bottom:56.25%;height:0}.recipePage .o-RecipeLead.o-RecipeLead--VideoAnimationComplete .m-RecipeMedia__m-MediaBlock{position:absolute}.recipePage .o-RecipeLead.o-RecipeLead--VideoButtonBound .m-VideoPlayer__a-Container{width:100%;height:auto;padding-bottom:56.25%}.recipePage .o-RecipeLead__a-Sticker{position:absolute;top:0;left:0;z-index:1;pointer-events:none}.recipePage .o-RecipeLead .o-RecipeLead__m-RecipeMedia,.recipePage .o-RecipeLead .o-VideoPlaylist{transition:opacity .5s}.recipePage .o-RecipeLead .o-RecipeLead__m-RecipeMedia{opacity:1}.recipePage .o-RecipeLead .m-MediaBlock__m-MediaWrap:hover .a-Button--Watch{background-color:#cc0729}.recipePage .o-RecipeLead .m-CtaWrap{display:none!important}.recipePage .o-RecipeLead .m-MediaBlock__VideoButton{width:100%;padding:0;appearance:none;border:0;outline:0;cursor:pointer}.recipePage .o-RecipeLead .a-Button--Watch{background-color:#e20d32;color:#fff;text-indent:inherit;transition:background-color .3s,opacity .75s;margin-left:0}.recipePage .o-RecipeLead .a-Button--Watch .a-Button__a-Icon--Watch{opacity:0;transition:opacity .3s;fill:#fff}.recipePage .o-RecipeLead .a-Button--Watch:after{content:"";display:inline-block;position:absolute;top:50%;right:21px;transform:translateY(-50%);width:0;height:0;border-color:transparent transparent transparent #fff;border-style:solid;border-width:5px 0 5px 8.7px}.recipePage .o-RecipeLead .o-VideoPlaylist{width:100%;opacity:0;margin:0;position:absolute;visibility:hidden;left:0;top:0;z-index:5;padding:0 0 70px;background:transparent}.recipePage .o-RecipeLead .o-VideoPlaylist--Loaded .m-VideoPlayer__a-ContainerInner .customPlayButton,.recipePage .o-RecipeLead .o-VideoPlaylist--Loaded .m-VideoPlayer__a-ContainerInner img.preview{opacity:1}.recipePage .o-RecipeLead .m-VideoPlayer__a-ContainerInner .customPlayButton,.recipePage .o-RecipeLead .m-VideoPlayer__a-ContainerInner .pausedState,.recipePage .o-RecipeLead .m-VideoPlayer__a-ContainerInner img.preview{opacity:0}.recipePage .o-RecipeLead .o-VideoPlaylist__m-Footer{display:none!important}.recipePage .o-RecipeLead .o-VideoPlaylist__m-Body{display:block;width:100%}.recipePage .o-RecipeLead .o-VideoPlaylist__m-Body [data-affix-behavior-height-maintainer]{position:relative;width:100%;padding-bottom:56.25%;height:0}.recipePage .o-RecipeLead .o-VideoPlaylist__VideoContainer.affix{position:fixed;z-index:9998}.recipePage .o-RecipeLead .o-VideoPlaylist__VideoContainer:not(.affix) .o-VideoPlaylist__m-closeContainer{display:none}.recipePage .o-RecipeLead .o-VideoPlaylist__m-VideoPlayer{position:relative;width:100%}.recipePage .o-RecipeLead .o-VideoPlaylist__a-Button--Close{display:flex;align-items:center;width:26px;height:26px;padding:0;border-radius:50%;z-index:10;cursor:pointer;color:#fff;background:#1c1c1c;transition:background-color .2s;width:44px;height:44px;position:absolute;top:-20px;right:-24px}.recipePage .o-RecipeLead .o-VideoPlaylist__a-Button--Close:before{display:block;width:100%;font-style:normal;font-weight:400;line-height:1;text-transform:none;font-feature-settings:"liga";font-family:fn-icons;content:"\e903";font-size:16px;color:#fff;text-align:center}.recipePage .o-RecipeLead .o-VideoPlaylist__a-Button--Close.is-Hover,.recipePage .o-RecipeLead .o-VideoPlaylist__a-Button--Close:hover{color:#fff;background:#e20d32;background-image:none;text-decoration:none}.recipePage .o-RecipeLead .o-VideoPlaylist__a-Button--Close:before{font-size:25px}.recipePage .o-RecipeLead .container--wide{min-width:0}.recipePage .o-RecipeLead .m-VideoPlayer__a-ContainerInner .customPlayButton img{display:block}.recipePage .o-RecipeLead .m-VideoPlayer__a-ContainerInner .endframe .upnext a{text-decoration-color:#fff}.recipePage .o-RecipeLead .a-Loader{border-radius:50%;width:22px;height:22px;opacity:1;position:absolute;top:11px;right:15px;left:auto;margin:0;overflow:hidden;border:3px solid hsla(0,0%,88.2%,.2);border-left-color:#fff;transform:translateZ(0);animation:loadCircle 1.5s linear infinite;transition:opacity .3s}@keyframes loadCircle{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.recipePage .o-RecipeLead .a-DotLoader{pointer-events:none;opacity:0;background:rgba(0,0,0,.6);position:absolute;top:0;left:0;width:100%;height:100%;transition:opacity .3s}.recipePage .o-RecipeLead .a-DotLoader--Loading{display:block;opacity:1}.recipePage .o-RecipeLead .a-DotLoader--Complete{display:none}.recipePage .o-RecipeLead .a-DotLoader__Container{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.recipePage .o-RecipeLead .a-DotLoader__Label{color:#fff;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:18px;line-height:1.35;margin-bottom:20px}.recipePage .o-RecipeLead .a-DotLoader__CircleContainer{position:relative;width:40px;height:40px;margin:10px auto 0}.recipePage .o-RecipeLead .a-DotLoader__Circle{width:100%;height:100%;position:absolute;left:0;top:0}.recipePage .o-RecipeLead .a-DotLoader__Circle:before{content:"";background:#fff;display:block;margin:0 auto;width:15%;height:15%;border-radius:100%;animation:a-DotLoader__CircleFadeDelay 1.2s ease-in-out infinite both}.recipePage .o-RecipeLead .a-DotLoader__Circle--2{transform:rotate(30deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--3{transform:rotate(60deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--4{transform:rotate(90deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--5{transform:rotate(120deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--6{transform:rotate(150deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--7{transform:rotate(180deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--8{transform:rotate(210deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--9{transform:rotate(240deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--10{transform:rotate(270deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--11{transform:rotate(300deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--12{transform:rotate(330deg)}.recipePage .o-RecipeLead .a-DotLoader__Circle--2:before{animation-delay:-1.1s}.recipePage .o-RecipeLead .a-DotLoader__Circle--3:before{animation-delay:-1s}.recipePage .o-RecipeLead .a-DotLoader__Circle--4:before{animation-delay:-.9s}.recipePage .o-RecipeLead .a-DotLoader__Circle--5:before{animation-delay:-.8s}.recipePage .o-RecipeLead .a-DotLoader__Circle--6:before{animation-delay:-.7s}.recipePage .o-RecipeLead .a-DotLoader__Circle--7:before{animation-delay:-.6s}.recipePage .o-RecipeLead .a-DotLoader__Circle--8:before{animation-delay:-.5s}.recipePage .o-RecipeLead .a-DotLoader__Circle--9:before{animation-delay:-.4s}.recipePage .o-RecipeLead .a-DotLoader__Circle--10:before{animation-delay:-.3s}.recipePage .o-RecipeLead .a-DotLoader__Circle--11:before{animation-delay:-.2s}.recipePage .o-RecipeLead .a-DotLoader__Circle--12:before{animation-delay:-.1s}@keyframes a-DotLoader__CircleFadeDelay{0%,39%,to{opacity:0}40%{opacity:1}}.recipePage .o-RecipeLead__a-Logo{object-fit:cover;width:80px;height:auto;max-height:32px;margin-left:3px}.recipePage .o-RecipeLead__a-PremiumStrip{width:100%;height:10px;background-image:linear-gradient(90deg,#cfe7f9 0,#87ccff 127%);position:relative;margin-top:5px}.recipePage .o-RecipeLead__a-PremiumStrip:after{content:"premium";font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:12px;text-transform:uppercase;letter-spacing:.14em;line-height:1.29;right:0;bottom:calc(100% + 5px);position:absolute;color:#89caf7}.recipePage .o-RecipeLead.o-RecipeLead--FixedVideoActive .o-VideoPlaylist__VideoDragContainer.is-dragging .o-VideoPlaylist__VideoDragHandle,.recipePage .o-RecipeLead.o-RecipeLead--FixedVideoActive .o-VideoPlaylist__VideoDragContainer.o-VideoPlaylist__VideoDragContainer--Tablet .o-VideoPlaylist__VideoDragHandle,.recipePage .o-RecipeLead.o-RecipeLead--FixedVideoActive .o-VideoPlaylist__VideoDragContainer:hover .o-VideoPlaylist__VideoDragHandle{transform:translateX(-44px) translateY(-50%);transition:background-color .3s,transform .3s 0s}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .o-VideoPlaylist{padding-bottom:100px}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .o-VideoPlaylist__m-Playlist{width:100%;position:relative;overflow:visible}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .o-VideoPlaylist__m-Playlist .m-MediaBlock__a-Headline .m-MediaBlock__a-AssetInfo{display:none}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .o-VideoPlaylist__m-Carousel{position:relative;overflow:visible}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .o-VideoPlaylist__m-Carousel .m-MediaBlock__m-MediaWrap:hover+.m-MediaBlock__m-TextWrap a span{color:#e20d32}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .o-VideoPlaylist__m-CarouselContainer{height:230px;overflow-x:hidden;overflow-y:scroll;padding:0 12px 35px;display:flex;flex-wrap:wrap;position:relative;border-bottom:1px solid #e0e0e0}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .o-VideoPlaylist__m-Slide{display:block;width:calc(25% - 9.1px);margin:0 6px}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .o-VideoPlaylist__m-Slide:nth-child(4n+1){margin-left:0}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .o-VideoPlaylist__m-Slide:nth-child(4n+4){margin-right:0}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .m-Slide__m-MediaBlock{border-top:0;padding-top:10px;margin:10px 0 0;margin-bottom:0!important}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .m-MediaBlock__a-Headline{font-size:18px;line-height:1.1}@media only screen and (min-width:1250px){.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .m-MediaBlock__a-Headline{font-size:20px}}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .m-MediaBlock__m-TextWrap,.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .o-VideoPlaylist .m-MediaBlock__m-MediaWrap{padding:0 0 5px}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .m-MediaBlock__a-Label{white-space:nowrap}.recipePage .o-RecipeLead.o-RecipeLead--HasPlaylist .m-MediaBlock__a-AssetInfo{right:0;bottom:5px}.recipePage .o-RecipeLead.o-RecipeLead--HasShortPlaylist .o-VideoPlaylist__m-Carousel,.recipePage .o-RecipeLead.o-RecipeLead--HasShortPlaylist .o-VideoPlaylist__m-CarouselContainer,.recipePage .o-RecipeLead.o-RecipeLead--HasShortPlaylist .o-VideoPlaylist__m-Playlist{overflow:visible}.recipePage .o-RecipeLead.o-RecipeLead--HasShortPlaylist .o-VideoPlaylist__m-CarouselContainer{height:190px;padding-bottom:5px}.recipePage .o-RecipeLead__a-Sticker{width:30%}.recipePage .o-RecipeLead__a-Sticker img{width:100%}.recipePage .o-RecipeLead .m-MediaBlock__VideoButton{background:#e0e0e0}.recipePage .o-RecipeLead .m-VideoPlayer__a-Container{width:854px;height:480px;padding-bottom:0}.recipePage .o-RecipeLead .o-VideoPlaylist__VideoDragContainer:before{content:"";position:absolute;width:70px;height:73px;top:-27px;left:-31px}.recipePage .o-RecipeLead .o-VideoPlaylist__VideoDragHandle{position:absolute;appearance:none;border:0;outline:0;left:-24px;left:0;top:50%;transform:translateX(0) translateY(-50%);width:44px;height:44px;border-top-left-radius:50%;border-bottom-left-radius:50%;transition:background-color .3s,transform .3s .5s;background-color:#aaa;cursor:pointer}.recipePage .o-RecipeLead .o-VideoPlaylist__VideoDragHandle:hover{background-color:#525657}.recipePage .o-RecipeLead .a-Icon--drag{width:25px;height:25px;position:absolute;top:50%;left:55%;transform:translate(-50%,-50%)}.recipePage .o-RecipeLead .o-VideoPlaylist__VideoContainer.affix{top:auto;right:6%;bottom:7%;width:30%;min-width:375px;max-width:450px}.recipePage .o-RecipeLead__a-Logo{width:115px}.recipePage .o-RecipeLead__a-PremiumStrip{height:11px}.recipePage .o-RecipeLead__a-PremiumStrip:after{font-size:16px}.recipePage .o-Recommendations{position:relative}.recipePage .o-Recommendations .l-Columns--4up{max-width:none}.recipePage .o-Recommendations .m-MediaBlock__m-MediaWrap a{height:0;background:#e0e0e0;padding-bottom:75%}.recipePage .o-Recommendations .m-MediaBlock__m-TextWrap{padding:0 10px 10px}.recipePage .o-Recommendations .m-MediaBlock__a-Headline span.m-MediaBlock__a-AssetInfo{width:auto;margin-left:0;white-space:normal}.recipePage .o-Recommendations{margin:30px 0 18px}.recipePage .o-Recommendations__m-Header{margin-bottom:20px}.recipePage .o-Recommendations .l-Columns--4up{display:flex;flex-wrap:wrap}.recipePage .o-Recommendations .l-Columns--4up .m-MediaBlock{display:flex;flex-flow:column nowrap;width:calc(25% - 9.1px);margin-bottom:12px}.recipePage .o-Recommendations .l-Columns--4up .m-MediaBlock:nth-child(2n+2),.recipePage .o-Recommendations .l-Columns--4up .m-MediaBlock:nth-child(odd){margin-left:6px;margin-right:6px}.recipePage .o-Recommendations .l-Columns--4up .m-MediaBlock:nth-child(4n+1){margin-left:0}.recipePage .o-Recommendations .l-Columns--4up .m-MediaBlock:nth-child(4n+4){margin-right:0}.recipePage .o-Recommendations .m-Tabs{margin-bottom:16px}.recipePage .o-Recommendations .a-Tab{margin-bottom:10px}.recipePage .o-Recommendations__a-Headline{font-family:Georgia,Times New Roman,Times,serif;font-size:28px;line-height:1.35;font-weight:700;letter-spacing:-.5px;color:#1c1c1c;font-size:38px}.recipePage .o-Recommendations .a-Tab{position:relative;display:inline-block;outline:none;user-select:none;cursor:pointer;text-align:center;background:#efefef;color:#111;padding:15px 18px 10px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;border-radius:45px;line-height:1;text-transform:none;transition:background-color .2s,border-color .2s;color:#fff;border:2px solid #5ac0b8;background-color:#5ac0b8;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.01),rgba(0,0,0,.01) 100%,rgba(0,0,0,.01) 0);white-space:nowrap}.recipePage .o-Recommendations .a-Tab:hover{text-decoration:none}.Win32 .recipePage .o-Recommendations .a-Tab,.Win64 .recipePage .o-Recommendations .a-Tab{padding:10px 20px 12px}.recipePage .o-Recommendations .a-Tab.is-Disabled{pointer-events:none;background:#e3e6e6}.recipePage .o-Recommendations .a-Tab.is-Hover,.recipePage .o-Recommendations .a-Tab:hover{color:#fff;border-color:#7fcec8;background:#7fcec8;background-image:none}.recipePage .o-Recommendations .a-Tab--Active{color:#5ac0b8;background:none;pointer-events:none}.recipePage .o-Recommendations .a-Tab--Active.is-Hover,.recipePage .o-Recommendations .a-Tab--Active:hover{color:#5ac0b8;background:none}.recipePage .o-Recommendations .a-Tab:not(:last-of-type){margin-right:12px}.recipePage .o-Recommendations__m-MediaBlock{background:#fff;position:relative;transition:opacity .3s}.recipePage .o-Recommendations .m-MediaBlock{padding-top:0}.recipePage .o-Recommendations .m-MediaBlock__m-MediaWrap:hover+.m-MediaBlock__m-TextWrap .m-MediaBlock__a-Headline a{color:#e20d32}.recipePage .o-Recommendations .m-MediaBlock__a-Headline{margin-bottom:0;display:inline-block;font-size:16px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;font-weight:400}.recipePage .o-Recommendations .m-MediaBlock__a-Headline a:hover{text-decoration:none;color:#e20d32}.recipePage .o-Recommendations .m-MediaBlock__a-Headline a:hover .m-MediaBlock__a-HeadlineText{text-decoration:none}.recipePage .o-Recommendations .m-MediaBlock__a-Headline span.m-MediaBlock__a-AssetInfo{position:relative;top:1px}.recipePage .o-Recommendations .m-RatingStars{margin:auto 0 0;padding:10px 0 10px 10px}.recipePage .o-Recommendations .m-Rating{margin:0}.recipePage .o-Recommendations .m-Rating .gig-rating-star{width:18px;height:18px;margin-right:0}.recipePage .o-Recommendations .m-Rating .gig-rating-star-empty:after,.recipePage .o-Recommendations .m-Rating .gig-rating-star-full:after,.recipePage .o-Recommendations .m-Rating .gig-rating-star-half:after{font-size:18px}.recipePage .o-Recommendations .m-Rating .gig-rating-ratingsum{font-size:12px;color:#4a4a4a;transition:color .2s}.recipePage .o-Recommendations .m-Rating .m-Rating__a-StarsLink:hover .gig-rating-ratingsum{color:#e20d32}.recipePage .o-Recommendations .o-Recommendations__TileMessage{width:100%;height:160px;background:#fff;text-align:center;position:relative}.recipePage .o-Recommendations .o-Recommendations__TileMessageContainer{display:inline-block;width:80%;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:16px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;font-weight:400;line-height:1.2}@media only screen and (min-width:768px){.recipePage .o-Recommendations__a-Headline{font-size:42px;font-family:Georgia,Times New Roman,Times,serif;line-height:1.35;font-weight:700;letter-spacing:-.5px;color:#1c1c1c}}.recipePage .o-Recommendations .a-Tab{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:18px}@media only screen and (min-width:1024px){.recipePage .o-Recommendations .a-Tab{padding:13px 18px 6px;font-size:20px}}.recipePage .o-Recommendations .o-Recommendations__TileMessage{margin-bottom:40px}.recipePage .o-Recommendations .o-Recommendations__TileMessageNewLine{display:block}.recipePage .o-Recommendations .m-MediaBlock__a-HeadlineText{line-height:19px}.recipePage .o-RelatedClasses .o-Capsule__a-HeadlineText{font-size:40px;line-height:1.2}.recipePage .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock{display:flex;flex-direction:column}.recipePage .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-MediaWrap{margin-bottom:0}.recipePage .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-TextWrap{background-color:#fff;position:relative}.recipePage .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-TextWrap .class-instructor{font-family:Franklin Gothic URW Cond Book,Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;color:#000}.recipePage .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-TextWrap .premium-indicator{position:absolute;bottom:0;left:0;width:100%;height:10px;background:linear-gradient(90deg,#cfe7f9 0,#87ccff 127%);cursor:pointer}.recipePage .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-HeadlineText{font-size:16px;line-height:1;letter-spacing:-.25px}.recipePage .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-AssetInfo{display:flex;flex-direction:column;justify-content:left;position:absolute;bottom:15px;width:85%;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:12px;color:#a5a5a5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.17}.recipePage .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-AssetInfo .class-info span{display:inline-block}.recipePage .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-AssetInfo .class-info>:not(:first-child):before{display:inline-block;content:"•";margin:0 4px 0 1px}.recipePage .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-AssetInfo .class-info .class-rating .a-Icon--rating{width:20px;height:20px;fill:#a5a5a5;margin-bottom:-3px}.recipePage .o-RelatedClasses .m-MediaBlock__m-MediaWrap .premium-locked{display:none;justify-content:center;align-items:center;opacity:1;position:absolute;top:0;right:0;width:102px;height:32px;object-fit:contain;border-bottom-left-radius:4.7px;background-color:#89caf7;cursor:pointer}.recipePage .o-RelatedClasses .m-MediaBlock__m-MediaWrap .premium-locked .a-Icon--lock{width:12px;height:16px}.recipePage .o-RelatedClasses .m-MediaBlock__m-MediaWrap .premium-label{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:11px;font-weight:700;color:#fff;margin:11px 0 5px 8px;letter-spacing:2.43px;line-height:.82}.recipePage .o-RelatedClasses .m-MediaBlock__m-MediaWrap .premium-indicator{position:absolute;bottom:0;width:100%;height:10px;background:linear-gradient(90deg,#cfe7f9 0,#87ccff 127%);cursor:pointer}.recipePage .recipe-body .o-RelatedClasses,.recipePage [data-module=recipe-body] .o-RelatedClasses{margin:20px;border-radius:4.9px;box-shadow:0 0 5px 0 rgba(0,0,0,.06);background-color:#fff;overflow:hidden}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock{display:flex;flex-direction:row}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__m-MediaWrap,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__m-MediaWrap{position:relative;margin-right:18px}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__m-MediaWrap a,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__m-MediaWrap a{width:127px;min-height:95px;overflow:hidden;border-top-left-radius:3px;border-bottom-left-radius:3px}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__m-MediaWrap a:after,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__m-MediaWrap a:after{display:block;content:"";background-image:linear-gradient(90deg,#cfe7f9 0,#87ccff 127%)}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__m-MediaWrap .premium-locked,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__m-MediaWrap .premium-locked{width:33px}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__m-MediaWrap .premium-locked .a-Icon--lock,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__m-MediaWrap .premium-locked .a-Icon--lock{width:11px;height:14px}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__m-MediaWrap .premium-indicator,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__m-MediaWrap .premium-indicator{height:8px;border-bottom-left-radius:3px}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__a-Image,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__a-Image{border-top-left-radius:3px;border-bottom-left-radius:3px}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__m-TextWrap,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__m-TextWrap{display:flex;flex-direction:column;justify-content:center;padding-right:10px}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__a-AssetInfo,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__a-AssetInfo{display:none}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__a-Headline,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__a-Headline{margin-bottom:0}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__a-HeadlineText,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__a-HeadlineText{font-family:FranklinGothicURW-Med,Helvetica,Arial,sans-serif;font-size:14px;color:#1c1c1c}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__a-Cta,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__a-Cta{display:block;font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:13px;color:#ff5b7c;margin-top:7px}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__Footer,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__Footer{display:none}.recipePage .recipe-body .o-RelatedClasses .m-MediaBlock__Footer .a-Cta,.recipePage [data-module=recipe-body] .o-RelatedClasses .m-MediaBlock__Footer .a-Cta{font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:13px;color:#ff5b7c}.recipePage .recipe-body .o-RelatedClasses.classesWithRecipe .o-Capsule__m-Header,.recipePage [data-module=recipe-body] .o-RelatedClasses.classesWithRecipe .o-Capsule__m-Header{display:none}.recipePage .recipe-body .o-RelatedClasses.classesWithRecipe .m-MediaBlock,.recipePage [data-module=recipe-body] .o-RelatedClasses.classesWithRecipe .m-MediaBlock{width:100%}.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up{display:flex;flex-direction:row}.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up>:nth-child(4n+1){margin:0 5.5px 0 0}.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up>:nth-child(4n+2){margin:0 5.5px}.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up>:nth-child(4n+3){margin:0 5.5px}.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up>:nth-child(4n+4){margin:0 0 0 5.5px}.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up .m-MediaBlock__m-MediaWrap a{cursor:pointer;height:0;background:#e0e0e0;padding-bottom:75%}.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up .m-MediaBlock__m-MediaWrap a:hover{color:#e6003d}.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up .m-MediaBlock__m-TextWrap{min-height:122px;padding:10.5px 9px 23px 14px}.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up .m-MediaBlock__m-TextWrap a{cursor:pointer}.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up .m-MediaBlock__m-TextWrap a:hover{color:#e6003d}@media only screen and (max-width:1055px){.recipePage .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--4up .m-MediaBlock__a-AssetInfo{font-size:10px}}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Header{padding:0 0 0 20px}.recipePage .rightRail .o-RelatedClasses .o-Capsule__a-HeadlineText{font-size:30px;line-height:1.2}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--2up{display:flex;flex-direction:column}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .l-Columns.l-Columns--2up>:nth-child(2n+2){margin:0}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock{display:table;width:100%;margin-right:0;padding:15px 0 0 20px;border-top:1px solid #e0e0e0}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock:first-child{padding-top:0;border:none}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-MediaWrap{display:block;margin-right:14px;padding-right:0;overflow:hidden}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-MediaWrap a{cursor:pointer;height:0;background:#e0e0e0;padding-bottom:75%}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-MediaWrap a img{padding-bottom:75%}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-TextWrap{display:table-cell;background-color:transparent}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-TextWrap a{cursor:pointer}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-TextWrap a:hover{color:#e6003d}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-TextWrap .class-instructor{font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:16px;color:#000;letter-spacing:-.23px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-HeadlineText{font-size:20px;margin-top:3px;line-height:1;letter-spacing:-.25px}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-AssetInfo{bottom:0;color:#6e6e6e;font-size:13px;letter-spacing:-.2px}@media only screen and (max-device-width:1055px){.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-AssetInfo__a-AssetInfo{font-size:12px}}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock .premium-locked{width:33px}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock .premium-locked .a-Icon--lock{width:11px;height:14px}@media (max-device-width:1366px){.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-TextWrap .class-instructor{font-size:16px}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-HeadlineText{font-size:18px}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-AssetInfo{font-size:12px}}@media (min-width:1366px){.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__m-TextWrap .class-instructor{font-size:18px}.recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-AssetInfo{font-size:16px}}@supports (-ms-ime-align:auto){.Win32 .recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-Headline,.Win64 .recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-Headline{margin-bottom:0}.Win32 .recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-AssetInfo,.Win64 .recipePage .rightRail .o-RelatedClasses .o-Capsule__m-Body .m-MediaBlock__a-AssetInfo{position:relative}}.recipePage .recipe-body .o-RelatedClasses{width:313px}.recipePage .o-RelatedContent{width:100%;display:flex;justify-content:center;display:block;float:right;width:calc(50% - 25px);margin-left:25px;margin:0;padding:20px;border-bottom:1px solid #e0e0e0}.recipePage .o-RelatedContent a .m-MediaBlock__a-HeadlineText{color:#e20d32}.recipePage .o-RelatedContent a:hover .m-MediaBlock__a-HeadlineText{color:#1c1c1c}.recipePage .o-RelatedContent .m-MediaBlock{border-top:none}.recipePage .o-RelatedContent .m-MediaBlock:last-child{margin-bottom:0!important}.recipePage .o-RelatedContent .m-MediaBlock__a-AssetInfo .a-Icon--gallery{position:absolute;bottom:1px;margin-left:0;width:22px;height:22px}.recipePage .o-RelatedContent .m-MediaBlock__a-AssetInfo .a-Icon--video,.recipePage .o-RelatedContent .m-MediaBlock__a-AssetInfo .a-Icon--watch{position:absolute;bottom:3px;margin-left:0;width:16px;height:16px}.recipePage .o-ReviewSummary .m-Rating{display:block;width:max-content}.recipePage .o-ReviewSummary .m-Rating__a-StarsLink{display:flex;flex-direction:row;align-items:center}.recipePage .o-ReviewSummary .m-Rating .gig-rating-stars{display:block;width:unset;margin-right:5px;font-size:0;top:0}.recipePage .o-ReviewSummary .m-Rating .gig-rating-star{display:inline-block;margin-right:5px}.recipePage .o-ReviewSummary .m-Rating .gig-rating-ratingsum{top:0}.recipePage .o-ReviewSummary{float:none;max-width:none;vertical-align:bottom;display:flex;justify-content:center}.recipePage .o-ReviewSummary .gig-rating-ratingsum{font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.35;color:#4a4a4a}.recipePage .o-ReviewSummary .m-Rating{margin:0}.Win32 .recipePage .o-SocialShare,.Win64 .recipePage .o-SocialShare{margin-bottom:0}.recipePage .o-SocialShare__m-ShareButton{width:44px;height:44px;min-width:44px;min-height:44px;fill:#fff;background-color:#525657;border-radius:50%;padding:7px;display:flex;justify-content:center;align-items:center}.recipePage .o-SocialShare__m-ShareButton .a-Icon{width:25px;height:25px}.recipePage .o-SocialShare__m-ShareButton:hover{background:#6b7071}.recipePage .o-SocialShare__m-ShareButton--pinterest{background-color:#d0021b}.recipePage .o-SocialShare__m-ShareButton--pinterest:hover{background:#fd0826}.recipePage .o-SocialShare__m-ShareButton--facebook{background-color:#39599f}.recipePage .o-SocialShare__m-ShareButton--facebook:hover{background:#4c70bf}.recipePage .o-SocialShare__m-ShareButton--facebookMessenger{background-color:#2b87fc}.recipePage .o-SocialShare__m-ShareButton--facebookMessenger:hover{background:#5da3fd}.Win32 .recipePage .o-SocialShare__m-ShareButton--facebookMessenger,.Win64 .recipePage .o-SocialShare__m-ShareButton--facebookMessenger{margin-top:0}.recipePage .o-SocialShare__m-ShareButton--twitter{background-color:#1da1f2}.recipePage .o-SocialShare__m-ShareButton--twitter:hover{background:#4db5f5}.recipePage .o-SocialShare__m-ShareButton--print{margin-left:6px;margin-top:2px}.Win32 .recipePage .o-SocialShare__m-ShareButton--print,.Win64 .recipePage .o-SocialShare__m-ShareButton--print{margin-top:0}.recipePage .o-SocialShare__a-Title{display:inline-block;position:relative;top:1px;margin-right:15px;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:16px;color:#ababab}.recipePage .o-SocialShare .m-SocialIcons{display:flex}.recipePage .o-SocialShare .m-SocialIcons li:not(:first-of-type){margin-left:6px}.recipePage .o-SpecialEquipment{margin:0;margin:0 0 20px;padding:0 20px 20px;font-family:FranklinGothicURW-Boo,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5;border-bottom:1px solid #e0e0e0}.recipePage .o-SpecialEquipment__a-Headline{display:inline-block;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:18px}.recipePage .o-Tags{margin:0}.recipePage .o-Tags .o-Capsule__m-Body{padding:20px 20px 13px}.recipePage .o-Tags{width:calc(50% - 25px);display:block;clear:right;float:right}.recipePage .o-Tags .o-Capsule__m-Body{margin-bottom:0}.recipePage .o-Tags{background-color:transparent}.recipePage .o-Tags .o-Capsule__m-Body{border-bottom:1px solid #e0e0e0}.recipePage .o-Tags .o-Capsule__a-Subheadline{font-size:16px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;line-height:1;color:#1c1c1c;font-weight:400;display:inline}.recipePage .o-Tags .o-Capsule__m-TagList{display:inline}.recipePage .o-Tags .o-Capsule__a-Tag{display:inline-block;float:left;margin:0 7px 7px 0;padding:7px 9px 1px;border-radius:20px;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif;font-size:15px;color:#525657;background-color:#e3e6e6}.recipePage .o-Tags .o-Capsule__a-Tag:hover{color:#525657;background:#ebeded;text-decoration:none}.Win32 .recipePage .o-Tags .o-Capsule__a-Tag,.Win64 .recipePage .o-Tags .o-Capsule__a-Tag{padding:4px 9px}.recipePage .o-VideoPromo{width:100%;display:flex;justify-content:center}.recipePage .o-VideoPromo .m-MediaBlock__m-MediaWrap a{height:0;background:#e0e0e0;padding-bottom:75%}.recipePage .o-VideoPromo .m-MediaBlock__m-MediaWrap .a-Button--Watch{background:rgba(0,0,0,.5);padding-bottom:0;margin-left:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.recipePage .o-VideoPromo{display:block;width:calc(50% - 25px);float:right}.recipePage .o-VideoPromo .m-MediaBlock__m-MediaWrap{display:block;margin-right:14px;padding-right:0}.recipePage .recipe-body .o-VideoPromo{width:auto;float:none;margin-bottom:20px;padding:11px 20px 20px}.recipePage .recipe-body .o-VideoPromo .m-MediaBlock{max-width:400px}.recipePage .o-VideoPromo{margin:0;padding:20px;border-bottom:1px solid #e0e0e0;background-color:transparent;clear:right}.recipePage .o-VideoPromo--HideAll,.recipePage .o-VideoPromo--HideImage .m-MediaBlock__m-MediaWrap{display:none}.recipePage .o-VideoPromo .m-MediaBlock{margin:0}.recipePage .o-VideoPromo .m-MediaBlock__m-MediaWrap .a-Button--Watch{background-color:rgba(0,0,0,.5);font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-weight:700;font-size:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#fff;line-height:1;text-transform:uppercase;padding:0;height:30px;width:30px;font-size:18px;border-radius:100%}.recipePage .o-VideoPromo .m-MediaBlock__m-MediaWrap .a-Button--Watch .a-Button__a-Icon{font-weight:700;fill:#fff}.recipePage .o-VideoPromo .m-MediaBlock__m-MediaWrap .a-Button--Watch .a-Button__a-ButtonText{display:none}.recipePage .o-VideoPromo .m-MediaBlock__m-MediaWrap .a-Button--Watch .a-Button__a-Icon{margin:0;height:30px;width:30px}.recipePage .o-VideoPromo .m-MediaBlock__a-Cta,.recipePage .o-VideoPromo .m-MediaBlock__a-Source--Name a{color:#e6003d}.recipePage .o-Warnings{padding:0;margin:0;background-color:transparent}.recipePage .o-Warnings__a-Description{font-size:18px;font-family:Georgia,Times New Roman,Times,serif;line-height:1.35;font-style:italic;color:#1c1c1c;font-size:14px}.recipePage .o-AsyncVideoEmbedLoader{margin-top:40px;position:relative;background:#fff}.recipePage .o-AsyncVideoEmbedLoader:before{content:"";display:block;background:#e0e0e0;height:0;padding-bottom:56.25%}.recipePage .o-AsyncVideoEmbedLoader:after{content:"";display:block;height:369px}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed{position:absolute;top:0;left:0;right:0}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .m-MediaBlock__a-Label{bottom:auto!important}.recipePage .o-AsyncVideoEmbedLoader .m-VideoPlayer{position:relative;overflow:hidden;padding-bottom:56.25%;height:0}.recipePage .o-AsyncVideoEmbedLoader .m-VideoPlayer__a-Container{width:616px;height:347px;position:absolute;left:0;top:0;padding-bottom:0;opacity:0;transition:opacity .5s 1.5s}@media only screen and (min-width:700px){.recipePage .o-AsyncVideoEmbedLoader .m-VideoPlayer__a-Container{width:854px;height:480px}}.recipePage .o-AsyncVideoEmbedLoader .m-VideoPlayer{background-color:#e0e0e0}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed__m-Footer,.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed__m-VideoMeta{opacity:0;transition:opacity .3s}.recipePage .o-AsyncVideoEmbedLoader [id*=".standby"]{width:100%!important;height:100%!important;background:#e0e0e0}.recipePage .o-AsyncVideoEmbedLoader--Loaded .o-VideoPlaylistEmbed{position:static;top:auto;left:auto;right:auto}.recipePage .o-AsyncVideoEmbedLoader--Loaded .m-VideoPlayer{overflow:visible;padding-bottom:0;height:auto}.recipePage .o-AsyncVideoEmbedLoader--Loaded .m-VideoPlayer__a-Container{width:100%;height:auto;position:relative;padding-bottom:56.25%;opacity:1}.recipePage .o-AsyncVideoEmbedLoader--Loaded .o-VideoPlaylistEmbed__m-Footer,.recipePage .o-AsyncVideoEmbedLoader--Loaded .o-VideoPlaylistEmbed__m-VideoMeta{opacity:1}.recipePage .o-AsyncVideoEmbedLoader--Loaded [id*=".standby"]{background:unset}.recipePage .o-AsyncVideoEmbedLoader--Loaded:after,.recipePage .o-AsyncVideoEmbedLoader--Loaded:before{content:none}.recipePage .o-AsyncVideoEmbedLoader--Failed{margin-bottom:0;box-shadow:none}.recipePage .o-AsyncVideoEmbedLoader--Failed:after,.recipePage .o-AsyncVideoEmbedLoader--Failed:before{content:none}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed__m-Body,.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed__m-Footer{background-color:transparent}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .m-VideoMeta .m-VideoPlayer__a-Button{background:red;color:#fff;border:none;display:inline-block;padding:12px 16px 6px;text-align:center;cursor:pointer;white-space:nowrap;outline:none;-moz-appearance:none;-webkit-appearance:none;vertical-align:top;border-radius:3px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.1));font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif;font-size:15px;text-transform:uppercase}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .m-VideoMeta .m-VideoPlayer__a-Button:hover{color:#fff;text-decoration:none;background-image:linear-gradient(-180deg,hsla(0,0%,100%,.1),rgba(0,0,0,.2))}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .a-Label{background-color:#000;left:50%;transform:translateX(-50%)}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .m-Carousel{border-top:none}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .m-MediaBlock__a-HeadlineText{margin-right:5px}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .owl-stage-outer{overflow:visible}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .owl-item,.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .owl-stage{width:100%!important}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .owl-carousel .owl-stage .m-MediaBlock{display:block;width:calc(33% - 9.1px);margin:0 6px;padding:10px 0 5px}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .owl-carousel .owl-stage .m-MediaBlock:first-child{margin-left:0}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .owl-carousel .owl-stage .m-MediaBlock:last-child{margin-right:0}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .owl-carousel .owl-stage .m-MediaBlock__a-Headline{position:relative}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .owl-carousel .owl-stage .m-MediaBlock__m-TextWrap{padding:0 0 5px}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .owl-carousel .owl-stage .m-MediaBlock__a-Label{white-space:nowrap;position:absolute;top:-7px;left:50%;transform:translateX(-50%);color:#fff;background:#1c1c1c;font-size:14px;padding:6px 7px 0;text-transform:uppercase;letter-spacing:.02em;font-family:Franklin Gothic URW Cond Medium,Helvetica,Arial,sans-serif}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .owl-carousel .owl-stage .m-MediaBlock__a-AssetInfo{display:block;position:absolute;color:#fff;font-size:14px;background-color:rgba(0,0,0,.65);padding:8px 7px 2px;white-space:nowrap;width:auto;right:0;bottom:calc(100% + 7px)}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .o-VideoPlaylistEmbed__m-Carousel{position:relative;overflow:visible}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .o-VideoPlaylistEmbed__m-Carousel .m-MediaBlock__m-MediaWrap:hover+.m-MediaBlock__m-TextWrap a span{color:#e20d32}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .o-VideoPlaylistEmbed__m-Carousel:after{position:absolute;left:0;bottom:-22px;width:calc(100% - 14px);pointer-events:none}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .o-VideoPlaylistEmbed__m-CarouselContainer{height:230px;overflow-x:hidden;overflow-y:scroll;padding:0 12px 35px;display:flex;flex-wrap:wrap;position:relative}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .o-VideoPlaylistEmbed__m-Slide{display:block;width:calc(25% - 9.1px);margin:0 6px}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .o-VideoPlaylistEmbed__m-Slide:nth-child(4n+1){margin-left:0}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .o-VideoPlaylistEmbed__m-Slide:nth-child(4n+4){margin-right:0}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .m-Slide__m-MediaBlock{border-top:0;padding-top:10px;margin:10px 0 0;margin-bottom:0!important}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .m-MediaBlock__a-Headline{font-size:18px;line-height:1.1}@media only screen and (min-width:1250px){.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .m-MediaBlock__a-Headline{font-size:20px}}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .o-VideoPlaylistEmbed__m-CustomPagination{display:none}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .playerOverlay .customPlayButton:after{display:none}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .playerOverlay .customPlayButton:before{display:none}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .playerOverlay .customPlayButton:hover .a-Button--NewWatchBtn{background-color:#cc0729}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .playerOverlay .customPlayButton.a-Button--OldWatchBtn:after{display:none}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .playerOverlay .customPlayButton .a-Button--NewWatchBtn{background-color:#e20d32;color:#fff;display:flex;align-items:center;justify-content:center;width:120px;height:43px;margin:0 auto;font-family:Helvetica,Arial,sans-serif;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1;text-transform:uppercase;padding:11px 15px;font-size:18px;letter-spacing:-.03em;border-radius:3px;transition:background-color .3s}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .playerOverlay .customPlayButton .a-Button--NewWatchBtn .a-Button__a-ButtonText{font-family:FranklinGothicURW-Dem,Helvetica,Arial,sans-serif}.recipePage .o-AsyncVideoEmbedLoader .o-VideoPlaylistEmbed .playerOverlay .customPlayButton .a-Button--NewWatchBtn svg{fill:#fff;margin-left:6px;width:21.2px}.recipePage .o-AsyncVideoEmbedLoader .m-VideoPlayer__a-Ad{background-color:#fff}.recipePage .o-AsyncVideoEmbedLoader .m-VideoPlayer__m-TextWrap{background-color:#fff;color:#000;border-top:none}.recipePage .o-HeaderFresh__m-RecipeBoxMenu{width:86px}.recipePage .m-SearchFresh{display:block;width:230px}.recipePage .container-site{width:auto;min-width:994px;max-width:1280px;padding:0 15px}.recipePage .container-site .container-aside{padding-left:0}.recipePage .container-site .o-AssetNavigation.affix{width:calc(66.5% - 14px);min-width:665px;max-width:835px;margin:0 -1px}.recipePage .container-site .recipe-body{clear:both;display:flex;flex-direction:row;padding-top:20px;background:transparent;border-bottom:1px solid #e0e0e0}.recipePage .container-site .recipe-body .bodyLeft{flex:0 1 100%;margin-right:25px}.recipePage .container-site .recipe-body .bodyRight{flex:0 1 100%;margin-left:25px}.recipePage .container-site .recipe-body .bodyRight-footer{margin:0;padding:20px;border-top:1px solid #e0e0e0}.recipePage .container-site .recipe-body-footer{background:transparent;margin-bottom:40px}.recipePage .container-site .recipe-body-footer:after{display:table;clear:both;content:""}.recipePage .container-site .row{display:flex;justify-content:space-between}.recipePage .container-site .row .sticky-rr{position:sticky;top:15px;clear:both}.recipePage .container-site .col-md-18{width:66.5%}.recipePage .container-site .col-md-10{width:30.28%;min-width:300px;margin-left:0;float:right}.recipePage .o-HeaderFresh__m-PromoWrap .m-ScheduleDropdown{display:block;min-width:134px}.rightRail .o-Capsule{margin:unset;padding:unset;background:none;box-shadow:none}.o-FooterFresh{margin:20px 0 0}.recipePage .variant--TitleAboveImage .o-Attribution,.recipePage .variant--TitleAboveImage .o-ReviewSummary{opacity:0}.recipePage .variant--TitleAboveImage.container-site--HasAvatar .o-Attribution,.recipePage .variant--TitleAboveImage.container-site--HasAvatar .o-ReviewSummary,.recipePage .variant--TitleAboveImage.container-site--NoAvatar .o-Attribution,.recipePage .variant--TitleAboveImage.container-site--NoAvatar .o-ReviewSummary{opacity:1}.recipePage .variant--TitleAboveImage.container-site--HasAvatar .o-Attribution,.recipePage .variant--TitleAboveImage.container-site--HasAvatar .o-ReviewSummary{padding-left:77px}.recipePage .variant--TitleAboveImage .o-AssetNavigation{margin-bottom:25px}.recipePage .variant--TitleAboveImage .o-AssetTitle{text-align:left}.recipePage .variant--TitleAboveImage .o-ReviewSummary{display:block}.recipePage .variant--TitleAboveImage .o-Attribution{padding-bottom:35px}.recipePage .variant--TitleAboveImage .o-Attribution a{margin:0}.recipePage .variant--TitleAboveImage .o-Attribution .o-Attribution__m-MediaWrap{position:absolute;left:0;top:-38px}.recipePage .variant--TitleAboveImage .o-Attribution__m-TextWrap{padding-top:0;text-align:left}.recipePage .variant--TitleAboveImage .o-Attribution__a-Image{width:62px}.recipePage .variant--TitleAboveImage .o-Attribution__a-Source{text-align:left}.recipePage .variant--TitleAboveImage .o-AssetDescription{margin-top:21px}.o-HeaderFresh__m-SocialLinks--desktop .m-SocialLinksFresh{left:-4px}.o-HeaderFresh__m-SocialLinks--desktop .m-SocialLinksFresh__a-Icon--facebook,.o-HeaderFresh__m-SocialLinks--desktop .m-SocialLinksFresh__a-Icon--instagram,.o-HeaderFresh__m-SocialLinks--desktop .m-SocialLinksFresh__a-Icon--pinterest,.o-HeaderFresh__m-SocialLinks--desktop .m-SocialLinksFresh__a-Icon--snapchat,.o-HeaderFresh__m-SocialLinks--desktop .m-SocialLinksFresh__a-Icon--twitter,.o-HeaderFresh__m-SocialLinks--desktop .m-SocialLinksFresh__a-Icon--youtube{width:20px;height:20px;padding:2px 3px 4px}.o-HeaderFresh__m-SocialLinks--desktop .m-SocialLinksFresh__a-Icon--pinterest{position:relative;top:0}
| 277,100
| 277,100
| 0.811151
|
b142846078106b075faa1295dfd78fa29df807ef
| 10,320
|
swift
|
Swift
|
Source/Models/Highlight+Helper.swift
|
KyonLi/FolioReaderKit
|
5cff27bcb5c874ff349bd2a8155ad49ad73e2cd3
|
[
"BSD-3-Clause"
] | 1
|
2017-09-16T08:01:43.000Z
|
2017-09-16T08:01:43.000Z
|
Source/Models/Highlight+Helper.swift
|
KyonLi/FolioReaderKit-bugfix
|
5cff27bcb5c874ff349bd2a8155ad49ad73e2cd3
|
[
"BSD-3-Clause"
] | null | null | null |
Source/Models/Highlight+Helper.swift
|
KyonLi/FolioReaderKit-bugfix
|
5cff27bcb5c874ff349bd2a8155ad49ad73e2cd3
|
[
"BSD-3-Clause"
] | null | null | null |
//
// Highlight+Helper.swift
// FolioReaderKit
//
// Created by Heberti Almeida on 06/07/16.
// Copyright (c) 2015 Folio Reader. All rights reserved.
//
import Foundation
import RealmSwift
/**
HighlightStyle type, default is .Yellow.
*/
public enum HighlightStyle: Int {
case Yellow
case Green
case Blue
case Pink
case Underline
public init () { self = .Yellow }
/**
Return HighlightStyle for CSS class.
*/
public static func styleForClass(className: String) -> HighlightStyle {
switch className {
case "highlight-yellow":
return .Yellow
case "highlight-green":
return .Green
case "highlight-blue":
return .Blue
case "highlight-pink":
return .Pink
case "highlight-underline":
return .Underline
default:
return .Yellow
}
}
/**
Return CSS class for HighlightStyle.
*/
public static func classForStyle(style: Int) -> String {
switch style {
case HighlightStyle.Yellow.rawValue:
return "highlight-yellow"
case HighlightStyle.Green.rawValue:
return "highlight-green"
case HighlightStyle.Blue.rawValue:
return "highlight-blue"
case HighlightStyle.Pink.rawValue:
return "highlight-pink"
case HighlightStyle.Underline.rawValue:
return "highlight-underline"
default:
return "highlight-yellow"
}
}
/**
Return CSS class for HighlightStyle.
*/
public static func colorForStyle(style: Int, nightMode: Bool = false) -> UIColor {
switch style {
case HighlightStyle.Yellow.rawValue:
return UIColor(red: 255/255, green: 235/255, blue: 107/255, alpha: nightMode ? 0.9 : 1)
case HighlightStyle.Green.rawValue:
return UIColor(red: 192/255, green: 237/255, blue: 114/255, alpha: nightMode ? 0.9 : 1)
case HighlightStyle.Blue.rawValue:
return UIColor(red: 173/255, green: 216/255, blue: 255/255, alpha: nightMode ? 0.9 : 1)
case HighlightStyle.Pink.rawValue:
return UIColor(red: 255/255, green: 176/255, blue: 202/255, alpha: nightMode ? 0.9 : 1)
case HighlightStyle.Underline.rawValue:
return UIColor(red: 240/255, green: 40/255, blue: 20/255, alpha: nightMode ? 0.6 : 1)
default:
return UIColor(red: 255/255, green: 235/255, blue: 107/255, alpha: nightMode ? 0.9 : 1)
}
}
}
/// Completion block
public typealias Completion = (error: NSError?) -> ()
extension Highlight {
/**
Save a Highlight with completion block
- parameter completion: Completion block
*/
public func persist(completion: Completion? = nil) {
do {
let realm = try! Realm()
realm.beginWrite()
realm.add(self, update: true)
try realm.commitWrite()
completion?(error: nil)
} catch let error as NSError {
print("Error on persist highlight: \(error)")
completion?(error: error)
}
}
/**
Remove a Highlight
*/
public func remove() {
do {
let realm = try! Realm()
realm.beginWrite()
realm.delete(self)
try realm.commitWrite()
} catch let error as NSError {
print("Error on remove highlight: \(error)")
}
}
/**
Remove a Highlight by ID
- parameter highlightId: The ID to be removed
*/
public static func removeById(highlightId: String) {
var highlight: Highlight?
let predicate = NSPredicate(format:"highlightId = %@", highlightId)
let realm = try! Realm()
highlight = realm.objects(Highlight).filter(predicate).toArray(Highlight).first
highlight?.remove()
}
/**
Update a Highlight by ID
- parameter highlightId: The ID to be removed
- parameter type: The `HighlightStyle`
*/
public static func updateById(highlightId: String, type: HighlightStyle) {
var highlight: Highlight?
let predicate = NSPredicate(format:"highlightId = %@", highlightId)
do {
let realm = try! Realm()
highlight = realm.objects(Highlight).filter(predicate).toArray(Highlight).first
realm.beginWrite()
highlight?.type = type.hashValue
try realm.commitWrite()
} catch let error as NSError {
print("Error on updateById : \(error)")
}
}
/**
Return a list of Highlights with a given ID
- parameter bookId: Book ID
- parameter page: Page number
- returns: Return a list of Highlights
*/
public static func allByBookId(bookId: String, andPage page: NSNumber? = nil) -> [Highlight] {
var highlights: [Highlight]?
let predicate = (page != nil) ? NSPredicate(format: "bookId = %@ && page = %@", bookId, page!) : NSPredicate(format: "bookId = %@", bookId)
let realm = try! Realm()
highlights = realm.objects(Highlight).filter(predicate).toArray(Highlight) ?? [Highlight]()
return highlights!
}
/**
Return all Highlights
- returns: Return all Highlights
*/
public static func all() -> [Highlight] {
var highlights: [Highlight]?
let realm = try! Realm()
highlights = realm.objects(Highlight).toArray(Highlight) ?? [Highlight]()
return highlights!
}
// MARK: HTML Methods
/**
Match a highlight on string.
*/
public static func matchHighlight(text: String!, andId id: String, startOffset: String, endOffset: String) -> Highlight? {
let pattern = "<highlight id=\"\(id)\" onclick=\".*?\" class=\"(.*?)\">((.|\\s)*?)</highlight>"
let regex = try! NSRegularExpression(pattern: pattern, options: [])
let matches = regex.matchesInString(text, options: [], range: NSRange(location: 0, length: text.utf16.count))
let str = (text as NSString)
let mapped = matches.map { (match) -> Highlight in
var contentPre = str.substringWithRange(NSRange(location: match.range.location-kHighlightRange, length: kHighlightRange))
var contentPost = str.substringWithRange(NSRange(location: match.range.location + match.range.length, length: kHighlightRange))
// Normalize string before save
if contentPre.rangeOfString(">") != nil {
let regex = try! NSRegularExpression(pattern: "((?=[^>]*$)(.|\\s)*$)", options: [])
let searchString = regex.firstMatchInString(contentPre, options: .ReportProgress, range: NSRange(location: 0, length: contentPre.characters.count))
if searchString!.range.location != NSNotFound {
contentPre = (contentPre as NSString).substringWithRange(searchString!.range)
}
}
if contentPost.rangeOfString("<") != nil {
let regex = try! NSRegularExpression(pattern: "^((.|\\s)*?)(?=<)", options: [])
let searchString = regex.firstMatchInString(contentPost, options: .ReportProgress, range: NSRange(location: 0, length: contentPost.characters.count))
if searchString!.range.location != NSNotFound {
contentPost = (contentPost as NSString).substringWithRange(searchString!.range)
}
}
let highlight = Highlight()
highlight.highlightId = id
highlight.type = HighlightStyle.styleForClass(str.substringWithRange(match.rangeAtIndex(1))).rawValue
highlight.date = NSDate()
highlight.content = Highlight.removeSentenceSpam(str.substringWithRange(match.rangeAtIndex(2)))
highlight.contentPre = Highlight.removeSentenceSpam(contentPre)
highlight.contentPost = Highlight.removeSentenceSpam(contentPost)
highlight.page = currentPageNumber
highlight.bookId = (kBookId as NSString).stringByDeletingPathExtension
highlight.startOffset = Int(startOffset) ?? -1
highlight.endOffset = Int(endOffset) ?? -1
return highlight
}
return mapped.first
}
/**
Remove a Highlight from HTML by ID
- parameter highlightId: The ID to be removed
- returns: The removed id
*/
public static func removeFromHTMLById(highlightId: String) -> String? {
guard let currentPage = FolioReader.sharedInstance.readerCenter.currentPage else { return nil }
if let removedId = currentPage.webView.js("removeHighlightById('\(highlightId)')") {
return removedId
} else {
print("Error removing Higlight from page")
return nil
}
}
/**
Remove span tag before store the highlight, this span is added on JavaScript.
<span class=\"sentence\"></span>
- parameter text: Text to analise
- returns: Striped text
*/
public static func removeSentenceSpam(text: String) -> String {
// Remove from text
func removeFrom(text: String, withPattern pattern: String) -> String {
var locator = text
let regex = try! NSRegularExpression(pattern: pattern, options: [])
let matches = regex.matchesInString(locator, options: [], range: NSRange(location: 0, length: locator.utf16.count))
let str = (locator as NSString)
var newLocator = ""
for match in matches {
newLocator += str.substringWithRange(match.rangeAtIndex(1))
}
if matches.count > 0 && !newLocator.isEmpty {
locator = newLocator
}
return locator
}
let pattern = "<span class=\"sentence\">((.|\\s)*?)</span>"
let cleanText = removeFrom(text, withPattern: pattern)
return cleanText
}
}
| 35.709343
| 165
| 0.583333
|
ff766bdfd676398151741015e2aa77007c6279ca
| 296
|
py
|
Python
|
MDAnalysis/count.py
|
chemlove/pdb-benchmarks
|
cff903a235fb7d016d72bb17e91d834a599fba00
|
[
"MIT"
] | null | null | null |
MDAnalysis/count.py
|
chemlove/pdb-benchmarks
|
cff903a235fb7d016d72bb17e91d834a599fba00
|
[
"MIT"
] | null | null | null |
MDAnalysis/count.py
|
chemlove/pdb-benchmarks
|
cff903a235fb7d016d72bb17e91d834a599fba00
|
[
"MIT"
] | null | null | null |
# Benchmark the counting of alanine residues in a PDB file
import time
import MDAnalysis as mda
pdb_filepath = "pdbs/1AKE.pdb"
u = mda.Universe(pdb_filepath)
def count():
return (u.residues.resnames == "ALA").sum()
start = time.time()
count()
elapsed = time.time() - start
print elapsed
| 17.411765
| 58
| 0.716216
|
b56ffb19c082596fcdc2c813a6b758e103ea17de
| 287
|
rb
|
Ruby
|
ruby_practice/array_addition.rb
|
williamfdevine/hackerrank
|
80045f708d84feafd9af9094c02ce5b08ba43797
|
[
"MIT"
] | null | null | null |
ruby_practice/array_addition.rb
|
williamfdevine/hackerrank
|
80045f708d84feafd9af9094c02ce5b08ba43797
|
[
"MIT"
] | null | null | null |
ruby_practice/array_addition.rb
|
williamfdevine/hackerrank
|
80045f708d84feafd9af9094c02ce5b08ba43797
|
[
"MIT"
] | null | null | null |
# array_addition.rb
def end_arr_add(arr, element)
arr.push(element)
end
def begin_arr_add(arr, element)
arr.insert(0, element)
end
def index_arr_add(arr, index, element)
arr.insert(index, element)
end
def index_arr_multiple_add(arr, index)
arr.insert(index, 1, 2)
end
| 16.882353
| 38
| 0.731707
|
d3230bda8d60dca10503f63c7d8093aca93032a7
| 5,090
|
cs
|
C#
|
Plugin.datasyn/DataSynIcons.cs
|
dbgate/datadmin
|
3c86ec23c2adea8fb88985b8d7a9e5ce8f9eaa6f
|
[
"MIT"
] | null | null | null |
Plugin.datasyn/DataSynIcons.cs
|
dbgate/datadmin
|
3c86ec23c2adea8fb88985b8d7a9e5ce8f9eaa6f
|
[
"MIT"
] | null | null | null |
Plugin.datasyn/DataSynIcons.cs
|
dbgate/datadmin
|
3c86ec23c2adea8fb88985b8d7a9e5ce8f9eaa6f
|
[
"MIT"
] | null | null | null |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace Plugin.datasyn
{
public class DataSynIcons
{
public static readonly Dictionary<string, Bitmap> IconTable = new Dictionary<string, Bitmap>();
static Bitmap m_add = StdRes.add;
static Bitmap m_cancel = StdRes.cancel;
static Bitmap m_checkall = StdRes.checkall;
static Bitmap m_checkall_no = StdRes.checkall_no;
static Bitmap m_compare = StdRes.compare;
static Bitmap m_down1 = StdRes.down1;
static Bitmap m_favorite_add = StdRes.favorite_add;
static Bitmap m_foreign_key = StdRes.foreign_key;
static Bitmap m_help = StdRes.help;
static Bitmap m_open = StdRes.open;
static Bitmap m_primary_key = StdRes.primary_key;
static Bitmap m_properties = StdRes.properties;
static Bitmap m_refresh = StdRes.refresh;
static Bitmap m_remove = StdRes.remove;
static Bitmap m_report = StdRes.report;
static Bitmap m_right2 = StdRes.right2;
static Bitmap m_save = StdRes.save;
static Bitmap m_saveas = StdRes.saveas;
static Bitmap m_sql = StdRes.sql;
static Bitmap m_sync = StdRes.sync;
static Bitmap m_table = StdRes.table;
static Bitmap m_up1 = StdRes.up1;
static Bitmap m_view = StdRes.view;
static DataSynIcons() {
IconTable["add"] = m_add;
IconTable["cancel"] = m_cancel;
IconTable["checkall"] = m_checkall;
IconTable["checkall_no"] = m_checkall_no;
IconTable["compare"] = m_compare;
IconTable["down1"] = m_down1;
IconTable["favorite_add"] = m_favorite_add;
IconTable["foreign_key"] = m_foreign_key;
IconTable["help"] = m_help;
IconTable["open"] = m_open;
IconTable["primary_key"] = m_primary_key;
IconTable["properties"] = m_properties;
IconTable["refresh"] = m_refresh;
IconTable["remove"] = m_remove;
IconTable["report"] = m_report;
IconTable["right2"] = m_right2;
IconTable["save"] = m_save;
IconTable["saveas"] = m_saveas;
IconTable["sql"] = m_sql;
IconTable["sync"] = m_sync;
IconTable["table"] = m_table;
IconTable["up1"] = m_up1;
IconTable["view"] = m_view;
}
public static Bitmap add {get {return m_add;} }
public static Bitmap cancel {get {return m_cancel;} }
public static Bitmap checkall {get {return m_checkall;} }
public static Bitmap checkall_no {get {return m_checkall_no;} }
public static Bitmap compare {get {return m_compare;} }
public static Bitmap down1 {get {return m_down1;} }
public static Bitmap favorite_add {get {return m_favorite_add;} }
public static Bitmap foreign_key {get {return m_foreign_key;} }
public static Bitmap help {get {return m_help;} }
public static Bitmap open {get {return m_open;} }
public static Bitmap primary_key {get {return m_primary_key;} }
public static Bitmap properties {get {return m_properties;} }
public static Bitmap refresh {get {return m_refresh;} }
public static Bitmap remove {get {return m_remove;} }
public static Bitmap report {get {return m_report;} }
public static Bitmap right2 {get {return m_right2;} }
public static Bitmap save {get {return m_save;} }
public static Bitmap saveas {get {return m_saveas;} }
public static Bitmap sql {get {return m_sql;} }
public static Bitmap sync {get {return m_sync;} }
public static Bitmap table {get {return m_table;} }
public static Bitmap up1 {get {return m_up1;} }
public static Bitmap view {get {return m_view;} }
public const string addName = "add";
public const string cancelName = "cancel";
public const string checkallName = "checkall";
public const string checkall_noName = "checkall_no";
public const string compareName = "compare";
public const string down1Name = "down1";
public const string favorite_addName = "favorite_add";
public const string foreign_keyName = "foreign_key";
public const string helpName = "help";
public const string openName = "open";
public const string primary_keyName = "primary_key";
public const string propertiesName = "properties";
public const string refreshName = "refresh";
public const string removeName = "remove";
public const string reportName = "report";
public const string right2Name = "right2";
public const string saveName = "save";
public const string saveasName = "saveas";
public const string sqlName = "sql";
public const string syncName = "sync";
public const string tableName = "table";
public const string up1Name = "up1";
public const string viewName = "view";
}
}
| 46.272727
| 104
| 0.637132
|
e371df030ef411aaa232cc9daa6b92dd3a5e6fb6
| 196
|
rb
|
Ruby
|
deps/mruby/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb
|
adarshdec23/h2o_custom_priority
|
c6dde246a2df2570e40618b51757616de2b3df89
|
[
"MIT"
] | null | null | null |
deps/mruby/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb
|
adarshdec23/h2o_custom_priority
|
c6dde246a2df2570e40618b51757616de2b3df89
|
[
"MIT"
] | null | null | null |
deps/mruby/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb
|
adarshdec23/h2o_custom_priority
|
c6dde246a2df2570e40618b51757616de2b3df89
|
[
"MIT"
] | null | null | null |
module Integral
def div(other)
self.divmod(other)[0]
end
def zero?
self == 0
end
def nonzero?
if self == 0
nil
else
self
end
end
end
| 10.888889
| 26
| 0.489796
|
871dea120eb70a04b38842ccc9ef834187217c47
| 3,888
|
lua
|
Lua
|
server/server.lua
|
CalixFoxUK/NoMoreTroll
|
b221f64b18b2c553a650f9d8ba528c708f4546c9
|
[
"WTFPL"
] | null | null | null |
server/server.lua
|
CalixFoxUK/NoMoreTroll
|
b221f64b18b2c553a650f9d8ba528c708f4546c9
|
[
"WTFPL"
] | null | null | null |
server/server.lua
|
CalixFoxUK/NoMoreTroll
|
b221f64b18b2c553a650f9d8ba528c708f4546c9
|
[
"WTFPL"
] | 1
|
2020-06-14T12:35:02.000Z
|
2020-06-14T12:35:02.000Z
|
--[[
NoMoreTroll
Version 1.0.0.2
By CalixFoxUK
]]--
-- Freeze command freeze {PlayerID} {true/false}
RegisterCommand("freeze", function(source, arg, raw)
if source > 0 then
pedfreeze = source;
if type(raw) ~= "nil" then
cl = stringsplit(raw, " ");
if cl[1] == "freeze" then
Can_Trigger = NoMoreTroll.CheckAce(source);
if Can_Trigger then
CancelEvent();
isFreeze = true;
if type(cl[2]) ~= "nil" then
if tonumber(cl[2]) ~= nil then
pedfreeze = cl[2];
end
if type(cl[3]) ~= "nil" and cl[3] == "false" then
isFreeze = false;
end
end
TriggerClientEvent('nomoretroll:freeze', pedfreeze, isFreeze, source);
else
if NoMoreTroll.Ace.Warn.Enabled then
CancelEvent();
TriggerClientEvent("nomoretroll:triggerwarning", source, true, 1);
end
end
end
end
else
print("^2NoreMoreTroll^0: This function is for in-game admins, console admins will find it hard to talk and deal with users via console.");
end
end, true)
-- Warn Command wt {PlayerID}
RegisterCommand("wt", function(source, arg, raw)
pedfreeze = source;
if type(raw) ~= "nil" then
cl = stringsplit(raw, " ");
if cl[1] == "wt" then
Can_Trigger = NoMoreTroll.CheckAce(source);
if Can_Trigger then
CancelEvent();
GrabCL = type(tonumber(cl[2]));
if GrabCL == "number" then
print("^2NoMoreTroll^0: A warning sent to "..GetPlayerName(tonumber(cl[2])).."("..cl[2]..")");
TriggerClientEvent("nomoretroll:triggerwarning", tonumber(cl[2]), false, 4);
end
end
end
end
end, true);
-- This is the Telleport to Freeze player command /tpj and /tpj to return.
RegisterCommand("tpj", function(source, arg, raw)
if source > 0 then
pedfreeze = source;
if type(raw) ~= "nil" then
cl = stringsplit(raw, " ");
if cl[1] == "tpj" then
Can_Trigger = NoMoreTroll.CheckAce(source);
if Can_Trigger then
CancelEvent();
TriggerClientEvent('nomoretroll:tpjump', pedfreeze);
end
end
end
else
print("^2NoMoreTroll^0: You can't telleport the server to the player!");
end
end, true);
-- About return
RegisterCommand("nomoretroll", function(source, arg, raw)
pedfreeze = source;
if type(raw) ~= "nil" then
cl = stringsplit(raw, " ");
if cl[1] == "nomoretroll" then
Can_Trigger = NoMoreTroll.CheckAce(source);
if Can_Trigger then
CancelEvent();
if pedfreeze > 0 then
TriggerClientEvent('nomoretroll:about', pedfreeze, true);
else
print("^2NoMoreTroll^0: Stop your basic troll in there tracks, with our new anti Troll formula.");
print("^2NoMoreTroll^0: Created by CalixFoxUK");
end
end
end
end
end, true)
--
RegisterServerEvent("nomoretroll:tpmsg")
AddEventHandler("nomoretroll:tpmsg", function(t_stuff)
TriggerClientEvent("nomoretroll:tpreturn", t_stuff[2], t_stuff[1])
end)
-- Use this option if NoMoreTroll.Ace.Enabled is true, if not it returns true.
function NoMoreTroll.CheckAce(source, trigger)
-- Check if the source is nil
if type(source) == "nil" then
return false, true, "NoMoreTroll.CheckAce: bad argument #1 (number expected got nil)";
end
if source > 0 then
if NoMoreTroll.Ace.Enabled then
return IsPlayerAceAllowed(source, "nomoretroll.admin"), false, "Passed";
else
-- If NoMoreTroll.Ace.Enabled in the config dose not = true we auto set this as true as all users have permissions.
return true, false, "Passed";
end
else
return true, false, "Passed"
end
end
--helpingFunctions--
function stringsplit(inputstr, sep)
if sep == nil then
sep = "%s"
end
local t={} ; i=1
for str in string.gmatch(inputstr, "([^"..sep.."]+)") do
t[i] = str
i = i + 1
end
return t
end
| 27.971223
| 142
| 0.633488
|
3b40bc5d39f21236f505a44894630703b741cc08
| 2,077
|
swift
|
Swift
|
WolmoCoreDemo/ViewController.swift
|
DiegoQuiros94/wolmo-core-ios
|
b8392cc9670ed5051d9a7de3853c512010271f77
|
[
"MIT"
] | null | null | null |
WolmoCoreDemo/ViewController.swift
|
DiegoQuiros94/wolmo-core-ios
|
b8392cc9670ed5051d9a7de3853c512010271f77
|
[
"MIT"
] | 2
|
2019-12-11T16:27:33.000Z
|
2019-12-20T18:06:48.000Z
|
WolmoCoreDemo/ViewController.swift
|
DiegoQuiros94/wolmo-core-ios
|
b8392cc9670ed5051d9a7de3853c512010271f77
|
[
"MIT"
] | null | null | null |
//
// ViewController.swift
// WolmoCoreDemo
//
// Created by Daniela Riesgo on 12/19/17.
// Copyright © 2017 Wolox. All rights reserved.
//
import UIKit
import WolmoCore
final internal class ViewController: UIViewController {
private lazy var _view: View = View.loadFromNib()!
private lazy var _childController = ChildController()
override func loadView() {
view = _view
}
override func viewDidLoad() {
super.viewDidLoad()
load(childViewController: _childController,
into: _view.childContainerView,
with: UIEdgeInsets(top: 0, left: 0, bottom: 10, right: 0),
respectSafeArea: true)
_view.stringsButton.addTarget(self, action: #selector(buttonAction), for: .touchUpInside)
// Screen gestures
_view.addScreenEdgePanGestureRecognizer(edge: .left) { recognizer in
print("Edge panned!")
}
// Label gestures
_view.gestureLabel.addTapGestureRecognizer(numberOfTapsRequired: 1) { [weak self] recognizer in
self?._view.gestureLabel.shake(withDuration: 0.05)
print("Label tapped!")
}
_view.gestureLabel.addLongPressGestureRecognizer(minimumPressDuration: 1.0) { recognizer in
print("Label long pressed!")
}
_view.gestureLabel.addPinchGestureRecognizer { recognizer in
print("Label pinched!")
}
_view.gestureLabel.addRotationGestureRecognizer { recognizer in
print("Label rotated!")
}
_view.gestureLabel.addPanGestureRecognizer { recognizer in
print("Label panned!")
}
_view.gestureLabel.addSwipeGestureRecognizer(direction: .left) { recognizer in
print("Label swiped!")
}
}
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
_childController.changeColor()
}
@objc func buttonAction() {
present(StringToImageController(), animated: true, completion: .none)
}
}
| 31.469697
| 103
| 0.636013
|
a1dff76c3a4e8926de0bc539c82ee9cc6008d3c3
| 961
|
lua
|
Lua
|
models/DNN/stratBatchIter.lua
|
nhammerla/deepHAR
|
e146930512696b27046be0f240801e69d38cf981
|
[
"BSD-2-Clause"
] | 23
|
2017-05-30T00:49:55.000Z
|
2021-11-13T12:18:11.000Z
|
models/DNN/stratBatchIter.lua
|
nhammerla/deepHAR
|
e146930512696b27046be0f240801e69d38cf981
|
[
"BSD-2-Clause"
] | 2
|
2018-04-24T06:48:28.000Z
|
2021-02-05T06:32:49.000Z
|
models/DNN/stratBatchIter.lua
|
nhammerla/deepHAR
|
e146930512696b27046be0f240801e69d38cf981
|
[
"BSD-2-Clause"
] | 13
|
2017-05-30T01:20:57.000Z
|
2021-09-29T14:03:15.000Z
|
function stratBatchIter(targets, approxBatchsize)
local T = targets:clone()+torch.randn(targets:size()):typeAs(targets)*0.001 -- add some jitter for randomness
local nbatch = torch.floor(T:size(1) / approxBatchsize)
local batchIds = torch.zeros(T:size())
-- index of sorted elements
local _, ind = torch.sort(T)
-- prepare batch table
batches = {}
for i=1,nbatch do
batches[i] = {}
end
-- assign a batch-id to each sample
for i=1,ind:size(1) do
-- assign elements in ascending order to batches
-- ind[1] -> 1
-- ind[2] -> 2
-- ...
-- ind[nbatch] -> nbatch
-- ind[nbatch+1] -> 1
-- ...
table.insert(batches[1 + (i-1) % nbatch], ind[i])
end
-- return iterator, which yields a bytetensor for addressing data
local batchIndex = 0
return function()
batchIndex = batchIndex + 1
if batchIndex <= nbatch then
-- the return tensor can be used for addressing
return torch.LongTensor(batches[batchIndex])
end
end
end
| 25.972973
| 110
| 0.670135
|
b0be94fb9c81a75f4f837400a9026609f64e2449
| 2,246
|
py
|
Python
|
examples/trivial_post_input.py
|
ajCameron/mewbot
|
0f299ed75241b08b2f94aa9d96ce31507fdf8851
|
[
"BSD-2-Clause"
] | null | null | null |
examples/trivial_post_input.py
|
ajCameron/mewbot
|
0f299ed75241b08b2f94aa9d96ce31507fdf8851
|
[
"BSD-2-Clause"
] | null | null | null |
examples/trivial_post_input.py
|
ajCameron/mewbot
|
0f299ed75241b08b2f94aa9d96ce31507fdf8851
|
[
"BSD-2-Clause"
] | null | null | null |
#!/usr/bin/env python3
"""
Implementing a new Input - as it happens to be the first input,
a few other things are going to have to go on
- like defining some behaviors
- and actually building a bot
- and fixing any weird type errors
"""
from __future__ import annotations
from typing import Set, Type, Dict, Any
from mewbot.bot import Bot
from mewbot.behaviour import Behaviour
from mewbot.core import InputEvent, OutputEvent
from mewbot.api.v1 import Trigger, Condition, Action
from mewbot.http_post import PostInput, PostIOConfig, PostInputEvent
class TrivialTrigger(Trigger):
"""
Nothing fancy - just fires whenever there is an PostInputEvent.
Will be used in the PrintBehavior.
"""
@staticmethod
def consumes_inputs() -> Set[Type[InputEvent]]:
return {
PostInputEvent,
}
def matches(self, event: InputEvent) -> bool:
return True
class TrivialCondition(Condition):
"""
Allows every input
"""
@staticmethod
def consumes_inputs() -> Set[Type[InputEvent]]:
return {
PostInputEvent,
}
def allows(self, event: InputEvent) -> bool:
return True
class PrintAction(Action):
"""
Print every InputEvent.
"""
@staticmethod
def consumes_inputs() -> Set[Type[InputEvent]]:
return {
PostInputEvent,
}
@staticmethod
def produces_outputs() -> Set[Type[OutputEvent]]:
return set()
async def act(self, event: InputEvent, state: Dict[str, Any]) -> None:
print(event)
if __name__ == "__main__":
# - Behavior
# Construct the print_behavior - which just prints every input event
print_behavior = Behaviour()
# Triggers on all PostInput events
print_behavior.add(TrivialTrigger())
# Passes all incoming events
print_behavior.add(TrivialCondition())
# Prints all the events which make their way into the bot
print_behavior.add(PrintAction())
# - IOConfig
post_ioconfig = PostIOConfig()
post_ioconfig.inputs.append(PostInput())
test_bot = Bot()
test_bot.name = "TrivialWebhookExample"
test_bot.add_io_config(post_ioconfig)
test_bot.add_behaviour(print_behavior)
test_bot.run()
| 23.642105
| 74
| 0.675423
|
38bcf99611fbc8568126b78c06bbde98dfaab482
| 4,800
|
php
|
PHP
|
src/Concerns/ManagesCustomer.php
|
IvanSotelo/OpenpayCashier
|
5e92cbae6a262e91f0985964c97e2e37ae60d44a
|
[
"MIT"
] | null | null | null |
src/Concerns/ManagesCustomer.php
|
IvanSotelo/OpenpayCashier
|
5e92cbae6a262e91f0985964c97e2e37ae60d44a
|
[
"MIT"
] | null | null | null |
src/Concerns/ManagesCustomer.php
|
IvanSotelo/OpenpayCashier
|
5e92cbae6a262e91f0985964c97e2e37ae60d44a
|
[
"MIT"
] | null | null | null |
<?php
namespace IvanSotelo\OpenpayCashier\Concerns;
use IvanSotelo\OpenpayCashier\OpenpayCashier;
use IvanSotelo\OpenpayCashier\Exceptions\CustomerAlreadyCreated;
use IvanSotelo\OpenpayCashier\Exceptions\InvalidCustomer;
use Openpay\Customer as OpenpayCustomer;
trait ManagesCustomer
{
/**
* Retrieve the Openpay customer ID.
*
* @return string|null
*/
public function openpayId()
{
return $this->openpay_id;
}
/**
* Determine if the entity has a Openpay customer ID.
*
* @return bool
*/
public function hasOpenpayId()
{
return ! is_null($this->openpay_id);
}
/**
* Determine if the entity has a Openpay customer ID and throw an exception if not.
*
* @return void
*
* @throws \IvanSotelo\OpenpayCashier\Exceptions\InvalidCustomer
*/
protected function assertCustomerExists()
{
if (! $this->hasOpenpayId()) {
throw InvalidCustomer::notYetCreated($this);
}
}
/**
* Create a Openpay customer for the given model.
*
* @param array $options
* @return \Openpay\Customer
*
* @throws \IvanSotelo\OpenpayCashier\Exceptions\CustomerAlreadyCreated
*/
public function createAsOpenpayCustomer(array $options = [])
{
if ($this->hasOpenpayId()) {
throw CustomerAlreadyCreated::exists($this);
}
if (! array_key_exists('email', $options) && $email = $this->openpayEmail()) {
$options['email'] = $email;
}
// Here we will create the customer instance on Openpay and store the ID of the
// user from Openpay. This ID will correspond with the Openpay user instances
// and allow us to retrieve users from Openpay later when we need to work.
$customer = OpenpayCustomer::create(
$options, $this->openpayOptions()
);
$this->openpay_id = $customer->id;
$this->save();
return $customer;
}
/**
* Update the underlying Openpay customer information for the model.
*
* @param array $options
* @return \Openpay\Customer
*/
public function updateOpenpayCustomer(array $options = [])
{
return OpenpayCustomer::update(
$this->openpay_id, $options, $this->openpayOptions()
);
}
/**
* Get the Openpay customer instance for the current user or create one.
*
* @param array $options
* @return \Openpay\Customer
*/
public function createOrGetOpenpayCustomer(array $options = [])
{
if ($this->hasOpenpayId()) {
return $this->asOpenpayCustomer();
}
return $this->createAsOpenpayCustomer($options);
}
/**
* Get the Openpay customer for the model.
*
* @return \Openpay\Customer
*/
public function asOpenpayCustomer()
{
$this->assertCustomerExists();
return OpenpayCustomer::retrieve($this->openpay_id, $this->openpayOptions());
}
/**
* Get the email address used to create the customer in Openpay.
*
* @return string|null
*/
public function openpayEmail()
{
return $this->email;
}
/**
* Apply a coupon to the billable entity.
*
* @param string $coupon
* @return void
*/
public function applyCoupon($coupon)
{
$this->assertCustomerExists();
$customer = $this->asOpenpayCustomer();
$customer->coupon = $coupon;
$customer->save();
}
/**
* Get the Openpay supported currency used by the entity.
*
* @return string
*/
public function preferredCurrency()
{
return config('cashier.currency');
}
/**
* Determine if the customer is not exempted from taxes.
*
* @return bool
*/
public function isNotTaxExempt()
{
return $this->asOpenpayCustomer()->tax_exempt === OpenpayCustomer::TAX_EXEMPT_NONE;
}
/**
* Determine if the customer is exempted from taxes.
*
* @return bool
*/
public function isTaxExempt()
{
return $this->asOpenpayCustomer()->tax_exempt === OpenpayCustomer::TAX_EXEMPT_EXEMPT;
}
/**
* Determine if reverse charge applies to the customer.
*
* @return bool
*/
public function reverseChargeApplies()
{
return $this->asOpenpayCustomer()->tax_exempt === OpenpayCustomer::TAX_EXEMPT_REVERSE;
}
/**
* Get the default Openpay API options for the current Billable model.
*
* @param array $options
* @return array
*/
public function openpayOptions(array $options = [])
{
return OpenpayCashier::openpayOptions($options);
}
}
| 24.489796
| 94
| 0.599167
|
f13903aea118d5609210116739d98c504f8635b7
| 97
|
rb
|
Ruby
|
l1/test.rb
|
anht37/ruby-lession
|
f4c367d723e00c754ca79c7c8f942bd17976f0eb
|
[
"MIT"
] | null | null | null |
l1/test.rb
|
anht37/ruby-lession
|
f4c367d723e00c754ca79c7c8f942bd17976f0eb
|
[
"MIT"
] | null | null | null |
l1/test.rb
|
anht37/ruby-lession
|
f4c367d723e00c754ca79c7c8f942bd17976f0eb
|
[
"MIT"
] | null | null | null |
class Person
attr_accessor :hand
def show_hand
p "My hand length is #{@hand}"
end
end
| 13.857143
| 34
| 0.670103
|
a9325da03e72110c8f2b745d4e5e692527012b48
| 3,273
|
swift
|
Swift
|
Sources/Definitions/Request.swift
|
tonyarnold/PactSwift
|
291e733cf51aa11f80e7c1fafda1ba9903a7204d
|
[
"MIT"
] | null | null | null |
Sources/Definitions/Request.swift
|
tonyarnold/PactSwift
|
291e733cf51aa11f80e7c1fafda1ba9903a7204d
|
[
"MIT"
] | null | null | null |
Sources/Definitions/Request.swift
|
tonyarnold/PactSwift
|
291e733cf51aa11f80e7c1fafda1ba9903a7204d
|
[
"MIT"
] | null | null | null |
//
// Request.swift
// PactSwift
//
// Created by Marko Justinek on 31/3/20.
// Copyright © 2020 Itty Bitty Apps Pty Ltd / PACT Foundation. All rights reserved.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
// SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
// IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
///
/// An object representing an API request for a Pact test.
///
public struct Request {
let method: PactHTTPMethod
let path: String
let query: [String: [String]]?
let headers: [String: String]?
let body: Any?
var description: String {
let request = "\(method.rawValue.uppercased()) \(path)"
let queryString = query?.compactMap { "\($0)=\($1.joined(separator: ","))" }.joined(separator: "&")
let headersString = headers?.compactMap { "\"\($0)\": \"\($1)\"" }.joined(separator: "\n\t")
return
"\(request) \(queryString ?? "")\(headersString != nil ? "\n\n\tHeaders:\n\t" + headersString! : "")"
}
private let bodyEncoder: (Encoder) throws -> Void
}
extension Request: Encodable {
enum CodingKeys: String, CodingKey {
case method
case path
case query
case headers
case body
case matchingRules
}
///
/// Creates an object representing a network `Request`.
///
/// - Parameters:
/// - method: The http method of the http request
/// - path: A url path of the http reuquest (without the base url)
/// - query: A url query
/// - headers: Headers of the http reqeust
/// - body: Optional body of the http request
///
init(method: PactHTTPMethod, path: String, query: [String: [String]]? = nil, headers: [String: String]? = nil, body: Any? = nil) {
self.method = method
self.path = path
self.query = query
self.headers = headers
self.body = body
var encodableBody: AnyEncodable?
var matchingRules: AnyEncodable?
if let body = body {
do {
let pactBody = try PactBuilder(with: body).encoded(for: .body)
encodableBody = pactBody.node
matchingRules = pactBody.rules
} catch {
fatalError("Can not instantiate a `Request` with non-encodable `body`.")
}
}
self.bodyEncoder = {
var container = $0.container(keyedBy: CodingKeys.self)
try container.encode(method, forKey: .method)
try container.encode(path, forKey: .path)
if let query = query { try container.encode(query, forKey: .query) }
if let headers = headers { try container.encode(headers, forKey: .headers) }
if let encodableBody = encodableBody { try container.encode(encodableBody, forKey: .body) }
if let matchingRules = matchingRules { try container.encode(matchingRules, forKey: .matchingRules) }
}
}
public func encode(to encoder: Encoder) throws {
try bodyEncoder(encoder)
}
}
| 32.73
| 131
| 0.691415
|
6e5df852fa256c6225370dfd374b29570d4d5172
| 367
|
lua
|
Lua
|
MMOCoreORB/bin/scripts/object/custom_content/draft_schematic/bio_engineer/bio_component/bio_component_armor_guanine.lua
|
V-Fib/FlurryClone
|
40e0ca7245ec31b3815eb6459329fd9e70f88936
|
[
"Zlib",
"OpenSSL"
] | 18
|
2017-02-09T15:36:05.000Z
|
2021-12-21T04:22:15.000Z
|
MMOCoreORB/bin/scripts/object/custom_content/draft_schematic/bio_engineer/bio_component/bio_component_armor_guanine.lua
|
V-Fib/FlurryClone
|
40e0ca7245ec31b3815eb6459329fd9e70f88936
|
[
"Zlib",
"OpenSSL"
] | 61
|
2016-12-30T21:51:10.000Z
|
2021-12-10T20:25:56.000Z
|
MMOCoreORB/bin/scripts/object/custom_content/draft_schematic/bio_engineer/bio_component/bio_component_armor_guanine.lua
|
V-Fib/FlurryClone
|
40e0ca7245ec31b3815eb6459329fd9e70f88936
|
[
"Zlib",
"OpenSSL"
] | 71
|
2017-01-01T05:34:38.000Z
|
2022-03-29T01:04:00.000Z
|
object_draft_schematic_bio_engineer_bio_component_bio_component_armor_guanine = object_draft_schematic_bio_engineer_bio_component_shared_bio_component_armor_guanine:new {
}
ObjectTemplates:addTemplate(object_draft_schematic_bio_engineer_bio_component_bio_component_armor_guanine, "object/draft_schematic/bio_engineer/bio_component/bio_component_armor_guanine.iff")
| 61.166667
| 191
| 0.934605
|
b36aa729f9038ac1cd424cf647774ea6e553776d
| 9,534
|
py
|
Python
|
utils_1.py
|
zsl24/tacotron2-hifigan
|
e24cbb86e7901bd1665f3172961f90a51ab9815e
|
[
"MIT"
] | 2
|
2021-11-27T16:07:28.000Z
|
2022-01-20T15:39:13.000Z
|
utils_1.py
|
zsl24/Tacotron2-HiFiGAN-master
|
e24cbb86e7901bd1665f3172961f90a51ab9815e
|
[
"MIT"
] | null | null | null |
utils_1.py
|
zsl24/Tacotron2-HiFiGAN-master
|
e24cbb86e7901bd1665f3172961f90a51ab9815e
|
[
"MIT"
] | 3
|
2021-11-29T14:40:54.000Z
|
2022-03-29T07:59:54.000Z
|
import argparse
import logging
import cv2 as cv
import librosa
import matplotlib
matplotlib.use('Agg')
import matplotlib.pylab as plt
import numpy as np
import pinyin
import torch
import json
import config
import os
import time
from config import sampling_rate, VOCAB, IVOCAB
def clip_gradient(optimizer, grad_clip):
"""
Clips gradients computed during backpropagation to avoid explosion of gradients.
:param optimizer: optimizer with the gradients to be clipped
:param grad_clip: clip value
"""
for group in optimizer.param_groups:
for param in group['params']:
if param.grad is not None:
param.grad.data.clamp_(-grad_clip, grad_clip)
def save_checkpoint(epoch, step, steps_since_improvement, model, optimizer, loss, is_best):
state = {'epoch': epoch,
'step': step,
'steps_since_improvement': steps_since_improvement,
'loss': loss,
'model': model,
'optimizer': optimizer}
date = str(time.localtime(time.time()).tm_mon) + '_' + str(time.localtime(time.time()).tm_mday)
dir = config.dataset+'_checkpoints'
if not os.path.exists(dir):
os.mkdir(dir)
filename = os.path.join(dir, date + 'checkpoint.tar')
torch.save(state, filename)
# If this checkpoint is the best so far, store a copy so it doesn't get overwritten by a worse checkpoint
if is_best:
print(f'saving best checkpoint with loss {loss}')
torch.save(state, os.path.join(dir,date + 'BEST_checkpoint.tar'))
class AverageMeter(object):
"""
Keeps track of most recent, average, sum, and count of a metric.
"""
def __init__(self):
self.reset()
def reset(self):
self.val = 0
self.avg = 0
self.sum = 0
self.count = 0
def update(self, val, n=1):
self.val = val
self.sum += val * n
self.count += n
self.avg = self.sum / self.count
def adjust_learning_rate(optimizer, shrink_factor):
"""
Shrinks learning rate by a specified factor.
:param optimizer: optimizer whose learning rate must be shrunk.
:param shrink_factor: factor in interval (0, 1) to multiply learning rate with.
"""
print("\nDECAYING learning rate.")
for param_group in optimizer.param_groups:
param_group['lr'] = param_group['lr'] * shrink_factor
print("The new learning rate is %f\n" % (optimizer.param_groups[0]['lr'],))
def accuracy(scores, targets, k=1):
batch_size = targets.size(0)
_, ind = scores.topk(k, 1, True, True)
correct = ind.eq(targets.view(-1, 1).expand_as(ind))
correct_total = correct.view(-1).float().sum() # 0D tensor
return correct_total.item() * (100.0 / batch_size)
def get_logger():
logger = logging.getLogger()
handler = logging.StreamHandler()
formatter = logging.Formatter("%(asctime)s %(levelname)s \t%(message)s")
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.setLevel(logging.INFO)
return logger
def ensure_folder(folder):
import os
if not os.path.isdir(folder):
os.mkdir(folder)
def pad_list(xs, pad_value):
# From: espnet/src/nets/e2e_asr_th.py: pad_list()
n_batch = len(xs)
max_len = max(x.size(0) for x in xs)
pad = xs[0].new(n_batch, max_len, *xs[0].size()[1:]).fill_(pad_value)
for i in range(n_batch):
pad[i, :xs[i].size(0)] = xs[i]
return pad
def get_mask_from_lengths(lengths):
max_len = torch.max(lengths).item()
ids = torch.arange(0, max_len, out=torch.cuda.LongTensor(max_len))
mask = (ids < lengths.unsqueeze(1)).bool()
return mask
def load_audiopaths_and_text_json(filename):
'''
read json file containing audio path, text content, duration of audio
parse audio file paths and text content, store the results in list, such as:
[[audiopath0,text0],
[audiopath1,text1],
...,
[audiopathn,textn]]
'''
jsonfile = open(filename,'r',encoding='utf-8')
filepaths_and_text = []
for line in jsonfile.readlines():
dic = json.loads(line)
filepaths_and_text.append([dic['audio_filepath'],dic['text']])
return filepaths_and_text
def load_wav_to_torch(full_path):
# sampling_rate, data = read(full_path)
y, sr = librosa.core.load(full_path, sampling_rate)
yt, _ = librosa.effects.trim(y)
if config.dataset == 'viya' or config.dataset == 'xiaoxian':
yt = librosa.util.normalize(yt)
return torch.FloatTensor(yt.astype(np.float32)), sr
def load_filepaths_and_text(filename, split="|"):
with open(filename, encoding='utf-8') as f:
filepaths_and_text = [line.strip().split(split) for line in f]
return filepaths_and_text
def to_gpu(x):
x = x.contiguous()
if torch.cuda.is_available():
x = x.cuda(non_blocking=True)
return torch.autograd.Variable(x)
def replace_triple_space(text):
res = ''
i = 0
while i < len(text):
j = i + 1
res += text[i]
if text[i] == ' ':
while j < len(text) and text[j] == ' ':
j += 1
if j - i >= 2:
res += ' '
i = j
return res
def process_en(s):
'''
由于拼音模块不是很完备,有一些case处理不了
将文字'嗯'替换成拼音'en3'
'''
res = ''
n = len(s)
for i in range(n):
if s[i] == '嗯':
res += 'en3'
else:
res += s[i]
return res
def process_text(text):
'''
This function converts original text into pinyin sequence.
example:
text - 'www点bosc点cn 请您抄录风险揭示并签名'
return - 'w6 w6 w6 dian3 b6 o6 s6 c6 dian3 c6 n6 qing3 nin2 chao1 lu3 feng1 xian3 jie1 shi4 bing4 qian1 ming2'
'''
text = pinyin.get(text,format='numerical',delimiter=' ').lower()
text = process_en(text)
result = ''
for i,ch in enumerate(text):
result += ch
if i < len(text)-1 and ch.isalpha() and text[i+1] == ' ':
result += '6 '
elif i == len(text) - 1 and ord('a') <= ord(ch) <= ord('z'):
result += '6'
return result
def text_to_sequence(text):
# text = chinese_cleaners(text)
result = [VOCAB[ch] for ch in text]
return result
def sequence_to_text(seq):
result = [IVOCAB[str(idx)] for idx in seq]
return result
def plot_data(data, figsize=(16, 4)):
fig, axes = plt.subplots(1, len(data), figsize=figsize)
for i in range(len(data)):
axes[i].imshow(data[i], aspect='auto', origin='lower',
interpolation='none')
def test(model, step_num, loss):
model.to('cuda')
model.eval()
text = "放心吧 我们家羽绒服做的非常好 www点bosc点cn"
text = process_text(text)
sequence = np.array(text_to_sequence(text))[None, :]
sequence = torch.autograd.Variable(torch.from_numpy(sequence)).cuda().long()
with torch.no_grad():
mel_outputs, mel_outputs_postnet, _, alignments = model.inference(sequence)
img = alignments.float().data.cpu().numpy()[0].T
filename = 'images/step{0}_loss{1:.5f}_temp.jpg'.format(step_num,loss)
img = cv.cvtColor(img, cv.COLOR_BGR2RGB)
img = img * 255.
cv.imwrite(filename,img)
return img
if __name__ == '__main__':
from taco2models.models import Tacotron2
checkpoint = 'ckp/tacotron2-cn.pt'
checkpoint = torch.load(checkpoint)
model = Tacotron2(config)
model.load_state_dict(checkpoint)
test(model,0,0.23)
class HParams:
def __init__(self):
self.n_mel_channels = None
self.dynamic_loss_scaling = True
self.fp16_run = False
self.distributed_run = False
################################
# Data Parameters #
################################
self.load_mel_from_disk = False
################################
# Audio Parameters #
################################
self.max_wav_value = 32768.0
self.sampling_rate = 22050
self.filter_length = 1024
self.hop_length = 256
self.win_length = 1024
self.n_mel_channels = 80
self.mel_fmin = 0.0
self.mel_fmax = 8000.0
################################
# Model Parameters #
################################
self.n_symbols = 35
self.symbols_embedding_dim = 512
# Encoder parameters
self.encoder_kernel_size = 5
self.encoder_n_convolutions = 3
self.encoder_embedding_dim = 512
# Decoder parameters
self.n_frames_per_step = 1 # currently only 1 is supported
self.decoder_rnn_dim = 1024
self.prenet_dim = 256
self.max_decoder_steps = 1000
self.gate_threshold = 0.5
self.p_attention_dropout = 0.1
self.p_decoder_dropout = 0.1
# Attention parameters
self.attention_rnn_dim = 1024
self.attention_dim = 128
# Location Layer parameters
self.attention_location_n_filters = 32
self.attention_location_kernel_size = 31
# Mel-post processing network parameters
self.postnet_embedding_dim = 512
self.postnet_kernel_size = 5
self.postnet_n_convolutions = 5
################################
# Optimization Hyperparameters #
################################
self.learning_rate = 1e-3
self.weight_decay = 1e-6
self.batch_size = 64
self.mask_padding = True # set model's padded outputs to padded values
| 30.07571
| 124
| 0.605517
|
dcbafef4b3839b27ae4af98352753446ec30ea35
| 45
|
rb
|
Ruby
|
spec/weibo_spec.rb
|
ballantyne/weibo
|
f3ebbf4d706e158cf81d9ffe4a6ed700db7210bc
|
[
"MIT"
] | 9
|
2015-02-01T04:07:03.000Z
|
2020-03-31T01:50:12.000Z
|
spec/weibo_spec.rb
|
IceskYsl/weibo
|
6e367becaba8f6dbd3cb356c1af91ea089e84626
|
[
"MIT"
] | null | null | null |
spec/weibo_spec.rb
|
IceskYsl/weibo
|
6e367becaba8f6dbd3cb356c1af91ea089e84626
|
[
"MIT"
] | 7
|
2015-08-04T03:00:05.000Z
|
2017-06-07T09:08:49.000Z
|
require 'spec_helper'
describe Weibo do
end
| 9
| 21
| 0.8
|
e72e40a296ea7307aed59dc3e9fdffadb519f6ce
| 1,987
|
php
|
PHP
|
backend/views/settings/index.php
|
Korol/trl
|
463d3228b953cc533ea3d4a8a6c1cf1ed3aea63f
|
[
"BSD-3-Clause"
] | null | null | null |
backend/views/settings/index.php
|
Korol/trl
|
463d3228b953cc533ea3d4a8a6c1cf1ed3aea63f
|
[
"BSD-3-Clause"
] | null | null | null |
backend/views/settings/index.php
|
Korol/trl
|
463d3228b953cc533ea3d4a8a6c1cf1ed3aea63f
|
[
"BSD-3-Clause"
] | null | null | null |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\helpers\ArrayHelper;
use app\models\Settings;
/* @var $this yii\web\View */
/* @var $searchModel app\models\SettingsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Параметри';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="settings-index">
<h1><?= Html::encode($this->title) ?></h1>
<?php // echo $this->render('_search', ['model' => $searchModel]); ?>
<p>
<?= Html::a('Новий', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
//'id',
//'type',
[
'attribute' => 'section',
'filter' => ArrayHelper::map(
Settings::find()->select('section')->distinct()->where('section <> ""')->all(),
'section',
'section'
),
],
[
'attribute' => 'key',
'format' => 'raw',
'value' => function ($model) {
return Html::a($model->key, ['update', 'id' => $model->id]);
},
],
[
'attribute' => 'value',
'format' => 'raw',
'value' => function ($model) {
return Html::a($model->value, ['update', 'id' => $model->id]);
},
],
'desc:ntext',
// 'value:ntext',
// 'active',
// 'created',
// 'modified',
// ['class' => 'yii\grid\ActionColumn'],
],
]); ?>
</div>
Внимание администратора! Модуль оснащен кэшированием - не рекомендуется делать измнения в БД в обход интерфейса.
| 24.8375
| 113
| 0.428284
|
bddaba022491be82683627dfb5f6c549e1aadf8c
| 721
|
rb
|
Ruby
|
examples/components/component1.rb
|
jpartlow/vanagon
|
fce536179236b741fc3202ba435584495cbdbf3a
|
[
"Apache-2.0"
] | 28
|
2015-10-07T19:02:37.000Z
|
2019-10-03T21:40:18.000Z
|
examples/components/component1.rb
|
jpartlow/vanagon
|
fce536179236b741fc3202ba435584495cbdbf3a
|
[
"Apache-2.0"
] | 426
|
2015-10-07T18:34:33.000Z
|
2022-02-02T22:00:00.000Z
|
examples/components/component1.rb
|
jpartlow/vanagon
|
fce536179236b741fc3202ba435584495cbdbf3a
|
[
"Apache-2.0"
] | 79
|
2015-10-07T18:17:26.000Z
|
2021-12-22T22:05:50.000Z
|
component "component1" do |pkg, settings, platform|
pkg.version "1.2.3"
pkg.md5sum "abcd1234"
pkg.url "http://my-file-store.my-app.example.com/component1-1.2.3.tar.gz"
pkg.mirror "http://mirror-01.example.com/component1-1.2.3.tar.gz"
pkg.mirror "http://mirror-02.example.com/component1-1.2.3.tar.gz"
pkg.mirror "http://mirror-03.example.com/component1-1.2.3.tar.gz"
pkg.build_requires "tar"
if platform.is_deb?
pkg.build_requires "zlib1g-dev"
elsif platform.is_rpm?
pkg.build_requires "zlib-devel"
end
pkg.configure do
["./configure --prefix=#{settings[:prefix]} "]
end
pkg.build do
["#{platform[:make]}"]
end
pkg.install do
["#{platform[:make]} install"]
end
end
| 24.862069
| 75
| 0.678225
|
ae33e65fb18d76f595ff7347c19fb5ac3127ebc3
| 39
|
sh
|
Shell
|
build-debug.sh
|
DominikHorn/learned-hashing
|
518de165b227277610c37467abd6303b8bd81d5e
|
[
"MIT"
] | null | null | null |
build-debug.sh
|
DominikHorn/learned-hashing
|
518de165b227277610c37467abd6303b8bd81d5e
|
[
"MIT"
] | null | null | null |
build-debug.sh
|
DominikHorn/learned-hashing
|
518de165b227277610c37467abd6303b8bd81d5e
|
[
"MIT"
] | null | null | null |
#!/bin/bash
./build.sh lh_tests DEBUG
| 9.75
| 25
| 0.692308
|
14e5c6d09fa74a34a19ec8fa3297ae2a4a2936e5
| 459
|
ts
|
TypeScript
|
packages/pando.js/src/objects/ipld-node.ts
|
deamme/pando
|
c0b5a4c689269e24b812db25ad90ac382bc6b2f8
|
[
"MIT"
] | null | null | null |
packages/pando.js/src/objects/ipld-node.ts
|
deamme/pando
|
c0b5a4c689269e24b812db25ad90ac382bc6b2f8
|
[
"MIT"
] | null | null | null |
packages/pando.js/src/objects/ipld-node.ts
|
deamme/pando
|
c0b5a4c689269e24b812db25ad90ac382bc6b2f8
|
[
"MIT"
] | null | null | null |
import DAG from 'ipld-dag-cbor'
import { promisify } from 'util'
export default abstract class IPLDNode {
public type: string
public constructor(type: string) {
this.type = type
}
public async cid(): Promise<any> {
const ipldNode = await this.toIPLD()
const cid = await promisify(DAG.util.cid)(ipldNode, {
format: 'dag-cbor',
hashAlg: 'keccak-256'
})
return cid
}
public abstract async toIPLD(): Promise<any>
}
| 20.863636
| 57
| 0.655773
|
68feac16d98dcc20a08ef2a2969ddb1f65e2b2f7
| 2,785
|
swift
|
Swift
|
skylaski/Model/AppConstants.swift
|
Skylaski-VPN/skylaski-ios
|
c952390840ac1acc77368291fed6c50d16f82f7e
|
[
"MIT"
] | 1
|
2022-01-21T08:58:52.000Z
|
2022-01-21T08:58:52.000Z
|
skylaski/Model/AppConstants.swift
|
Skylaski-VPN/skylaski-ios
|
c952390840ac1acc77368291fed6c50d16f82f7e
|
[
"MIT"
] | 1
|
2021-12-04T23:02:12.000Z
|
2021-12-21T18:39:31.000Z
|
skylaski/Model/AppConstants.swift
|
Skylaski-VPN/skylaski-ios
|
c952390840ac1acc77368291fed6c50d16f82f7e
|
[
"MIT"
] | 2
|
2021-12-21T16:16:44.000Z
|
2021-12-21T16:32:26.000Z
|
//
// AppConstants.swift
// skylaski
//
// Created by Anilkumar on 21/05/21.
//
import UIKit
class AppConstants : NSObject {
private static var privateShared : AppConstants?
static var sharedInstance : AppConstants { // change class to final to prevent override
guard let uwShared = privateShared else {
privateShared = AppConstants()
return privateShared!
}
return uwShared
}
class func destroy() {
privateShared = nil
}
var publicKey = ""
var privateKey = ""
var dnsType = "" // block - 3, unblock - 2
var deviceId = ""
var clientID : String {
set {
KeychainHelpher.sharedInstance.updateClientId(clientID: newValue)
}
get {
return KeychainHelpher.sharedInstance.getClientId()
}
}
var clientToken : String {
set {
KeychainHelpher.sharedInstance.updateClientToken(clientToken: newValue)
}
get {
return KeychainHelpher.sharedInstance.getClientToken()
}
}
var locations = [locationResponse]()
var selectedLocation : locationResponse {
set {
KeychainHelpher.sharedInstance.updateLcoation(result: newValue.loc_uid ?? "")
}
get {
if self.locations.count > 0, let foo = self.locations.first(where: {$0.loc_uid == KeychainHelpher.sharedInstance.getLocation()}) {
return foo
}
return locationResponse()
}
}
var plansDetails = PlanResultData()
var dns = ""
// var purchasing = false // commented for unused
var config = ""
var viaLogin = false
override init() {
super.init()
dnsType = "3"
self.getNewPublicKey()
}
func getNewPublicKey() {
self.getDeviceId()
if KeychainHelpher.sharedInstance.getPrivateKey() == "" || KeychainHelpher.sharedInstance.getPublicKey() == "" {
let priKey = PrivateKey()
KeychainHelpher.sharedInstance.updateKeys(strPrivate: priKey.base64Key , strPublic: priKey.publicKey.base64Key )
}
privateKey = KeychainHelpher.sharedInstance.getPrivateKey()
publicKey = KeychainHelpher.sharedInstance.getPublicKey()
}
func getVPNStatus() -> Bool {
return AppDelegate().vpnController.tunnelContainer?.status == .some(.active)
}
func getDeviceId() {
if KeychainHelpher.sharedInstance.getDeviceId() == "" {
deviceId = UUID().uuidString
KeychainHelpher.sharedInstance.updateDeviceId(result: deviceId)
}
else {
deviceId = KeychainHelpher.sharedInstance.getDeviceId()
}
}
}
| 27.574257
| 142
| 0.596409
|
4d8e172fe69419c624f2d51bf1a5acd1d1568db0
| 781
|
cs
|
C#
|
Assets/Scripts/Dog.cs
|
dolorismachina/ride-boy-ride
|
d0cb7387619f21d23b19d706e40771a46cca09be
|
[
"MIT"
] | null | null | null |
Assets/Scripts/Dog.cs
|
dolorismachina/ride-boy-ride
|
d0cb7387619f21d23b19d706e40771a46cca09be
|
[
"MIT"
] | null | null | null |
Assets/Scripts/Dog.cs
|
dolorismachina/ride-boy-ride
|
d0cb7387619f21d23b19d706e40771a46cca09be
|
[
"MIT"
] | null | null | null |
using UnityEngine;
using System.Collections;
public class Dog : MonoBehaviour {
public float Speed = 3.5f;
GameObject player;
// Use this for initialization
void Start () {
player = GameObject.FindWithTag("Player");
}
// Update is called once per frame
void Update () {
float distanceToPlayer = Vector3.Distance(transform.position, player.transform.position);
transform.LookAt(player.transform.position);
if (distanceToPlayer <= 30.0f)
{
audio.enabled = true;
transform.Translate(Vector3.forward * Time.deltaTime * Speed);
}
else
{
audio.enabled = false;
}
}
void OnTriggerEnter(Collider other)
{
if (other.name == "Player")
{
Speed *= 0.7f;
}
}
}
| 20.025641
| 97
| 0.615877
|
a374dae33b6580887dd091d582a0247599c6071e
| 2,838
|
java
|
Java
|
src/test/java/org/salawat/samples/homeaway/api/StationTest.java
|
Salawatt/ha-api
|
685aa8fe4a99546f0c3578d3e1060e8c7f9727ff
|
[
"Unlicense"
] | null | null | null |
src/test/java/org/salawat/samples/homeaway/api/StationTest.java
|
Salawatt/ha-api
|
685aa8fe4a99546f0c3578d3e1060e8c7f9727ff
|
[
"Unlicense"
] | null | null | null |
src/test/java/org/salawat/samples/homeaway/api/StationTest.java
|
Salawatt/ha-api
|
685aa8fe4a99546f0c3578d3e1060e8c7f9727ff
|
[
"Unlicense"
] | null | null | null |
package org.salawat.samples.homeaway.api;
import java.util.List;
import org.salawat.samples.homeaway.commons.BeforeAfterSuiteClass;
import org.salawat.samples.homeaway.json.requests.NRELTransportationRequestFactory;
import org.salawat.samples.homeaway.json.requests.NRELTransportationRequestFactory.NearestStationRequest;
import org.salawat.samples.homeaway.json.requests.NRELTransportationRequestFactory.StationIdRequest;
import org.salawat.samples.homeaway.json.response.NearestStationResponse;
import org.salawat.samples.homeaway.json.response.StationIdResponse;
import org.salawat.samples.homeaway.json.response.bean.Fuel_Stations;
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class StationTest {
private static final String city = "Austin";
private static final String state = "TX";
private static final String network = "ChargePoint Network";
private static final String stationName = "HYATT AUSTIN";
private static int stationId = 0;
//this should be Barton Springs Rd.
private static final String expected_street_address = "208 Barton Springs Rd";
private static final String expectedCity = "Austin";
private static final String expectedState = "TX";
private static final String expectedZip = "78704";
@BeforeClass
void setUpClass() {
BeforeAfterSuiteClass.loadProperties();
}
@Test(priority = 1)
public void getNearestStation() {
NearestStationResponse response = null;
NRELTransportationRequestFactory rqFac = new NRELTransportationRequestFactory();
NearestStationRequest nsr = rqFac.new NearestStationRequest(city, state, network);
response = nsr.doNearestStationRequest();
List<Fuel_Stations> stations = response.getfuel_stations();
Assert.assertTrue(isStationWithNamePresent(stationName, stations));
}
/**
* Assuming a small dataset here. This would probably cry due to O(n), but
* simplicity wins the day for starters.
*
* @param name
* @param stations
* @return
*/
private boolean isStationWithNamePresent(String name, List<Fuel_Stations> stations) {
for (Fuel_Stations fsr : stations) {
if (name.equals(fsr.getStation_name())) {
stationId = fsr.getId();
return true;
}
}
return false;
}
@Test(priority = 2)
public void verifyAddressOfHyattAustin() {
StationIdResponse response = null;
NRELTransportationRequestFactory rqFac = new NRELTransportationRequestFactory();
StationIdRequest stationWithIdRequest = rqFac.new StationIdRequest(stationId);
response = stationWithIdRequest.doGetStationByIdRequest();
Assert.assertEquals(expected_street_address, response.getStreet_address());
Assert.assertEquals(expectedCity, response.getCity());
Assert.assertEquals(expectedState, response.getState());
Assert.assertEquals(expectedZip, response.getZip());
}
}
| 34.609756
| 105
| 0.788584
|
7ae3d7f78d153daa296a07e35838adad6e50ede7
| 462
|
cs
|
C#
|
SOLID/SOLID/3. LSP/Square.cs
|
avandam/TrainingVietnam
|
995c9d696dec812ef697b81af3b7d2fb6e45f07e
|
[
"Unlicense"
] | null | null | null |
SOLID/SOLID/3. LSP/Square.cs
|
avandam/TrainingVietnam
|
995c9d696dec812ef697b81af3b7d2fb6e45f07e
|
[
"Unlicense"
] | null | null | null |
SOLID/SOLID/3. LSP/Square.cs
|
avandam/TrainingVietnam
|
995c9d696dec812ef697b81af3b7d2fb6e45f07e
|
[
"Unlicense"
] | 1
|
2018-12-25T07:12:12.000Z
|
2018-12-25T07:12:12.000Z
|
namespace SOLID._3._LSP
{
class Square : Rectangle
{
public Square(int width) : base(width, width)
{
}
public override void SetWidth(int width)
{
SetSide(width);
}
public override void SetHeight(int height)
{
SetSide(height);
}
private void SetSide(int length)
{
Width = length;
Height = length;
}
}
}
| 17.769231
| 53
| 0.474026
|
0ab1cfe1de1e5d751ee0dab344b0a133894bfa72
| 1,544
|
cs
|
C#
|
src/Azos/Apps/Strategies/Strategy.cs
|
JohnPKosh/azos
|
b8cb4c3c43628ce0d5b1df9a1ddd861e0a00d861
|
[
"MIT"
] | 183
|
2018-10-19T21:17:58.000Z
|
2022-03-25T04:48:25.000Z
|
src/Azos/Apps/Strategies/Strategy.cs
|
JohnPKosh/azos
|
b8cb4c3c43628ce0d5b1df9a1ddd861e0a00d861
|
[
"MIT"
] | 587
|
2018-10-30T02:51:14.000Z
|
2022-03-29T09:30:44.000Z
|
src/Azos/Apps/Strategies/Strategy.cs
|
JohnPKosh/azos
|
b8cb4c3c43628ce0d5b1df9a1ddd861e0a00d861
|
[
"MIT"
] | 35
|
2018-10-19T21:17:21.000Z
|
2021-12-28T20:27:47.000Z
|
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using Azos.Data;
namespace Azos.Apps.Strategies
{
/// <summary>
/// Represents a strategy which embodies context-specific logic along with its configuration parameters.
/// Unlike regular "logic" which represents context-agnostic behavior, strategies implement
/// behaviors specific to given business context. Strategy instances are obtained by calling
/// `IStrategyBinder.Bind(ctx)` and should NOT be cached for reuse.
/// The binder matches the most appropriate strategy configuration for the requested context, fetching
/// strategy config parameters from an external store if necessary and aggressively caching them.
/// </summary>
public abstract class Strategy<TContext> : TypedDoc, IStrategyImplementation<TContext> where TContext : IStrategyContext
{
[NonSerialized] private TContext m_Context;
IStrategyContext IStrategy.Context => Context;
void IStrategyImplementation<TContext>.SetContext(TContext context) => m_Context = context;
/// <summary>
/// Provides context in which the strategy methods are called.
/// The context is not a [Field] because it is a transitive volatile information
/// set per every request
/// </summary>
public TContext Context { get => m_Context; set => m_Context = value; }
}
}
| 41.72973
| 122
| 0.743523
|
6e595a2e6783b76b582b1316324ed53861100443
| 628
|
dart
|
Dart
|
test/golden/smarteam/app/presentation/widgets/show_error_widget_test.dart
|
nimec77/flutter_smarteam
|
c513554256ca8fd889ac4c9d7fcaa6e3f125b042
|
[
"MIT"
] | null | null | null |
test/golden/smarteam/app/presentation/widgets/show_error_widget_test.dart
|
nimec77/flutter_smarteam
|
c513554256ca8fd889ac4c9d7fcaa6e3f125b042
|
[
"MIT"
] | null | null | null |
test/golden/smarteam/app/presentation/widgets/show_error_widget_test.dart
|
nimec77/flutter_smarteam
|
c513554256ca8fd889ac4c9d7fcaa6e3f125b042
|
[
"MIT"
] | null | null | null |
import 'package:flutter_smarteam/smarteam/app/presentation/widgets/show_error_widget.dart';
import 'package:golden_toolkit/golden_toolkit.dart';
import '../../../../../helpers/helpers.dart';
void main() {
testGoldens('ShowErrorWidget render test', (tester) async {
const widget = ShowErrorWidget(
errorMessage: 'Error Message',
height: 500,
);
final builder = GoldenBuilder.column()..addScenario('ShowErrorWidget', widget);
await tester.pumpWidgetBuilder(
builder.build(),
wrapper: sizerAppWrapper(),
);
await screenMatchesGolden(tester, 'golden_show_error_widget');
});
}
| 29.904762
| 91
| 0.703822
|
08b00fec0bbba1d0a774339b1612f6edd70b418b
| 120
|
css
|
CSS
|
third_party/blink/web_tests/http/tests/devtools/sources/resources/sourcemap-style-2.css
|
zealoussnow/chromium
|
fd8a8914ca0183f0add65ae55f04e287543c7d4a
|
[
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668
|
2015-01-01T01:57:10.000Z
|
2022-03-31T23:33:32.000Z
|
third_party/blink/web_tests/http/tests/devtools/sources/resources/sourcemap-style-2.css
|
zealoussnow/chromium
|
fd8a8914ca0183f0add65ae55f04e287543c7d4a
|
[
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113
|
2015-05-04T09:58:14.000Z
|
2022-01-31T19:35:03.000Z
|
third_party/blink/web_tests/http/tests/devtools/sources/resources/sourcemap-style-2.css
|
zealoussnow/chromium
|
fd8a8914ca0183f0add65ae55f04e287543c7d4a
|
[
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941
|
2015-01-02T11:32:21.000Z
|
2022-03-31T16:35:46.000Z
|
@media (min-width: 6px){#container{border:1px solid blue;color:blue}}
/*# sourceMappingURL=sourcemap-style-2.css.map */
| 40
| 69
| 0.741667
|
3a7355f3ff32a7bd6f949f5f2c4408559a9a5d07
| 2,555
|
lua
|
Lua
|
AddOns/PetTracker/addons/main/localization/cn.lua
|
mrbandler/wow-ui
|
1b0eff4a2a90618fd80060433cc5ad7f19621c43
|
[
"MIT"
] | null | null | null |
AddOns/PetTracker/addons/main/localization/cn.lua
|
mrbandler/wow-ui
|
1b0eff4a2a90618fd80060433cc5ad7f19621c43
|
[
"MIT"
] | null | null | null |
AddOns/PetTracker/addons/main/localization/cn.lua
|
mrbandler/wow-ui
|
1b0eff4a2a90618fd80060433cc5ad7f19621c43
|
[
"MIT"
] | null | null | null |
--[[
Chinese Simplified Localization
--]]
local ADDON = ...
local L = LibStub('AceLocale-3.0'):NewLocale(ADDON, 'zhCN')
if not L then return end
-- main
L.AddWaypoint = '添加路径点'
L.AskForfeit = '没有可供升级,退出战斗?'
L.AvailableBreeds = '可用种属'
L.Breed = '种属'
L.BreedExplanation = '确定每级上涨种属属性情况。'
L.CapturedPets = '已捕获宠物'
L.CommonSearches = '通用搜索'
L.FilterPets = '过滤宠物'
L.LoadTeam = '加载队伍'
L.Ninja = '乱入者'
L.NoHistory = 'PetTracker 从没见\n你与其对战过'
L.NoneCollected = '未收集'
L.Rivals = '对手'
L.ShowJournal = '在日志中显示'
L.ShowPets = '显示战斗宠物'
L.ShowStables = '显示管理员'
L.Species = '种类'
L.StableTip = '|cffffd200到此治疗|n宠物,些许花费。|r'
L.TellMore = '告诉我更多你的细节。'
L.UpgradeAlert = '野生宠物出现!'
L.TotalRivals = '全部对手'
-- options
L.AlertUpgrades = '升级提醒'
L.AlertUpgradesTip = '如禁用,战斗中野生宠物战斗升级提醒框将不再显示,但升级将以一个标记显示。位置:(|TInterface/GossipFrame/AvailableQuestIcon:0:0:-1:-2|t)。'
L.Switcher = '切换器'
L.SwitcherTip = '如启用,宠物战斗切换默认用户界面将被替换为一个进阶级别的。'
L.RivalPortraits = '对手头像'
L.RivalPortraitsTip = '如启用,世界和战斗地图上显示对手将以他们的头像标记。'
L.FAQDescription = '这些是最常见的问题。要再次查看教程,请使用左下角的“默认”按钮重置插件设置。'
L.Forfeit = '提示损耗'
L.ForfeitTip = '如启用,宠物战斗中将在没有升级可用的情况下提示损耗。'
L.OptionsDescription = '此选项允许切换 PetTracker 常用功能开关。把他们一网打尽!'
L.TrackPetsTip = '如启用,当前区域宠物捕获进度列表将被显示在任务目标旁边。'
L.FAQ = {
'如何在地图上显示/隐藏全部宠物?',
'点击地图右上角落的放大镜按钮。点击“宠物”下的“种属”。',
'如何只在地图上显示特定的宠物?',
'在世界地图右上角有个过滤框。参见教程获得更多的信息和常见的举例。',
'如何再次在目标显示捕获进度?',
'打开宠物日志界面并点击右下方的“追踪宠物”。',
'如何在区域追踪中显示已捕获的宠物?',
'点击跟踪器的"宠物"标题,然后启用“显示已捕获”。',
'如何移动敌人动作条?',
'按住 Shift 键并拖动动作条。',
}
L.Tutorial = {
[[欢迎!现在使用的是 |cffffd200PetTracker|r,由 |cffffd200Jaliborc|r 制作,|cffffd200Adavak - CN 斯坦索姆|r简体中文汉化。
这个小教程帮助你快速了解此插件,这样就可以知道什么是真正需要去做的:把……他们……一网打尽!]],
[[PetTracker 将帮助监视当前区域的进度。
|cffffd200区域追踪|r显示缺失的宠物、来源及捕获宠物的稀有度。]],
[[点击|cffffd200战斗宠物|r切换追踪或更多选项。]],
[[打开|cffffd200世界地图|r来查看 PetTracker 能为你的历险做些什么。]],
[[PetTracker 在世界地图上显示可能的宠物来源,从刷新点到供应商。也能显示宠物对战师普通和附加信息。
如要隐藏此位置,打开追踪菜单并禁用|cffffd200显示战斗宠物|r。]],
[[还可以过滤显示的搜索框中输入的宠物。举例说明:
• |cffffd200猫(Cat)|r代表猫种类。
• |cffffd200缺失(Missing)|r代表你并未拥有。
• |cffffd200水栖(Aquatic)|r代表水栖类。
• |cffffd200任务(Quest)|r代表从任务获取的宠物。
• |cffffd200森林(Forest)|r代表栖息在森林。]],
[[打开|cffffd200宠物日志|r 来查看 PetTracker 能为你的历险做些什么。]],
[[此选择框可以切换|cffffd200区域追踪|r。这是一个特别有用的追踪加入你没有用过追踪的话。]],
[[打开|cffffd200对手|r栏来了解关于他们更多。]],
[[|cffffd200对手|r栏提供了已知宠物战斗信息,例如:
• 敌对宠物和它们的技能。
• 日常任务和奖励。
• 战斗位置。]],
[[也可以在搜索框内过滤要显示的宠物。例如:
• |cffffd200亚济(Aki)|r为天选者亚济。
• |cffffd200勇气(Valor)|r为奖励勇气的对手。
• |cffffd200德拉诺(Draenor)|r为德拉诺的对手。
• |cffffd200史诗(Epic)|r为对手使用史诗队伍。
• |cffffd200> 20|r为等级大于20的对手。]],
[[PetTracker 记录每个与之对战的对手。选择战斗并点击|cffffd200加载队伍|r来快速加载你所选择的宠物来对付他们。]]
}
| 24.567308
| 119
| 0.735812
|
9644f88bd3edefb02907baf1907b1906f3c795ec
| 473
|
kt
|
Kotlin
|
unicorn-coroutines/src/main/kotlin/ru/dimsuz/unicorn/coroutines/Machine.kt
|
dimsuz/unicorn
|
910b96de0caebd1edf40954ea06a7688af50625f
|
[
"Apache-2.0"
] | 4
|
2021-04-07T12:22:22.000Z
|
2021-05-27T12:37:51.000Z
|
unicorn-coroutines/src/main/kotlin/ru/dimsuz/unicorn/coroutines/Machine.kt
|
dimsuz/unicorn
|
910b96de0caebd1edf40954ea06a7688af50625f
|
[
"Apache-2.0"
] | null | null | null |
unicorn-coroutines/src/main/kotlin/ru/dimsuz/unicorn/coroutines/Machine.kt
|
dimsuz/unicorn
|
910b96de0caebd1edf40954ea06a7688af50625f
|
[
"Apache-2.0"
] | null | null | null |
package ru.dimsuz.unicorn.coroutines
import kotlinx.coroutines.flow.Flow
interface Machine<S : Any, E : Any> {
val states: Flow<S>
/**
* Sends event [e] to the machine, suspending in case event buffer is overflown.
* See [trySend] for a non-suspending variant
*/
suspend fun send(e: E)
/**
* Tries to send an event [e] to the machine and returns `false` if calling [send]
* instead of [trySend] would suspend
*/
fun trySend(e: E): Boolean
}
| 23.65
| 84
| 0.672304
|
53f0bc9e776783d26309c7c15e13b038906fc8a2
| 3,335
|
kt
|
Kotlin
|
common/src/main/java/com/sec/common/ktx/RecyclerExt.kt
|
liuhuiAndroid/fizz
|
2ccbf66a540cc4db738f9d3e0fdcc6f5db014526
|
[
"MIT"
] | null | null | null |
common/src/main/java/com/sec/common/ktx/RecyclerExt.kt
|
liuhuiAndroid/fizz
|
2ccbf66a540cc4db738f9d3e0fdcc6f5db014526
|
[
"MIT"
] | null | null | null |
common/src/main/java/com/sec/common/ktx/RecyclerExt.kt
|
liuhuiAndroid/fizz
|
2ccbf66a540cc4db738f9d3e0fdcc6f5db014526
|
[
"MIT"
] | null | null | null |
package com.sec.common.ktx
import androidx.core.view.children
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.scwang.smart.refresh.layout.SmartRefreshLayout
import com.scwang.smart.refresh.layout.api.RefreshLayout
import com.scwang.smart.refresh.layout.constant.RefreshState
import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener
/**
* RecyclerView回滚到顶部,当父控件为[SmartRefreshLayout]则调用下拉刷新
*/
fun RecyclerView.autoRefresh(target: Int = 3) {
val layoutManager = this.layoutManager
if (layoutManager is LinearLayoutManager) {
val position = layoutManager.findFirstCompletelyVisibleItemPosition()
if (position > -1) {
if (position > target) {
layoutManager.scrollToPosition(target)
}
smoothScrollToPosition(0)
}
val parent = this.parent
if (parent is SmartRefreshLayout) {
parent.autoRefresh()
}
}
}
/**
* 新房分页加载完成,pageIndex表示索引,第一页:0,第二页:10
*/
fun SmartRefreshLayout.fizzLoadComplete(pageIndex: Int, total: Int, pageCount: Int = 10) {
loadComplete(pageIndex + pageCount, total)
}
/**
* 分页加载完成,pageIndex表示页码,第一页:1,第二页:2
*/
fun SmartRefreshLayout.loadFinish(pageIndex: Int, total: Int, pageCount: Int = 10) {
loadComplete((pageIndex) * pageCount, total)
}
/**
* 加载完成
*
* @param displayed 已加载数量
* @param total 列表总数量
*/
fun SmartRefreshLayout.loadComplete(displayed: Int, total: Int) {
val noMoreData = displayed >= total
when (state) {
RefreshState.Refreshing -> {//下拉刷新
finishRefresh()
postDelayed({
setNoMoreData(noMoreData)
}, 400)
}
RefreshState.Loading -> {//加载更多
if (noMoreData) {
finishLoadMoreWithNoMoreData()
} else {
finishLoadMore()
}
}
else -> {
setNoMoreData(noMoreData)
}
}
}
fun SmartRefreshLayout.scrollTop(target: Int = 3) {
children.forEach {
val recyclerView = it.isClass<RecyclerView>()
val layoutManager = recyclerView?.layoutManager?.isClass<LinearLayoutManager>()
layoutManager?.also { lm ->
val position = lm.findFirstCompletelyVisibleItemPosition()
if (position > -1) {
if (position > target) {
layoutManager.scrollToPosition(target)
}
recyclerView.smoothScrollToPosition(0)
}
}
}
}
/**
* [SmartRefreshLayout]刷新、加载更多回调
*/
class SmartRefreshCallback : OnRefreshLoadMoreListener {
private var refresh: (() -> Unit)? = null
private var loadMore: (() -> Unit)? = null
infix fun onRefresh(block: () -> Unit) {
refresh = block
}
infix fun onLoadMore(block: () -> Unit) {
loadMore = block
}
override fun onLoadMore(refreshLayout: RefreshLayout) {
loadMore?.invoke()
}
override fun onRefresh(refreshLayout: RefreshLayout) {
refresh?.invoke()
}
}
/**
* [SmartRefreshLayout]设置刷新、更多回调
*/
inline fun SmartRefreshLayout.onSmartRefreshCallback(crossinline callback: SmartRefreshCallback.() -> Unit) {
setOnRefreshLoadMoreListener(SmartRefreshCallback().apply(callback))
}
| 27.561983
| 109
| 0.63928
|
8e5b906ecd27ce6750e630ec6891bcae92aaf091
| 10,844
|
rs
|
Rust
|
src/color.rs
|
luke-nuttall/rasterize
|
761fa81e7f0c331d23235d6d3a68e420812b54b6
|
[
"MIT"
] | null | null | null |
src/color.rs
|
luke-nuttall/rasterize
|
761fa81e7f0c331d23235d6d3a68e420812b54b6
|
[
"MIT"
] | null | null | null |
src/color.rs
|
luke-nuttall/rasterize
|
761fa81e7f0c331d23235d6d3a68e420812b54b6
|
[
"MIT"
] | null | null | null |
use crate::{Paint, Point, Scalar, Transform, Units};
use std::{
fmt,
ops::{Add, Mul},
str::FromStr,
};
pub trait Color {
fn blend_over(&self, other: &Self) -> Self;
fn with_alpha(&self, alpha: Scalar) -> Self;
fn to_rgba(&self) -> [u8; 4];
fn to_rgb(&self) -> [u8; 3]
where
Self: Sized,
{
let [r, g, b, _] = self.to_rgba();
[r, g, b]
}
}
/// ABGR color packed as u32 value (most of the platforms are little-endian)
#[derive(Clone, Copy, PartialEq, Eq, Hash, Default)]
pub struct ColorU8(u32);
impl ColorU8 {
pub const fn new(r: u8, g: u8, b: u8, a: u8) -> Self {
Self(((a as u32) << 24) | ((b as u32) << 16) | ((g as u32) << 8) | (r as u32))
}
pub const fn alpha(self) -> u8 {
((self.0 >> 24) & 0xff) as u8
}
pub const fn blue(self) -> u8 {
((self.0 >> 16) & 0xff) as u8
}
pub const fn green(self) -> u8 {
((self.0 >> 8) & 0xff) as u8
}
pub const fn red(self) -> u8 {
(self.0 & 0xff) as u8
}
/*
fn blend_over(self, other: Self) -> Self {
// Sa - source alpha
// Sc - source color
// Da - destination alpha
// Dc - destination color
// Output color would be (prime means premultiplied):
// Oc' = Sc * Sa + Dc * Da * (1 - Sa)
// Oa = Sa + Da * (1 - Sa)
// Oc = Oc' / Oa
//
// Oc' = lerp(Dc * Da, Sc, Sa)
// Oa = Sa + Da - Sa * Da
let da = u32::from(self.alpha());
let sa = u32::from(other.alpha());
let _oa = sa + da - mul_u8(sa, da);
let dc = self.0;
let sc = other.0;
let _oc = lerp_u8x4(mul_u8x4(dc, da), sc, sa);
todo!()
}
*/
}
impl Color for ColorU8 {
fn to_rgba(&self) -> [u8; 4] {
self.0.to_le_bytes()
}
fn blend_over(&self, _other: &Self) -> Self {
todo!()
}
fn with_alpha(&self, _alpha: Scalar) -> Self {
todo!()
}
}
impl From<LinColor> for ColorU8 {
fn from(lin: LinColor) -> Self {
let LinColor([r, g, b, a]) = lin;
if a < std::f32::EPSILON {
return ColorU8::default();
}
let r = (linear_to_srgb(r / a) * 255.0 + 0.5) as u8;
let g = (linear_to_srgb(g / a) * 255.0 + 0.5) as u8;
let b = (linear_to_srgb(b / a) * 255.0 + 0.5) as u8;
let a = (a * 255.0 + 0.5) as u8;
ColorU8::new(r, g, b, a)
}
}
impl fmt::Debug for ColorU8 {
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
fmt.debug_struct("ColorU8")
.field("r", &self.red())
.field("g", &self.green())
.field("b", &self.blue())
.field("a", &self.alpha())
.finish()
}
}
impl FromStr for ColorU8 {
type Err = ColorError;
fn from_str(color: &str) -> Result<Self, Self::Err> {
if color.starts_with('#') && (color.len() == 7 || color.len() == 9) {
// #RRGGBB(AA)
let bytes: &[u8] = color[1..].as_ref();
let digit = |byte| match byte {
b'A'..=b'F' => Ok(byte - b'A' + 10),
b'a'..=b'f' => Ok(byte - b'a' + 10),
b'0'..=b'9' => Ok(byte - b'0'),
_ => Err(ColorError::HexExpected),
};
let mut hex = bytes
.chunks(2)
.map(|pair| Ok(digit(pair[0])? << 4 | digit(pair[1])?));
Ok(ColorU8::new(
hex.next().unwrap_or(Ok(0))?,
hex.next().unwrap_or(Ok(0))?,
hex.next().unwrap_or(Ok(0))?,
hex.next().unwrap_or(Ok(255))?,
))
} else {
Err(ColorError::HexExpected)
}
}
}
/// Alpha premultiplied RGBA color in the liniar color space (no gamma correction)
#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct LinColor([f32; 4]);
impl LinColor {
pub const fn new(r: f32, g: f32, b: f32, a: f32) -> Self {
LinColor([r, g, b, a])
}
pub const fn red(&self) -> f32 {
self.0[0]
}
pub const fn green(&self) -> f32 {
self.0[1]
}
pub const fn blue(&self) -> f32 {
self.0[2]
}
pub const fn alpha(&self) -> f32 {
self.0[3]
}
pub fn lerp(self, other: LinColor, t: Scalar) -> Self {
let t = t as f32;
other * t + self * (1.0 - t)
}
/// Temporary convert to srgb color space
///
/// Used by gradients, do not make public
pub(crate) fn into_srgb(self) -> Self {
let Self([r, g, b, a]) = self;
Self::new(
linear_to_srgb(r * a),
linear_to_srgb(g * a),
linear_to_srgb(b * a),
a,
)
}
/// Convert back from temporary srgb color space
///
/// Used by gradient, do not make public
pub(crate) fn into_linear(self) -> Self {
let Self([r, g, b, a]) = self;
Self::new(
srgb_to_linear(r / a),
srgb_to_linear(g / a),
srgb_to_linear(b / a),
a,
)
}
}
impl Color for LinColor {
fn to_rgba(&self) -> [u8; 4] {
ColorU8::from(*self).to_rgba()
}
fn blend_over(&self, other: &Self) -> Self {
*other + *self * (1.0 - other.alpha())
}
fn with_alpha(&self, alpha: Scalar) -> Self {
*self * (alpha as f32)
}
}
impl Paint for LinColor {
fn at(&self, _: Point) -> LinColor {
*self
}
fn units(&self) -> Option<Units> {
None
}
fn transform(&self) -> Transform {
Transform::identity()
}
}
impl Add<Self> for LinColor {
type Output = Self;
#[inline]
fn add(self, other: Self) -> Self::Output {
let Self([r0, g0, b0, a0]) = self;
let Self([r1, g1, b1, a1]) = other;
Self([r0 + r1, g0 + g1, b0 + b1, a0 + a1])
}
}
impl Mul<f32> for LinColor {
type Output = Self;
#[inline]
fn mul(self, scale: f32) -> Self::Output {
let Self([r, g, b, a]) = self;
Self([scale * r, scale * g, scale * b, scale * a])
}
}
impl From<ColorU8> for LinColor {
fn from(color: ColorU8) -> Self {
let a = color.alpha() as f32 / 255.0;
let r = srgb_to_linear(color.red() as f32 / 255.0) * a;
let g = srgb_to_linear(color.green() as f32 / 255.0) * a;
let b = srgb_to_linear(color.blue() as f32 / 255.0) * a;
LinColor::new(r, g, b, a)
}
}
impl FromStr for LinColor {
type Err = ColorError;
fn from_str(color: &str) -> Result<Self, Self::Err> {
Ok(ColorU8::from_str(color)?.into())
}
}
impl Color for Scalar {
fn to_rgba(&self) -> [u8; 4] {
let color = (linear_to_srgb(1.0 - (*self as f32)) * 255.0 + 0.5) as u8;
[color, color, color, 255]
}
fn blend_over(&self, other: &Self) -> Self {
other + self * (1.0 - other)
}
fn with_alpha(&self, alpha: Scalar) -> Self {
self * alpha
}
}
/// Convert Linear RGB color component into a SRGB color component.
///
/// It was hard to optimize this function, even current version
/// is slow because of the conditional jump. Lookup table is not working
/// here as well it should be at least 4K in size an not cache friendly.
#[inline]
pub fn linear_to_srgb(x0: f32) -> f32 {
if x0 <= 0.0031308 {
x0 * 12.92
} else {
// This function is generated by least square fitting of
// `f(x) = 1.055 * x.powf(1.0 / 2.4) - 0.055` on value [0.0031308..1.0]
// see `scripts/srgb.py` for details.
let x1 = x0.sqrt();
let x2 = x1.sqrt();
let x3 = x2.sqrt();
-0.01848558 * x0 + 0.6445592 * x1 + 0.70994765 * x2 - 0.33605254 * x3
}
}
/*
#[inline]
pub fn linear_to_srgb(value: f32) -> f32 {
if value <= 0.0031308 {
value * 12.92
} else {
1.055 * value.powf(1.0 / 2.4) - 0.055
}
}
*/
#[inline]
pub fn srgb_to_linear(value: f32) -> f32 {
if value <= 0.04045 {
value / 12.92
} else {
((value + 0.055) / 1.055).powf(2.4)
}
}
#[derive(Debug, Clone)]
pub enum ColorError {
HexExpected,
}
impl fmt::Display for ColorError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
ColorError::HexExpected => {
write!(f, "Color expected to be #RRGGBB(AA) in hexidemical format")
}
}
}
}
impl std::error::Error for ColorError {}
/*
const MASK_LOW: u32 = 0x00FF00FF;
/// Calculate `[_, a1, _, a3] * b / 255`, where `a{0-3}` and `b` are `u8`
///
/// Those optimisation comes from for these two formulas:
/// 1. `a + ar + ar^2 ... = a / (1 - r)` for all r in [0..1)
/// 2. `t / 255 = (t / 256) / (1 - r)` where if `r = 1 / 256`
///
/// Applying this 1 and 2, takin only first two arguments from 1.
/// `(v >> 8) + (v >> 16)` => `((v >> 8) + v) >> 8` where `v = a * b`
///
/// Basically we get `v / 255 = ((v >> 8) + v) >> 8`
///
/// This function also doing this operation at on two u8 at once by means of masking
/// and then recomposing everyting in one value.
///
/// References:
/// - [Image Compasiting Fundamentals](https://www.cs.princeton.edu/courses/archive/fall00/cs426/papers/smith95a.pdf)
/// - [Double blend trick](http://stereopsis.com/doubleblend.html)
fn mul_u8x2(a: u32, b: u32) -> u32 {
let m0 = (a & MASK_LOW) * b + 0x00800080;
((((m0 >> 8) & MASK_LOW) + m0) >> 8) & MASK_LOW
}
fn mul_u8(a: u32, b: u32) -> u32 {
let t = (a * b) + 0x80;
((t >> 8) + t) >> 8
}
pub fn mul_u8x4(a: u32, b: u32) -> u32 {
let low = mul_u8x2(a, b);
let high = mul_u8x2(a >> 8, b) << 8;
low + high
}
fn lerp_u8x2(a: u32, b: u32, t: u32) -> u32 {
let a_low = a & MASK_LOW;
let b_low = b & MASK_LOW;
let delta_low = b_low.wrapping_sub(a_low).wrapping_mul(t) >> 8;
(a_low + delta_low) & MASK_LOW
}
pub fn lerp_u8x4(a: u32, b: u32, t: u32) -> u32 {
let low = lerp_u8x2(a, b, t);
let high = lerp_u8x2(a >> 8, b >> 8, t) << 8;
low | high
}
*/
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_color_u8() {
let c = ColorU8::new(1, 2, 3, 4);
assert_eq!([1, 2, 3, 4], c.to_rgba());
assert_eq!(1, c.red());
assert_eq!(2, c.green());
assert_eq!(3, c.blue());
assert_eq!(4, c.alpha());
}
#[test]
fn test_color_u8_parse() -> Result<(), ColorError> {
assert_eq!(ColorU8::new(1, 2, 3, 4), "#01020304".parse::<ColorU8>()?);
assert_eq!(
ColorU8::new(170, 187, 204, 255),
"#aabbcc".parse::<ColorU8>()?
);
assert_eq!(ColorU8::new(0, 0, 0, 255), "#000000".parse::<ColorU8>()?);
Ok(())
}
/*
#[test]
fn test_mul_u8x4() {
assert_eq!(mul_u8x4(0xff804020, 0x20), 0x20100804);
}
*/
}
| 25.880668
| 119
| 0.502029
|
0eb239ee98216c3eea2f3a4689792fea60f738ab
| 744
|
sql
|
SQL
|
openGaussBase/testcase/SQL/DDL/unique_constraint/Opengauss_Function_DDL_Unique_Case0004.sql
|
opengauss-mirror/Yat
|
aef107a8304b94e5d99b4f1f36eb46755eb8919e
|
[
"MulanPSL-1.0"
] | null | null | null |
openGaussBase/testcase/SQL/DDL/unique_constraint/Opengauss_Function_DDL_Unique_Case0004.sql
|
opengauss-mirror/Yat
|
aef107a8304b94e5d99b4f1f36eb46755eb8919e
|
[
"MulanPSL-1.0"
] | null | null | null |
openGaussBase/testcase/SQL/DDL/unique_constraint/Opengauss_Function_DDL_Unique_Case0004.sql
|
opengauss-mirror/Yat
|
aef107a8304b94e5d99b4f1f36eb46755eb8919e
|
[
"MulanPSL-1.0"
] | null | null | null |
-- @testpoint: 创建不带约束名字的联合唯一约束,违反联合唯一约束,合理报错
-- @modify at: 2020-11-23
--建表成功
drop table if exists test_unique_constraint004;
create table test_unique_constraint004 (id_p int not null unique, lastname varchar(255) not null, firstname varchar(255), address varchar(255), city varchar(255),unique (id_p,lastname));
--插入数据,成功
insert into test_unique_constraint004 values(1,'mary','','','');
insert into test_unique_constraint004 values(2,'mary','','','');
--插入数据,失败
insert into test_unique_constraint004 values(2,'mary','','','');
--通过系统表查询约束信息
select conname,contype from pg_constraint where conrelid = (select oid from pg_class where relname = 'test_unique_constraint004') order by conname;
--删表
drop table if exists test_unique_constraint004;
| 53.142857
| 186
| 0.771505
|
8541dcd188bdb50e98e485ac32d3d9f7689abc75
| 3,011
|
lua
|
Lua
|
drivers/SmartThings/zigbee-lock/src/lock-without-codes/init.lua
|
teba-home/SmartThingsEdgeDrivers
|
924d882f29a9499868faa71c62d481459533dfa0
|
[
"Apache-2.0"
] | null | null | null |
drivers/SmartThings/zigbee-lock/src/lock-without-codes/init.lua
|
teba-home/SmartThingsEdgeDrivers
|
924d882f29a9499868faa71c62d481459533dfa0
|
[
"Apache-2.0"
] | null | null | null |
drivers/SmartThings/zigbee-lock/src/lock-without-codes/init.lua
|
teba-home/SmartThingsEdgeDrivers
|
924d882f29a9499868faa71c62d481459533dfa0
|
[
"Apache-2.0"
] | null | null | null |
-- Copyright 2022 SmartThings
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
local configurationMap = require "configurations"
local clusters = require "st.zigbee.zcl.clusters"
local capabilities = require "st.capabilities"
local DoorLock = clusters.DoorLock
local PowerConfiguration = clusters.PowerConfiguration
local LOCK_WITHOUT_CODES_FINGERPRINTS = {
{ model = "E261-KR0B0Z0-HA" },
{ mfr = "Danalock", model = "V3-BTZB" }
}
local function can_handle_lock_without_codes(opts, driver, device)
for _, fingerprint in ipairs(LOCK_WITHOUT_CODES_FINGERPRINTS) do
if device:get_manufacturer() == fingerprint.mfr and device:get_model() == fingerprint.model then
return true
end
end
return false
end
local function device_init(driver, device)
local configuration = configurationMap.get_device_configuration(device)
if configuration ~= nil then
for _, attribute in ipairs(configuration) do
device:add_configured_attribute(attribute)
device:add_monitored_attribute(attribute)
end
end
end
local function handle_lock(driver, device, cmd)
device:send(DoorLock.commands.LockDoor(device))
device:send(PowerConfiguration.attributes.BatteryPercentageRemaining:read(device))
end
local function handle_unlock(driver, device, cmd)
device:send(DoorLock.commands.UnlockDoor(device))
device:send(PowerConfiguration.attributes.BatteryPercentageRemaining:read(device))
end
local function do_refresh(driver, device)
device:refresh()
end
local function do_configure(driver, device)
device:configure()
end
local function handle_lock_door(driver, device, zb_rx)
local function query_device()
device:send(DoorLock.attributes.LockState:read(device))
end
device.thread:call_with_delay(5, query_device)
end
local lock_without_codes = {
NAME = "Zigbee Lock Without Codes",
lifecycle_handlers = {
init = device_init,
doConfigure = do_configure
},
capability_handlers = {
[capabilities.lock.ID] = {
[capabilities.lock.commands.lock.NAME] = handle_lock,
[capabilities.lock.commands.unlock.NAME] = handle_unlock
},
[capabilities.refresh.ID] = {
[capabilities.refresh.commands.refresh.NAME] = do_refresh
}
},
zigbee_handlers = {
cluster = {
[DoorLock.ID] = {
[DoorLock.commands.LockDoorResponse.ID] = handle_lock_door,
[DoorLock.commands.UnlockDoorResponse.ID] = handle_lock_door
}
}
},
can_handle = can_handle_lock_without_codes
}
return lock_without_codes
| 30.72449
| 100
| 0.750913
|
664afe6f7b499bbbe00753183154aa3fff97b8da
| 197
|
kt
|
Kotlin
|
app/src/main/java/sample/kanda/burn/fact/Constants.kt
|
jcaiqueoliveira/finger-burn
|
e71755ffcaffaa1b00c5b1afd4a1b64baef644a6
|
[
"MIT"
] | 2
|
2018-03-07T01:46:39.000Z
|
2018-05-23T02:01:26.000Z
|
app/src/main/java/sample/kanda/burn/fact/Constants.kt
|
jcaiqueoliveira/finger-burn
|
e71755ffcaffaa1b00c5b1afd4a1b64baef644a6
|
[
"MIT"
] | null | null | null |
app/src/main/java/sample/kanda/burn/fact/Constants.kt
|
jcaiqueoliveira/finger-burn
|
e71755ffcaffaa1b00c5b1afd4a1b64baef644a6
|
[
"MIT"
] | null | null | null |
package sample.kanda.burn.fact
/**
* Created by caique on 3/12/18.
*/
object Constants {
const val COLOR_TEXT_EMPTY_CATEGORY = -11646634
const val COLOR_TEXT_WITH_CATEGORY = -14835214
}
| 19.7
| 51
| 0.730964
|
637f536380d48e4bc56cacccbfe19d755bfa63c1
| 1,477
|
rs
|
Rust
|
src/inner.rs
|
Rufflewind/index_queue
|
90bb5833b96dc3cfac9d9de8ca55e71572044022
|
[
"Apache-2.0",
"MIT"
] | null | null | null |
src/inner.rs
|
Rufflewind/index_queue
|
90bb5833b96dc3cfac9d9de8ca55e71572044022
|
[
"Apache-2.0",
"MIT"
] | null | null | null |
src/inner.rs
|
Rufflewind/index_queue
|
90bb5833b96dc3cfac9d9de8ca55e71572044022
|
[
"Apache-2.0",
"MIT"
] | null | null | null |
const INVALID_INDEX: usize = !0;
#[derive(Clone, Copy, Debug)]
pub struct Link {
pub prev: usize,
pub next: usize,
}
/// Slots can be either filled or empty.
///
/// - An empty slot is created using `Default`.
/// An existing slot can be made empty using `clear`.
/// - A filled slot is created using `From`.
///
/// Internally, empty slots are represented by setting `prev` to
/// `INVALID_INDEX`.
#[derive(Clone, Copy, Debug)]
pub struct Slot(Link);
impl Default for Slot {
fn default() -> Self {
Slot(Link {
prev: INVALID_INDEX,
next: /* irrelevant */ 0,
})
}
}
impl From<Link> for Slot {
fn from(value: Link) -> Self {
debug_assert_ne!(value.prev, INVALID_INDEX);
Slot(value)
}
}
impl Slot {
pub fn is_empty(&self) -> bool {
self.0.prev == INVALID_INDEX
}
pub fn clear(&mut self) {
self.0.prev = INVALID_INDEX;
}
pub fn as_ref(&self) -> Option<&Link> {
if self.is_empty() {
None
} else {
Some(&self.0)
}
}
pub fn as_mut_ref(&mut self) -> Option<&mut Link> {
if self.is_empty() {
None
} else {
Some(&mut self.0)
}
}
pub fn unwrap(&self) -> &Link {
debug_assert!(!self.is_empty());
&self.0
}
pub fn unwrap_mut(&mut self) -> &mut Link {
debug_assert!(!self.is_empty());
&mut self.0
}
}
| 20.802817
| 64
| 0.532837
|
a3587988ad80101e86044cf35ed783a7b9046543
| 1,492
|
java
|
Java
|
localstack/ext/java/src/main/java/cloud/localstack/docker/command/RunCommand.java
|
texxIO/localstack
|
7d4a7f80a8b06df1d562d2a0bbaa33a508681803
|
[
"Apache-2.0"
] | 4
|
2019-01-12T22:48:24.000Z
|
2019-12-10T06:56:17.000Z
|
localstack/ext/java/src/main/java/cloud/localstack/docker/command/RunCommand.java
|
texxIO/localstack
|
7d4a7f80a8b06df1d562d2a0bbaa33a508681803
|
[
"Apache-2.0"
] | 101
|
2019-11-26T07:05:59.000Z
|
2021-08-03T05:41:12.000Z
|
localstack/ext/java/src/main/java/cloud/localstack/docker/command/RunCommand.java
|
texxIO/localstack
|
7d4a7f80a8b06df1d562d2a0bbaa33a508681803
|
[
"Apache-2.0"
] | 6
|
2019-07-10T10:27:54.000Z
|
2021-04-08T09:59:54.000Z
|
package cloud.localstack.docker.command;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class RunCommand extends Command {
private final String imageName;
private final String imageTag;
public RunCommand(String imageName) {
this(imageName, null);
}
public RunCommand(String imageName, String imageTag) {
this.imageName = imageName;
this.imageTag = imageTag;
}
public String execute() {
List<String> args = new ArrayList<>();
args.add("run");
args.add("-d");
args.add("--rm");
args.addAll(options);
args.add(imageTag == null ? imageName : String.format("%s:%s", imageName, imageTag));
return dockerExe.execute(args);
}
public RunCommand withExposedPorts(String portsToExpose, boolean randomize) {
String portsOption = String.format("%s:%s", randomize ? "" : portsToExpose, portsToExpose );
addOptions("-p", portsOption);
return this;
}
public RunCommand withEnvironmentVariable(String name, String value) {
addEnvOption(name, value);
return this;
}
public RunCommand withEnvironmentVariables(Map<String, String> environmentVariables) {
environmentVariables.forEach((name, value) -> addEnvOption(name, value));
return this;
}
private void addEnvOption(String name, String value) {
addOptions("-e", String.format("%s=%s", name, value));
}
}
| 27.62963
| 100
| 0.647453
|
f4a9f075936525416d1507ed0492a1b92b74194a
| 4,926
|
ts
|
TypeScript
|
packages/@dicebear/miniavs/src/components/hair.ts
|
DiceBear/dicebear
|
dfd65cbd3ef269e6dbc9283bf4a644318e4724b5
|
[
"MIT"
] | 2,408
|
2021-03-09T05:35:28.000Z
|
2022-03-31T19:16:12.000Z
|
packages/@dicebear/miniavs/src/components/hair.ts
|
NitroJett/dicebear
|
88c396fdffadf8d12f2017aeab10e33c570305f1
|
[
"MIT"
] | 92
|
2017-07-27T20:23:38.000Z
|
2021-03-02T11:58:36.000Z
|
packages/@dicebear/miniavs/src/components/hair.ts
|
NitroJett/dicebear
|
88c396fdffadf8d12f2017aeab10e33c570305f1
|
[
"MIT"
] | 97
|
2021-03-12T17:32:50.000Z
|
2022-03-31T13:50:04.000Z
|
import type { ComponentGroup, ComponentPickCollection, ColorPickCollection } from '../static-types';
export const hair: ComponentGroup = {
'balndess': (components: ComponentPickCollection, colors: ColorPickCollection) => `
<g fill="${colors.hair.value}">
<rect x="14" y="26" width="9" height="2" rx="1"/>
<rect x="14" y="33" width="7" height="2" rx="1"/>
<rect x="12" y="29" width="13" height="3" rx="1.5"/>
</g>
`,
'slaughter': (components: ComponentPickCollection, colors: ColorPickCollection) => `
<g fill="${colors.hair.value}">
<path d="M24 25c0 .53-.103 1.037-.29 1.5A4 4 0 0 1 20 32a4 4 0 0 1-8 0c0-1.046.065-2.782.368-4.321a4 4 0 0 1 4.801-5.505A4 4 0 0 1 24 25ZM45.849 33.895a4.002 4.002 0 0 0 2.785-5.393 4 4 0 0 0-3.134-5.459c.593 3.14.482 6.61.382 9.774l-.033 1.078Z"/>
</g>
`,
'ponyTail': (components: ComponentPickCollection, colors: ColorPickCollection) => `
<path d="M0 10c7.997-7.997 13.002 3 13.002 3L11 21s-2 2.5 0 10-2.5 11.5-2.5 11.5-3.5 2.502-6.5.502c-3-2-3.397-3.922-3-7.5.5-4.5 2-3.002 2-7.502s-8.997-10.004-1-18Z" fill="${colors.hair.value}"/>
<path d="m13.03 13.181 5.508 2.382-3.572 8.26-5.507-2.38s-.96-1.943.54-4.942c1.497-3 3.032-3.32 3.032-3.32Z" fill="#FF6C98"/>
<path d="m18 41-1.323-8.823A5 5 0 0 0 18 42v8.3a22.137 22.137 0 0 1-4.083-4.83c-1.7-2.704-2.888-5.804-3.482-9.093a27.526 27.526 0 0 1 .04-9.97c.62-3.283 1.833-6.37 3.556-9.055 1.722-2.684 3.915-4.903 6.43-6.506 2.514-1.604 5.292-2.555 8.147-2.789a17.03 17.03 0 0 1 1.868-.05 20.422 20.422 0 0 1 7.795 1.325c2.305.88 4.4 2.169 6.164 3.794a17.48 17.48 0 0 1 4.119 5.677A16.378 16.378 0 0 1 49.93 24H50v4.286s-.329.152-.998.366v8.488s0 1.404-1.5 2.456c-.52.365-1.218.645-1.91.856a32.6 32.6 0 0 0 .297-4.353c0-1.034.035-2.139.071-3.284.036-1.118.073-2.275.08-3.441-1.852.339-4.367.626-7.578.626C30.614 30 26 28.286 26 28.286v-.999c-.68 1.064-1.416 2.35-2 3.713-.75 1.75-.75 3.544-.75 5.051 0 1.508 0 2.73-.75 3.335C21 40.596 18 41 18 41Z" fill="${colors.hair.value}"/>
`,
'long': (components: ComponentPickCollection, colors: ColorPickCollection) => `
<path fill-rule="evenodd" clip-rule="evenodd" d="M48 25a18 18 0 0 0-35.993-.5H12V65h11V34.597c2.485-.478 6.78-1.53 12.208-3.756 5.464-2.241 8.873-4.359 10.668-5.637.242 2.524.158 5.16.08 7.61-.036 1.146-.071 2.25-.071 3.285 0 .408-.008.818-.025 1.229.231-.073.447-.153.639-.24 1.5-.684 1.5-1.597 1.5-1.597V25H48Zm-33 8a4.98 4.98 0 0 0-1.62 2.087A5 5 0 0 0 15 41v-8Z" fill="${colors.hair.value}"/>
`,
'curly': (components: ComponentPickCollection, colors: ColorPickCollection) => `
<g fill="${colors.hair.value}">
<path d="M45.967 32.483a3.999 3.999 0 0 0 1.78-4.884 4 4 0 0 0-2.966-7.41c1.418 3.674 1.314 8.218 1.186 12.294Z"/>
<path d="M36.297 22.76A4.981 4.981 0 0 1 33 24a4.978 4.978 0 0 1-3.057-1.043A6.978 6.978 0 0 1 25 25a6.999 6.999 0 0 1-2.045-.304 4.02 4.02 0 0 1-.892.731 4 4 0 0 1-1.351 6.189A1.5 1.5 0 0 1 19.465 34a4 4 0 0 1-7.291-3.17A3.987 3.987 0 0 1 11 28c0-1.106.449-2.107 1.174-2.83a4 4 0 0 1 .738-3.713 7.003 7.003 0 0 1 4.098-10.17 4 4 0 0 1 5.927-3.788A6.997 6.997 0 0 1 29 4c1.373 0 2.654.395 3.735 1.079a6.502 6.502 0 0 1 10.78 1.954 4 4 0 0 1 3.439 4.577C48.809 12.984 50 15.112 50 17.5c0 4.142-3.582 7.5-8 7.5-2.233 0-4.252-.858-5.703-2.24Z"/>
</g>
`,
'stylish': (components: ComponentPickCollection, colors: ColorPickCollection) => `
<path d="M20.673 28.222v6.018c0 .762-.673 1.761-1.173 2.261-.5.5-2 1.5-2.85 1.5-.848 0-3.539-.451-4.826-2.257-1.287-1.805-.893-11.322 0-13.54.892-2.218 4.183-6.888 8.85-10.452 3.38-2.582 7.665-4.717 12.871-5.345C58.485 3.397 49.218 20.987 46 25.5c-5.5-2-9.5-2.5-16.717-1.518-7.217.983-8.016 1.982-8.61 4.239Z" fill="${colors.hair.value}"/>
`,
'elvis': (components: ComponentPickCollection, colors: ColorPickCollection) => `
<path d="M21.998 28c-.629 3 1 6.982 1 7.744 0 .762-3.93 3.025-5 3.757-1.069.731-1.5-7-1.5-7-3 0-3.5 5.5-3.5 5.5s-2.244-.74-3-4.5c-.51-2.54.299-8.089.5-9.5.5-3.5 1-11.5 7.5-15.5s23-4 27-3c9.894 2.473 11.218 15.986 8 20.5-5 5.5-19-1-23.5-1s-6.87 0-7.5 3Z" fill="${colors.hair.value}"/>
`,
'classic02': (components: ComponentPickCollection, colors: ColorPickCollection) => `
<path d="M28.118 27.466c7.796 1.142 21.48 3.147 22.882-9.464 1-9-12.5-19.5-27-10-9.11 1.35-11.389 8.278-11.908 14.254A3.986 3.986 0 0 0 11 25.002c0 .53.103 1.037.29 1.5-.187.463-.29.97-.29 1.5 0 1.106.449 2.106 1.174 2.83A4 4 0 1 0 20 32.002a4 4 0 0 0 3.874-4.999l.126-.001c.952 0 2.39.21 4.118.464Z" fill="${colors.hair.value}"/>
`,
'classic01': (components: ComponentPickCollection, colors: ColorPickCollection) => `
<path d="M29.697 26.203c5.611 1.863 13.389 4.445 21.535-3.701 4-4-14-21-28.5-11.5-11.333 1.679-10.685 8.47-10.185 13.71.095 1.002.185 1.948.185 2.79 0 .533.07.931.2 1.218a26.48 26.48 0 0 0-.2 3.282 4 4 0 1 0 8 0A4 4 0 0 0 24.606 27l.126.002c1.224 0 2.32-.55 3.053-1.416.605.183 1.243.395 1.912.617Z" fill="${colors.hair.value}"/>
`,
}
| 114.55814
| 766
| 0.656719
|
596d77ed7c00e32b79f6e6c58e54fd6f6f21c306
| 2,632
|
swift
|
Swift
|
build/src/Models/AgentActivity.swift
|
MyPureCloud/platform-client-sdk-ios
|
d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b
|
[
"MIT"
] | null | null | null |
build/src/Models/AgentActivity.swift
|
MyPureCloud/platform-client-sdk-ios
|
d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b
|
[
"MIT"
] | null | null | null |
build/src/Models/AgentActivity.swift
|
MyPureCloud/platform-client-sdk-ios
|
d69e3deedbbe2f30c3641a5c8b4e66eb5eb6858b
|
[
"MIT"
] | 1
|
2021-05-11T21:57:38.000Z
|
2021-05-11T21:57:38.000Z
|
//
// AgentActivity.swift
//
// Generated by swagger-codegen
// https://github.com/swagger-api/swagger-codegen
//
import Foundation
public class AgentActivity: Codable {
/** The globally unique identifier for the object. */
public var _id: String?
public var name: String?
public var agent: User?
public var numEvaluations: Int?
public var averageEvaluationScore: Int?
public var numCriticalEvaluations: Int?
public var averageCriticalScore: Float?
public var highestEvaluationScore: Float?
public var lowestEvaluationScore: Float?
public var highestCriticalScore: Float?
public var lowestCriticalScore: Float?
public var agentEvaluatorActivityList: [AgentEvaluatorActivity]?
public var numEvaluationsWithoutViewPermission: Int?
/** The URI for this object */
public var selfUri: String?
public init(_id: String?, name: String?, agent: User?, numEvaluations: Int?, averageEvaluationScore: Int?, numCriticalEvaluations: Int?, averageCriticalScore: Float?, highestEvaluationScore: Float?, lowestEvaluationScore: Float?, highestCriticalScore: Float?, lowestCriticalScore: Float?, agentEvaluatorActivityList: [AgentEvaluatorActivity]?, numEvaluationsWithoutViewPermission: Int?, selfUri: String?) {
self._id = _id
self.name = name
self.agent = agent
self.numEvaluations = numEvaluations
self.averageEvaluationScore = averageEvaluationScore
self.numCriticalEvaluations = numCriticalEvaluations
self.averageCriticalScore = averageCriticalScore
self.highestEvaluationScore = highestEvaluationScore
self.lowestEvaluationScore = lowestEvaluationScore
self.highestCriticalScore = highestCriticalScore
self.lowestCriticalScore = lowestCriticalScore
self.agentEvaluatorActivityList = agentEvaluatorActivityList
self.numEvaluationsWithoutViewPermission = numEvaluationsWithoutViewPermission
self.selfUri = selfUri
}
public enum CodingKeys: String, CodingKey {
case _id = "id"
case name
case agent
case numEvaluations
case averageEvaluationScore
case numCriticalEvaluations
case averageCriticalScore
case highestEvaluationScore
case lowestEvaluationScore
case highestCriticalScore
case lowestCriticalScore
case agentEvaluatorActivityList
case numEvaluationsWithoutViewPermission
case selfUri
}
}
| 31.710843
| 410
| 0.696429
|
0dea28eb669b7d68eca16d3a6b352ac2e23dc55c
| 346
|
asm
|
Assembly
|
test/e2e/data/thm6.asm
|
matanlurey/armv4t.dart
|
06235938d16cb1f2b09d26f564b985854e4155c0
|
[
"MIT"
] | 8
|
2020-06-21T22:05:00.000Z
|
2021-10-06T19:59:20.000Z
|
test/e2e/data/thm6.asm
|
matanlurey/armv4t.dart
|
06235938d16cb1f2b09d26f564b985854e4155c0
|
[
"MIT"
] | 82
|
2020-06-21T22:02:00.000Z
|
2020-08-04T01:48:42.000Z
|
test/e2e/data/thm6.asm
|
matanlurey/armv4t.dart
|
06235938d16cb1f2b09d26f564b985854e4155c0
|
[
"MIT"
] | 1
|
2020-06-22T15:16:02.000Z
|
2020-06-22T15:16:02.000Z
|
; expected result: 0x1fc = 0
; ARM MODE (Entrypoint)
processor CPU32_V1
code32
mov sp, 0x200
mov r0, main - 1
processor CPU32_V4T
BX r0
code16
main:
mov r0, #2 ; r0 = 0x2
mov r1, #2 ; r1 = 0x2
cmp r0, r1 ; Z = 1
sbc r0, r0 ; r0 = r0 - r0
; r0 = 2 - 2
; r0 = 0
push {r0}
| 17.3
| 30
| 0.488439
|
ea534ad245654983a5dfdea81581b05edc403ce4
| 1,771
|
lua
|
Lua
|
lua/apisix/consumer.lua
|
orangle/apisix
|
1737fb702e6b6537d3c7198f859e72d4060b5fc1
|
[
"Apache-2.0",
"BSD-3-Clause"
] | 1
|
2019-10-27T07:25:06.000Z
|
2019-10-27T07:25:06.000Z
|
lua/apisix/consumer.lua
|
orangle/apisix
|
1737fb702e6b6537d3c7198f859e72d4060b5fc1
|
[
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
lua/apisix/consumer.lua
|
orangle/apisix
|
1737fb702e6b6537d3c7198f859e72d4060b5fc1
|
[
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
local lrucache = require("apisix.core.lrucache")
local config = require("apisix.core.config_etcd")
local insert_tab = table.insert
local consumers
local error = error
local ipairs = ipairs
local pairs = pairs
local _M = {
version = 0.1,
}
--[[
{
"id": "ShunFeng",
"plugin_config": {
"key-auth": {
"key": "dddxxyyy"
}
}
}
to
{
key-auth: [
{
"key": "dddxxyyy",
"consumer_id": "ShunFeng"
}
]
}
]]
local function plugin_consumer()
local plugins = {}
if consumers.values == nil then
return plugins
end
for _, consumer in ipairs(consumers.values) do
-- log.warn("consumer: ", require("cjson").encode(consumer))
for name, conf in pairs(consumer.value.plugin_config) do
if not plugins[name] then
plugins[name] = {
nodes = {},
conf_version = consumers.conf_version,
}
end
insert_tab(plugins[name].nodes,
{consumer_id = consumer.value.id, conf = conf})
end
end
return plugins
end
function _M.plugin(plugin_name)
-- core.log.warn("conf_routes.conf_version: ", conf_routes.conf_version)
local plugin_conf = lrucache.global("/consumers",
consumers.conf_version, plugin_consumer)
return plugin_conf[plugin_name]
end
function _M.init_worker()
local err
consumers, err = config.new("/consumers", {automatic = true})
if not consumers then
error("failed to create etcd instance to fetch upstream: " .. err)
return
end
end
return _M
| 21.864198
| 80
| 0.546019
|
0da2f8e8dc2b5e63bae97ae9ac80bd6beef4b7fb
| 85
|
kt
|
Kotlin
|
idea/testData/refactoring/inline/function/fromIntellij/FieldInitializer.kt
|
qussarah/declare
|
c83b764c7394efa3364915d973ae79c4ebed2437
|
[
"Apache-2.0"
] | 337
|
2020-05-14T00:40:10.000Z
|
2022-02-16T23:39:07.000Z
|
idea/testData/refactoring/inline/function/fromIntellij/FieldInitializer.kt
|
qussarah/declare
|
c83b764c7394efa3364915d973ae79c4ebed2437
|
[
"Apache-2.0"
] | 92
|
2020-06-10T23:17:42.000Z
|
2020-09-25T10:50:13.000Z
|
idea/testData/refactoring/inline/function/fromIntellij/FieldInitializer.kt
|
qussarah/declare
|
c83b764c7394efa3364915d973ae79c4ebed2437
|
[
"Apache-2.0"
] | 54
|
2016-02-29T16:27:38.000Z
|
2020-12-26T15:02:23.000Z
|
class A {
val field = foo()
fun <caret>foo(): Int {
return 1
}
}
| 12.142857
| 27
| 0.447059
|
9f1190c20ed3fe83b6365f9c7274b9b2bc40ac7b
| 567
|
asm
|
Assembly
|
oeis/024/A024035.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/024/A024035.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/024/A024035.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A024035: a(n) = 3^n - n^12.
; 1,2,-4087,-531414,-16777135,-244140382,-2176781607,-13841285014,-68719470175,-282429516798,-999999940951,-3138428199574,-8916099916815,-23298083528158,-56693907592327,-129746323541718,-281474933663935,-582622108089598,-1156830994005687,-2213313756804694,-4095996513215599,-7355817051033438,-12854971249989607,-21914530288841494,-36520065006520095,-59603797486781182,-95426414795853847,-150087009699514134,-232195388296757455,-353746152828104158,-531235108867905351,-787045110392265814
mov $1,3
pow $1,$0
pow $0,12
sub $1,$0
mov $0,$1
| 63
| 486
| 0.816578
|
409283700e511fc440064b8ea032a95a1ff00349
| 989
|
rb
|
Ruby
|
lib/generators/web_app_theme/assets/assets_generator.rb
|
profics/web-app-theme
|
fd3bc16d010857af834fd6e462eb0c52b49fd95f
|
[
"MIT"
] | null | null | null |
lib/generators/web_app_theme/assets/assets_generator.rb
|
profics/web-app-theme
|
fd3bc16d010857af834fd6e462eb0c52b49fd95f
|
[
"MIT"
] | null | null | null |
lib/generators/web_app_theme/assets/assets_generator.rb
|
profics/web-app-theme
|
fd3bc16d010857af834fd6e462eb0c52b49fd95f
|
[
"MIT"
] | null | null | null |
module WebAppTheme
class AssetsGenerator < Rails::Generators::Base
desc "Copy the --theme stylesheets to your rails application assets path, so you can customize them"
source_root File.expand_path('../../../../../app/', __FILE__)
class_option :theme, :type => :string, :default => :default, :desc => 'Specify the layout theme to be copied'
def copy_stylesheets
copy_file "assets/stylesheets/web-app-theme/base.css" , "app/assets/stylesheets/web-app-theme/base.css"
directory "assets/stylesheets/web-app-theme/themes/#{options.theme}" , "app/assets/stylesheets/web-app-theme/themes/#{options.theme}"
end
def copy_images
directory "assets/images/web-app-theme/themes/#{options.theme}" , "app/assets/images/web-app-theme/themes/#{options.theme}"
end
def copy_helper
copy_file "helpers/web_app_theme_helper.rb", "app/helpers/web_app_theme_helper.rb"
end
end
end
| 44.954545
| 141
| 0.668352
|
a3b7f6c24afc3e940fc5efb687accfb71503653d
| 1,419
|
java
|
Java
|
src/main/java/net/finmath/montecarlo/interestrate/products/indices/PowIndex.java
|
Diffblue-benchmarks/finmath-lib
|
6833bc313240c2b1e1ff0d46e3879eea8174e262
|
[
"Apache-2.0"
] | null | null | null |
src/main/java/net/finmath/montecarlo/interestrate/products/indices/PowIndex.java
|
Diffblue-benchmarks/finmath-lib
|
6833bc313240c2b1e1ff0d46e3879eea8174e262
|
[
"Apache-2.0"
] | null | null | null |
src/main/java/net/finmath/montecarlo/interestrate/products/indices/PowIndex.java
|
Diffblue-benchmarks/finmath-lib
|
6833bc313240c2b1e1ff0d46e3879eea8174e262
|
[
"Apache-2.0"
] | null | null | null |
/*
* Created on 22.11.2009
*/
package net.finmath.montecarlo.interestrate.products.indices;
import java.util.Set;
import net.finmath.exception.CalculationException;
import net.finmath.montecarlo.interestrate.LIBORModelMonteCarloSimulationModel;
import net.finmath.montecarlo.interestrate.products.components.AbstractProductComponent;
import net.finmath.stochastic.RandomVariable;
/**
* A power index.
*
* Provides the function <i>index(t)<sup>exponent</sup></i>, i.e. pow(index(t), exponent).
*
* @author Christian Fries
* @version 1.2
*/
public class PowIndex extends AbstractIndex {
private static final long serialVersionUID = -1512137372132830198L;
private final AbstractProductComponent index;
private final double exponent;
/**
* Creates the function pow(index(t), exponent)
*
* @param index An index.
* @param exponent The exponent.
*/
public PowIndex(AbstractProductComponent index, double exponent) {
super();
this.index = index;
this.exponent = exponent;
}
@Override
public RandomVariable getValue(double evaluationTime, LIBORModelMonteCarloSimulationModel model) throws CalculationException {
return index.getValue(evaluationTime, model).pow(exponent);
}
@Override
public Set<String> queryUnderlyings() {
return index.queryUnderlyings();
}
@Override
public String toString() {
return "PowIndex [index=" + index + ", exponent=" + exponent + "]";
}
}
| 25.8
| 127
| 0.751938
|