app-MAIL-temp/static/assets/images/browsers/camino.svg
Son NK c18d9f5280 create BaseForm to enable CSRF
register page

redirect user to dashboard if they are logged in

enable csrf for login page

Set models more strict

bootstrap developer page

add helper method to ModelMixin, remove CRUDMixin

display list of clients on developer index, add copy client-secret to clipboard using clipboardjs

add toastr and use jquery non slim

display a toast when user copies the client-secret

create new client, generate client-id using unidecode

client detail page: can edit client

add delete client

implement /oauth/authorize and /oauth/allow-deny

implement /oauth/token

add /oauth/user_info endpoint

handle scopes: wip

take into account scope: display scope, return user data according to scope

create virtual-domain, gen email, client_user model WIP

create authorize_nonlogin_user page

user can choose to generate a new email

no need to interfere with root logger

log for before and after request

if user has already allowed a client: generate a auth-code and redirect user to client

get_user_info takes into account gen email

display list of clients that have user has authorised

use yk-client domain instead of localhost as cookie depends on the domain name

use wtforms instead of flask_wtf

Dockerfile

delete virtual domain

EMAIL_DOMAIN can come from env var

bind to host 0.0.0.0

fix signup error: use session as default csrf_context

rename yourkey to simplelogin

add python-dotenv, ipython, sqlalchemy_utils

create DB_URI, FLASK_SECRET. Load config from CONFIG file if exist

add shortcuts to logging

create shell

add psycopg2

do not add local data in Dockerfile

add drop_db into shell

add shell.prepare_db()

fix prepare_db

setup sentry

copy assets from tabler/dist

add icon downloaded from https://commons.wikimedia.org/wiki/File:Simpleicons_Interface_key-tool-1.svg

integrate tabler - login and register page

add favicon

template: default, header. Use gravatar for user avatar url

use default template for dashboard, developer page

use another icon

add clipboard and notie

prettify dashboard

add notie css

add fake gen email and client-user

prettify list client page, use notie for toast

add email, name scope to new client

display client scope in client list

prettify new-client, client-detail

add sentry-sdk and blinker

add arrow, add dt jinja filter, prettify logout, dashboard

comment "last used" in dashboard for now

prettify date display

add copy email to clipboard to dashboard

use "users" as table name for User as "user" is reserved key in postgres

call prepare_db() when creating new db

error page 400, 401, 403, 404

prettify authorize_login_user

create already_authorize.html for user who has already authorized a client

user can generate new email

display all other generated emails

add ENV variable, only reset DB when ENV=local

fix: not return other users gen emails

display nb users for each client

refactor shell: remove prepare_db()

add sendgrid

add /favicon.ico route

add new config: URL, SUPPORT_EMAIL, SENDGRID_API_KEY

user needs to activate their account before login

create copy button on dashboard

client can have multiple redirect uris, in client detail can add/remove redirect-uri,

use redirect_uri passed in /authorize

refactor: move get_user_info into ClientUser model

dashboard: display all apps, all generated emails

add "id" into user_info

add trigger email button

invalidate the session at each new version by changing the secret

centralize Client creation into Client.create_new

user can enable/disable email forwarding

setup auto dismiss alert: just add .alert-auto-dismiss

move name down in register form

add shell.add_real_data

move blueprint template to its own package

prettify authorize page for non-authenticated user

update readme, return error if not redirect_uri

add flask-wtf, use psycopg2-binary

use flask-wtf FlaskForm instead of Form

rename email -> email_utils

add AWS_REGION, BUCKET, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY to config

add s3 module

add File model, add Client.icon_id

handle client icon update

can create client with icon

display client icon in client list page

add Client.home_url

take into account Client.home_url

add boto3

register: ask name first

only show "trigger test email" if email forwarding is enabled

display gen email in alphabetical order, client in client.name alphabetical order

better error page

the modal does not get close when user clicks outside of modal

add Client.published column

discover page that displays all published Client

add missing bootstrap.bundle.min.js.map

developer can publish/unpublish their app in discover

use notie for display flash message

create hotmail account

fix missing jquery

add footer, add global jinja2 variable

strengthen model: use nullable=False whenever possible,

rename client_id to oauth_client_id, client_secret to oauth_client_secret

add flask-migrate

init migrate

1st migrate version

fix rename client_id -> oauth_client_id

prettify UI

use flask_migrate.upgrade() instead of db.create_all()

make sure requirejs.config is called for all page

