{{-- Os dados que o editor de playlist le do html: endereco do servidor, limite e cada texto que o javascript escreve na tela. Fica fora das views porque sao duas, a do computador e a do celular, e texto novo entrando so num lado era defeito na certa. Ele abre a tag do editor. Quem inclui fecha o no fim da tela. --}} @php $plAttrs = [ 'data-srv' => $getServerDetails->name . '.' . env('BASE_SERVER_URL', 'brascast.com'), 'data-hash' => EncryptBras($streamData->port), 'data-load-srv' => $tplParts ? $tplParts[0] . '.' . env('BASE_SERVER_URL', 'brascast.com') : '', 'data-load-hash' => $tplParts ? EncryptBras($tplParts[1]) : '', 'data-playlist' => $isEdit ? $playlistData->id : '', 'data-url-save' => $isEdit && !$isTpl ? route('radio.playlists.u.do', $playlistData->id) : route('radio.playlists.c.do'), 'data-limit' => '2000', 'data-msg-listen' => __('radio.fm_action_listen'), 'data-msg-stop' => __('radio.fm_action_stop'), 'data-msg-remove' => __('general.action_remove'), 'data-msg-move' => __('radio.pl_action_move'), 'data-msg-open' => __('radio.fm_action_open'), 'data-msg-empty-folder' => __('radio.fm_empty_folder'), 'data-msg-no-audio' => __('radio.fm_no_audio_found'), 'data-msg-no-results' => __('radio.pl_js_search_no_results'), 'data-msg-empty-items' => __('radio.pl_empty_items'), 'data-url-back' => route('radio.playlists.r'), 'data-msg-selected-one' => trans_choice('radio.pl_selected_count', 1, ['count' => ':count']), 'data-msg-selected-many' => trans_choice('radio.pl_selected_count', 2, ['count' => ':count']), 'data-msg-files-one' => trans_choice('radio.playlists_files_count', 1, ['count' => ':count']), 'data-msg-files-many' => trans_choice('radio.playlists_files_count', 2, ['count' => ':count']), 'data-msg-warning' => __('radio.pl_js_warning_title'), 'data-msg-got-it' => __('radio.action_got_it'), 'data-msg-remove-title' => __('general.action_remove'), 'data-msg-name-required' => __('radio.pl_js_name_required'), 'data-msg-min-one' => __('radio.pl_js_min_one_file'), 'data-msg-fail' => __('radio.playlists_action_error'), 'data-msg-clear-title' => __('radio.pl_js_clear_title'), 'data-msg-clear-text' => __('radio.pl_js_clear_text'), 'data-msg-shuffle-title' => __('radio.pl_js_shuffle_title'), 'data-msg-shuffle-text' => __('radio.pl_js_shuffle_text'), 'data-msg-remove-one' => __('radio.pl_js_remove_selected_one', ['count' => ':count']), 'data-msg-remove-many' => __('radio.pl_js_remove_selected_many', ['count' => ':count']), 'data-msg-confirm' => __('site.action_confirm'), 'data-msg-interleave-need' => __('radio.pl_js_interleave_need_audios'), 'data-msg-interleave-files' => __('radio.pl_interleave_need_files'), 'data-msg-interleave-none' => __('radio.pl_js_interleave_none'), 'data-msg-fill' => __('radio.pl_js_fill_all_fields'), 'data-msg-play' => __('radio.pl_player_play'), 'data-msg-pause' => __('radio.pl_player_pause'), 'data-msg-close-player' => __('radio.pl_player_close'), 'data-msg-drop-here' => __('radio.pl_drop_here'), 'data-msg-search-path' => __('radio.pl_search_results', ['term' => ':term']), 'data-msg-found-none' => __('radio.pl_items_found_none'), 'data-msg-found-one' => trans_choice('radio.pl_items_found', 1, ['count' => ':count']), 'data-msg-found-many' => trans_choice('radio.pl_items_found', 2, ['count' => ':count']), 'data-msg-remove-type' => __('radio.pl_remove_type', ['type' => ':type']), 'data-msg-remove-type-one' => trans_choice('radio.pl_remove_type_confirm', 1, ['count' => ':count', 'type' => ':type']), 'data-msg-remove-type-many' => trans_choice('radio.pl_remove_type_confirm', 2, ['count' => ':count', 'type' => ':type']), 'data-type-audio' => __('radio.pl_type_music'), 'data-type-com' => __('radio.pl_type_ad'), 'data-type-vin' => __('radio.pl_type_jingle'), 'data-type-pod' => __('radio.pl_type_podcast'), 'data-type-time' => __('radio.pl_type_time'), 'data-type-add' => __('radio.pl_type_program'), 'data-type-addp' => __('radio.pl_type_short'), 'data-type-addf' => __('radio.pl_type_weekend'), 'data-type-camp' => __('radio.pl_type_campaign'), 'data-type-vina' => __('radio.pl_type_jingle_pack'), 'data-types-audio' => __('radio.pl_types_music'), 'data-types-com' => __('radio.pl_types_ad'), 'data-types-vin' => __('radio.pl_types_jingle'), 'data-types-vina' => __('radio.pl_types_jingle_pack'), 'data-types-pod' => __('radio.pl_types_podcast'), 'data-types-time' => __('radio.pl_types_time'), 'data-types-add' => __('radio.pl_types_program'), 'data-types-addp' => __('radio.pl_types_short'), 'data-types-addf' => __('radio.pl_types_weekend'), 'data-types-camp' => __('radio.pl_types_campaign'), 'data-msg-il-selected-one' => trans_choice('radio.pl_selected_count', 1, ['count' => ':count']), 'data-msg-il-selected-many' => trans_choice('radio.pl_selected_count', 2, ['count' => ':count']), 'data-msg-il-all-one' => trans_choice('radio.pl_interleave_source_all', 1, ['count' => ':count', 'folder' => ':folder']), 'data-msg-il-all-many' => trans_choice('radio.pl_interleave_source_all', 2, ['count' => ':count', 'folder' => ':folder']), 'data-msg-il-none' => __('radio.pl_interleave_source_none'), 'data-msg-il-result-one' => trans_choice('radio.pl_interleave_result', 1, ['count' => ':count']), 'data-msg-il-result-many' => trans_choice('radio.pl_interleave_result', 2, ['count' => ':count']), ]; @endphp