{{#if embedding.embeddable_hosts}} {{#each embedding.embeddable_hosts as |host|}} {{embeddable-host host=host deleteHost=(action "deleteHost")}} {{/each}}
{{i18n "admin.embedding.host"}} {{i18n "admin.embedding.class_name"}} {{i18n "admin.embedding.allowed_paths"}} {{i18n "admin.embedding.category"}}  
{{else}}

{{i18n "admin.embedding.get_started"}}

{{/if}} {{d-button label="admin.embedding.add_host" action=(action "addHost") icon="plus" class="btn-primary add-host"}}
{{#if showSecondary}}

{{html-safe (i18n "admin.embedding.sample")}}

{{highlighted-code code=embeddingCode lang="html"}}

{{i18n "admin.embedding.settings"}}

{{embedding-setting field="embed_by_username" value=embedding.embed_by_username}} {{embedding-setting field="embed_post_limit" value=embedding.embed_post_limit}} {{embedding-setting field="embed_title_scrubber" value=embedding.embed_title_scrubber placeholder="- site.com$"}} {{embedding-setting field="embed_truncate" value=embedding.embed_truncate type="checkbox"}} {{embedding-setting field="embed_unlisted" value=embedding.embed_unlisted type="checkbox"}}

{{i18n "admin.embedding.crawling_settings"}}

{{i18n "admin.embedding.crawling_description"}}

{{embedding-setting field="allowed_embed_selectors" value=embedding.allowed_embed_selectors placeholder="article, #story, .post"}} {{embedding-setting field="blocked_embed_selectors" value=embedding.blocked_embed_selectors placeholder=".ad-unit, header"}} {{embedding-setting field="allowed_embed_classnames" value=embedding.allowed_embed_classnames placeholder="emoji, classname"}}
{{d-button label="admin.embedding.save" action=(action "saveChanges") class="btn-primary embed-save" disabled=embedding.isSaving}} {{#if saved}}{{i18n "saved"}}{{/if}}
{{/if}}