enable sentry for js, use uppercase for global jinja2 variables

add flask-admin

add User.is_admin column

setup flask admin, only accessible to admin user

fix migration: add server_default

replace session[redirect_after_login] by "next" request args

add pyproject.toml: ignore migrations/ in black

add register waiting_activation_email page

better email wording

add pytest

add get_host_name_and_scheme and tests

example fail test

fix test

fix client-id display

add flask-cors

/user_info supports cors, add /me as /user_info synonym

return client in /me

support implicit flow

no need to use with "app.app_context()"

add watchtower to requirement

add param ENABLE_CLOUDWATCH, CLOUDWATCH_LOG_GROUP, CLOUDWATCH_LOG_STREAM

add cloudwatch logger if cloudwatch is enabled

add 500 error page

add help text for list of used client

display list of app/website that an email has been used

click on client name brings to client detail page

create style.css to add additional style, append its url with the current sha1 to avoid cache

POC on how to send email using postfix

add sqlalchemy-utils

use arrow instead of datetime

add new params STRIPE_API, STRIPE_YEARLY_SKU, STRIPE_MONTHLY_PLAN

show full error in local

add plan, plan_expiration to User, need to create enum directly in migration script, cf https://github.com/sqlalchemy/alembic/issues/67

reformat all html files: use space instead of tab

new user will have trial plan for 15 days

add new param MAX_NB_EMAIL_FREE_PLAN

only user with enough quota can create new email

if user cannot create new gen email, pick randomly one from existing gen emails. Use flush instead of commit

rename STRIPE_YEARLY_SKU -> STRIPE_YEARLY_PLAN

open client page in discover in a new tab

add stripe

not logging /static call: disable flask logging, replace by after_request

add param STRIPE_SECRET_KEY

add 3 columns stripe_customer_id, stripe_card_token, stripe_subscription_id

user can upgrade their pricing

add setting page as coming-soon

add GenEmail, ClientUser to admin

ignore /admin/static logging

add more fake data

add ondelete="cascade" whenever possible

rename plan_expiration -> trial_expiration

reset migration: delete old migrations, create new one

rename test_send_email -> poc_send_email to avoid the file being called by pytest

add new param LYRA_ANALYTICS_ID, add lyra analytics

add how to create new migration into readme

add drift to base.html

notify admin when new user signs up or pays subscription

log exception in case of 500

use sendgrid to notify admin

add alias /userinfo to user_info endpoint

add change_password to shell

add info on how payment is handled

invite user to retry if card not working

remove drift and add "contact us" link

move poc_send_email into poc/

support getting client-id, client-secret from form-data in addition to basic auth

client-id, client-secret is passed in form-data by passport-oauth2 for ex

add jwtRS256 private and public key

add jwk-jws-jwt poc

add new param OPENID_PRIVATE_KEY_PATH, OPENID_PRIVATE_KEY_PATH

add scope, redirect_url to AuthorizationCode and OauthToken

take into scope when creating oauth-token, authorization-code

add jwcrypto

add jose_utils: make_id_token and verify_id_token

add &scope to redirect uri

add "email_verified": True into user_info

fix user not activated

add /oauth2 as alias for /oauth

handle case where scope and state are empty

remove threaded=False

Use Email Alias as wording

remove help text

user can re-send activation email

add "expired" into ActivationCode

Handle the case activation code is expired

reformat: use form.validate_on_submit instead of request.method == post && form.validate

use error text instead of flash()

display client oauth-id and oauth-secret on client detail page

not display oauth-secret on client listing

fix expiration check

improve page title, footer

add /jwks and /.well-known/openid-configuration

init properly tests, fix blueprint conflict bug in flask-admin

create oauth_models module

rename Scope -> ScopeE to distinguish with Scope DB model

set app.url_map.strict_slashes = False

use ScopeE instead of SCOPE_NAME, ...

support access_token passed as args in /userinfo

merge /allow-deny into /authorize

improve wording

take into account the case response_type=code and openid is in scope

take into account response_type=id_token, id_token token, id_token code

make sure to use in-memory db in test

fix scope can be null

allow cross_origin for /.well-known/openid-configuration and /jwks

fix footer link

center authorize form

rename trial_expiration to plan_expiration

move stripe init to create_app()

use real email to be able to receive email notification

add user.profile_picture_id column

use user profile picture and fallback to gravatar

use nguyenkims+local@gm to distinguish with staging

handle plan cancel, reactivation, user profile update

fix can_create_new_email

create cron.py that set plan to free when expired

add crontab.yml

add yacron

use notify_admin instead of LOG.error

add ResetPasswordCode model

user can change password in setting

increase display time for notie

add forgot_password page

If login error: redirect to this page upon success login.

hide discover tab

add column user.is_developer

only show developer menu to developer

comment out the publish button

set local user to developer

make sure only developer can access /developer blueprint

User is invited to upgrade if they are in free plan or their trial ends soon

not sending email when in local mode

create Partner model

create become partner page

use normal error handling on local

fix migration

add "import sqlalchemy_utils" into migration template

small refactoring on setting page

handle promo code. TODO: add migration file

add migration for user.promo_codes

move email alias on top of apps in dashboard

add introjs

move encode_url to utils

create GenEmail.create_new_gen_email

create a first alias mail to show user how to use when they login

show intro when user visits the website the first time

fix register
2019-07-02 10:20:12 +03:00

1 line
20 KiB
XML
Executable File

<svg viewBox="0 0 339 351" preserveAspectRatio="xMinYMin" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>camino</title><desc>Created with Sketch.</desc><defs><linearGradient x1="28.38%" y1="22.97%" x2="73.593%" y2="90.77%" id="linearGradient-1"><stop stop-color="#FFF" offset="0%"/><stop stop-color="#E3E3E3" offset="100%"/></linearGradient><filter x="-50%" y="-50%" width="200%" height="200%" filterUnits="objectBoundingBox" id="filter-2"><feOffset dx="0" dy="10" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur stdDeviation="5" in="shadowOffsetOuter1" result="shadowBlurOuter1"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.135173234 0" in="shadowBlurOuter1" type="matrix" result="shadowMatrixOuter1"/><feMerge><feMergeNode in="shadowMatrixOuter1"/><feMergeNode in="SourceGraphic"/></feMerge></filter><linearGradient x1="34.192%" y1="2.556%" x2="61.357%" y2="97.352%" id="linearGradient-3"><stop stop-color="#0038A5" offset="0%"/><stop stop-color="#114AAF" offset="36.4%"/><stop stop-color="#8CCEFE" offset="100%"/></linearGradient><circle id="path-4" cx="97.5" cy="97.5" r="97.5"/><radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="50.604%" id="radialGradient-6"><stop stop-color="#FFF" offset="0%"/><stop stop-color="#FFF" stop-opacity="0" offset="100%"/></radialGradient><radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="43.542%" id="radialGradient-7"><stop stop-color="#FFF" offset="0%"/><stop stop-color="#FFF" stop-opacity="0" offset="100%"/></radialGradient><radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="43.542%" id="radialGradient-8"><stop stop-color="#FFF" stop-opacity=".67" offset="0%"/><stop stop-color="#FFF" stop-opacity="0" offset="100%"/></radialGradient><radialGradient cx="52.99%" cy="86.031%" fx="52.99%" fy="86.031%" r="82.588%" id="radialGradient-9"><stop stop-color="#FFF" stop-opacity="0" offset="0%"/><stop stop-color="#FFF" stop-opacity=".135" offset="65.191%"/><stop stop-color="#FFF" stop-opacity=".765" offset="100%"/></radialGradient><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-10"><stop stop-color="#FFF" stop-opacity=".017" offset="0%"/><stop stop-color="#FFF" stop-opacity=".326" offset="100%"/></linearGradient></defs><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="camino" transform="translate(4.000000, 0.000000)"><path d="M183.354286,278.204843 C229.491028,269.843723 265.787018,233.220839 273.661836,186.91661 L330.748047,169.488281 L273.92698,150.723265 L273.92698,150.723265 C266.630462,103.610539 229.971433,66.2004887 183.238901,57.7821219 L183.238901,57.7821219 L165.751953,0.50390625 L147.038489,57.1688716 C98.0592819,64.2711693 59.3462232,103.070086 52.3737216,152.091213 L52.3737216,152.091213 L0.251953125,168.003906 L52.5768532,185.284075 C60.056508,233.580662 98.3928558,271.68092 146.806031,278.804984 L164.267578,336 L183.354286,278.204843 Z" id="Oval-1" stroke="#9F9F9F" fill="url(#linearGradient-1)" filter="url(#filter-2)"/><g id="Oval-lines" transform="translate(66.000000, 70.000000)"><mask id="mask-5" fill="#fff"><use xlink:href="#path-4"/></mask><use id="Mask" stroke="#979797" fill="url(#linearGradient-3)" xlink:href="#path-4"/><path d="M67.179687,157.605469 C98.5396796,157.605469 120.5,124.427132 120.5,79.5 C120.5,33.7224489 92.7973337,0.6640625 51.4316406,0.6640625 C35.203197,0.6640625 25.594371,4.20969894 19.9168843,12.1430849 C15.1827849,18.7582369 13.3722476,26.896362 11.4385612,45.6230624 C11.5347958,44.6910826 10.4017796,55.8972133 10.0425622,59.2110336 C9.43945146,64.7747982 8.83283941,69.6894935 8.11901194,74.6169763 C4.74447633,97.9110728 10.3847558,118.986371 22.9758081,134.68414 C34.5316125,149.091224 51.0590943,157.605469 67.179687,157.605469 L67.179687,157.605469 Z M67.179687,154.605469 C52.0021112,154.605469 36.3207578,146.527113 25.3160247,132.807071 C13.2484146,117.761899 7.83199902,97.5230836 11.0880194,75.0470862 C11.8075049,70.0805465 12.4183771,65.1313363 13.0250903,59.5343389 C13.3856851,56.2078118 14.5199394,44.9894349 14.4226945,45.9311988 C16.3000946,27.7496013 18.0426853,19.9168867 22.3565155,13.8889943 C27.3761658,6.87483029 36.0774834,3.6640625 51.4316406,3.6640625 C91.0115234,3.6640625 117.5,35.2735215 117.5,79.5 C117.5,122.96785 96.5594615,154.605469 67.179687,154.605469 L67.179687,154.605469 Z" id="Shape" opacity=".313" fill="#B1D1EA" mask="url(#mask-5)"/><path d="M179.958467,186.491979 C194.143824,170.737543 195.897637,144.125051 187.011103,113.6294 C179.064901,86.3606586 163.316749,59.2994557 146.859169,44.4809843 C130.779064,30.0023933 101.188449,18.3421708 71.3206237,14.3769403 C39.1058931,10.1001364 11.8919618,15.2688134 -1.56393528,30.2131011 C-15.2956261,45.4636888 -24.4593657,82.2320585 -25.6597475,122.995566 C-26.9056382,165.304497 -19.4088186,202.846478 -4.39923956,220.888986 C10.5131591,238.814677 45.6437477,241.246385 88.8248591,230.735246 C127.209426,221.391682 164.960205,203.149237 179.958467,186.491979 L179.958467,186.491979 Z M177.729033,184.484587 C163.210126,200.609467 125.967353,218.606426 88.1153185,227.820362 C45.9571065,238.082506 11.8419743,235.721087 -2.09295183,218.970383 C-16.5176604,201.630928 -23.8872978,164.725841 -22.6610474,123.08387 C-21.4798581,82.9721169 -12.4657837,46.80426 0.665499195,32.2204929 C13.304187,18.1838081 39.5921018,13.1910072 70.92581,17.3508472 C100.239164,21.2424666 129.273127,32.6833391 144.851777,46.7104188 C160.866134,61.129811 176.332284,87.7064268 184.130899,114.468701 C192.756986,144.070584 191.070079,169.667855 177.729033,184.484587 L177.729033,184.484587 Z" id="Shape" opacity=".313" fill="#B1D1EA" mask="url(#mask-5)"/><path d="M189.179688,164.148438 C204.425358,164.148438 215.394949,154.252455 222.260996,136.285527 C228.077546,121.064903 230.844,100.305543 230.844,76.3359375 C230.844,69.8157608 231.802852,62.7151445 233.640427,54.7207042 C235.143998,48.1793583 237.037256,41.7058404 240.072365,32.2955714 C240.30974,31.5595987 242.794994,23.9166967 243.488922,21.7420541 C244.739976,17.8214807 245.686052,14.7031238 246.484771,11.8158796 C248.451822,4.70529076 249.445564,-0.791572774 249.445564,-5.39037724 C249.445564,-16.6847239 243.19658,-22.4882812 229.344002,-22.4882812 C205.277043,-22.4882812 181.972982,-17.4076406 163.078072,-6.74406665 C140.155827,6.19238324 124.689584,26.6751684 118.748404,55.1565861 C112.854292,83.4123638 120.205835,110.802824 137.18591,132.651182 C152.020433,151.738846 172.763611,164.148438 189.179688,164.148438 L189.179688,164.148438 Z M189.179688,161.148438 C173.796887,161.148438 153.866095,149.224856 139.554654,130.810244 C123.093207,109.629207 115.979126,83.1234877 121.68519,55.7691951 C127.44629,28.1510594 142.368958,8.38816037 164.55255,-4.13142164 C182.954207,-14.5166222 205.758387,-19.4882812 229.344002,-19.4882812 C241.587259,-19.4882812 246.445564,-14.9762758 246.445564,-5.39037732 C246.445564,-1.11703857 245.494522,4.14362964 243.593368,11.016011 C242.806718,13.8596299 241.871107,16.9434917 240.630903,20.8300609 C239.939981,22.9952854 237.456828,30.6317245 237.217198,31.3746898 C234.157742,40.8604468 232.24394,47.4042107 230.71667,54.0486593 C228.832117,62.2474787 227.844,69.564812 227.844,76.3359375 C227.844,128.311274 215.295303,161.148438 189.179688,161.148438 L189.179688,161.148438 Z" id="Shape" opacity=".313" fill="#B1D1EA" mask="url(#mask-5)"/><path d="M98.4793346,281.549464 C124.288357,262.798111 99.8114753,164.056156 60.5975906,123.831237 C20.9786031,83.1907709 -5.7067997,73.3854749 -31.0228202,91.7786405 C-56.8193693,110.52093 -56.436906,154.623995 -30.5184772,190.297652 C-16.5482019,209.526086 9.54801522,236.679662 33.3744642,256.010817 C62.9933555,280.041566 86.2852404,290.408992 98.4793346,281.549464 L98.4793346,281.549464 Z M96.7159788,279.122413 C86.1725394,286.78267 63.7771539,276.814284 35.2646023,253.681144 C11.6359883,234.510498 -14.2789267,207.545571 -28.0914262,188.534296 C-53.1390959,154.059137 -53.5053832,111.821383 -29.2594644,94.2056914 C-5.50220442,76.9450317 19.7432247,86.2212231 58.4494457,125.925389 C96.5695678,165.028345 120.558067,261.800122 96.7159788,279.122413 L96.7159788,279.122413 Z" id="Shape" opacity=".313" fill="#B1D1EA" mask="url(#mask-5)"/><path d="M-25.1328125,72.0019544 C-25.1328125,90.1552213 -7.61918634,111.524166 19.2770223,127.775062 C47.112493,144.593468 80.1015143,153.093506 108.187037,149.226214 C135.803933,145.423451 163.067415,129.441252 184.907515,106.333866 C204.352291,85.7607943 216.908203,61.9116335 216.908203,45.7631315 C216.908203,30.3342827 199.856771,4.72158044 175.256329,-18.3362232 C149.334409,-42.6326392 121.120792,-58.55078 100.537109,-58.55078 C79.9083799,-58.55078 49.6584036,-38.0404636 21.0924252,-7.11620197 C-6.04947248,22.2664129 -25.1328125,54.1621227 -25.1328125,72.0019544 L-25.1328125,72.0019544 Z M-22.1328125,72.0019544 C-22.1328125,55.1499268 -3.36495377,23.7815095 23.2961071,-5.0805728 C51.3314098,-35.4303484 81.006358,-55.55078 100.537109,-55.55078 C120.172539,-55.55078 147.788502,-39.9698354 173.204748,-16.1473848 C197.241977,6.38252464 213.908203,31.4166138 213.908203,45.7631315 C213.908203,61.0069524 201.695416,84.2043703 182.727251,104.273175 C161.323903,126.918466 134.652251,142.553727 107.777807,146.254257 C80.4303617,150.019918 48.1131197,141.692972 20.8284464,125.207362 C-5.26226537,109.443153 -22.1328125,88.8588504 -22.1328125,72.0019544 L-22.1328125,72.0019544 Z" id="Shape" opacity=".313" fill="#B1D1EA" mask="url(#mask-5)"/><path d="M36.2367468,211.857523 C51.3868964,224.531671 103.238408,235.024315 154.449664,236.560183 C211.775204,238.279423 250.353518,228.748623 250.353518,207.710937 C250.353518,201.204232 250.184916,203.990845 252.191311,173.96795 C253.820144,149.594734 254.414989,132.780158 253.827126,115.327741 C252.890193,87.5121989 248.760889,64.7444763 240.429606,47.1567959 C230.449492,26.088367 214.671451,13.2027894 192.236768,9.79822939 C153.002126,3.84420295 118.42771,7.67832386 90.0281822,20.0366948 C64.447484,31.1684208 44.6964191,48.9575421 32.7573642,70.5675952 C21.4691426,90.9996202 14.5137174,119.681629 14.2693486,146.5916 C14.005058,175.695372 21.4558689,199.492296 36.2367468,211.857523 L36.2367468,211.857523 Z M38.1616907,209.556525 C24.202738,197.878896 17.0122817,174.91351 17.2692249,146.618842 C17.5092331,120.189063 24.3461054,91.9959299 35.3832608,72.0183423 C46.9997833,50.9920826 66.2463092,33.6573827 91.2252362,22.7875241 C119.08716,10.6630973 153.09181,6.8921604 191.786658,12.7642708 C213.180445,16.0108703 228.145665,28.2326343 237.718409,48.4410898 C245.842808,65.5920308 249.904479,87.986845 250.828826,115.428735 C251.412501,132.756801 250.820628,149.487358 249.197987,173.76791 C247.181196,203.946372 247.353518,201.098283 247.353518,207.710937 C247.353518,225.989113 209.972898,235.224022 154.539596,233.561531 C103.983894,232.045324 52.6191376,221.651179 38.1616907,209.556525 L38.1616907,209.556525 Z" id="Shape" opacity=".313" fill="#B1D1EA" mask="url(#mask-5)"/><path d="M37.9785157,236.773435 C58.3258416,236.773435 110.146576,229.777028 150.101356,220.357505 C206.222051,207.126794 239.839845,190.385151 239.839845,170.005859 C239.839845,162.531434 240.03062,159.162456 241.616101,135.157648 C242.564257,120.802192 243.059479,111.427546 243.287048,101.654335 C243.860092,77.0443426 242.276117,58.0052727 237.648602,43.4418674 C231.956784,25.5289587 221.719339,15.2246203 206.092492,13.8282188 C155.34314,9.29330066 89.1233228,42.1931623 60.436085,84.3059048 C46.8914443,104.18938 33.0195219,141.567741 26.4702425,175.024827 C19.1550066,212.394813 22.2139981,236.773435 37.9785157,236.773435 L37.9785157,236.773435 Z M37.9785157,233.773435 C25.3275557,233.773435 22.4758401,211.046697 29.4143653,175.601144 C35.8916064,142.512066 49.6264173,105.503156 62.9154791,85.9948704 C91.0024367,44.7633366 156.18215,12.3802277 205.825478,16.8163125 C220.095274,18.091449 229.431763,27.4889446 234.789468,44.3503559 C239.293587,58.5254201 240.853814,77.2790367 240.287861,101.584499 C240.061528,111.304631 239.568172,120.643956 238.622623,134.959934 C237.030444,159.066153 236.839845,162.432026 236.839845,170.005859 C236.839845,188.203381 203.958803,204.578122 149.412964,217.437554 C109.669122,226.807347 58.0729528,233.773435 37.9785157,233.773435 L37.9785157,233.773435 Z" id="Shape" opacity=".313" fill="#B1D1EA" mask="url(#mask-5)"/><path d="M-41.3242188,201.058592 C-41.3242188,221.993533 -32.9879646,233.730586 -15.3005752,239.414168 C-7.51627531,241.915538 2.16932438,243.322959 14.950707,243.996195 C24.8242683,244.516267 33.2733435,244.591748 55.2860581,244.52429 C61.0826563,244.506526 63.9998711,244.5 67.5,244.5 C105.01486,244.5 146.142761,238.552899 174.664249,227.967055 C209.654638,214.980258 224.485859,195.905097 212.238957,171.860232 C198.056432,144.015075 181.157349,121.621913 160.805631,105.445618 C137.24887,86.7218383 109.560449,76.7792969 77.2421875,76.7792969 C45.4847216,76.7792969 15.5203214,93.6936658 -7.81548905,121.789458 C-28.3685461,146.534878 -41.3242188,177.562555 -41.3242188,201.058592 L-41.3242188,201.058592 Z M-38.3242188,201.058592 C-38.3242188,178.320955 -25.6414325,147.946818 -5.50770358,123.706259 C17.3008266,96.2453006 46.4709319,79.7792969 77.2421875,79.7792969 C108.872775,79.7792969 135.905709,89.4864615 158.938949,107.794128 C178.918556,123.674655 195.564181,145.731957 209.565732,173.2218 C220.765871,195.211512 207.164927,212.704355 173.62037,225.154527 C145.470611,235.602402 104.685055,241.5 67.5,241.5 C63.9958799,241.5 61.0764225,241.506531 55.2768646,241.524304 C33.3249166,241.591576 24.9048806,241.516354 15.1085078,241.000348 C2.5629758,240.339535 -6.88877988,238.966094 -14.3827892,236.558004 C-30.8148721,231.277797 -38.3242188,220.704991 -38.3242188,201.058592 L-38.3242188,201.058592 Z" id="Shape" opacity=".313" fill="#B1D1EA" mask="url(#mask-5)"/></g><g id="highlights" transform="translate(78.000000, 81.000000)"><ellipse id="Oval-11" fill="url(#radialGradient-6)" transform="translate(11.000000, 84.000000) rotate(20.000000) translate(-11.000000, -84.000000)" cx="11" cy="84" rx="9" ry="7"/><ellipse id="Oval-11-Copy" fill="url(#radialGradient-7)" transform="translate(40.000000, 37.000000) rotate(-330.000000) translate(-40.000000, -37.000000)" cx="40" cy="37" rx="6.515" ry="5.067"/><ellipse id="Oval-11-Copy-2" fill="url(#radialGradient-7)" transform="translate(84.000000, 9.000000) rotate(-10.000000) translate(-84.000000, -9.000000)" cx="84" cy="9" rx="9.31" ry="7.241"/><ellipse id="Oval-11-Copy-3" fill="url(#radialGradient-7)" transform="translate(117.000000, 21.606650) rotate(-10.000000) translate(-117.000000, -21.606650)" cx="117" cy="21.607" rx="7.267" ry="5.652"/><ellipse id="Oval-11-Copy-4" fill="url(#radialGradient-7)" transform="translate(153.000000, 55.606650) rotate(-10.000000) translate(-153.000000, -55.606650)" cx="153" cy="55.607" rx="7.267" ry="5.652"/><ellipse id="Oval-11-Copy-5" fill="url(#radialGradient-7)" transform="translate(159.137614, 105.606650) rotate(-10.000000) translate(-159.137614, -105.606650)" cx="159.138" cy="105.607" rx="11.279" ry="8.773"/><ellipse id="Oval-11-Copy-6" fill="url(#radialGradient-8)" transform="translate(65.137614, 135.606650) rotate(-10.000000) translate(-65.137614, -135.606650)" cx="65.138" cy="135.607" rx="12.592" ry="9.793"/><ellipse id="Oval-11-Copy-7" fill="url(#radialGradient-8)" transform="translate(36.935853, 101.083108) rotate(28.000000) translate(-36.935853, -101.083108)" cx="36.936" cy="101.083" rx="8.004" ry="6.225"/><ellipse id="Oval-11-Copy-8" fill="url(#radialGradient-8)" transform="translate(106.862386, 73.746010) rotate(-30.000000) translate(-106.862386, -73.746010)" cx="106.862" cy="73.746" rx="8.004" ry="6.225"/></g><path d="M78.3332159,173.316379 C77.0949347,164.031222 76.1496222,99.4980199 137.419154,79.2079802 C198.688685,58.9179405 234.297089,118.273409 234.297089,124.279383 C230.606659,124.279385 183.467986,116.88083 148.910366,129.238253 C114.352747,141.595676 86.7922004,164.031222 78.3332159,173.316379 Z" id="Path-5" fill="url(#radialGradient-9)"/><g id="coutries" transform="translate(54.000000, 59.000000)" fill="url(#linearGradient-10)"><path d="M26.5468751,113.59961 C31.5019532,109.212892 39.4000858,110.463887 37.8847657,102.010743 C37.4167497,99.3999376 34.0348824,92.9550785 36.7236329,92.9550791 C41.1992189,92.95508 48.8115235,92.8232431 70.2705079,82.4443369 C72.1688595,81.5261754 73.4649566,77.6046421 72.7236328,75.6220703 C70.2705117,69.0615244 69.1923791,66.0546884 68.1298828,60.1347656 C65.6774421,46.4704729 77.7170162,60.6569133 79.6845666,49.9384775 C80.7258632,44.2659052 79.3442807,38.6889483 79.6845666,32.9316416 C79.7563782,31.716659 82.261134,31.2675998 83.355465,30.7197275 C96.9628869,23.9072275 85.4224893,41.2424772 96.9628869,37.5927744 C101.717239,36.0891891 106.732408,31.2505808 111.776363,30.7197275 C123.374996,29.4990244 122.068299,33.9567035 131.369141,16.7910156 C132.472814,14.7540692 131.826749,12.1119082 131.369141,9.84082031 C131.023794,8.12688278 130.159907,6.47805389 129.023438,5.14941406 C126.316643,1.98491591 119.767105,1.03191465 116.513672,0.892578125 C103.86969,0.351067523 91.1936405,0.134318859 78.5478516,0.631835938 C26.8653275,2.66515617 -6.25316676,31.8702225 1.83300776,78.4570322 C4.64729052,94.6709359 10.6738282,89.0673837 21.1748047,100.56836 C21.1748047,100.56836 23.0751954,110.353517 26.5468751,113.59961 Z M86.7167969,56.52246 C84.6508552,53.026481 79.6577148,48.834961 89.71875,44.8657227 C92.713172,43.6843756 95.5256488,49.4364825 98.3520508,48.2001953 C101.192213,46.9578894 101.260842,36.1945649 101.821777,39.5717773 C105.693359,62.8813481 98.6788748,53.9708058 94.8452145,60.0566397 C93.3480509,62.4333472 95.6078331,65.0001608 94.8452145,67.7036123 C93.7516992,71.5800794 90.0349895,68.6791186 89.1972656,67.7036133 C87.8175266,66.0969468 87.141276,64.0004883 86.1132813,62.1489258 L86.7167969,56.52246 Z M93.5268816,188.870957 C90.0309026,190.936899 85.8393825,195.93004 81.8701442,185.869004 C80.6887971,182.874582 86.4409041,180.062106 85.2046169,177.235704 C83.962311,174.395542 73.1989865,174.326912 76.5761989,173.765977 C99.8857697,169.894395 90.9752273,176.90888 97.0610613,180.74254 C99.4377688,182.239703 102.004582,179.979921 104.708034,180.74254 C108.584501,181.836055 105.68354,185.552765 104.708035,186.390489 C103.101368,187.770228 101.00491,188.446478 99.1533474,189.474473 L93.5268816,188.870957 Z M188.959961,56.0566406 C178.094308,43.6502919 152.241357,27.1432204 133.967285,32.6000977 C116.260596,37.887547 125.942847,71.786682 126.018066,81.5874023 C126.034663,83.7498293 122.287535,86.0845397 123.759277,87.6689453 C128.760624,93.0531506 137.211529,94.1884124 142.480957,99.3105469 C149.098755,105.743361 137.609896,114.494461 145.429688,120.589844 C149.044795,123.407753 158.246905,126.415059 160.280273,132.187988 C161.302568,135.09038 161.127594,138.325562 160.931641,141.396484 C160.502304,148.124929 154.923863,155.695719 158.412109,161.465332 C159.656034,163.522803 174.214931,160.488979 177.916016,158.20752 C192.29074,149.34651 179.435698,155.478741 185.561035,137.400391 C187.349774,132.121099 197.657232,128.319631 194.856934,123.5 L194.335449,120.546387 C186.084616,106.345768 183.788127,91.6777993 184.692383,74.9467773 C185.130125,66.8474355 188.932923,80.8816044 189.470703,61.1821289 L188.959961,56.0566406 Z M44.21875,104.704102 C25.8745121,118.998047 53.2315241,115.71638 52.9985352,134.318848 C52.9679768,136.758707 51.5821854,140.261362 50.3037109,142.238282 C39.6391601,158.729005 33.8483263,150.008842 61.3364267,186.724606 C63.0335037,188.991387 67.3917019,193.82431 70.6186523,193.905762 C72.630372,191.404294 58.8737706,170.993348 64.1738281,168.597168 C73.0898993,164.566172 84.1156,165.73869 92.3979492,160.52832 C96.3878167,158.018322 96.5312414,151.997273 97.7841797,147.453125 C98.4971964,144.867161 99.9901149,141.431896 98.21875,139.41748 C93.9307491,134.541119 86.9678788,132.097824 81.6743164,129.132812 C69.6232499,122.382812 89.0356435,118.976562 49.3339844,104.373535 C49.3339844,104.373535 46.2255858,103.685547 44.21875,104.704102 Z" id="Path-6"/></g></g></g></svg>